emailr 1.3.0 → 1.3.2
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 +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -152,6 +152,7 @@ interface ListContactsParams {
|
|
|
152
152
|
limit?: number;
|
|
153
153
|
offset?: number;
|
|
154
154
|
subscribed?: boolean;
|
|
155
|
+
search?: string;
|
|
155
156
|
tags?: string;
|
|
156
157
|
}
|
|
157
158
|
interface ContactListResponse {
|
|
@@ -178,6 +179,7 @@ interface Template {
|
|
|
178
179
|
variables: string[] | null;
|
|
179
180
|
tags?: string[];
|
|
180
181
|
from_email: string | null;
|
|
182
|
+
from_name: string | null;
|
|
181
183
|
reply_to: string | null;
|
|
182
184
|
preview_text: string | null;
|
|
183
185
|
created_by: string | null;
|
|
@@ -192,6 +194,7 @@ interface CreateTemplateRequest {
|
|
|
192
194
|
variables?: string[];
|
|
193
195
|
tags?: string[];
|
|
194
196
|
from_email?: string;
|
|
197
|
+
from_name?: string;
|
|
195
198
|
reply_to?: string;
|
|
196
199
|
preview_text?: string;
|
|
197
200
|
}
|
|
@@ -203,6 +206,7 @@ interface UpdateTemplateRequest {
|
|
|
203
206
|
variables?: string[];
|
|
204
207
|
tags?: string[];
|
|
205
208
|
from_email?: string;
|
|
209
|
+
from_name?: string;
|
|
206
210
|
reply_to?: string;
|
|
207
211
|
preview_text?: string;
|
|
208
212
|
}
|
|
@@ -317,6 +321,7 @@ interface Broadcast {
|
|
|
317
321
|
name: string;
|
|
318
322
|
subject: string;
|
|
319
323
|
from_email: string;
|
|
324
|
+
from_name: string | null;
|
|
320
325
|
template_id: string | null;
|
|
321
326
|
segment_id: string | null;
|
|
322
327
|
status: string;
|
|
@@ -337,6 +342,7 @@ interface CreateBroadcastRequest {
|
|
|
337
342
|
name: string;
|
|
338
343
|
subject: string;
|
|
339
344
|
from_email: string;
|
|
345
|
+
from_name?: string;
|
|
340
346
|
template_id?: string;
|
|
341
347
|
segment_id?: string;
|
|
342
348
|
html_content?: string;
|
|
@@ -348,6 +354,7 @@ interface UpdateBroadcastRequest {
|
|
|
348
354
|
name?: string;
|
|
349
355
|
subject?: string;
|
|
350
356
|
from_email?: string;
|
|
357
|
+
from_name?: string;
|
|
351
358
|
template_id?: string;
|
|
352
359
|
segment_id?: string;
|
|
353
360
|
html_content?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ interface ListContactsParams {
|
|
|
152
152
|
limit?: number;
|
|
153
153
|
offset?: number;
|
|
154
154
|
subscribed?: boolean;
|
|
155
|
+
search?: string;
|
|
155
156
|
tags?: string;
|
|
156
157
|
}
|
|
157
158
|
interface ContactListResponse {
|
|
@@ -178,6 +179,7 @@ interface Template {
|
|
|
178
179
|
variables: string[] | null;
|
|
179
180
|
tags?: string[];
|
|
180
181
|
from_email: string | null;
|
|
182
|
+
from_name: string | null;
|
|
181
183
|
reply_to: string | null;
|
|
182
184
|
preview_text: string | null;
|
|
183
185
|
created_by: string | null;
|
|
@@ -192,6 +194,7 @@ interface CreateTemplateRequest {
|
|
|
192
194
|
variables?: string[];
|
|
193
195
|
tags?: string[];
|
|
194
196
|
from_email?: string;
|
|
197
|
+
from_name?: string;
|
|
195
198
|
reply_to?: string;
|
|
196
199
|
preview_text?: string;
|
|
197
200
|
}
|
|
@@ -203,6 +206,7 @@ interface UpdateTemplateRequest {
|
|
|
203
206
|
variables?: string[];
|
|
204
207
|
tags?: string[];
|
|
205
208
|
from_email?: string;
|
|
209
|
+
from_name?: string;
|
|
206
210
|
reply_to?: string;
|
|
207
211
|
preview_text?: string;
|
|
208
212
|
}
|
|
@@ -317,6 +321,7 @@ interface Broadcast {
|
|
|
317
321
|
name: string;
|
|
318
322
|
subject: string;
|
|
319
323
|
from_email: string;
|
|
324
|
+
from_name: string | null;
|
|
320
325
|
template_id: string | null;
|
|
321
326
|
segment_id: string | null;
|
|
322
327
|
status: string;
|
|
@@ -337,6 +342,7 @@ interface CreateBroadcastRequest {
|
|
|
337
342
|
name: string;
|
|
338
343
|
subject: string;
|
|
339
344
|
from_email: string;
|
|
345
|
+
from_name?: string;
|
|
340
346
|
template_id?: string;
|
|
341
347
|
segment_id?: string;
|
|
342
348
|
html_content?: string;
|
|
@@ -348,6 +354,7 @@ interface UpdateBroadcastRequest {
|
|
|
348
354
|
name?: string;
|
|
349
355
|
subject?: string;
|
|
350
356
|
from_email?: string;
|
|
357
|
+
from_name?: string;
|
|
351
358
|
template_id?: string;
|
|
352
359
|
segment_id?: string;
|
|
353
360
|
html_content?: string;
|