av6-core 1.6.8 → 1.6.9
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.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -623,6 +623,12 @@ type EmitPayload = {
|
|
|
623
623
|
service: string;
|
|
624
624
|
shortCode: string;
|
|
625
625
|
data?: Record<string, any>;
|
|
626
|
+
attachments?: Array<{
|
|
627
|
+
filename: string;
|
|
628
|
+
path: string;
|
|
629
|
+
cid: string;
|
|
630
|
+
content?: Buffer;
|
|
631
|
+
}>;
|
|
626
632
|
};
|
|
627
633
|
type ILogger = winston.Logger | Console;
|
|
628
634
|
type NotificationEmitterDeps = {
|
package/dist/index.d.ts
CHANGED
|
@@ -623,6 +623,12 @@ type EmitPayload = {
|
|
|
623
623
|
service: string;
|
|
624
624
|
shortCode: string;
|
|
625
625
|
data?: Record<string, any>;
|
|
626
|
+
attachments?: Array<{
|
|
627
|
+
filename: string;
|
|
628
|
+
path: string;
|
|
629
|
+
cid: string;
|
|
630
|
+
content?: Buffer;
|
|
631
|
+
}>;
|
|
626
632
|
};
|
|
627
633
|
type ILogger = winston.Logger | Console;
|
|
628
634
|
type NotificationEmitterDeps = {
|
package/dist/index.js
CHANGED
|
@@ -3578,7 +3578,8 @@ var NotificationService = class {
|
|
|
3578
3578
|
recipient: { email: recipient },
|
|
3579
3579
|
subject: msg.subject,
|
|
3580
3580
|
body: msg.body,
|
|
3581
|
-
priority: cfg.priority === "PRIMARY" ? "high" : cfg.priority === "SECONDARY" ? "normal" : "low"
|
|
3581
|
+
priority: cfg.priority === "PRIMARY" ? "high" : cfg.priority === "SECONDARY" ? "normal" : "low",
|
|
3582
|
+
attachments: evt.attachments
|
|
3582
3583
|
});
|
|
3583
3584
|
return this.mapProviderResult(res);
|
|
3584
3585
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3527,7 +3527,8 @@ var NotificationService = class {
|
|
|
3527
3527
|
recipient: { email: recipient },
|
|
3528
3528
|
subject: msg.subject,
|
|
3529
3529
|
body: msg.body,
|
|
3530
|
-
priority: cfg.priority === "PRIMARY" ? "high" : cfg.priority === "SECONDARY" ? "normal" : "low"
|
|
3530
|
+
priority: cfg.priority === "PRIMARY" ? "high" : cfg.priority === "SECONDARY" ? "normal" : "low",
|
|
3531
|
+
attachments: evt.attachments
|
|
3531
3532
|
});
|
|
3532
3533
|
return this.mapProviderResult(res);
|
|
3533
3534
|
}
|