@infuro/cms-core 1.0.63 → 1.0.64
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/admin.cjs +183 -65
- package/dist/admin.js +183 -65
- package/dist/api.cjs +38 -38
- package/dist/api.d.cts +2 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +6 -6
- package/dist/{chunk-KAOHOHCA.js → chunk-6YOQ7G5O.js} +92 -51
- package/dist/{chunk-DTUL3Q5L.js → chunk-DXERXWBR.js} +1 -1
- package/dist/{chunk-CJEOH6QC.cjs → chunk-FF45VZMM.cjs} +99 -73
- package/dist/{chunk-7L556RGL.cjs → chunk-GLD263KW.cjs} +3 -3
- package/dist/{chunk-77YWLP4X.js → chunk-K6C3ZSBZ.js} +56 -30
- package/dist/{chunk-EWXG4E74.cjs → chunk-M25DGZ5J.cjs} +111 -51
- package/dist/{chunk-BWOITUNI.js → chunk-OJAYCNE5.js} +103 -43
- package/dist/{chunk-MWEK7N3F.js → chunk-OPJEV44S.js} +2 -2
- package/dist/{chunk-RHYVNRYG.cjs → chunk-PX3BSCIG.cjs} +1 -1
- package/dist/{chunk-RXTUSF3R.js → chunk-TU23GJPJ.js} +2 -2
- package/dist/{chunk-JLDHK2QE.cjs → chunk-TZEMLHSP.cjs} +20 -14
- package/dist/{chunk-YVP4NQII.cjs → chunk-VM6OVUUM.cjs} +93 -52
- package/dist/{chunk-MXABMVF7.cjs → chunk-XFDIIVZB.cjs} +4 -4
- package/dist/{chunk-3VZAAQUV.js → chunk-YRCKEGL2.js} +20 -14
- package/dist/{email-queue-VTYL2KFA.cjs → email-queue-4OY45JIU.cjs} +7 -7
- package/dist/{email-queue-YPRSVG56.js → email-queue-HGXB2FIS.js} +3 -3
- package/dist/{email-service-ATCPJFWG.cjs → email-service-5O24BSFR.cjs} +7 -7
- package/dist/{email-service-DPKVQOKP.js → email-service-ADDF52PJ.js} +2 -2
- package/dist/{emit-order-notification-trigger-XVG2B5ZF.js → emit-order-notification-trigger-MFCBAE7L.js} +1 -1
- package/dist/{emit-order-notification-trigger-WI4HGMKH.cjs → emit-order-notification-trigger-ZRRGCQGB.cjs} +3 -3
- package/dist/{erp-order-invoice-3UGWLICU.js → erp-order-invoice-H6HCJ7YS.js} +2 -2
- package/dist/{erp-order-invoice-KJYJNWMG.cjs → erp-order-invoice-YUSPZ7CE.cjs} +6 -6
- package/dist/index.cjs +272 -258
- package/dist/index.d.cts +38 -19
- package/dist/index.d.ts +38 -19
- package/dist/index.js +40 -26
- package/dist/migrations/1783000000000-AddOrderPendingProcessingCompletedTriggers.ts +15 -39
- package/dist/migrations/1783300000000-SeedOrderNotificationTriggersAndTemplates.ts +155 -0
- package/dist/{order-completion-otp-handlers-WGM7HWG4.js → order-completion-otp-handlers-3W5I3LON.js} +4 -4
- package/dist/{order-completion-otp-handlers-IMMQGHDR.cjs → order-completion-otp-handlers-RF3DLNV7.cjs} +6 -6
- package/dist/{order-notification-dispatcher-JKFQJYGG.js → order-notification-dispatcher-ID2PDEXD.js} +5 -5
- package/dist/{order-notification-dispatcher-5TUFCDU7.cjs → order-notification-dispatcher-RNEQB3V7.cjs} +10 -10
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPX3BSCIG_cjs = require('./chunk-PX3BSCIG.cjs');
|
|
4
4
|
var chunkWFMVD567_cjs = require('./chunk-WFMVD567.cjs');
|
|
5
5
|
var chunkH3IVLIPR_cjs = require('./chunk-H3IVLIPR.cjs');
|
|
6
6
|
require('./chunk-UEE4PTTB.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var chunkXFDIIVZB_cjs = require('./chunk-XFDIIVZB.cjs');
|
|
8
|
+
require('./chunk-GLD263KW.cjs');
|
|
9
9
|
require('./chunk-UPLVMVRX.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-TZEMLHSP.cjs');
|
|
11
11
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
12
12
|
|
|
13
13
|
// src/api/order-completion-otp-handlers.ts
|
|
@@ -226,7 +226,7 @@ function createOrderCompletionOtpHandlers(dataSource, entityMap, getCms) {
|
|
|
226
226
|
<p style="color: #6b7280; font-size: 13px;">This code is valid for 10 minutes. If you did not authorize this completion, please contact support immediately.</p>
|
|
227
227
|
</div>
|
|
228
228
|
`;
|
|
229
|
-
await
|
|
229
|
+
await chunkXFDIIVZB_cjs.queueEmail(cms, {
|
|
230
230
|
to: customerEmail,
|
|
231
231
|
subject: `Completion Code ${code} for Order #${o.orderNumber}`,
|
|
232
232
|
html,
|
|
@@ -339,7 +339,7 @@ function createOrderCompletionOtpHandlers(dataSource, entityMap, getCms) {
|
|
|
339
339
|
order.updatedAt = now;
|
|
340
340
|
await orderRepo.save(order);
|
|
341
341
|
try {
|
|
342
|
-
await
|
|
342
|
+
await chunkPX3BSCIG_cjs.fireOrderNotificationTrigger("order_completed", orderId, {
|
|
343
343
|
dataSource,
|
|
344
344
|
entityMap
|
|
345
345
|
});
|
package/dist/{order-notification-dispatcher-JKFQJYGG.js → order-notification-dispatcher-ID2PDEXD.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { dispatchOrderNotificationDirectly, emitOrderNotificationTrigger, getSettingsGroup, initWhatsappTriggerDispatcher, resendOrderNotification } from './chunk-
|
|
1
|
+
export { dispatchOrderNotificationDirectly, emitOrderNotificationTrigger, getSettingsGroup, initWhatsappTriggerDispatcher, resendOrderNotification } from './chunk-OJAYCNE5.js';
|
|
2
2
|
import './chunk-GWDI752Q.js';
|
|
3
3
|
import './chunk-AYWDQFJZ.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-6YOQ7G5O.js';
|
|
5
|
+
import './chunk-TU23GJPJ.js';
|
|
6
|
+
import './chunk-OPJEV44S.js';
|
|
7
7
|
import './chunk-JC6DLWTE.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-YRCKEGL2.js';
|
|
9
9
|
import './chunk-CRFV5WJK.js';
|
|
10
10
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM25DGZ5J_cjs = require('./chunk-M25DGZ5J.cjs');
|
|
4
4
|
require('./chunk-H3IVLIPR.cjs');
|
|
5
5
|
require('./chunk-UEE4PTTB.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-VM6OVUUM.cjs');
|
|
7
|
+
require('./chunk-XFDIIVZB.cjs');
|
|
8
|
+
require('./chunk-GLD263KW.cjs');
|
|
9
9
|
require('./chunk-UPLVMVRX.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-TZEMLHSP.cjs');
|
|
11
11
|
require('./chunk-OOTLNH63.cjs');
|
|
12
12
|
require('./chunk-USNT2KNT.cjs');
|
|
13
13
|
|
|
@@ -15,21 +15,21 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "dispatchOrderNotificationDirectly", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkM25DGZ5J_cjs.dispatchOrderNotificationDirectly; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "emitOrderNotificationTrigger", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkM25DGZ5J_cjs.emitOrderNotificationTrigger; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "getSettingsGroup", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkM25DGZ5J_cjs.getSettingsGroup; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "initWhatsappTriggerDispatcher", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkM25DGZ5J_cjs.initWhatsappTriggerDispatcher; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "resendOrderNotification", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkM25DGZ5J_cjs.resendOrderNotification; }
|
|
35
35
|
});
|