/** * Represents a shopping cart containing items and associated data. */ declare const Cart: import("@medusajs/framework/utils").DmlEntity; /** * The ID of the region the cart belongs to. */ region_id: import("@medusajs/framework/utils").NullableModifier; /** * The ID of the customer the cart belongs to. */ customer_id: import("@medusajs/framework/utils").NullableModifier; /** * The ID of the sales channel the cart is associated with. */ sales_channel_id: import("@medusajs/framework/utils").NullableModifier; /** * The email address associated with the cart. */ email: import("@medusajs/framework/utils").NullableModifier; /** * The currency code used for the cart. */ currency_code: import("@medusajs/framework/utils").TextProperty; /** * The BCP 47 language tag code of the locale * * @since 2.12.3 * * @example * "en-US" */ locale: import("@medusajs/framework/utils").NullableModifier; /** * Additional metadata for the cart. */ metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; /** * The timestamp when the cart was completed/converted to an order. */ completed_at: import("@medusajs/framework/utils").NullableModifier; /** * The shipping address for the cart. */ shipping_address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity; customer_id: import("@medusajs/framework/utils").NullableModifier; company: import("@medusajs/framework/utils").NullableModifier; first_name: import("@medusajs/framework/utils").NullableModifier; last_name: import("@medusajs/framework/utils").NullableModifier; address_1: import("@medusajs/framework/utils").NullableModifier; address_2: import("@medusajs/framework/utils").NullableModifier; city: import("@medusajs/framework/utils").NullableModifier; country_code: import("@medusajs/framework/utils").NullableModifier; province: import("@medusajs/framework/utils").NullableModifier; postal_code: import("@medusajs/framework/utils").NullableModifier; phone: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; }>, { readonly tableName: "cart_address"; readonly name: "Address"; }>, import("@medusajs/framework/utils").HasOneWithForeignKey<() => import("@medusajs/framework/utils").DmlEntity; customer_id: import("@medusajs/framework/utils").NullableModifier; company: import("@medusajs/framework/utils").NullableModifier; first_name: import("@medusajs/framework/utils").NullableModifier; last_name: import("@medusajs/framework/utils").NullableModifier; address_1: import("@medusajs/framework/utils").NullableModifier; address_2: import("@medusajs/framework/utils").NullableModifier; city: import("@medusajs/framework/utils").NullableModifier; country_code: import("@medusajs/framework/utils").NullableModifier; province: import("@medusajs/framework/utils").NullableModifier; postal_code: import("@medusajs/framework/utils").NullableModifier; phone: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; }>, { readonly tableName: "cart_address"; readonly name: "Address"; }>, undefined>, true>; /** * The billing address for the cart. */ billing_address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity; customer_id: import("@medusajs/framework/utils").NullableModifier; company: import("@medusajs/framework/utils").NullableModifier; first_name: import("@medusajs/framework/utils").NullableModifier; last_name: import("@medusajs/framework/utils").NullableModifier; address_1: import("@medusajs/framework/utils").NullableModifier; address_2: import("@medusajs/framework/utils").NullableModifier; city: import("@medusajs/framework/utils").NullableModifier; country_code: import("@medusajs/framework/utils").NullableModifier; province: import("@medusajs/framework/utils").NullableModifier; postal_code: import("@medusajs/framework/utils").NullableModifier; phone: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; }>, { readonly tableName: "cart_address"; readonly name: "Address"; }>, import("@medusajs/framework/utils").HasOneWithForeignKey<() => import("@medusajs/framework/utils").DmlEntity; customer_id: import("@medusajs/framework/utils").NullableModifier; company: import("@medusajs/framework/utils").NullableModifier; first_name: import("@medusajs/framework/utils").NullableModifier; last_name: import("@medusajs/framework/utils").NullableModifier; address_1: import("@medusajs/framework/utils").NullableModifier; address_2: import("@medusajs/framework/utils").NullableModifier; city: import("@medusajs/framework/utils").NullableModifier; country_code: import("@medusajs/framework/utils").NullableModifier; province: import("@medusajs/framework/utils").NullableModifier; postal_code: import("@medusajs/framework/utils").NullableModifier; phone: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; }>, { readonly tableName: "cart_address"; readonly name: "Address"; }>, undefined>, true>; /** * The line items in the cart. */ items: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; title: import("@medusajs/framework/utils").TextProperty; subtitle: import("@medusajs/framework/utils").NullableModifier; thumbnail: import("@medusajs/framework/utils").NullableModifier; quantity: import("@medusajs/framework/utils").NumberProperty; variant_id: import("@medusajs/framework/utils").NullableModifier; product_id: import("@medusajs/framework/utils").NullableModifier; product_title: import("@medusajs/framework/utils").NullableModifier; product_description: import("@medusajs/framework/utils").NullableModifier; product_subtitle: import("@medusajs/framework/utils").NullableModifier; product_type: import("@medusajs/framework/utils").NullableModifier; product_type_id: import("@medusajs/framework/utils").NullableModifier; product_collection: import("@medusajs/framework/utils").NullableModifier; product_handle: import("@medusajs/framework/utils").NullableModifier; variant_sku: import("@medusajs/framework/utils").NullableModifier; variant_barcode: import("@medusajs/framework/utils").NullableModifier; variant_title: import("@medusajs/framework/utils").NullableModifier; variant_option_values: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; requires_shipping: import("@medusajs/framework/utils").BooleanProperty; is_discountable: import("@medusajs/framework/utils").BooleanProperty; is_giftcard: import("@medusajs/framework/utils").BooleanProperty; is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty; is_custom_price: import("@medusajs/framework/utils").BooleanProperty; compare_at_unit_price: import("@medusajs/framework/utils").NullableModifier; unit_price: import("@medusajs/framework/utils").BigNumberProperty; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; original_total: import("@medusajs/framework/utils").ComputedProperty; original_subtotal: import("@medusajs/framework/utils").ComputedProperty; original_tax_total: import("@medusajs/framework/utils").ComputedProperty; item_total: import("@medusajs/framework/utils").ComputedProperty; item_subtotal: import("@medusajs/framework/utils").ComputedProperty; item_tax_total: import("@medusajs/framework/utils").ComputedProperty; total: import("@medusajs/framework/utils").ComputedProperty; subtotal: import("@medusajs/framework/utils").ComputedProperty; tax_total: import("@medusajs/framework/utils").ComputedProperty; discount_total: import("@medusajs/framework/utils").ComputedProperty; discount_tax_total: import("@medusajs/framework/utils").ComputedProperty; adjustments: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; description: import("@medusajs/framework/utils").NullableModifier; code: import("@medusajs/framework/utils").NullableModifier; amount: import("@medusajs/framework/utils").BigNumberProperty; is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty; provider_id: import("@medusajs/framework/utils").NullableModifier; promotion_id: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, { readonly name: "LineItem"; readonly tableName: "cart_line_item"; }>, undefined>; }>, { readonly name: "LineItemAdjustment"; readonly tableName: "cart_line_item_adjustment"; }>>; tax_lines: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; description: import("@medusajs/framework/utils").NullableModifier; code: import("@medusajs/framework/utils").TextProperty; rate: import("@medusajs/framework/utils").FloatProperty; provider_id: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; data: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; tax_rate_id: import("@medusajs/framework/utils").NullableModifier; item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, { readonly name: "LineItem"; readonly tableName: "cart_line_item"; }>, undefined>; }>, { readonly name: "LineItemTaxLine"; readonly tableName: "cart_line_item_tax_line"; }>>; cart: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, "Cart">, undefined>; }>, { readonly name: "LineItem"; readonly tableName: "cart_line_item"; }>>; /** * The credit lines associated with the cart. */ credit_lines: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; cart: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, "Cart">, undefined>; reference: import("@medusajs/framework/utils").NullableModifier; reference_id: import("@medusajs/framework/utils").NullableModifier; amount: import("@medusajs/framework/utils").BigNumberProperty; raw_amount: import("@medusajs/framework/utils").JSONProperty>>; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; }>, "CreditLine">>; /** * The shipping methods selected for the cart. */ shipping_methods: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; name: import("@medusajs/framework/utils").TextProperty; description: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; amount: import("@medusajs/framework/utils").BigNumberProperty; is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty; shipping_option_id: import("@medusajs/framework/utils").NullableModifier; data: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; original_total: import("@medusajs/framework/utils").ComputedProperty; original_subtotal: import("@medusajs/framework/utils").ComputedProperty; original_tax_total: import("@medusajs/framework/utils").ComputedProperty; total: import("@medusajs/framework/utils").ComputedProperty; subtotal: import("@medusajs/framework/utils").ComputedProperty; tax_total: import("@medusajs/framework/utils").ComputedProperty; discount_total: import("@medusajs/framework/utils").ComputedProperty; discount_tax_total: import("@medusajs/framework/utils").ComputedProperty; cart: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, "Cart">, undefined>; tax_lines: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; description: import("@medusajs/framework/utils").NullableModifier; code: import("@medusajs/framework/utils").TextProperty; rate: import("@medusajs/framework/utils").FloatProperty; provider_id: import("@medusajs/framework/utils").NullableModifier; tax_rate_id: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; data: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, { readonly name: "ShippingMethod"; readonly tableName: "cart_shipping_method"; }>, undefined>; }>, { readonly name: "ShippingMethodTaxLine"; readonly tableName: "cart_shipping_method_tax_line"; }>>; adjustments: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity; description: import("@medusajs/framework/utils").NullableModifier; code: import("@medusajs/framework/utils").NullableModifier; amount: import("@medusajs/framework/utils").BigNumberProperty; provider_id: import("@medusajs/framework/utils").NullableModifier; metadata: import("@medusajs/framework/utils").NullableModifier>, import("@medusajs/framework/utils").JSONProperty>>>; promotion_id: import("@medusajs/framework/utils").NullableModifier; shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity, { readonly name: "ShippingMethod"; readonly tableName: "cart_shipping_method"; }>, undefined>; }>, { readonly name: "ShippingMethodAdjustment"; readonly tableName: "cart_shipping_method_adjustment"; }>>; }>, { readonly name: "ShippingMethod"; readonly tableName: "cart_shipping_method"; }>>; /** * The original total amount of all items in the cart before any discounts. * * @since 2.13.7 */ original_item_total: import("@medusajs/framework/utils").ComputedProperty; /** * The original subtotal amount of all items in the cart before any discounts. * * @since 2.13.7 */ original_item_subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The original tax total amount of all items in the cart before any discounts. * * @since 2.13.7 */ original_item_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total amount of all items in the cart after discounts. * * @since 2.13.7 */ item_total: import("@medusajs/framework/utils").ComputedProperty; /** * The subtotal amount of all items in the cart after discounts. * * @since 2.13.7 */ item_subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The tax total amount of all items in the cart after discounts. * * @since 2.13.7 */ item_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The original total amount of the cart before any discounts. * * @since 2.13.7 */ original_total: import("@medusajs/framework/utils").ComputedProperty; /** * The original subtotal amount of the cart before any discounts. * * @since 2.13.7 */ original_subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The original tax total amount of the cart before any discounts. * * @since 2.13.7 */ original_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total amount of the cart after discounts. */ total: import("@medusajs/framework/utils").ComputedProperty; /** * The subtotal amount of the cart after discounts. */ subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The tax total amount of the cart. */ tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total discount amount applied to the cart. */ discount_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total tax amount on discounts applied to the cart. */ discount_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total gift card amount applied to the cart. */ gift_card_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total tax amount on gift cards applied to the cart. */ gift_card_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The total shipping amount for the cart. */ shipping_total: import("@medusajs/framework/utils").ComputedProperty; /** * The shipping subtotal amount for the cart. */ shipping_subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The total tax amount on shipping for the cart. */ shipping_tax_total: import("@medusajs/framework/utils").ComputedProperty; /** * The original total shipping amount for the cart before discounts. */ original_shipping_total: import("@medusajs/framework/utils").ComputedProperty; /** * The original shipping subtotal amount for the cart before discounts. */ original_shipping_subtotal: import("@medusajs/framework/utils").ComputedProperty; /** * The original total tax amount on shipping for the cart before discounts. */ original_shipping_tax_total: import("@medusajs/framework/utils").ComputedProperty; }>, "Cart">; export default Cart; //# sourceMappingURL=cart.d.ts.map