@memberjunction/communication-engine 2.124.0 → 2.125.0
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/Engine.d.ts +26 -7
- package/dist/Engine.d.ts.map +1 -1
- package/dist/Engine.js +30 -10
- package/dist/Engine.js.map +1 -1
- package/package.json +6 -6
package/dist/Engine.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCommunicationProvider, CommunicationEngineBase, CreateDraftResult, Message, MessageRecipient, MessageResult } from "@memberjunction/communication-types";
|
|
1
|
+
import { BaseCommunicationProvider, CommunicationEngineBase, CreateDraftResult, Message, MessageRecipient, MessageResult, ProviderCredentialsBase } from "@memberjunction/communication-types";
|
|
2
2
|
import { CommunicationRunEntity } from "@memberjunction/core-entities";
|
|
3
3
|
import { UserInfo } from "@memberjunction/core";
|
|
4
4
|
/**
|
|
@@ -16,22 +16,41 @@ export declare class CommunicationEngine extends CommunicationEngineBase {
|
|
|
16
16
|
/**
|
|
17
17
|
* Sends multiple messages using the specified provider. The provider must be one of the providers that are configured in the
|
|
18
18
|
* system.
|
|
19
|
-
* @param providerName
|
|
20
|
-
* @param providerMessageTypeName
|
|
21
|
-
* @param message
|
|
19
|
+
* @param providerName - Name of the communication provider to use
|
|
20
|
+
* @param providerMessageTypeName - Type of message to send
|
|
21
|
+
* @param message - Base message (To will be replaced with each recipient)
|
|
22
|
+
* @param recipients - Array of recipients to send to
|
|
23
|
+
* @param previewOnly - If true, only preview without sending
|
|
24
|
+
* @param credentials - Optional credentials override for this request.
|
|
25
|
+
* Provider-specific credential object (e.g., SendGridCredentials).
|
|
26
|
+
* If not provided, uses environment variables.
|
|
27
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
22
28
|
*/
|
|
23
|
-
SendMessages(providerName: string, providerMessageTypeName: string, message: Message, recipients: MessageRecipient[], previewOnly?: boolean): Promise<MessageResult[]>;
|
|
29
|
+
SendMessages(providerName: string, providerMessageTypeName: string, message: Message, recipients: MessageRecipient[], previewOnly?: boolean, credentials?: ProviderCredentialsBase): Promise<MessageResult[]>;
|
|
24
30
|
/**
|
|
25
31
|
* Sends a single message using the specified provider. The provider must be one of the providers that are configured in the system.
|
|
32
|
+
* @param providerName - Name of the communication provider to use
|
|
33
|
+
* @param providerMessageTypeName - Type of message to send
|
|
34
|
+
* @param message - The message to send
|
|
35
|
+
* @param run - Optional communication run entity for logging
|
|
36
|
+
* @param previewOnly - If true, only preview without sending
|
|
37
|
+
* @param credentials - Optional credentials override for this request.
|
|
38
|
+
* Provider-specific credential object (e.g., SendGridCredentials).
|
|
39
|
+
* If not provided, uses environment variables.
|
|
40
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
26
41
|
*/
|
|
27
|
-
SendSingleMessage(providerName: string, providerMessageTypeName: string, message: Message, run?: CommunicationRunEntity, previewOnly?: boolean): Promise<MessageResult>;
|
|
42
|
+
SendSingleMessage(providerName: string, providerMessageTypeName: string, message: Message, run?: CommunicationRunEntity, previewOnly?: boolean, credentials?: ProviderCredentialsBase): Promise<MessageResult>;
|
|
28
43
|
/**
|
|
29
44
|
* Creates a draft message using the specified provider
|
|
30
45
|
* @param message - The message to save as a draft
|
|
31
46
|
* @param providerName - Name of the provider to use
|
|
32
47
|
* @param contextUser - Optional user context for server-side operations
|
|
48
|
+
* @param credentials - Optional credentials override for this request.
|
|
49
|
+
* Provider-specific credential object (e.g., MSGraphCredentials).
|
|
50
|
+
* If not provided, uses environment variables.
|
|
51
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
33
52
|
* @returns Promise<CreateDraftResult> - Result containing draft ID if successful
|
|
34
53
|
*/
|
|
35
|
-
CreateDraft(message: Message, providerName: string, contextUser?: UserInfo): Promise<CreateDraftResult>;
|
|
54
|
+
CreateDraft(message: Message, providerName: string, contextUser?: UserInfo, credentials?: ProviderCredentialsBase): Promise<CreateDraftResult>;
|
|
36
55
|
}
|
|
37
56
|
//# sourceMappingURL=Engine.d.ts.map
|
package/dist/Engine.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engine.d.ts","sourceRoot":"","sources":["../src/Engine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"Engine.d.ts","sourceRoot":"","sources":["../src/Engine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC/L,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAuB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKrE;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,uBAAuB;IAC5D,WAAkB,QAAQ,IAAI,mBAAmB,CAEhD;IAEA;;;;OAIG;IACI,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,yBAAyB;IAsBnE;;;;;;;;;;;;OAYG;IACU,YAAY,CACtB,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,gBAAgB,EAAE,EAC9B,WAAW,GAAE,OAAe,EAC5B,WAAW,CAAC,EAAE,uBAAuB,GACrC,OAAO,CAAC,aAAa,EAAE,CAAC;IAoB3B;;;;;;;;;;;OAWG;IACU,iBAAiB,CAC3B,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,EAAE,OAAO,EAChB,GAAG,CAAC,EAAE,sBAAsB,EAC5B,WAAW,CAAC,EAAE,OAAO,EACrB,WAAW,CAAC,EAAE,uBAAuB,GACrC,OAAO,CAAC,aAAa,CAAC;IAuDzB;;;;;;;;;;OAUG;IACU,WAAW,CACpB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,QAAQ,EACtB,WAAW,CAAC,EAAE,uBAAuB,GACtC,OAAO,CAAC,iBAAiB,CAAC;CA4DjC"}
|
package/dist/Engine.js
CHANGED
|
@@ -40,11 +40,17 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
40
40
|
/**
|
|
41
41
|
* Sends multiple messages using the specified provider. The provider must be one of the providers that are configured in the
|
|
42
42
|
* system.
|
|
43
|
-
* @param providerName
|
|
44
|
-
* @param providerMessageTypeName
|
|
45
|
-
* @param message
|
|
43
|
+
* @param providerName - Name of the communication provider to use
|
|
44
|
+
* @param providerMessageTypeName - Type of message to send
|
|
45
|
+
* @param message - Base message (To will be replaced with each recipient)
|
|
46
|
+
* @param recipients - Array of recipients to send to
|
|
47
|
+
* @param previewOnly - If true, only preview without sending
|
|
48
|
+
* @param credentials - Optional credentials override for this request.
|
|
49
|
+
* Provider-specific credential object (e.g., SendGridCredentials).
|
|
50
|
+
* If not provided, uses environment variables.
|
|
51
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
46
52
|
*/
|
|
47
|
-
async SendMessages(providerName, providerMessageTypeName, message, recipients, previewOnly = false) {
|
|
53
|
+
async SendMessages(providerName, providerMessageTypeName, message, recipients, previewOnly = false, credentials) {
|
|
48
54
|
const run = await this.StartRun();
|
|
49
55
|
if (!run)
|
|
50
56
|
throw new Error(`Failed to start communication run.`);
|
|
@@ -53,7 +59,7 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
53
59
|
const messageCopy = new communication_types_1.Message(message);
|
|
54
60
|
messageCopy.To = r.To;
|
|
55
61
|
messageCopy.ContextData = r.ContextData;
|
|
56
|
-
const result = await this.SendSingleMessage(providerName, providerMessageTypeName, messageCopy, run, previewOnly);
|
|
62
|
+
const result = await this.SendSingleMessage(providerName, providerMessageTypeName, messageCopy, run, previewOnly, credentials);
|
|
57
63
|
results.push(result);
|
|
58
64
|
}
|
|
59
65
|
if (!await this.EndRun(run))
|
|
@@ -62,8 +68,17 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
62
68
|
}
|
|
63
69
|
/**
|
|
64
70
|
* Sends a single message using the specified provider. The provider must be one of the providers that are configured in the system.
|
|
71
|
+
* @param providerName - Name of the communication provider to use
|
|
72
|
+
* @param providerMessageTypeName - Type of message to send
|
|
73
|
+
* @param message - The message to send
|
|
74
|
+
* @param run - Optional communication run entity for logging
|
|
75
|
+
* @param previewOnly - If true, only preview without sending
|
|
76
|
+
* @param credentials - Optional credentials override for this request.
|
|
77
|
+
* Provider-specific credential object (e.g., SendGridCredentials).
|
|
78
|
+
* If not provided, uses environment variables.
|
|
79
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
65
80
|
*/
|
|
66
|
-
async SendSingleMessage(providerName, providerMessageTypeName, message, run, previewOnly) {
|
|
81
|
+
async SendSingleMessage(providerName, providerMessageTypeName, message, run, previewOnly, credentials) {
|
|
67
82
|
if (!this.Loaded) {
|
|
68
83
|
throw new Error(`Metadata not loaded. Call Config() before accessing metadata.`);
|
|
69
84
|
}
|
|
@@ -93,7 +108,7 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
93
108
|
else {
|
|
94
109
|
const log = await this.StartLog(processedMessage, run);
|
|
95
110
|
if (log) {
|
|
96
|
-
const sendResult = await provider.SendSingleMessage(processedMessage);
|
|
111
|
+
const sendResult = await provider.SendSingleMessage(processedMessage, credentials);
|
|
97
112
|
log.Status = sendResult.Success ? 'Complete' : 'Failed';
|
|
98
113
|
log.ErrorMessage = sendResult.Error;
|
|
99
114
|
if (!await log.Save()) {
|
|
@@ -117,9 +132,13 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
117
132
|
* @param message - The message to save as a draft
|
|
118
133
|
* @param providerName - Name of the provider to use
|
|
119
134
|
* @param contextUser - Optional user context for server-side operations
|
|
135
|
+
* @param credentials - Optional credentials override for this request.
|
|
136
|
+
* Provider-specific credential object (e.g., MSGraphCredentials).
|
|
137
|
+
* If not provided, uses environment variables.
|
|
138
|
+
* Set `credentials.disableEnvironmentFallback = true` to require explicit credentials.
|
|
120
139
|
* @returns Promise<CreateDraftResult> - Result containing draft ID if successful
|
|
121
140
|
*/
|
|
122
|
-
async CreateDraft(message, providerName, contextUser) {
|
|
141
|
+
async CreateDraft(message, providerName, contextUser, credentials) {
|
|
123
142
|
try {
|
|
124
143
|
if (!this.Loaded) {
|
|
125
144
|
return {
|
|
@@ -156,7 +175,7 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
156
175
|
const result = await provider.CreateDraft({
|
|
157
176
|
Message: processedMessage,
|
|
158
177
|
ContextData: message.ContextData
|
|
159
|
-
});
|
|
178
|
+
}, credentials);
|
|
160
179
|
if (result.Success) {
|
|
161
180
|
(0, core_1.LogStatus)(`Draft created successfully via ${providerName}. Draft ID: ${result.DraftID}`);
|
|
162
181
|
}
|
|
@@ -166,10 +185,11 @@ class CommunicationEngine extends communication_types_1.CommunicationEngineBase
|
|
|
166
185
|
return result;
|
|
167
186
|
}
|
|
168
187
|
catch (error) {
|
|
188
|
+
const errorMessage = error instanceof Error ? error.message : 'Error creating draft';
|
|
169
189
|
(0, core_1.LogError)('Error creating draft', undefined, error);
|
|
170
190
|
return {
|
|
171
191
|
Success: false,
|
|
172
|
-
ErrorMessage:
|
|
192
|
+
ErrorMessage: errorMessage
|
|
173
193
|
};
|
|
174
194
|
}
|
|
175
195
|
}
|
package/dist/Engine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../src/Engine.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Engine.js","sourceRoot":"","sources":["../src/Engine.ts"],"names":[],"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AAC;YAE7F,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;gBACzB,OAAO;oBACH,OAAO,EAAE,KAAK;oBACd,YAAY,EAAE,8BAA8B,aAAa,CAAC,OAAO,EAAE;iBACtE,CAAC;YACN,CAAC;YAED,4BAA4B;YAC5B,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,WAAW,CAAC;gBACtC,OAAO,EAAE,gBAAgB;gBACzB,WAAW,EAAE,OAAO,CAAC,WAAW;aACnC,EAAE,WAAW,CAAC,CAAC;YAEhB,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;gBACjB,IAAA,gBAAS,EAAC,kCAAkC,YAAY,eAAe,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;YAC7F,CAAC;iBAAM,CAAC;gBACJ,IAAA,eAAQ,EAAC,8BAA8B,YAAY,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC;YAC3F,CAAC;YAED,OAAO,MAAM,CAAC;QAClB,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC;YACrF,IAAA,eAAQ,EAAC,sBAAsB,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YACnD,OAAO;gBACH,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,YAAY;aAC7B,CAAC;QACN,CAAC;IACL,CAAC;CACL;AA9ND,kDA8NC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/communication-engine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.125.0",
|
|
4
4
|
"description": "MemberJunction: Core Communication Framework Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"typescript": "^5.4.5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/global": "2.
|
|
23
|
-
"@memberjunction/core": "2.
|
|
24
|
-
"@memberjunction/templates": "2.
|
|
25
|
-
"@memberjunction/core-entities": "2.
|
|
26
|
-
"@memberjunction/communication-types": "2.
|
|
22
|
+
"@memberjunction/global": "2.125.0",
|
|
23
|
+
"@memberjunction/core": "2.125.0",
|
|
24
|
+
"@memberjunction/templates": "2.125.0",
|
|
25
|
+
"@memberjunction/core-entities": "2.125.0",
|
|
26
|
+
"@memberjunction/communication-types": "2.125.0",
|
|
27
27
|
"rxjs": "^7.8.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|