@medusajs/promotion 2.22.3 → 2.22.4
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/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migrations/Migration20240227120221.d.ts.map +1 -1
- package/dist/migrations/Migration20240227120221.js.map +1 -1
- package/dist/migrations/Migration20240617102917.d.ts.map +1 -1
- package/dist/migrations/Migration20240617102917.js.map +1 -1
- package/dist/migrations/Migration20240624153824.d.ts.map +1 -1
- package/dist/migrations/Migration20240624153824.js.map +1 -1
- package/dist/migrations/Migration20241211061114.d.ts.map +1 -1
- package/dist/migrations/Migration20241211061114.js.map +1 -1
- package/dist/migrations/Migration20250113094144.d.ts.map +1 -1
- package/dist/migrations/Migration20250113094144.js.map +1 -1
- package/dist/migrations/Migration20250120110700.d.ts.map +1 -1
- package/dist/migrations/Migration20250120110700.js.map +1 -1
- package/dist/migrations/Migration20250226130616.d.ts.map +1 -1
- package/dist/migrations/Migration20250226130616.js.map +1 -1
- package/dist/migrations/Migration20250508081510.d.ts.map +1 -1
- package/dist/migrations/Migration20250508081510.js.map +1 -1
- package/dist/migrations/Migration20250828075407.d.ts.map +1 -1
- package/dist/migrations/Migration20250828075407.js.map +1 -1
- package/dist/migrations/Migration20250909083125.d.ts.map +1 -1
- package/dist/migrations/Migration20250909083125.js.map +1 -1
- package/dist/migrations/Migration20250916120552.d.ts.map +1 -1
- package/dist/migrations/Migration20250916120552.js.map +1 -1
- package/dist/migrations/Migration20250917143818.d.ts.map +1 -1
- package/dist/migrations/Migration20250917143818.js.map +1 -1
- package/dist/migrations/Migration20250919122137.d.ts.map +1 -1
- package/dist/migrations/Migration20250919122137.js.map +1 -1
- package/dist/migrations/Migration20251006000000.d.ts.map +1 -1
- package/dist/migrations/Migration20251006000000.js.map +1 -1
- package/dist/migrations/Migration20251015113934.d.ts.map +1 -1
- package/dist/migrations/Migration20251015113934.js.map +1 -1
- package/dist/migrations/Migration20251107050148.d.ts.map +1 -1
- package/dist/migrations/Migration20251107050148.js.map +1 -1
- package/dist/models/application-method.d.ts +30 -30
- package/dist/models/application-method.d.ts.map +1 -1
- package/dist/models/application-method.js.map +1 -1
- package/dist/models/campaign-budget-usage.d.ts +18 -56
- package/dist/models/campaign-budget-usage.d.ts.map +1 -1
- package/dist/models/campaign-budget-usage.js.map +1 -1
- package/dist/models/campaign-budget.d.ts +18 -56
- package/dist/models/campaign-budget.d.ts.map +1 -1
- package/dist/models/campaign-budget.js.map +1 -1
- package/dist/models/campaign.d.ts +18 -56
- package/dist/models/campaign.d.ts.map +1 -1
- package/dist/models/campaign.js.map +1 -1
- package/dist/models/promotion-rule-value.d.ts +16 -310
- package/dist/models/promotion-rule-value.d.ts.map +1 -1
- package/dist/models/promotion-rule-value.js.map +1 -1
- package/dist/models/promotion-rule.d.ts +29 -29
- package/dist/models/promotion-rule.d.ts.map +1 -1
- package/dist/models/promotion-rule.js.map +1 -1
- package/dist/models/promotion.d.ts +7 -7
- package/dist/models/promotion.d.ts.map +1 -1
- package/dist/models/promotion.js.map +1 -1
- package/dist/services/promotion-module.d.ts +218 -496
- package/dist/services/promotion-module.d.ts.map +1 -1
- package/dist/services/promotion-module.js.map +1 -1
- package/dist/types/promotion-rule.js.map +1 -1
- package/dist/utils/compute-actions/build-promotion-rule-query-filter-from-context.js.map +1 -1
- package/dist/utils/compute-actions/buy-get.d.ts +1 -1
- package/dist/utils/compute-actions/buy-get.js.map +1 -1
- package/dist/utils/compute-actions/line-items.js.map +1 -1
- package/dist/utils/compute-actions/shipping-methods.js.map +1 -1
- package/dist/utils/compute-actions/sort-by-price.d.ts +2 -2
- package/dist/utils/compute-actions/sort-by-price.js.map +1 -1
- package/dist/utils/compute-actions/usage.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/validations/application-method.js.map +1 -1
- package/dist/utils/validations/promotion-rule.js.map +1 -1
- package/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -64,7 +64,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
64
64
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
65
65
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
66
66
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
67
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
67
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
68
68
|
readonly name: "Campaign";
|
|
69
69
|
readonly tableName: "promotion_campaign";
|
|
70
70
|
}>, undefined>;
|
|
@@ -73,7 +73,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
73
73
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
74
74
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
75
75
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
76
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
76
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
77
77
|
readonly name: "CampaignBudget";
|
|
78
78
|
readonly tableName: "promotion_campaign_budget";
|
|
79
79
|
}>, undefined>;
|
|
@@ -102,7 +102,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
102
102
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
103
103
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
104
104
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
105
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
105
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
106
106
|
readonly name: "Campaign";
|
|
107
107
|
readonly tableName: "promotion_campaign";
|
|
108
108
|
}>, undefined>;
|
|
@@ -111,7 +111,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
111
111
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
112
112
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
113
113
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
114
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
114
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
115
115
|
readonly name: "CampaignBudget";
|
|
116
116
|
readonly tableName: "promotion_campaign_budget";
|
|
117
117
|
}>, undefined>;
|
|
@@ -128,7 +128,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
128
128
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
129
129
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
130
130
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
131
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
131
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
132
132
|
readonly name: "Campaign";
|
|
133
133
|
readonly tableName: "promotion_campaign";
|
|
134
134
|
}>, undefined>;
|
|
@@ -137,7 +137,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
137
137
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
138
138
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
139
139
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
140
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
140
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
141
141
|
readonly name: "CampaignBudget";
|
|
142
142
|
readonly tableName: "promotion_campaign_budget";
|
|
143
143
|
}>, undefined>;
|
|
@@ -149,7 +149,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
149
149
|
readonly name: "CampaignBudget";
|
|
150
150
|
readonly tableName: "promotion_campaign_budget";
|
|
151
151
|
}>>, false>;
|
|
152
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
152
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
153
153
|
}>, {
|
|
154
154
|
readonly name: "Campaign";
|
|
155
155
|
readonly tableName: "promotion_campaign";
|
|
@@ -190,7 +190,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
190
190
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
191
191
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
192
192
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
193
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
193
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
194
194
|
readonly name: "Campaign";
|
|
195
195
|
readonly tableName: "promotion_campaign";
|
|
196
196
|
}>, undefined>;
|
|
@@ -199,7 +199,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
199
199
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
200
200
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
201
201
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
202
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
202
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
203
203
|
readonly name: "CampaignBudget";
|
|
204
204
|
readonly tableName: "promotion_campaign_budget";
|
|
205
205
|
}>, undefined>;
|
|
@@ -216,7 +216,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
216
216
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
217
217
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
218
218
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
219
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
219
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
220
220
|
readonly name: "Campaign";
|
|
221
221
|
readonly tableName: "promotion_campaign";
|
|
222
222
|
}>, undefined>;
|
|
@@ -225,7 +225,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
225
225
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
226
226
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
227
227
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
228
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
228
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
229
229
|
readonly name: "CampaignBudget";
|
|
230
230
|
readonly tableName: "promotion_campaign_budget";
|
|
231
231
|
}>, undefined>;
|
|
@@ -237,7 +237,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
237
237
|
readonly name: "CampaignBudget";
|
|
238
238
|
readonly tableName: "promotion_campaign_budget";
|
|
239
239
|
}>>, false>;
|
|
240
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
240
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
241
241
|
}>, {
|
|
242
242
|
readonly name: "Campaign";
|
|
243
243
|
readonly tableName: "promotion_campaign";
|
|
@@ -254,7 +254,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
254
254
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
255
255
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
256
256
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
257
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
257
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
258
258
|
readonly name: "Campaign";
|
|
259
259
|
readonly tableName: "promotion_campaign";
|
|
260
260
|
}>, undefined>;
|
|
@@ -263,7 +263,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
263
263
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
264
264
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
265
265
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
266
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
266
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
267
267
|
readonly name: "CampaignBudget";
|
|
268
268
|
readonly tableName: "promotion_campaign_budget";
|
|
269
269
|
}>, undefined>;
|
|
@@ -280,7 +280,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
280
280
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
281
281
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
282
282
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
283
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
283
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
284
284
|
readonly name: "Campaign";
|
|
285
285
|
readonly tableName: "promotion_campaign";
|
|
286
286
|
}>, undefined>;
|
|
@@ -289,7 +289,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
289
289
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
290
290
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
291
291
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
292
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
292
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
293
293
|
readonly name: "CampaignBudget";
|
|
294
294
|
readonly tableName: "promotion_campaign_budget";
|
|
295
295
|
}>, undefined>;
|
|
@@ -301,7 +301,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
301
301
|
readonly name: "CampaignBudget";
|
|
302
302
|
readonly tableName: "promotion_campaign_budget";
|
|
303
303
|
}>>, false>;
|
|
304
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
304
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
305
305
|
}>, {
|
|
306
306
|
readonly name: "Campaign";
|
|
307
307
|
readonly tableName: "promotion_campaign";
|
|
@@ -354,7 +354,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
354
354
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
355
355
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
356
356
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
357
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
357
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
358
358
|
readonly name: "Campaign";
|
|
359
359
|
readonly tableName: "promotion_campaign";
|
|
360
360
|
}>, undefined>;
|
|
@@ -363,7 +363,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
363
363
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
364
364
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
365
365
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
366
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
366
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
367
367
|
readonly name: "CampaignBudget";
|
|
368
368
|
readonly tableName: "promotion_campaign_budget";
|
|
369
369
|
}>, undefined>;
|
|
@@ -380,7 +380,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
380
380
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
381
381
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
382
382
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
383
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
383
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
384
384
|
readonly name: "Campaign";
|
|
385
385
|
readonly tableName: "promotion_campaign";
|
|
386
386
|
}>, undefined>;
|
|
@@ -389,7 +389,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
389
389
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
390
390
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
391
391
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
392
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
392
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
393
393
|
readonly name: "CampaignBudget";
|
|
394
394
|
readonly tableName: "promotion_campaign_budget";
|
|
395
395
|
}>, undefined>;
|
|
@@ -401,7 +401,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
401
401
|
readonly name: "CampaignBudget";
|
|
402
402
|
readonly tableName: "promotion_campaign_budget";
|
|
403
403
|
}>>, false>;
|
|
404
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
404
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
405
405
|
}>, {
|
|
406
406
|
readonly name: "Campaign";
|
|
407
407
|
readonly tableName: "promotion_campaign";
|
|
@@ -418,7 +418,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
418
418
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
419
419
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
420
420
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
421
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
421
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
422
422
|
readonly name: "Campaign";
|
|
423
423
|
readonly tableName: "promotion_campaign";
|
|
424
424
|
}>, undefined>;
|
|
@@ -427,7 +427,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
427
427
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
428
428
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
429
429
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
430
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
430
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
431
431
|
readonly name: "CampaignBudget";
|
|
432
432
|
readonly tableName: "promotion_campaign_budget";
|
|
433
433
|
}>, undefined>;
|
|
@@ -444,7 +444,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
444
444
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
445
445
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
446
446
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
447
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
447
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
448
448
|
readonly name: "Campaign";
|
|
449
449
|
readonly tableName: "promotion_campaign";
|
|
450
450
|
}>, undefined>;
|
|
@@ -453,7 +453,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
453
453
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
454
454
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
455
455
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
456
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
456
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
457
457
|
readonly name: "CampaignBudget";
|
|
458
458
|
readonly tableName: "promotion_campaign_budget";
|
|
459
459
|
}>, undefined>;
|
|
@@ -465,7 +465,7 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
465
465
|
readonly name: "CampaignBudget";
|
|
466
466
|
readonly tableName: "promotion_campaign_budget";
|
|
467
467
|
}>>, false>;
|
|
468
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
468
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
469
469
|
}>, {
|
|
470
470
|
readonly name: "Campaign";
|
|
471
471
|
readonly tableName: "promotion_campaign";
|
|
@@ -474,11 +474,11 @@ declare const PromotionRule: import("@medusajs/framework/utils").DmlEntity<impor
|
|
|
474
474
|
rules: import("@medusajs/framework/utils").ManyToMany<() => typeof PromotionRule>;
|
|
475
475
|
metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
|
|
476
476
|
}>, "Promotion">, undefined>;
|
|
477
|
-
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
477
|
+
target_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
478
478
|
readonly name: "PromotionRule";
|
|
479
479
|
readonly tableName: "promotion_rule";
|
|
480
480
|
}>>;
|
|
481
|
-
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
481
|
+
buy_rules: import("@medusajs/framework/utils").ManyToMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
482
482
|
readonly name: "PromotionRule";
|
|
483
483
|
readonly tableName: "promotion_rule";
|
|
484
484
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,MAAM,2BAA2B,CAAA;AACjE,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAIpD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0Cf,CAAA;
|
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,MAAM,2BAA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C,CAAC,UAAU,EAAE;IAC/C,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,8BAA8B,CAAC;IAC7D,QAAQ,EAAE,aAAK;SACZ,IAAI,CAAC,sBAAc,CAAC,qBAAqB,CAAC;SAC1C,KAAK,CAAC,6BAA6B,CAAC;IACvC,MAAM,EAAE,aAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE;QAC9C,QAAQ,EAAE,gBAAgB;KAC3B,CAAC;IACF,UAAU,EAAE,aAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,mBAAS,EAAE;QAC5C,QAAQ,EAAE,OAAO;KAClB,CAAC;IACF,mBAAmB,EAAE,aAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,4BAAiB,EAAE;QAC7D,QAAQ,EAAE,cAAc;KACzB,CAAC;IACF,gBAAgB,EAAE,aAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,4BAAiB,EAAE;QAC1D,QAAQ,EAAE,WAAW;KACtB,CAAC;CACH,CACF;KACA,OAAO,CAAC;IACP;QACE,EAAE,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC;QAC7B,MAAM,EAAE,KAAK;QACb,KAAK,EAAE,oBAAoB;KAC5B;IACD;QACE,IAAI,EAAE,0CAA0C;QAChD,EAAE,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,IAAI,CAAC;QACnC,MAAM,EAAE,KAAK;QACb,KAAK,EAAE,oBAAoB;KAC5B;CACF,CAAC;KACD,QAAQ,CAAC;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC,CAAA;kBAEW,aAAa"}
|
|
@@ -55,7 +55,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
55
55
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
56
56
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
57
57
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
58
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
58
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
59
59
|
readonly name: "Campaign";
|
|
60
60
|
readonly tableName: "promotion_campaign";
|
|
61
61
|
}>, undefined>;
|
|
@@ -64,7 +64,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
64
64
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
65
65
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
66
66
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
67
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
67
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
68
68
|
readonly name: "CampaignBudget";
|
|
69
69
|
readonly tableName: "promotion_campaign_budget";
|
|
70
70
|
}>, undefined>;
|
|
@@ -93,7 +93,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
93
93
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
94
94
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
95
95
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
96
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
96
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
97
97
|
readonly name: "Campaign";
|
|
98
98
|
readonly tableName: "promotion_campaign";
|
|
99
99
|
}>, undefined>;
|
|
@@ -102,7 +102,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
102
102
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
103
103
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
104
104
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
105
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
105
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
106
106
|
readonly name: "CampaignBudget";
|
|
107
107
|
readonly tableName: "promotion_campaign_budget";
|
|
108
108
|
}>, undefined>;
|
|
@@ -119,7 +119,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
119
119
|
currency_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
120
120
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").BigNumberProperty>;
|
|
121
121
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
122
|
-
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
122
|
+
campaign: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
123
123
|
readonly name: "Campaign";
|
|
124
124
|
readonly tableName: "promotion_campaign";
|
|
125
125
|
}>, undefined>;
|
|
@@ -128,7 +128,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
128
128
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
129
129
|
attribute_value: import("@medusajs/framework/utils").TextProperty;
|
|
130
130
|
used: import("@medusajs/framework/utils").BigNumberProperty;
|
|
131
|
-
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
131
|
+
budget: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, {
|
|
132
132
|
readonly name: "CampaignBudget";
|
|
133
133
|
readonly tableName: "promotion_campaign_budget";
|
|
134
134
|
}>, undefined>;
|
|
@@ -140,7 +140,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
140
140
|
readonly name: "CampaignBudget";
|
|
141
141
|
readonly tableName: "promotion_campaign_budget";
|
|
142
142
|
}>>, false>;
|
|
143
|
-
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder
|
|
143
|
+
promotions: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Promotion">>;
|
|
144
144
|
}>, {
|
|
145
145
|
readonly name: "Campaign";
|
|
146
146
|
readonly tableName: "promotion_campaign";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,MAAM,2BAA2B,CAAA;AACjE,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAEpD,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,QAAA,MAAM,SAAS;;;;;IAMX;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAaa,OAAO,iBAAiB
|
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,MAAM,2BAA2B,CAAA;AACjE,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAEpD,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,QAAA,MAAM,SAAS;;;;;IAMX;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAaa,OAAO,iBAAiB;gEAIV,OAAO,aAAa;IAIlD;;OAEG;;gBAmBH,CAAA;eAEW,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":";;;;;AAAA,qDAAiE;AACjE,8EAAoD;AACpD,0DAAiC;AACjC,sEAA4C;AAE5C,MAAM,SAAS,GAAG,aAAK;KACpB,MAAM,CAAC,WAAW,EAAE;IACnB,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE;IAC9C,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,E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