@medusajs/promotion 2.11.3-snapshot-20251103115905 → 2.12.0-preview-20251103180145
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/application-method.d.ts +36 -36
- package/dist/models/campaign-budget-usage.d.ts +25 -63
- package/dist/models/campaign-budget-usage.d.ts.map +1 -1
- package/dist/models/campaign-budget.d.ts +25 -63
- package/dist/models/campaign-budget.d.ts.map +1 -1
- package/dist/models/campaign.d.ts +24 -62
- package/dist/models/campaign.d.ts.map +1 -1
- package/dist/models/promotion-rule-value.d.ts +23 -311
- package/dist/models/promotion-rule-value.d.ts.map +1 -1
- package/dist/models/promotion-rule.d.ts +35 -35
- package/dist/models/promotion.d.ts +10 -10
- package/dist/services/promotion-module.d.ts +78 -348
- package/dist/services/promotion-module.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/index.js +7 -17
- package/dist/utils/index.js.map +1 -1
- package/package.json +16 -10
|
@@ -7,7 +7,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
7
7
|
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
8
8
|
attribute: import("@medusajs/framework/utils").TextProperty;
|
|
9
9
|
operator: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").PromotionRuleOperator>;
|
|
10
|
-
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
10
|
+
values: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
11
11
|
readonly name: "PromotionRuleValue";
|
|
12
12
|
readonly tableName: "promotion_rule_value";
|
|
13
13
|
}>>;
|
|
@@ -31,7 +31,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
31
31
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
32
32
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
33
33
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
34
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
34
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
35
35
|
readonly name: "Campaign";
|
|
36
36
|
readonly tableName: "promotion_campaign";
|
|
37
37
|
}>, undefined>;
|
|
@@ -40,7 +40,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
40
40
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
41
41
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
42
42
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
43
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
43
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
44
44
|
readonly name: "CampaignBudget";
|
|
45
45
|
readonly tableName: "promotion_campaign_budget";
|
|
46
46
|
}>, undefined>;
|
|
@@ -57,7 +57,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
57
57
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
58
58
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
59
59
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
60
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
60
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
61
61
|
readonly name: "Campaign";
|
|
62
62
|
readonly tableName: "promotion_campaign";
|
|
63
63
|
}>, undefined>;
|
|
@@ -66,7 +66,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
66
66
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
67
67
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
68
68
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
69
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
69
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
70
70
|
readonly name: "CampaignBudget";
|
|
71
71
|
readonly tableName: "promotion_campaign_budget";
|
|
72
72
|
}>, undefined>;
|
|
@@ -78,7 +78,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
78
78
|
readonly name: "CampaignBudget";
|
|
79
79
|
readonly tableName: "promotion_campaign_budget";
|
|
80
80
|
}>>, false>;
|
|
81
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
81
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
82
82
|
}>, {
|
|
83
83
|
readonly name: "Campaign";
|
|
84
84
|
readonly tableName: "promotion_campaign";
|
|
@@ -95,7 +95,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
95
95
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
96
96
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
97
97
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
98
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
98
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
99
99
|
readonly name: "Campaign";
|
|
100
100
|
readonly tableName: "promotion_campaign";
|
|
101
101
|
}>, undefined>;
|
|
@@ -104,7 +104,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
104
104
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
105
105
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
106
106
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
107
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
107
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
108
108
|
readonly name: "CampaignBudget";
|
|
109
109
|
readonly tableName: "promotion_campaign_budget";
|
|
110
110
|
}>, undefined>;
|
|
@@ -121,7 +121,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
121
121
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
122
122
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
123
123
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
124
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
124
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
125
125
|
readonly name: "Campaign";
|
|
126
126
|
readonly tableName: "promotion_campaign";
|
|
127
127
|
}>, undefined>;
|
|
@@ -130,7 +130,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
130
130
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
131
131
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
132
132
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
133
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
133
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
134
134
|
readonly name: "CampaignBudget";
|
|
135
135
|
readonly tableName: "promotion_campaign_budget";
|
|
136
136
|
}>, undefined>;
|
|
@@ -142,7 +142,7 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
142
142
|
readonly name: "CampaignBudget";
|
|
143
143
|
readonly tableName: "promotion_campaign_budget";
|
|
144
144
|
}>>, false>;
|
|
145
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
145
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
146
146
|
}>, {
|
|
147
147
|
readonly name: "Campaign";
|
|
148
148
|
readonly tableName: "promotion_campaign";
|
|
@@ -157,12 +157,12 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
157
157
|
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodType>;
|
|
158
158
|
target_type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodTargetType>;
|
|
159
159
|
allocation: import("@medusajs/framework/utils").NullableModifier<import("@medusajs/framework/utils").ApplicationMethodAllocation, import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodAllocation>>;
|
|
160
|
-
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
161
|
-
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
160
|
+
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">, undefined>;
|
|
161
|
+
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
162
162
|
readonly name: "PromotionRule";
|
|
163
163
|
readonly tableName: "promotion_rule";
|
|
164
164
|
}>>;
|
|
165
|
-
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
165
|
+
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
166
166
|
readonly name: "PromotionRule";
|
|
167
167
|
readonly tableName: "promotion_rule";
|
|
168
168
|
}>>;
|
|
@@ -179,12 +179,12 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
179
179
|
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodType>;
|
|
180
180
|
target_type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodTargetType>;
|
|
181
181
|
allocation: import("@medusajs/framework/utils").NullableModifier<import("@medusajs/framework/utils").ApplicationMethodAllocation, import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodAllocation>>;
|
|
182
|
-
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
183
|
-
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
182
|
+
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">, undefined>;
|
|
183
|
+
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
184
184
|
readonly name: "PromotionRule";
|
|
185
185
|
readonly tableName: "promotion_rule";
|
|
186
186
|
}>>;
|
|
187
|
-
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
187
|
+
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
188
188
|
readonly name: "PromotionRule";
|
|
189
189
|
readonly tableName: "promotion_rule";
|
|
190
190
|
}>>;
|
|
@@ -204,156 +204,12 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
204
204
|
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodType>;
|
|
205
205
|
target_type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodTargetType>;
|
|
206
206
|
allocation: import("@medusajs/framework/utils").NullableModifier<import("@medusajs/framework/utils").ApplicationMethodAllocation, import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodAllocation>>;
|
|
207
|
-
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<
|
|
208
|
-
|
|
209
|
-
code: import("@medusajs/framework/utils").TextProperty;
|
|
210
|
-
is_automatic: import("@medusajs/framework/utils").BooleanProperty;
|
|
211
|
-
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
212
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").PromotionType>;
|
|
213
|
-
status: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").PromotionStatus>;
|
|
214
|
-
campaign: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
215
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
216
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
217
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
218
|
-
campaign_identifier: import("@medusajs/framework/utils").TextProperty;
|
|
219
|
-
starts_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
220
|
-
ends_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
221
|
-
budget: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
222
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
223
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
224
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
225
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
226
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
227
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
228
|
-
readonly name: "Campaign";
|
|
229
|
-
readonly tableName: "promotion_campaign";
|
|
230
|
-
}>, undefined>;
|
|
231
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
232
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
233
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
234
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
235
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
236
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
237
|
-
readonly name: "CampaignBudget";
|
|
238
|
-
readonly tableName: "promotion_campaign_budget";
|
|
239
|
-
}>, undefined>;
|
|
240
|
-
}>, {
|
|
241
|
-
readonly name: "CampaignBudgetUsage";
|
|
242
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
243
|
-
}>>;
|
|
244
|
-
}>, {
|
|
245
|
-
readonly name: "CampaignBudget";
|
|
246
|
-
readonly tableName: "promotion_campaign_budget";
|
|
247
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
248
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
249
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
250
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
251
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
252
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
253
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
254
|
-
readonly name: "Campaign";
|
|
255
|
-
readonly tableName: "promotion_campaign";
|
|
256
|
-
}>, undefined>;
|
|
257
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
258
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
259
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
260
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
261
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
262
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
263
|
-
readonly name: "CampaignBudget";
|
|
264
|
-
readonly tableName: "promotion_campaign_budget";
|
|
265
|
-
}>, undefined>;
|
|
266
|
-
}>, {
|
|
267
|
-
readonly name: "CampaignBudgetUsage";
|
|
268
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
269
|
-
}>>;
|
|
270
|
-
}>, {
|
|
271
|
-
readonly name: "CampaignBudget";
|
|
272
|
-
readonly tableName: "promotion_campaign_budget";
|
|
273
|
-
}>>, false>;
|
|
274
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Promotion">>;
|
|
275
|
-
}>, {
|
|
276
|
-
readonly name: "Campaign";
|
|
277
|
-
readonly tableName: "promotion_campaign";
|
|
278
|
-
}>, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
279
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
280
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
281
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
282
|
-
campaign_identifier: import("@medusajs/framework/utils").TextProperty;
|
|
283
|
-
starts_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
284
|
-
ends_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
285
|
-
budget: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
286
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
287
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
288
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
289
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
290
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
291
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
292
|
-
readonly name: "Campaign";
|
|
293
|
-
readonly tableName: "promotion_campaign";
|
|
294
|
-
}>, undefined>;
|
|
295
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
296
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
297
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
298
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
299
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
300
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
301
|
-
readonly name: "CampaignBudget";
|
|
302
|
-
readonly tableName: "promotion_campaign_budget";
|
|
303
|
-
}>, undefined>;
|
|
304
|
-
}>, {
|
|
305
|
-
readonly name: "CampaignBudgetUsage";
|
|
306
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
307
|
-
}>>;
|
|
308
|
-
}>, {
|
|
309
|
-
readonly name: "CampaignBudget";
|
|
310
|
-
readonly tableName: "promotion_campaign_budget";
|
|
311
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
312
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
313
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
314
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
315
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
316
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
317
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
318
|
-
readonly name: "Campaign";
|
|
319
|
-
readonly tableName: "promotion_campaign";
|
|
320
|
-
}>, undefined>;
|
|
321
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
322
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
323
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
324
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
325
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
326
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
327
|
-
readonly name: "CampaignBudget";
|
|
328
|
-
readonly tableName: "promotion_campaign_budget";
|
|
329
|
-
}>, undefined>;
|
|
330
|
-
}>, {
|
|
331
|
-
readonly name: "CampaignBudgetUsage";
|
|
332
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
333
|
-
}>>;
|
|
334
|
-
}>, {
|
|
335
|
-
readonly name: "CampaignBudget";
|
|
336
|
-
readonly tableName: "promotion_campaign_budget";
|
|
337
|
-
}>>, false>;
|
|
338
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Promotion">>;
|
|
339
|
-
}>, {
|
|
340
|
-
readonly name: "Campaign";
|
|
341
|
-
readonly tableName: "promotion_campaign";
|
|
342
|
-
}>, undefined>, true>;
|
|
343
|
-
application_method: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
344
|
-
readonly name: "ApplicationMethod";
|
|
345
|
-
readonly tableName: "promotion_application_method";
|
|
346
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
347
|
-
readonly name: "ApplicationMethod";
|
|
348
|
-
readonly tableName: "promotion_application_method";
|
|
349
|
-
}>>, false>;
|
|
350
|
-
rules: import("@medusajs/framework/utils").ManyToMany<() => typeof PromotionRule>;
|
|
351
|
-
}>, "Promotion">, undefined>;
|
|
352
|
-
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
207
|
+
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">, undefined>;
|
|
208
|
+
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
353
209
|
readonly name: "PromotionRule";
|
|
354
210
|
readonly tableName: "promotion_rule";
|
|
355
211
|
}>>;
|
|
356
|
-
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
212
|
+
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
357
213
|
readonly name: "PromotionRule";
|
|
358
214
|
readonly tableName: "promotion_rule";
|
|
359
215
|
}>>;
|
|
@@ -371,156 +227,12 @@ declare const PromotionRuleValue: import("@medusajs/framework/utils").DmlEntity<
|
|
|
371
227
|
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodType>;
|
|
372
228
|
target_type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodTargetType>;
|
|
373
229
|
allocation: import("@medusajs/framework/utils").NullableModifier<import("@medusajs/framework/utils").ApplicationMethodAllocation, import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").ApplicationMethodAllocation>>;
|
|
374
|
-
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<
|
|
375
|
-
|
|
376
|
-
code: import("@medusajs/framework/utils").TextProperty;
|
|
377
|
-
is_automatic: import("@medusajs/framework/utils").BooleanProperty;
|
|
378
|
-
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
379
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").PromotionType>;
|
|
380
|
-
status: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").PromotionStatus>;
|
|
381
|
-
campaign: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
382
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
383
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
384
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
385
|
-
campaign_identifier: import("@medusajs/framework/utils").TextProperty;
|
|
386
|
-
starts_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
387
|
-
ends_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
388
|
-
budget: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
389
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
390
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
391
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
392
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
393
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
394
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
395
|
-
readonly name: "Campaign";
|
|
396
|
-
readonly tableName: "promotion_campaign";
|
|
397
|
-
}>, undefined>;
|
|
398
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
399
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
400
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
401
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
402
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
403
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
404
|
-
readonly name: "CampaignBudget";
|
|
405
|
-
readonly tableName: "promotion_campaign_budget";
|
|
406
|
-
}>, undefined>;
|
|
407
|
-
}>, {
|
|
408
|
-
readonly name: "CampaignBudgetUsage";
|
|
409
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
410
|
-
}>>;
|
|
411
|
-
}>, {
|
|
412
|
-
readonly name: "CampaignBudget";
|
|
413
|
-
readonly tableName: "promotion_campaign_budget";
|
|
414
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
415
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
416
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
417
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
418
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
419
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
420
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
421
|
-
readonly name: "Campaign";
|
|
422
|
-
readonly tableName: "promotion_campaign";
|
|
423
|
-
}>, undefined>;
|
|
424
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
425
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
426
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
427
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
428
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
429
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
430
|
-
readonly name: "CampaignBudget";
|
|
431
|
-
readonly tableName: "promotion_campaign_budget";
|
|
432
|
-
}>, undefined>;
|
|
433
|
-
}>, {
|
|
434
|
-
readonly name: "CampaignBudgetUsage";
|
|
435
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
436
|
-
}>>;
|
|
437
|
-
}>, {
|
|
438
|
-
readonly name: "CampaignBudget";
|
|
439
|
-
readonly tableName: "promotion_campaign_budget";
|
|
440
|
-
}>>, false>;
|
|
441
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Promotion">>;
|
|
442
|
-
}>, {
|
|
443
|
-
readonly name: "Campaign";
|
|
444
|
-
readonly tableName: "promotion_campaign";
|
|
445
|
-
}>, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
446
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
447
|
-
name: import("@medusajs/framework/utils").TextProperty;
|
|
448
|
-
description: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
449
|
-
campaign_identifier: import("@medusajs/framework/utils").TextProperty;
|
|
450
|
-
starts_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
451
|
-
ends_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
|
|
452
|
-
budget: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
453
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
454
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
455
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
456
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
457
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
458
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
459
|
-
readonly name: "Campaign";
|
|
460
|
-
readonly tableName: "promotion_campaign";
|
|
461
|
-
}>, undefined>;
|
|
462
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
463
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
464
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
465
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
466
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
467
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
468
|
-
readonly name: "CampaignBudget";
|
|
469
|
-
readonly tableName: "promotion_campaign_budget";
|
|
470
|
-
}>, undefined>;
|
|
471
|
-
}>, {
|
|
472
|
-
readonly name: "CampaignBudgetUsage";
|
|
473
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
474
|
-
}>>;
|
|
475
|
-
}>, {
|
|
476
|
-
readonly name: "CampaignBudget";
|
|
477
|
-
readonly tableName: "promotion_campaign_budget";
|
|
478
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
479
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
480
|
-
type: import("@medusajs/framework/utils").EnumProperty<typeof import("@medusajs/framework/utils").CampaignBudgetType>;
|
|
481
|
-
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
482
|
-
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
483
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
484
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
485
|
-
readonly name: "Campaign";
|
|
486
|
-
readonly tableName: "promotion_campaign";
|
|
487
|
-
}>, undefined>;
|
|
488
|
-
attribute: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
489
|
-
usages: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
490
|
-
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
491
|
-
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
492
|
-
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
493
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
494
|
-
readonly name: "CampaignBudget";
|
|
495
|
-
readonly tableName: "promotion_campaign_budget";
|
|
496
|
-
}>, undefined>;
|
|
497
|
-
}>, {
|
|
498
|
-
readonly name: "CampaignBudgetUsage";
|
|
499
|
-
readonly tableName: "promotion_campaign_budget_usage";
|
|
500
|
-
}>>;
|
|
501
|
-
}>, {
|
|
502
|
-
readonly name: "CampaignBudget";
|
|
503
|
-
readonly tableName: "promotion_campaign_budget";
|
|
504
|
-
}>>, false>;
|
|
505
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Promotion">>;
|
|
506
|
-
}>, {
|
|
507
|
-
readonly name: "Campaign";
|
|
508
|
-
readonly tableName: "promotion_campaign";
|
|
509
|
-
}>, undefined>, true>;
|
|
510
|
-
application_method: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
511
|
-
readonly name: "ApplicationMethod";
|
|
512
|
-
readonly tableName: "promotion_application_method";
|
|
513
|
-
}>, import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
514
|
-
readonly name: "ApplicationMethod";
|
|
515
|
-
readonly tableName: "promotion_application_method";
|
|
516
|
-
}>>, false>;
|
|
517
|
-
rules: import("@medusajs/framework/utils").ManyToMany<() => typeof PromotionRule>;
|
|
518
|
-
}>, "Promotion">, undefined>;
|
|
519
|
-
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, {
|
|
230
|
+
promotion: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">, undefined>;
|
|
231
|
+
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
520
232
|
readonly name: "PromotionRule";
|
|
521
233
|
readonly tableName: "promotion_rule";
|
|
522
234
|
}>>;
|
|
523
|
-
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
235
|
+
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
524
236
|
readonly name: "PromotionRule";
|
|
525
237
|
readonly tableName: "promotion_rule";
|
|
526
238
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion-rule-value.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule-value.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,QAAA,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"promotion-rule-value.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule-value.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBpB,CAAA;AAEJ,eAAe,kBAAkB,CAAA"}
|