@medusajs/cart 2.18.0 → 2.19.0-preview-20260811102316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/address.d.ts +1 -1
- package/dist/models/cart.d.ts +18 -18
- package/dist/models/credit-line.d.ts +18 -18
- package/dist/models/line-item-adjustment.d.ts +18 -18
- package/dist/models/line-item-tax-line.d.ts +18 -18
- package/dist/models/line-item.d.ts +18 -18
- package/dist/models/shipping-method-adjustment.d.ts +18 -18
- package/dist/models/shipping-method-tax-line.d.ts +18 -18
- package/dist/models/shipping-method.d.ts +18 -18
- package/dist/services/cart-module.d.ts +18 -18
- package/dist/services/cart-module.d.ts.map +1 -1
- package/dist/services/cart-module.js +4 -4
- package/dist/services/cart-module.js.map +1 -1
- package/package.json +4 -4
package/dist/models/address.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const Address: import("@medusajs/framework/utils").DmlEntity<import("@me
|
|
|
11
11
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
12
12
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
13
13
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
14
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
14
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
15
15
|
}>, {
|
|
16
16
|
readonly tableName: "cart_address";
|
|
17
17
|
readonly name: "Address";
|
package/dist/models/cart.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
38
38
|
/**
|
|
39
39
|
* Additional metadata for the cart.
|
|
40
40
|
*/
|
|
41
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
41
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
42
42
|
/**
|
|
43
43
|
* The timestamp when the cart was completed/converted to an order.
|
|
44
44
|
*/
|
|
@@ -59,7 +59,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
59
59
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
60
60
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
61
61
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
62
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
62
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
63
63
|
}>, {
|
|
64
64
|
readonly tableName: "cart_address";
|
|
65
65
|
readonly name: "Address";
|
|
@@ -76,7 +76,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
76
76
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
77
77
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
78
78
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
79
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
79
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
80
80
|
}>, {
|
|
81
81
|
readonly tableName: "cart_address";
|
|
82
82
|
readonly name: "Address";
|
|
@@ -97,7 +97,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
97
97
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
98
98
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
99
99
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
100
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
100
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
101
101
|
}>, {
|
|
102
102
|
readonly tableName: "cart_address";
|
|
103
103
|
readonly name: "Address";
|
|
@@ -114,7 +114,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
114
114
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
115
115
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
116
116
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
117
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
117
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
118
118
|
}>, {
|
|
119
119
|
readonly tableName: "cart_address";
|
|
120
120
|
readonly name: "Address";
|
|
@@ -140,7 +140,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
140
140
|
variant_sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
141
141
|
variant_barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
142
142
|
variant_title: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
143
|
-
variant_option_values: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
143
|
+
variant_option_values: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
144
144
|
requires_shipping: import("@medusajs/framework/utils").BooleanProperty;
|
|
145
145
|
is_discountable: import("@medusajs/framework/utils").BooleanProperty;
|
|
146
146
|
is_giftcard: import("@medusajs/framework/utils").BooleanProperty;
|
|
@@ -148,7 +148,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
148
148
|
is_custom_price: import("@medusajs/framework/utils").BooleanProperty;
|
|
149
149
|
compare_at_unit_price: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
150
150
|
unit_price: import("@medusajs/framework/utils").BigNumberProperty;
|
|
151
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
151
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
152
152
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
153
153
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
154
154
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -168,7 +168,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
168
168
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
169
169
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
170
170
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
171
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
171
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
172
172
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
173
173
|
readonly name: "LineItem";
|
|
174
174
|
readonly tableName: "cart_line_item";
|
|
@@ -183,8 +183,8 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
183
183
|
code: import("@medusajs/framework/utils").TextProperty;
|
|
184
184
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
185
185
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
186
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
187
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
186
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
187
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
188
188
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
189
189
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
190
190
|
readonly name: "LineItem";
|
|
@@ -208,8 +208,8 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
208
208
|
reference: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
209
209
|
reference_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
210
210
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
211
|
-
raw_amount: import("@medusajs/framework/utils").JSONProperty
|
|
212
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
211
|
+
raw_amount: import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>;
|
|
212
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
213
213
|
}>, "CreditLine">>;
|
|
214
214
|
/**
|
|
215
215
|
* The shipping methods selected for the cart.
|
|
@@ -217,12 +217,12 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
217
217
|
shipping_methods: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
218
218
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
219
219
|
name: import("@medusajs/framework/utils").TextProperty;
|
|
220
|
-
description: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
220
|
+
description: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
221
221
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
222
222
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
223
223
|
shipping_option_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
224
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
225
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
224
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
225
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
226
226
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
227
227
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
228
228
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -239,8 +239,8 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
239
239
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
240
240
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
241
241
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
242
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
243
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
242
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
243
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
244
244
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
245
245
|
readonly name: "ShippingMethod";
|
|
246
246
|
readonly tableName: "cart_shipping_method";
|
|
@@ -255,7 +255,7 @@ declare const Cart: import("@medusajs/framework/utils").DmlEntity<import("@medus
|
|
|
255
255
|
code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
256
256
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
257
257
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
258
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
258
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
259
259
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
260
260
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
261
261
|
readonly name: "ShippingMethod";
|
|
@@ -8,7 +8,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
8
8
|
email: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
9
9
|
currency_code: import("@medusajs/framework/utils").TextProperty;
|
|
10
10
|
locale: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
11
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
11
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
12
12
|
completed_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
13
13
|
shipping_address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
14
14
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
@@ -23,7 +23,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
23
23
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
24
24
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
25
25
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
26
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
26
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
27
27
|
}>, {
|
|
28
28
|
readonly tableName: "cart_address";
|
|
29
29
|
readonly name: "Address";
|
|
@@ -40,7 +40,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
40
40
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
41
41
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
42
42
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
43
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
43
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
44
44
|
}>, {
|
|
45
45
|
readonly tableName: "cart_address";
|
|
46
46
|
readonly name: "Address";
|
|
@@ -58,7 +58,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
58
58
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
59
59
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
60
60
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
61
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
61
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
62
62
|
}>, {
|
|
63
63
|
readonly tableName: "cart_address";
|
|
64
64
|
readonly name: "Address";
|
|
@@ -75,7 +75,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
75
75
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
76
76
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
77
77
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
78
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
78
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
79
79
|
}>, {
|
|
80
80
|
readonly tableName: "cart_address";
|
|
81
81
|
readonly name: "Address";
|
|
@@ -98,7 +98,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
98
98
|
variant_sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
99
99
|
variant_barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
100
100
|
variant_title: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
101
|
-
variant_option_values: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
101
|
+
variant_option_values: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
102
102
|
requires_shipping: import("@medusajs/framework/utils").BooleanProperty;
|
|
103
103
|
is_discountable: import("@medusajs/framework/utils").BooleanProperty;
|
|
104
104
|
is_giftcard: import("@medusajs/framework/utils").BooleanProperty;
|
|
@@ -106,7 +106,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
106
106
|
is_custom_price: import("@medusajs/framework/utils").BooleanProperty;
|
|
107
107
|
compare_at_unit_price: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
108
108
|
unit_price: import("@medusajs/framework/utils").BigNumberProperty;
|
|
109
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
109
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
110
110
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
111
111
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
112
112
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -126,7 +126,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
126
126
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
127
127
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
128
128
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
129
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
129
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
130
130
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
131
131
|
readonly name: "LineItem";
|
|
132
132
|
readonly tableName: "cart_line_item";
|
|
@@ -141,8 +141,8 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
141
141
|
code: import("@medusajs/framework/utils").TextProperty;
|
|
142
142
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
143
143
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
144
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
145
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
144
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
145
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
146
146
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
147
147
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
148
148
|
readonly name: "LineItem";
|
|
@@ -161,12 +161,12 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
161
161
|
shipping_methods: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
162
162
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
163
163
|
name: import("@medusajs/framework/utils").TextProperty;
|
|
164
|
-
description: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
164
|
+
description: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
165
165
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
166
166
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
167
167
|
shipping_option_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
168
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
169
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
168
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
169
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
170
170
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
171
171
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
172
172
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -183,8 +183,8 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
183
183
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
184
184
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
185
185
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
186
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
187
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
186
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
187
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
188
188
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
189
189
|
readonly name: "ShippingMethod";
|
|
190
190
|
readonly tableName: "cart_shipping_method";
|
|
@@ -199,7 +199,7 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
199
199
|
code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
200
200
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
201
201
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
202
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
202
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
203
203
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
204
204
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
205
205
|
readonly name: "ShippingMethod";
|
|
@@ -239,8 +239,8 @@ declare const CreditLine: import("@medusajs/framework/utils").DmlEntity<import("
|
|
|
239
239
|
reference: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
240
240
|
reference_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
241
241
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
242
|
-
raw_amount: import("@medusajs/framework/utils").JSONProperty
|
|
243
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
242
|
+
raw_amount: import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>;
|
|
243
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
244
244
|
}>, "CreditLine">;
|
|
245
245
|
export default CreditLine;
|
|
246
246
|
//# sourceMappingURL=credit-line.d.ts.map
|
|
@@ -6,7 +6,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
6
6
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
7
7
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
8
8
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
9
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
9
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
10
10
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
11
11
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
12
12
|
title: import("@medusajs/framework/utils").TextProperty;
|
|
@@ -25,7 +25,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
25
25
|
variant_sku: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
26
26
|
variant_barcode: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
27
27
|
variant_title: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
28
|
-
variant_option_values: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
28
|
+
variant_option_values: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
29
29
|
requires_shipping: import("@medusajs/framework/utils").BooleanProperty;
|
|
30
30
|
is_discountable: import("@medusajs/framework/utils").BooleanProperty;
|
|
31
31
|
is_giftcard: import("@medusajs/framework/utils").BooleanProperty;
|
|
@@ -33,7 +33,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
33
33
|
is_custom_price: import("@medusajs/framework/utils").BooleanProperty;
|
|
34
34
|
compare_at_unit_price: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
35
35
|
unit_price: import("@medusajs/framework/utils").BigNumberProperty;
|
|
36
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
36
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
37
37
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
38
38
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
39
39
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -55,8 +55,8 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
55
55
|
code: import("@medusajs/framework/utils").TextProperty;
|
|
56
56
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
57
57
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
58
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
59
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
58
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
59
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
60
60
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
61
61
|
item: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
62
62
|
readonly name: "LineItem";
|
|
@@ -74,7 +74,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
74
74
|
email: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
75
75
|
currency_code: import("@medusajs/framework/utils").TextProperty;
|
|
76
76
|
locale: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
77
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
77
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
78
78
|
completed_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
79
79
|
shipping_address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
80
80
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
@@ -89,7 +89,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
89
89
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
90
90
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
91
91
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
92
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
92
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
93
93
|
}>, {
|
|
94
94
|
readonly tableName: "cart_address";
|
|
95
95
|
readonly name: "Address";
|
|
@@ -106,7 +106,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
106
106
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
107
107
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
108
108
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
109
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
109
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
110
110
|
}>, {
|
|
111
111
|
readonly tableName: "cart_address";
|
|
112
112
|
readonly name: "Address";
|
|
@@ -124,7 +124,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
124
124
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
125
125
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
126
126
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
127
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
127
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
128
128
|
}>, {
|
|
129
129
|
readonly tableName: "cart_address";
|
|
130
130
|
readonly name: "Address";
|
|
@@ -141,7 +141,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
141
141
|
province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
142
142
|
postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
143
143
|
phone: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
144
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
144
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
145
145
|
}>, {
|
|
146
146
|
readonly tableName: "cart_address";
|
|
147
147
|
readonly name: "Address";
|
|
@@ -156,18 +156,18 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
156
156
|
reference: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
157
157
|
reference_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
158
158
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
159
|
-
raw_amount: import("@medusajs/framework/utils").JSONProperty
|
|
160
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
159
|
+
raw_amount: import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>;
|
|
160
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
161
161
|
}>, "CreditLine">>;
|
|
162
162
|
shipping_methods: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
163
163
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
164
164
|
name: import("@medusajs/framework/utils").TextProperty;
|
|
165
|
-
description: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
165
|
+
description: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
166
166
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
167
167
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
168
168
|
shipping_option_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
169
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
170
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
169
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
170
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
171
171
|
original_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
172
172
|
original_subtotal: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
173
173
|
original_tax_total: import("@medusajs/framework/utils").ComputedProperty<number | null, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
@@ -184,8 +184,8 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
184
184
|
rate: import("@medusajs/framework/utils").FloatProperty;
|
|
185
185
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
186
186
|
tax_rate_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
187
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
188
|
-
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
187
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
188
|
+
data: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
189
189
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
190
190
|
readonly name: "ShippingMethod";
|
|
191
191
|
readonly tableName: "cart_shipping_method";
|
|
@@ -200,7 +200,7 @@ declare const LineItemAdjustment: import("@medusajs/framework/utils").DmlEntity<
|
|
|
200
200
|
code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
201
201
|
amount: import("@medusajs/framework/utils").BigNumberProperty;
|
|
202
202
|
provider_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
203
|
-
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown
|
|
203
|
+
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
204
204
|
promotion_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
205
205
|
shipping_method: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
206
206
|
readonly name: "ShippingMethod";
|