@medusajs/notification 3.0.0-snapshot-20251106181920 → 3.0.0-snapshot-20251126221441
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/migrations/Migration20251028172715.d.ts +1 -1
- package/dist/migrations/Migration20251028172715.d.ts.map +1 -1
- package/dist/migrations/Migration20251028172715.js +1 -1
- package/dist/migrations/Migration20251028172715.js.map +1 -1
- package/dist/migrations/Migration20251121123942.d.ts +6 -0
- package/dist/migrations/Migration20251121123942.d.ts.map +1 -0
- package/dist/migrations/Migration20251121123942.js +14 -0
- package/dist/migrations/Migration20251121123942.js.map +1 -0
- package/dist/migrations/Migration20251121150408.d.ts +6 -0
- package/dist/migrations/Migration20251121150408.d.ts.map +1 -0
- package/dist/migrations/Migration20251121150408.js +14 -0
- package/dist/migrations/Migration20251121150408.js.map +1 -0
- package/dist/models/notification-provider.d.ts +2 -0
- package/dist/models/notification-provider.d.ts.map +1 -1
- package/dist/models/notification.d.ts +2 -0
- package/dist/models/notification.d.ts.map +1 -1
- package/dist/models/notification.js +4 -0
- package/dist/models/notification.js.map +1 -1
- package/dist/providers/medusa-cloud-email.d.ts.map +1 -1
- package/dist/providers/medusa-cloud-email.js +1 -0
- package/dist/providers/medusa-cloud-email.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20251028172715.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251028172715.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Migration20251028172715.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251028172715.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IASnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAQrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Migration20251028172715 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class Migration20251028172715 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql(`alter table if exists "notification" alter column "template" type text using ("template"::text);`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20251028172715.js","sourceRoot":"","sources":["../../src/migrations/Migration20251028172715.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Migration20251028172715.js","sourceRoot":"","sources":["../../src/migrations/Migration20251028172715.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT,kGAAkG,CACnG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,6EAA6E,CAC9E,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CACT,kGAAkG,CACnG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,4EAA4E,CAC7E,CAAA;IACH,CAAC;CACF;AAlBD,0DAkBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration20251121123942.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251121123942.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,qBAAa,uBAAwB,SAAQ,SAAS;IAErC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAInB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAIrC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Migration20251121123942 = void 0;
|
|
4
|
+
const migrations_1 = require("@mikro-orm/migrations");
|
|
5
|
+
class Migration20251121123942 extends migrations_1.Migration {
|
|
6
|
+
async up() {
|
|
7
|
+
this.addSql(`alter table if exists "notification" add column if not exists "from" text null;`);
|
|
8
|
+
}
|
|
9
|
+
async down() {
|
|
10
|
+
this.addSql(`alter table if exists "notification" drop column if exists "from";`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Migration20251121123942 = Migration20251121123942;
|
|
14
|
+
//# sourceMappingURL=Migration20251121123942.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration20251121123942.js","sourceRoot":"","sources":["../../src/migrations/Migration20251121123942.ts"],"names":[],"mappings":";;;AAAA,sDAAkD;AAElD,MAAa,uBAAwB,SAAQ,sBAAS;IAE3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CAAC,iFAAiF,CAAC,CAAC;IACjG,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,oEAAoE,CAAC,CAAC;IACpF,CAAC;CAEF;AAVD,0DAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration20251121150408.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251121150408.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,qBAAa,uBAAwB,SAAQ,SAAS;IAErC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAInB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAIrC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Migration20251121150408 = void 0;
|
|
4
|
+
const migrations_1 = require("@mikro-orm/migrations");
|
|
5
|
+
class Migration20251121150408 extends migrations_1.Migration {
|
|
6
|
+
async up() {
|
|
7
|
+
this.addSql(`alter table if exists "notification" add column if not exists "provider_data" jsonb null;`);
|
|
8
|
+
}
|
|
9
|
+
async down() {
|
|
10
|
+
this.addSql(`alter table if exists "notification" drop column if exists "provider_data";`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Migration20251121150408 = Migration20251121150408;
|
|
14
|
+
//# sourceMappingURL=Migration20251121150408.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration20251121150408.js","sourceRoot":"","sources":["../../src/migrations/Migration20251121150408.ts"],"names":[],"mappings":";;;AAAA,sDAAkD;AAElD,MAAa,uBAAwB,SAAQ,sBAAS;IAE3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CAAC,2FAA2F,CAAC,CAAC;IAC3G,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,6EAA6E,CAAC,CAAC;IAC7F,CAAC;CAEF;AAVD,0DAUC"}
|
|
@@ -7,9 +7,11 @@ export declare const NotificationProvider: import("@medusajs/framework/utils").D
|
|
|
7
7
|
notifications: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
8
8
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
9
9
|
to: import("@medusajs/framework/utils").TextProperty;
|
|
10
|
+
from: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
10
11
|
channel: import("@medusajs/framework/utils").TextProperty;
|
|
11
12
|
template: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
12
13
|
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
14
|
+
provider_data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
13
15
|
trigger_type: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
14
16
|
resource_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
15
17
|
resource_type: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-provider.d.ts","sourceRoot":"","sources":["../../src/models/notification-provider.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"notification-provider.d.ts","sourceRoot":"","sources":["../../src/models/notification-provider.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;2BAO/B,CAAA"}
|
|
@@ -2,9 +2,11 @@ import { NotificationStatus } from "@medusajs/framework/utils";
|
|
|
2
2
|
export declare const Notification: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
|
|
3
3
|
id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
|
|
4
4
|
to: import("@medusajs/framework/utils").TextProperty;
|
|
5
|
+
from: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
5
6
|
channel: import("@medusajs/framework/utils").TextProperty;
|
|
6
7
|
template: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
7
8
|
data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
9
|
+
provider_data: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
8
10
|
trigger_type: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
9
11
|
resource_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
10
12
|
resource_type: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/models/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAIrE,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/models/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAIrE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAgCvB,CAAA"}
|
|
@@ -8,11 +8,15 @@ exports.Notification = utils_1.model.define("notification", {
|
|
|
8
8
|
id: utils_1.model.id({ prefix: "noti" }).primaryKey(),
|
|
9
9
|
// This can be an email, phone number, or username, depending on the channel.
|
|
10
10
|
to: utils_1.model.text().searchable(),
|
|
11
|
+
// This can be an email, phone number, or username, depending on the channel.
|
|
12
|
+
from: utils_1.model.text().searchable().nullable(),
|
|
11
13
|
channel: utils_1.model.text(),
|
|
12
14
|
// The template name in the provider's system.
|
|
13
15
|
template: utils_1.model.text().nullable(),
|
|
14
16
|
// The data that gets passed over to the provider for rendering the notification.
|
|
15
17
|
data: utils_1.model.json().nullable(),
|
|
18
|
+
// Additional data specific to the channel or provider. For example, cc and bcc for emails.
|
|
19
|
+
provider_data: utils_1.model.json().nullable(),
|
|
16
20
|
// This can be the event name, the workflow, or anything else that can help to identify what triggered the notification.
|
|
17
21
|
trigger_type: utils_1.model.text().nullable(),
|
|
18
22
|
// The ID of the resource this notification is for, if applicable. Useful for displaying relevant information in the UI
|
|
@@ -1 +1 @@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AE;IAC5C,qEAAqE;IACrE,wBAAwB,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACjD,eAAe,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,mEAAmE;IACnE,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpC,iCAAiC;IACjC,MAAM,EAAE,aAAK,CAAC,IAAI,CAAC,0BAAkB,CAAC,CAAC,OAAO,CAAC,0BAAkB,CAAC,OAAO,CAAC;IAE1E,QAAQ,EAAE,aAAK;SACZ,SAAS,CAAC,GAAG,EAAE,CAAC,4CAAoB,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC;SACpE,QAAQ,EAAE;CACd,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"medusa-cloud-email.d.ts","sourceRoot":"","sources":["../../src/providers/medusa-cloud-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAA;AAEhD,qBAAa,oCAAqC,SAAQ,mCAAmC;IAC3F,MAAM,CAAC,UAAU,SAAoC;IACrD,SAAS,CAAC,QAAQ,EAAE,uBAAuB,CAAA;IAC3C,SAAS,CAAC,OAAO,EAAE,MAAM,CAAA;gBAEb,EAAE,IAAA,EAAE,OAAO,EAAE,uBAAuB;IAM1C,IAAI,CACR,YAAY,EAAE,iBAAiB,CAAC,2BAA2B,GAC1D,OAAO,CAAC,iBAAiB,CAAC,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"medusa-cloud-email.d.ts","sourceRoot":"","sources":["../../src/providers/medusa-cloud-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAA;AAEhD,qBAAa,oCAAqC,SAAQ,mCAAmC;IAC3F,MAAM,CAAC,UAAU,SAAoC;IACrD,SAAS,CAAC,QAAQ,EAAE,uBAAuB,CAAA;IAC3C,SAAS,CAAC,OAAO,EAAE,MAAM,CAAA;gBAEb,EAAE,IAAA,EAAE,OAAO,EAAE,uBAAuB;IAM1C,IAAI,CACR,YAAY,EAAE,iBAAiB,CAAC,2BAA2B,GAC1D,OAAO,CAAC,iBAAiB,CAAC,kCAAkC,CAAC;CAyCjE"}
|
|
@@ -28,6 +28,7 @@ class MedusaCloudEmailNotificationProvider extends utils_1.AbstractNotificationP
|
|
|
28
28
|
attachments: notification.attachments,
|
|
29
29
|
template: notification.template,
|
|
30
30
|
data: notification.data,
|
|
31
|
+
provider_data: notification.provider_data,
|
|
31
32
|
content: notification.content,
|
|
32
33
|
}),
|
|
33
34
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"medusa-cloud-email.js","sourceRoot":"","sources":["../../src/providers/medusa-cloud-email.ts"],"names":[],"mappings":";;;AACA,qDAA+E;AAG/E,MAAa,oCAAqC,SAAQ,2CAAmC;IAK3F,YAAY,EAAE,EAAE,OAAgC;QAC9C,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;IACzB,CAAC;IAED,KAAK,CAAC,IAAI,CACR,YAA2D;QAE3D,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,SAAS,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE;SAChD,CAAA;QAED,IAAI,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;YACjC,OAAO,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,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AAY,CAAC,OAAO,EAAE,CAC7F,CAAA;YACH,CAAC;YAED,OAAO,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,EAAE,CAAA;QAChC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,yBAAyB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;QAC3D,CAAC;IACH,CAAC;;AArDH,oFAsDC;AArDQ,+CAAU,GAAG,iCAAiC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/index.ts","../src/loaders/providers.ts","../src/migrations/Migration20240509083918_InitialSetupMigration.ts","../src/migrations/Migration20240628075401.ts","../src/migrations/Migration20240830094712.ts","../src/migrations/Migration20250120110514.ts","../src/migrations/Migration20251028172715.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/providers/medusa-cloud-email.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/index.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["../src/index.ts","../src/loaders/providers.ts","../src/migrations/Migration20240509083918_InitialSetupMigration.ts","../src/migrations/Migration20240628075401.ts","../src/migrations/Migration20240830094712.ts","../src/migrations/Migration20250120110514.ts","../src/migrations/Migration20251028172715.ts","../src/migrations/Migration20251121123942.ts","../src/migrations/Migration20251121150408.ts","../src/models/index.ts","../src/models/notification-provider.ts","../src/models/notification.ts","../src/providers/medusa-cloud-email.ts","../src/services/index.ts","../src/services/notification-module-service.ts","../src/services/notification-provider.ts","../src/types/index.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/notification",
|
|
3
|
-
"version": "3.0.0-snapshot-
|
|
3
|
+
"version": "3.0.0-snapshot-20251126221441",
|
|
4
4
|
"description": "Medusa Notification module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@medusajs/framework": "3.0.0-snapshot-
|
|
40
|
-
"@medusajs/test-utils": "3.0.0-snapshot-
|
|
39
|
+
"@medusajs/framework": "3.0.0-snapshot-20251126221441",
|
|
40
|
+
"@medusajs/test-utils": "3.0.0-snapshot-20251126221441"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@medusajs/framework": "3.0.0-snapshot-
|
|
43
|
+
"@medusajs/framework": "3.0.0-snapshot-20251126221441"
|
|
44
44
|
}
|
|
45
45
|
}
|