@medusajs/promotion 0.0.5-preview-20240925143312 → 0.0.5-preview-20240930112011
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/joiner-config.js +1 -1
- package/dist/joiner-config.js.map +1 -1
- package/dist/models/application-method.d.ts +2 -2
- package/dist/models/application-method.d.ts.map +1 -1
- package/dist/models/application-method.js +1 -1
- package/dist/models/application-method.js.map +1 -1
- package/dist/models/campaign-budget.d.ts +2 -2
- package/dist/models/campaign-budget.d.ts.map +1 -1
- package/dist/models/campaign-budget.js +1 -1
- package/dist/models/campaign-budget.js.map +1 -1
- package/dist/models/campaign.d.ts +1 -1
- package/dist/models/campaign.d.ts.map +1 -1
- package/dist/models/campaign.js +1 -1
- package/dist/models/campaign.js.map +1 -1
- package/dist/models/promotion-rule-value.js +1 -1
- package/dist/models/promotion-rule-value.js.map +1 -1
- package/dist/models/promotion-rule.d.ts +1 -1
- package/dist/models/promotion-rule.d.ts.map +1 -1
- package/dist/models/promotion-rule.js +1 -1
- package/dist/models/promotion-rule.js.map +1 -1
- package/dist/models/promotion.d.ts +1 -1
- package/dist/models/promotion.d.ts.map +1 -1
- package/dist/models/promotion.js +1 -1
- package/dist/models/promotion.js.map +1 -1
- package/dist/services/promotion-module.d.ts +2 -2
- package/dist/services/promotion-module.d.ts.map +1 -1
- package/dist/services/promotion-module.js +2 -2
- package/dist/services/promotion-module.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/application-method.d.ts +1 -1
- package/dist/types/application-method.d.ts.map +1 -1
- package/dist/types/campaign-budget.d.ts +1 -1
- package/dist/types/campaign-budget.d.ts.map +1 -1
- package/dist/types/campaign.d.ts +1 -1
- package/dist/types/campaign.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/promotion-rule-value.d.ts +1 -1
- package/dist/types/promotion-rule-value.d.ts.map +1 -1
- package/dist/types/promotion-rule.d.ts +1 -1
- package/dist/types/promotion-rule.d.ts.map +1 -1
- package/dist/types/promotion.d.ts +1 -1
- package/dist/types/promotion.d.ts.map +1 -1
- package/dist/utils/compute-actions/buy-get.d.ts +1 -1
- package/dist/utils/compute-actions/buy-get.d.ts.map +1 -1
- package/dist/utils/compute-actions/buy-get.js +1 -1
- package/dist/utils/compute-actions/buy-get.js.map +1 -1
- package/dist/utils/compute-actions/line-items.d.ts +2 -2
- package/dist/utils/compute-actions/line-items.d.ts.map +1 -1
- package/dist/utils/compute-actions/line-items.js +1 -1
- package/dist/utils/compute-actions/line-items.js.map +1 -1
- package/dist/utils/compute-actions/shipping-methods.d.ts +2 -2
- package/dist/utils/compute-actions/shipping-methods.d.ts.map +1 -1
- package/dist/utils/compute-actions/shipping-methods.js +1 -1
- package/dist/utils/compute-actions/shipping-methods.js.map +1 -1
- package/dist/utils/compute-actions/usage.d.ts +1 -1
- package/dist/utils/compute-actions/usage.d.ts.map +1 -1
- package/dist/utils/compute-actions/usage.js +1 -1
- package/dist/utils/compute-actions/usage.js.map +1 -1
- package/dist/utils/validations/application-method.js +1 -1
- package/dist/utils/validations/application-method.js.map +1 -1
- package/dist/utils/validations/promotion-rule.d.ts +1 -1
- package/dist/utils/validations/promotion-rule.d.ts.map +1 -1
- package/dist/utils/validations/promotion-rule.js +1 -1
- package/dist/utils/validations/promotion-rule.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const utils_1 = require("@medusajs/utils");
|
3
|
+
const utils_1 = require("@medusajs/framework/utils");
|
4
4
|
const _services_1 = require("./services");
|
5
5
|
exports.default = (0, utils_1.Module)(utils_1.Modules.PROMOTION, {
|
6
6
|
service: _services_1.PromotionModuleService,
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,qDAA2D;AAC3D,yCAAkD;AAElD,kBAAe,IAAA,cAAM,EAAC,eAAO,CAAC,SAAS,EAAE;IACvC,OAAO,EAAE,kCAAsB;CAChC,CAAC,CAAA"}
|
package/dist/joiner-config.js
CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.joinerConfig = void 0;
|
7
|
-
const utils_1 = require("@medusajs/utils");
|
7
|
+
const utils_1 = require("@medusajs/framework/utils");
|
8
8
|
const _models_1 = require("./models");
|
9
9
|
const schema_1 = __importDefault(require("./schema"));
|
10
10
|
exports.joinerConfig = (0, utils_1.defineJoinerConfig)(utils_1.Modules.PROMOTION, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"joiner-config.js","sourceRoot":"","sources":["../src/joiner-config.ts"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"version":3,"file":"joiner-config.js","sourceRoot":"","sources":["../src/joiner-config.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAuE;AACvE,qCAA4D;AAC5D,sDAA4C;AAE/B,QAAA,YAAY,GAAG,IAAA,0BAAkB,EAAC,eAAO,CAAC,SAAS,EAAE;IAChE,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,CAAC,mBAAS,EAAE,kBAAQ,EAAE,uBAAa,CAAC;CAC7C,CAAC,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, BigNumberRawValue } from "@medusajs/types";
|
2
|
-
import { BigNumber } from "@medusajs/utils";
|
1
|
+
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, BigNumberRawValue } from "@medusajs/framework/types";
|
2
|
+
import { BigNumber } from "@medusajs/framework/utils";
|
3
3
|
import { Collection, Rel } from "@mikro-orm/core";
|
4
4
|
import Promotion from "./promotion";
|
5
5
|
import PromotionRule from "./promotion-rule";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../src/models/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,
|
1
|
+
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../src/models/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,SAAS,EAMV,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAEL,UAAU,EAUV,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAW5C,MAAM,CAAC,OAAO,OAAO,iBAAiB;IAEpC,EAAE,EAAG,MAAM,CAAA;IAGX,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAA;IAGhC,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAInC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAO;IAGnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAO;IAGnC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAO;IAGxC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAO;IAI7C,IAAI,EAAE,2BAA2B,CAAA;IAIjC,WAAW,EAAE,iCAAiC,CAAA;IAO9C,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAM9C,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IAOzB,YAAY,oCAA2C;IAOvD,SAAS,oCAA2C;IAOpD,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAKR,MAAM;CAGP"}
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const promotion_1 = __importDefault(require("./promotion"));
|
18
18
|
const promotion_rule_1 = __importDefault(require("./promotion-rule"));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application-method.js","sourceRoot":"","sources":["../../src/models/application-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA,
|
1
|
+
{"version":3,"file":"application-method.js","sourceRoot":"","sources":["../../src/models/application-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA,qDAOkC;AAClC,0CAawB;AACxB,4DAAmC;AACnC,sEAA4C;AAE5C,MAAM,SAAS,GAAG,8BAA8B,CAAA;AAChD,MAAM,iBAAiB,GAAG,IAAA,sCAA8B,EAAC;IACvD,SAAS;IACT,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAIa,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QAYb,kBAAa,GAAkB,IAAI,CAAA;QAGnC,iBAAY,GAAmB,IAAI,CAAA;QAGnC,sBAAiB,GAAmB,IAAI,CAAA;QAGxC,2BAAsB,GAAmB,IAAI,CAAA;QA4B7C,iBAAY,GAAG,IAAI,iBAAU,CAAqB,IAAI,CAAC,CAAA;QAOvD,cAAS,GAAG,IAAI,iBAAU,CAAqB,IAAI,CAAC,CAAA;QAkBpD,eAAU,GAAgB,IA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AAE;;;;iDAGd;AAGD;IADC,IAAA,aAAM,GAAE;;;;+CAGR;AApFkB,iBAAiB;IAFrC,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,CAAC;IACrB,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;GAC/B,iBAAiB,CAqFrC;kBArFoB,iBAAiB"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { BigNumberRawValue, CampaignBudgetTypeValues, DAL } from "@medusajs/types";
|
2
|
-
import { BigNumber } from "@medusajs/utils";
|
1
|
+
import { BigNumberRawValue, CampaignBudgetTypeValues, DAL } from "@medusajs/framework/types";
|
2
|
+
import { BigNumber } from "@medusajs/framework/utils";
|
3
3
|
import { OptionalProps, Rel } from "@mikro-orm/core";
|
4
4
|
import Campaign from "./campaign";
|
5
5
|
type OptionalFields = "description" | "limit" | "used" | DAL.SoftDeletableModelDateColumns;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../src/models/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,GAAG,EACJ,MAAM,
|
1
|
+
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../src/models/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,GAAG,EACJ,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,SAAS,EAKV,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAQL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,QAAQ,MAAM,YAAY,CAAA;AAEjC,KAAK,cAAc,GACf,aAAa,GACb,OAAO,GACP,MAAM,GACN,GAAG,CAAC,6BAA6B,CAAA;AAIrC,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,CAAA;IAGhC,EAAE,EAAG,MAAM,CAAA;IAIX,IAAI,EAAE,wBAAwB,CAAA;IAK9B,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAO;IAGrC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAO;IAGnC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAO;IAGvC,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAO;IAG1C,IAAI,EAAE,SAAS,GAAG,MAAM,CAAI;IAG5B,QAAQ,EAAE,iBAAiB,CAAA;IAO3B,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAKR,MAAM;CAGP"}
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const campaign_1 = __importDefault(require("./campaign"));
|
18
18
|
let CampaignBudget = class CampaignBudget {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign-budget.js","sourceRoot":"","sources":["../../src/models/campaign-budget.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAKA,
|
1
|
+
{"version":3,"file":"campaign-budget.js","sourceRoot":"","sources":["../../src/models/campaign-budget.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAKA,qDAMkC;AAClC,0CAYwB;AACxB,0DAAiC;AAUlB,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QAab,aAAQ,GAAyB,IAAI,CAAA;QAGrC,kBAAa,GAAkB,IAAI,CAAA;QAGnC,UAAK,GAA8B,IAAI,CAAA;QAGvC,cAAS,GAA6B,IAAI,CAAA;QAG1C,S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;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;kDAAA;AAGhB;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC1B;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;8CAGd;AAGD;IADC,IAAA,aAAM,GAAE;;;;4CAGR;AAxDkB,cAAc;IAFlC,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,2BAA2B,EAAE,CAAC;IAClD,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;GAC/B,cAAc,CAyDlC;kBAzDoB,cAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../src/models/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../src/models/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAA;AAO/C,OAAO,EAEL,UAAU,EAMV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,SAAS,MAAM,aAAa,CAAA;AAEnC,KAAK,iBAAiB,GAAG,QAAQ,CAAA;AACjC,KAAK,cAAc,GACf,aAAa,GACb,WAAW,GACX,SAAS,GACT,GAAG,CAAC,6BAA6B,CAAA;AAYrC,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,GAAG,iBAAiB,CAAA;IAGpD,EAAE,EAAG,MAAM,CAAA;IAIX,IAAI,EAAE,MAAM,CAAA;IAIZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAIjC,mBAAmB,EAAE,MAAM,CAAA;IAM3B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAO;IAM7B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAO;IAQ3B,MAAM,EAAE,GAAG,CAAC,cAAc,CAAC,GAAG,IAAI,CAAO;IAGzC,UAAU,gCAAuC;IAOjD,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAKR,MAAM;CAGP"}
|
package/dist/models/campaign.js
CHANGED
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const campaign_budget_1 = __importDefault(require("./campaign-budget"));
|
18
18
|
const promotion_1 = __importDefault(require("./promotion"));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign.js","sourceRoot":"","sources":["../../src/models/campaign.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,
|
1
|
+
{"version":3,"file":"campaign.js","sourceRoot":"","sources":["../../src/models/campaign.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,qDAKkC;AAClC,0CAYwB;AACxB,wEAA8C;AAC9C,4DAAmC;AASnC,MAAM,SAAS,GAAG,oBAAoB,CAAA;AACtC,MAAM,gCAAgC,GAAG,IAAA,sCAA8B,EAAC;IACtE,SAAS;IACT,OAAO,EAAE,CAAC,qBAAqB,CAAC;IAChC,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,oBAAoB;C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AC5B,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ;QAC7B,OAAO,EAAE,CAAC,aAAa,CAAQ;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;;wCACuC;AAGzC;IADC,IAAA,gBAAS,EAAC,GAAG,EAAE,CAAC,mBAAS,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC;;4CACb;AAOjD;IALC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;4CAAA;AAQhB;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;4CAAA;AAGhB;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC1B;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;wCAGd;AAGD;IADC,IAAA,aAAM,GAAE;;;;sCAGR;AAnEkB,QAAQ;IAF5B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,CAAC;IACrB,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;GAC/B,QAAQ,CAoE5B;kBApEoB,QAAQ"}
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const promotion_rule_1 = __importDefault(require("./promotion-rule"));
|
18
18
|
let PromotionRuleValue = class PromotionRuleValue {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule-value.js","sourceRoot":"","sources":["../../src/models/promotion-rule-value.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"promotion-rule-value.js","sourceRoot":"","sources":["../../src/models/promotion-rule-value.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAsE;AACtE,0CASwB;AACxB,sEAA4C;AAI7B,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QA8Bb,eAAU,GAAgB,IAAI,CAAA;IAWhC,CAAC;IARC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,WAAW,CAAC,CAAA;IAClD,CAAC;IAGD,MAAM;QACJ,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,WAAW,CAAC,CAAA;IAClD,CAAC;CACF,CAAA;AAvCC;IADC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;;8CACxB;AAOX;IALC,IAAA,gBAAS,EAAC,GAAG,EAAE,CAAC,wBAAa,EAAE;QAC9B,QAAQ,EAAE,SAAS;QACnB,SAAS,EAAE,mBAAmB;QAC9B,KAAK,EAAE,4CAA4C;KACpD,CAAC;;0DACgC;AAGlC;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;;iDACpB;AAOb;IALC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;sDAAA;AAQhB;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;sDAAA;AAGhB;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1B;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;kDAGd;AAGD;IADC,IAAA,aAAM,GAAE;;;;gDAGR;AAxCkB,kBAAkB;IAFtC,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC;IAC7C,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;GAC/B,kBAAkB,CAyCtC;kBAzCoB,kBAAkB"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DAL, PromotionRuleOperatorValues } from "@medusajs/types";
|
1
|
+
import { DAL, PromotionRuleOperatorValues } from "@medusajs/framework/types";
|
2
2
|
import { Collection, OptionalProps } from "@mikro-orm/core";
|
3
3
|
import ApplicationMethod from "./application-method";
|
4
4
|
import Promotion from "./promotion";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,2BAA2B,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AAM5E,OAAO,EAGL,UAAU,EAQV,aAAa,EAId,MAAM,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AACpD,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,kBAAkB,MAAM,wBAAwB,CAAA;AAEvD,KAAK,cAAc,GAAG,aAAa,GAAG,GAAG,CAAC,6BAA6B,CAAA;AACvE,KAAK,iBAAiB,GAAG,QAAQ,GAAG,YAAY,CAAA;AAIhD,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,GAAG,iBAAiB,CAAA;IAGpD,EAAE,EAAG,MAAM,CAAA;IAGX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAIjC,SAAS,EAAE,MAAM,CAAA;IAIjB,QAAQ,EAAE,2BAA2B,CAAA;IAKrC,MAAM,yCAAgD;IAGtD,UAAU,gCAAuC;IAMjD,mBAAmB,wCAA+C;IAMlE,gBAAgB,wCAA+C;IAO/D,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAKR,MAAM;CAGP"}
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const application_method_1 = __importDefault(require("./application-method"));
|
18
18
|
const promotion_1 = __importDefault(require("./promotion"));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,
|
1
|
+
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../src/models/promotion-rule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,qDAIkC;AAClC,0CAewB;AACxB,8EAAoD;AACpD,4DAAmC;AACnC,kFAAuD;AAOxC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{ DAL, PromotionTypeValues } from "@medusajs/framework/types";
|
2
2
|
import { Collection, OptionalProps, Rel } from "@mikro-orm/core";
|
3
3
|
import ApplicationMethod from "./application-method";
|
4
4
|
import Campaign from "./campaign";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAOpE,OAAO,EAEL,UAAU,EASV,aAAa,EAGb,GAAG,EAEJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AACpD,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,KAAK,cAAc,GAAG,cAAc,GAAG,GAAG,CAAC,6BAA6B,CAAA;AACxE,KAAK,iBAAiB,GAAG,oBAAoB,GAAG,UAAU,CAAA;AAI1D,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B,CAAC,aAAa,CAAC,CAAC,EAAE,cAAc,GAAG,iBAAiB,CAAA;IAGpD,EAAE,EAAG,MAAM,CAAA;IASX,IAAI,EAAE,MAAM,CAAA;IAQZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAGjC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;IAG9B,YAAY,EAAE,OAAO,CAAQ;IAI7B,IAAI,EAAE,mBAAmB,CAAA;IAOzB,kBAAkB,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;IAO1C,KAAK,oCAA2C;IAOhD,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAKR,MAAM;CAGP"}
|
package/dist/models/promotion.js
CHANGED
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const utils_1 = require("@medusajs/framework/utils");
|
16
16
|
const core_1 = require("@mikro-orm/core");
|
17
17
|
const application_method_1 = __importDefault(require("./application-method"));
|
18
18
|
const campaign_1 = __importDefault(require("./campaign"));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,
|
1
|
+
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,qDAKkC;AAClC,0CAgBwB;AACxB,8EAAoD;AACpD,0DAAiC;AACjC,sEAA4C;AAO7B,IAAM,SAAS,GAAf,MAAM,SAAS;IAAf;QAqBb,gBAAW,GAAkB,IAAI,CAAA;QAMjC,iBAAY,GAAY,KAAK,CAAA;QAkB7B,UAAK,GAAG,IAAI,iBAAU,CAAqB,IAAI,CAAC,CAAA;QAkBhD,eAAU,GAAgB,IAAI,CAAA;IAWhC,CAAC;IARC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IAC9C,CAAC;IAGD,MAAM;QACJ,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IAC9C,CAAC;CACF,CAAA;AAtEC;IADC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;;qCACxB;AASX;IAPC,IAAA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AAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;6CAAA;AAQhB;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;6CAAA;AAGhB;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAC1B;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;yCAGd;AAGD;IADC,IAAA,aAAM,GAAE;;;;uCAGR;AAzEkB,SAAS;IAF7B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IAClC,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;GAC/B,SAAS,CA0E7B;kBA1EoB,SAAS"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CampaignBudgetTypeValues, Context, DAL, InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes, PromotionTypes } from "@medusajs/types";
|
1
|
+
import { CampaignBudgetTypeValues, Context, DAL, InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes, PromotionTypes } from "@medusajs/framework/types";
|
2
2
|
import { ApplicationMethod, Campaign, CampaignBudget, Promotion, PromotionRule, PromotionRuleValue } from "../models";
|
3
3
|
import { ApplicationMethodRuleTypes } from "../types";
|
4
4
|
type InjectedDependencies = {
|
@@ -10,7 +10,7 @@ type InjectedDependencies = {
|
|
10
10
|
campaignService: ModulesSdkTypes.IMedusaInternalService<any>;
|
11
11
|
campaignBudgetService: ModulesSdkTypes.IMedusaInternalService<any>;
|
12
12
|
};
|
13
|
-
declare const PromotionModuleService_base: import("@medusajs/utils").MedusaServiceReturnType<{
|
13
|
+
declare const PromotionModuleService_base: import("@medusajs/framework/utils").MedusaServiceReturnType<{
|
14
14
|
Promotion: {
|
15
15
|
dto: PromotionTypes.PromotionDTO;
|
16
16
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-module.d.ts","sourceRoot":"","sources":["../../src/services/promotion-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,OAAO,EACP,GAAG,EACH,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACf,MAAM,
|
1
|
+
{"version":3,"file":"promotion-module.d.ts","sourceRoot":"","sources":["../../src/services/promotion-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,OAAO,EACP,GAAG,EACH,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACf,MAAM,2BAA2B,CAAA;AAoBlC,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,SAAS,EACT,aAAa,EACb,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,0BAA0B,EAU3B,MAAM,QAAQ,CAAA;AAWf,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,gBAAgB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC7D,wBAAwB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IACrE,oBAAoB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IACjE,yBAAyB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IACtE,eAAe,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC5D,qBAAqB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;CACnE,CAAA;;eAIc;QAAE,GAAG,EAAE,cAAc,CAAC,YAAY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EAC9B,aAAa,GAAE,OAAY;IAmDxC,4BAA4B,CAChC,IAAI,EAAE,cAAc,CAAC,0BAA0B,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;cAOb,6BAA6B,CAC3C,IAAI,EAAE,cAAc,CAAC,0BAA0B,EAC9B,aAAa,GAAE,OAAY;CAiC/C"}
|
@@ -12,8 +12,8 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
const types_1 = require("@medusajs/types");
|
16
|
-
const utils_1 = require("@medusajs/utils");
|
15
|
+
const types_1 = require("@medusajs/framework/types");
|
16
|
+
const utils_1 = require("@medusajs/framework/utils");
|
17
17
|
const _models_1 = require("../models");
|
18
18
|
const _types_1 = require("../types");
|
19
19
|
const _utils_1 = require("../utils");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-module.js","sourceRoot":"","sources":["../../src/services/promotion-module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAQwB;AACxB,2CAkBwB;AACxB,qCAOgB;AAChB,mCAWe;AACf,mCAMe;AACf,oDAA+C;AAa/C,MAAqB,sBACnB,SAAQ,IAAA,qBAAa,EAOlB;IACD,SAAS,EAAT,mBAAS;IACT,iBAAiB,EAAjB,2BAAiB;IACjB,QAAQ,EAAR,kBAAQ;IACR,cAAc,EAAd,wBAAc;IACd,aAAa,EAAb,uBAAa;IACb,kBAAkB,EAAlB,4BAAkB;CACnB,CAAC;IAWF,YACE,EACE,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,GACA,EACJ,iBAA4C;QAE/D,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QAHA,sBAAiB,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,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;8DAoDjB;AAoCK;IADL,IAAA,qBAAa,GAAE;IAGb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAcjB;AAGe;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;8DAmEjB;AAGK;IADL,IAAA,qBAAa,GAAE;;;;qEAQf;AAOe;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;sEAgDjB;AAGK;IADL,IAAA,qBAAa,GAAE;;;;0EAQf;AAGe;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;2EAgCjB"}
|
1
|
+
{"version":3,"file":"promotion-module.js","sourceRoot":"","sources":["../../src/services/promotion-module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAQkC;AAClC,qDAkBkC;AAClC,qCAOgB;AAChB,mCAWe;AACf,mCAMe;AACf,oDAA+C;AAa/C,MAAqB,sBACnB,SAAQ,IAAA,qBAAa,EAOlB;IACD,SAAS,EAAT,mBAAS;IACT,iBAAiB,EAAjB,2BAAiB;IACjB,QAAQ,EAAR,kBAAQ;IACR,cAAc,EAAd,wBAAc;IACd,aAAa,EAAb,uBAAa;IACb,kBAAkB,EAAlB,4BAAkB;CACnB,CAAC;IAWF,YACE,EACE,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,GACA,EACJ,iBAA4C;QAE/D,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QAHA,sBAAiB,GAAjB,iBAAiB,CAA2B;QAK/D,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;QACrC,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAA;QACzC,IAAI,CAAC,yBAAyB,GAAG,wBAAwB,CA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Ge;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;8DAmEjB;AAGK;IADL,IAAA,qBAAa,GAAE;;;;qEAQf;AAOe;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;sEAgDjB;AAGK;IADL,IAAA,qBAAa,GAAE;;;;0EAQf;AAGe;IADf,IAAA,gCAAwB,GAAE;IAGxB,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;2EAgCjB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/
|
1
|
+
{"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/migration20240227120221.ts","../src/migrations/migration20240617102917.ts","../src/migrations/migration20240624153824.ts","../src/models/application-method.ts","../src/models/campaign-budget.ts","../src/models/campaign.ts","../src/models/index.ts","../src/models/promotion-rule-value.ts","../src/models/promotion-rule.ts","../src/models/promotion.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/promotion-module.ts","../src/types/application-method.ts","../src/types/campaign-budget.ts","../src/types/campaign.ts","../src/types/index.ts","../src/types/promotion-rule-value.ts","../src/types/promotion-rule.ts","../src/types/promotion.ts","../src/utils/index.ts","../src/utils/compute-actions/buy-get.ts","../src/utils/compute-actions/index.ts","../src/utils/compute-actions/line-items.ts","../src/utils/compute-actions/shipping-methods.ts","../src/utils/compute-actions/usage.ts","../src/utils/validations/application-method.ts","../src/utils/validations/index.ts","../src/utils/validations/promotion-rule.ts"],"version":"5.6.2"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, BigNumberInput, PromotionDTO } from "@medusajs/types";
|
1
|
+
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, BigNumberInput, PromotionDTO } from "@medusajs/framework/types";
|
2
2
|
import { Promotion } from "../models";
|
3
3
|
export interface CreateApplicationMethodDTO {
|
4
4
|
type: ApplicationMethodTypeValues;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../src/types/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACb,MAAM,
|
1
|
+
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../src/types/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACb,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,2BAA2B,CAAA;IACjC,WAAW,EAAE,iCAAiC,CAAA;IAC9C,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAC9C,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,YAAY,CAAA;IAC5C,YAAY,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACpC,sBAAsB,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC9C,iBAAiB,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,2BAA2B,CAAA;IAClC,WAAW,CAAC,EAAE,iCAAiC,CAAA;IAC/C,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAC9C,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,YAAY,CAAA;IAC7C,YAAY,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACpC,sBAAsB,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC9C,iBAAiB,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BigNumberInput, CampaignBudgetTypeValues } from "@medusajs/types";
|
1
|
+
import { BigNumberInput, CampaignBudgetTypeValues } from "@medusajs/framework/types";
|
2
2
|
import { Campaign } from "../models";
|
3
3
|
export interface CreateCampaignBudgetDTO {
|
4
4
|
type?: CampaignBudgetTypeValues;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../src/types/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../src/types/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,wBAAwB,EACzB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAC/B,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CAC7B;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAC/B,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB"}
|
package/dist/types/campaign.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../src/types/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../src/types/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB,UAAU,CAAC,EAAE,CAAC,YAAY,GAAG,SAAS,CAAC,EAAE,CAAA;CAC1C;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACrB,UAAU,CAAC,EAAE,CAAC,YAAY,GAAG,SAAS,CAAC,EAAE,CAAA;CAC1C"}
|
package/dist/types/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAElD,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule-value.d.ts","sourceRoot":"","sources":["../../src/types/promotion-rule-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"promotion-rule-value.d.ts","sourceRoot":"","sources":["../../src/types/promotion-rule-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,GAAG,CAAA;IACV,cAAc,EAAE,MAAM,GAAG,gBAAgB,GAAG,aAAa,CAAA;CAC1D;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,GAAG,CAAA;IACV,cAAc,EAAE,MAAM,GAAG,gBAAgB,GAAG,aAAa,CAAA;CAC1D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/types/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../src/types/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AAEvE,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,2BAA2B,CAAA;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;CACX;AAED,oBAAY,0BAA0B;IACpC,YAAY,iBAAiB;IAC7B,SAAS,cAAc;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/types/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/types/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,mBAAmB,CAAA;IACzB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buy-get.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/buy-get.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,cAAc,EACf,MAAM,
|
1
|
+
{"version":3,"file":"buy-get.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/buy-get.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAWlC,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,cAAc,CAAA;CACzB,CAAA;AAyBD,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,YAAY,EAAE,qBAAqB,EAAE,EACrC,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,EAClD,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,EAC/C,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,GACjD,cAAc,CAAC,cAAc,EAAE,CA+LjC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,cAWpC"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getComputedActionsForBuyGet = getComputedActionsForBuyGet;
|
4
4
|
exports.sortByBuyGetType = sortByBuyGetType;
|
5
|
-
const utils_1 = require("@medusajs/utils");
|
5
|
+
const utils_1 = require("@medusajs/framework/utils");
|
6
6
|
const validations_1 = require("../validations");
|
7
7
|
const usage_1 = require("./usage");
|
8
8
|
function sortByPrice(a, b) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buy-get.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/buy-get.ts"],"names":[],"mappings":";;AA2CA,kEAqMC;AAED,4CAWC;AAxPD,
|
1
|
+
{"version":3,"file":"buy-get.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/buy-get.ts"],"names":[],"mappings":";;AA2CA,kEAqMC;AAED,4CAWC;AAxPD,qDAMkC;AAClC,gDAAwD;AACxD,mCAAwD;AAOxD,SAAS,WAAW,CAAC,CAAwB,EAAE,CAAwB;IACrE,OAAO,cAAM,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;A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E,CAAC;YAClE,MAAK;QACP,CAAC;aAAM,CAAC;YACN,mBAAmB,GAAG,sBAAsB,CAAA;QAC9C,CAAC;QAED,MAAM,oBAAoB,GAAG,IAAA,sCAA8B,EACzD,SAAS,EACT,MAAM,CACP,CAAA;QAED,IAAI,oBAAoB,EAAE,CAAC;YACzB,eAAe,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;YAE1C,SAAQ;QACV,CAAC;QAED,qBAAqB,CAAC,GAAG,CACvB,IAAI,CAAC,EAAE,EACP,cAAM,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,QAAQ,EAAE,CACjD,CAAA;QAED,eAAe,CAAC,IAAI,CAAC;YACnB,MAAM,EAAE,uBAAe,CAAC,mBAAmB;YAC3C,OAAO,EAAE,IAAI,CAAC,EAAE;YAChB,MAAM;YACN,IAAI,EAAE,SAAS,CAAC,IAAK;SACtB,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,eAAe,CAAA;AACxB,CAAC;AAED,SAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC;IACnC,IAAI,CAAC,CAAC,IAAI,KAAK,qBAAa,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,qBAAa,CAAC,MAAM,EAAE,CAAC;QACvE,OAAO,CAAC,CAAC,CAAA;IACX,CAAC;SAAM,IACL,CAAC,CAAC,IAAI,KAAK,qBAAa,CAAC,MAAM;QAC/B,CAAC,CAAC,IAAI,KAAK,qBAAa,CAAC,MAAM,EAC/B,CAAC;QACD,OAAO,CAAC,CAAA;IACV,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,CAAA;IACV,CAAC;AACH,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApplicationMethodAllocationValues, PromotionTypes } from "@medusajs/types";
|
2
|
-
import { ApplicationMethodTargetType as TargetType } from "@medusajs/utils";
|
1
|
+
import { ApplicationMethodAllocationValues, PromotionTypes } from "@medusajs/framework/types";
|
2
|
+
import { ApplicationMethodTargetType as TargetType } from "@medusajs/framework/utils";
|
3
3
|
export declare function getComputedActionsForItems(promotion: PromotionTypes.PromotionDTO, items: PromotionTypes.ComputeActionContext[TargetType.ITEMS], appliedPromotionsMap: Map<string, number>, allocationOverride?: ApplicationMethodAllocationValues): PromotionTypes.ComputeActions[];
|
4
4
|
export declare function getComputedActionsForShippingMethods(promotion: PromotionTypes.PromotionDTO, shippingMethods: PromotionTypes.ComputeActionContext[TargetType.SHIPPING_METHODS], appliedPromotionsMap: Map<string, number>): PromotionTypes.ComputeActions[];
|
5
5
|
export declare function getComputedActionsForOrder(promotion: PromotionTypes.PromotionDTO, itemApplicationContext: PromotionTypes.ComputeActionContext, methodIdPromoValueMap: Map<string, number>): PromotionTypes.ComputeActions[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"line-items.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/line-items.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EAEjC,cAAc,EACf,MAAM,
|
1
|
+
{"version":3,"file":"line-items.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/line-items.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EAEjC,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAML,2BAA2B,IAAI,UAAU,EAE1C,MAAM,2BAA2B,CAAA;AAgBlC,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,KAAK,EAAE,cAAc,CAAC,oBAAoB,CAAC,UAAU,CAAC,KAAK,CAAC,EAC5D,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,kBAAkB,CAAC,EAAE,iCAAiC,GACrD,cAAc,CAAC,cAAc,EAAE,CASjC;AAED,wBAAgB,oCAAoC,CAClD,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,eAAe,EAAE,cAAc,CAAC,oBAAoB,CAAC,UAAU,CAAC,gBAAgB,CAAC,EACjF,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACxC,cAAc,CAAC,cAAc,EAAE,CAIjC;AAED,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,EAC3D,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,cAAc,CAAC,cAAc,EAAE,CAOjC"}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getComputedActionsForItems = getComputedActionsForItems;
|
4
4
|
exports.getComputedActionsForShippingMethods = getComputedActionsForShippingMethods;
|
5
5
|
exports.getComputedActionsForOrder = getComputedActionsForOrder;
|
6
|
-
const utils_1 = require("@medusajs/utils");
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
7
7
|
const validations_1 = require("../validations");
|
8
8
|
const usage_1 = require("./usage");
|
9
9
|
function validateContext(contextKey, context) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"line-items.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/line-items.ts"],"names":[],"mappings":";;AA6BA,gEAcC;AAED,oFAQC;AAED,gEAWC;AA7DD,
|
1
|
+
{"version":3,"file":"line-items.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/line-items.ts"],"names":[],"mappings":";;AA6BA,gEAcC;AAED,oFAQC;AAED,gEAWC;AA7DD,qDAQkC;AAClC,gDAAwD;AACxD,mCAAwD;AAExD,SAAS,eAAe,CACtB,UAAkB,EAClB,OAAwD;IAExD,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,IAAI,UAAU,mEAAmE,CAClF,CAAA;IACH,CAAC;AACH,CAAC;AAED,SAAgB,0BAA0B,CACxC,SAAsC,EACtC,KAA4D,EAC5D,oBAAyC,EACzC,kBAAsD;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ajs/utils";
|
1
|
+
import { BigNumberInput, PromotionTypes } from "@medusajs/framework/types";
|
2
|
+
import { ApplicationMethodTargetType } from "@medusajs/framework/utils";
|
3
3
|
export declare function getComputedActionsForShippingMethods(promotion: PromotionTypes.PromotionDTO, shippingMethodApplicationContext: PromotionTypes.ComputeActionContext[ApplicationMethodTargetType.SHIPPING_METHODS], methodIdPromoValueMap: Map<string, number>): PromotionTypes.ComputeActions[];
|
4
4
|
export declare function applyPromotionToShippingMethods(promotion: PromotionTypes.PromotionDTO, shippingMethods: PromotionTypes.ComputeActionContext[ApplicationMethodTargetType.SHIPPING_METHODS], methodIdPromoValueMap: Map<string, BigNumberInput>): PromotionTypes.ComputeActions[];
|
5
5
|
//# sourceMappingURL=shipping-methods.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-methods.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/shipping-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"shipping-methods.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/shipping-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,EAEL,2BAA2B,EAK5B,MAAM,2BAA2B,CAAA;AAIlC,wBAAgB,oCAAoC,CAClD,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,gCAAgC,EAAE,cAAc,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,gBAAgB,CAAC,EACnH,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,cAAc,CAAC,cAAc,EAAE,CA8BjC;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,cAAc,CAAC,YAAY,EACtC,eAAe,EAAE,cAAc,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,gBAAgB,CAAC,EAClG,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,GACjD,cAAc,CAAC,cAAc,EAAE,CAyHjC"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getComputedActionsForShippingMethods = getComputedActionsForShippingMethods;
|
4
4
|
exports.applyPromotionToShippingMethods = applyPromotionToShippingMethods;
|
5
|
-
const utils_1 = require("@medusajs/utils");
|
5
|
+
const utils_1 = require("@medusajs/framework/utils");
|
6
6
|
const validations_1 = require("../validations");
|
7
7
|
const usage_1 = require("./usage");
|
8
8
|
function getComputedActionsForShippingMethods(promotion, shippingMethodApplicationContext, methodIdPromoValueMap) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-methods.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/shipping-methods.ts"],"names":[],"mappings":";;AAYA,oFAkCC;AAED,0EA6HC;AA5KD,
|
1
|
+
{"version":3,"file":"shipping-methods.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/shipping-methods.ts"],"names":[],"mappings":";;AAYA,oFAkCC;AAED,0EA6HC;AA5KD,qDAOkC;AAClC,gDAAwD;AACxD,mCAAwD;AAExD,SAAgB,oCAAoC,CAClD,SAAsC,EACtC,gCAAmH,EACnH,qBAA0C;IAE1C,MAAM,uBAAuB,GAC3B,EAAE,CAAA;IAEJ,IAAI,CAAC,gCAAgC,EAAE,CAAC;QACtC,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,oFAAoF,CACrF,CAAA;IACH,CAAC;IAED,KAAK,MAAM,qBAAqB,IAAI,gCAAgC,EAAE,CAAC;QACrE,MAAM,2BAA2B,GAAG,IAAA,qCAAuB,EACzD,SAAS,CAAC,kBAAkB,EAAE,YAAa,EAC3C,qBAAqB,EACrB,mCAA2B,CAAC,gBAAgB,CAC7C,CAAA;QAED,IAAI,CAAC,2BAA2B,EAAE,CAAC;YACjC,SAAQ;QACV,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AAE,MAAM,CAAC,EAAE;gBAC7B,MAAM;gBACN,IAAI,EAAE,SAAS,CAAC,IAAK;aACtB,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAA;AACxB,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { BigNumberInput, CampaignBudgetExceededAction, PromotionDTO } from "@medusajs/types";
|
1
|
+
import { BigNumberInput, CampaignBudgetExceededAction, PromotionDTO } from "@medusajs/framework/types";
|
2
2
|
export declare function computeActionForBudgetExceeded(promotion: PromotionDTO, amount: BigNumberInput): CampaignBudgetExceededAction | void;
|
3
3
|
//# sourceMappingURL=usage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/usage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,4BAA4B,EAC5B,YAAY,EACb,MAAM,
|
1
|
+
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/utils/compute-actions/usage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,4BAA4B,EAC5B,YAAY,EACb,MAAM,2BAA2B,CAAA;AAOlC,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,YAAY,EACvB,MAAM,EAAE,cAAc,GACrB,4BAA4B,GAAG,IAAI,CAmBrC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.computeActionForBudgetExceeded = computeActionForBudgetExceeded;
|
4
|
-
const utils_1 = require("@medusajs/utils");
|
4
|
+
const utils_1 = require("@medusajs/framework/utils");
|
5
5
|
function computeActionForBudgetExceeded(promotion, amount) {
|
6
6
|
const campaignBudget = promotion.campaign?.budget;
|
7
7
|
if (!campaignBudget) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/usage.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/utils/compute-actions/usage.ts"],"names":[],"mappings":";;AAWA,wEAsBC;AA5BD,qDAIkC;AAElC,SAAgB,8BAA8B,CAC5C,SAAuB,EACvB,MAAsB;IAEtB,MAAM,cAAc,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAA;IAEjD,IAAI,CAAC,cAAc,EAAE,CAAC;QACpB,OAAM;IACR,CAAC;IAED,MAAM,kBAAkB,GAAG,cAAc,CAAC,IAAI,IAAI,CAAC,CAAA;IACnD,MAAM,SAAS,GACb,cAAc,CAAC,IAAI,KAAK,0BAAkB,CAAC,KAAK;QAC9C,CAAC,CAAC,cAAM,CAAC,GAAG,CAAC,kBAAkB,EAAE,MAAM,CAAC;QACxC,CAAC,CAAC,cAAM,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAA;IAEvC,IAAI,cAAc,CAAC,KAAK,IAAI,cAAM,CAAC,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QACvE,OAAO;YACL,MAAM,EAAE,uBAAe,CAAC,wBAAwB;YAChD,IAAI,EAAE,SAAS,CAAC,IAAK;SACtB,CAAA;IACH,CAAC;AACH,CAAC"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.allowedAllocationForQuantity = exports.allowedAllocationTypes = exports.allowedAllocationTargetTypes = void 0;
|
4
4
|
exports.validateApplicationMethodAttributes = validateApplicationMethodAttributes;
|
5
|
-
const utils_1 = require("@medusajs/utils");
|
5
|
+
const utils_1 = require("@medusajs/framework/utils");
|
6
6
|
exports.allowedAllocationTargetTypes = [
|
7
7
|
utils_1.ApplicationMethodTargetType.SHIPPING_METHODS,
|
8
8
|
utils_1.ApplicationMethodTargetType.ITEMS,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application-method.js","sourceRoot":"","sources":["../../../src/utils/validations/application-method.ts"],"names":[],"mappings":";;;AA4BA,kFA8GC;AA1ID,
|
1
|
+
{"version":3,"file":"application-method.js","sourceRoot":"","sources":["../../../src/utils/validations/application-method.ts"],"names":[],"mappings":";;;AA4BA,kFA8GC;AA1ID,qDAUkC;AAIrB,QAAA,4BAA4B,GAAa;IACpD,mCAA2B,CAAC,gBAAgB;IAC5C,mCAA2B,CAAC,KAAK;CAClC,CAAA;AAEY,QAAA,sBAAsB,GAAa;IAC9C,mCAA2B,CAAC,MAAM;IAClC,mCAA2B,CAAC,IAAI;CACjC,CAAA;AAEY,QAAA,4BAA4B,GAAa;IACpD,mCAA2B,CAAC,IAAI;CACjC,CAAA;AAED,SAAgB,mCAAmC,CACjD,IAA6D,EAC7D,SAAoB;IAEpB,MAAM,iBAAiB,GAAG,SAAS,EAAE,kBAAkB,IAAI,EAAE,CAAA;IAC7D,MAAM,mBAAmB,GACvB,IAAI,CAAC,sBAAsB,IAAI,iBAAiB,EAAE,sBAAsB,CAAA;IAC1E,MAAM,eAAe,GACnB,IAAI,CAAC,iBAAiB,IAAI,iBAAiB,EAAE,iBAAiB,CAAA;IAChE,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,IAAI,iBAAiB,EAAE,WAAW,CAAA;IACrE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,iBAAiB,EAAE,IAAI,CAAA;IACjD,MAAM,qBAAqB,GAAG,IAAI,CAAC,IAAI,IAAI,iBAAiB,EAAE,IAAI,CAAA;IAClE,MAAM,KAAK,GAAG,IAAI,iBAAS,CAAC,IAAI,CAAC,KAAK,IAAI,iBAAiB,CAAC,KAAK,IAAI,CAAC,CAAC,CAAA;IACvE,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,IAAI,iBAAiB,CAAC,YAAY,CAAA;IACvE,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,iBAAiB,CAAC,UAAU,CAAA;IAClE,MAAM,cAAc,GAAa,M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
import { ApplicationMethodTargetTypeValues, PromotionRuleDTO } from "@medusajs/framework/types";
|
2
2
|
import { CreatePromotionRuleDTO } from "../../types";
|
3
3
|
export declare function validatePromotionRuleAttributes(promotionRulesData: CreatePromotionRuleDTO[]): void;
|
4
4
|
export declare function areRulesValidForContext(rules: PromotionRuleDTO[], context: Record<string, any>, contextScope: ApplicationMethodTargetTypeValues): boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../src/utils/validations/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,gBAAgB,EAEjB,MAAM,
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../src/utils/validations/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,gBAAgB,EAEjB,MAAM,2BAA2B,CAAA;AASlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,wBAAgB,+BAA+B,CAC7C,kBAAkB,EAAE,sBAAsB,EAAE,QAiC7C;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,gBAAgB,EAAE,EACzB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,YAAY,EAAE,iCAAiC,GAC9C,OAAO,CAmBT;AAkCD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAAE,EACpB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EAAE,GAAG,MAAM,WAiCrC"}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validatePromotionRuleAttributes = validatePromotionRuleAttributes;
|
4
4
|
exports.areRulesValidForContext = areRulesValidForContext;
|
5
5
|
exports.evaluateRuleValueCondition = evaluateRuleValueCondition;
|
6
|
-
const utils_1 = require("@medusajs/utils");
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
7
7
|
function validatePromotionRuleAttributes(promotionRulesData) {
|
8
8
|
const errors = [];
|
9
9
|
for (const promotionRuleData of promotionRulesData) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../../src/utils/validations/promotion-rule.ts"],"names":[],"mappings":";;AAeA,0EAkCC;AAED,0DAuBC;AAkCD,gEAoCC;AA3ID,
|
1
|
+
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../../src/utils/validations/promotion-rule.ts"],"names":[],"mappings":";;AAeA,0EAkCC;AAED,0DAuBC;AAkCD,gEAoCC;AA3ID,qDAOkC;AAGlC,SAAgB,+BAA+B,CAC7C,kBAA4C;IAE5C,MAAM,MAAM,GAAa,EAAE,CAAA;IAE3B,KAAK,MAAM,iBAAiB,IAAI,kBAAkB,EAAE,CAAC;QACnD,IAAI,CAAC,IAAA,iBAAS,EAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,CAAC;YAC5C,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAA;QACtD,CAAC;QAED,IAAI,CAAC,IAAA,iBAAS,EAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3C,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAA;QACrD,CAAC;QAED,IAAI,IAAA,iBAAS,EAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1C,MAAM,gBAAgB,GAAkC,MAAM,CAAC,MAAM,CACnE,6BAAqB,CACtB,CAAA;YAED,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC3D,MAAM,CAAC,IAAI,CACT,qBACE,iBAAiB,CAAC,QACpB,qCAAqC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACnE,CAAA;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,sCAAsC,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ACd,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/promotion",
|
3
|
-
"version": "0.0.5-preview-
|
3
|
+
"version": "0.0.5-preview-20240930112011",
|
4
4
|
"description": "Medusa Promotion module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -37,21 +37,21 @@
|
|
37
37
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@medusajs/
|
40
|
+
"@medusajs/framework": "0.0.2-preview-20240930112011",
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
42
|
-
"
|
42
|
+
"@mikro-orm/core": "5.9.7",
|
43
|
+
"@mikro-orm/migrations": "5.9.7",
|
44
|
+
"@mikro-orm/postgresql": "5.9.7",
|
45
|
+
"@swc/core": "^1.7.28",
|
46
|
+
"@swc/jest": "^0.2.36",
|
43
47
|
"jest": "^29.7.0",
|
44
|
-
"medusa-test-utils": "1.1.45-preview-
|
48
|
+
"medusa-test-utils": "1.1.45-preview-20240930112011",
|
45
49
|
"rimraf": "^3.0.2",
|
46
|
-
"ts-jest": "^29.1.1",
|
47
|
-
"ts-node": "^10.9.1",
|
48
50
|
"tsc-alias": "^1.8.6",
|
49
51
|
"typescript": "^5.6.2"
|
50
52
|
},
|
51
|
-
"dependencies": {
|
52
|
-
"@medusajs/utils": "1.12.0-preview-20240925143312"
|
53
|
-
},
|
54
53
|
"peerDependencies": {
|
54
|
+
"@medusajs/framework": "0.0.2-preview-20240930112011",
|
55
55
|
"@mikro-orm/core": "5.9.7",
|
56
56
|
"@mikro-orm/migrations": "5.9.7",
|
57
57
|
"@mikro-orm/postgresql": "5.9.7",
|