You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models/BasicNotification.ts
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -390,6 +390,14 @@ export class BasicNotification {
390
390
*/
391
391
'email_from_address'?: string;
392
392
/**
393
+
* Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
394
+
*/
395
+
'email_preheader'?: string;
396
+
/**
397
+
* Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP\'s list of unsubscribed emails to be cleared.
398
+
*/
399
+
'include_unsubscribed'?: boolean;
400
+
/**
393
401
* Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format.
394
402
*/
395
403
'sms_from'?: string;
@@ -398,6 +406,10 @@ export class BasicNotification {
398
406
*/
399
407
'sms_media_urls'?: Array<string>;
400
408
'filters'?: Array<Filter>;
409
+
/**
410
+
* Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
Copy file name to clipboardExpand all lines: models/BasicNotificationAllOf.ts
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -337,6 +337,14 @@ export class BasicNotificationAllOf {
337
337
*/
338
338
'email_from_address'?: string;
339
339
/**
340
+
* Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
341
+
*/
342
+
'email_preheader'?: string;
343
+
/**
344
+
* Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP\'s list of unsubscribed emails to be cleared.
345
+
*/
346
+
'include_unsubscribed'?: boolean;
347
+
/**
340
348
* Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format.
341
349
*/
342
350
'sms_from'?: string;
@@ -345,6 +353,10 @@ export class BasicNotificationAllOf {
345
353
*/
346
354
'sms_media_urls'?: Array<string>;
347
355
'filters'?: Array<Filter>;
356
+
/**
357
+
* Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
Copy file name to clipboardExpand all lines: models/Notification.ts
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -390,6 +390,14 @@ export class Notification {
390
390
*/
391
391
'email_from_address'?: string;
392
392
/**
393
+
* Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
394
+
*/
395
+
'email_preheader'?: string;
396
+
/**
397
+
* Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP\'s list of unsubscribed emails to be cleared.
398
+
*/
399
+
'include_unsubscribed'?: boolean;
400
+
/**
393
401
* Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format.
394
402
*/
395
403
'sms_from'?: string;
@@ -399,6 +407,10 @@ export class Notification {
399
407
'sms_media_urls'?: Array<string>;
400
408
'filters'?: Array<Filter>;
401
409
/**
410
+
* Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
411
+
*/
412
+
'custom_data'?: object;
413
+
/**
402
414
* Channel: All Schedule notification for future delivery. API defaults to UTC -1100 Examples: All examples are the exact same date & time. \"Thu Sep 24 2015 14:00:00 GMT-0700 (PDT)\" \"September 24th 2015, 2:00:00 pm UTC-07:00\" \"2015-09-24 14:00:00 GMT-0700\" \"Sept 24 2015 14:00:00 GMT-0700\" \"Thu Sep 24 2015 14:00:00 GMT-0700 (Pacific Daylight Time)\" Note: SMS currently only supports send_after parameter.
403
415
*/
404
416
'send_after'?: string;
@@ -1006,6 +1018,18 @@ export class Notification {
1006
1018
"type": "string",
1007
1019
"format": ""
1008
1020
},
1021
+
{
1022
+
"name": "email_preheader",
1023
+
"baseName": "email_preheader",
1024
+
"type": "string",
1025
+
"format": ""
1026
+
},
1027
+
{
1028
+
"name": "include_unsubscribed",
1029
+
"baseName": "include_unsubscribed",
1030
+
"type": "boolean",
1031
+
"format": ""
1032
+
},
1009
1033
{
1010
1034
"name": "sms_from",
1011
1035
"baseName": "sms_from",
@@ -1024,6 +1048,12 @@ export class Notification {
Copy file name to clipboardExpand all lines: models/NotificationWithMeta.ts
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -394,6 +394,14 @@ export class NotificationWithMeta {
394
394
*/
395
395
'email_from_address'?: string;
396
396
/**
397
+
* Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
398
+
*/
399
+
'email_preheader'?: string;
400
+
/**
401
+
* Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP\'s list of unsubscribed emails to be cleared.
402
+
*/
403
+
'include_unsubscribed'?: boolean;
404
+
/**
397
405
* Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format.
398
406
*/
399
407
'sms_from'?: string;
@@ -403,6 +411,10 @@ export class NotificationWithMeta {
403
411
'sms_media_urls'?: Array<string>;
404
412
'filters'?: Array<Filter>;
405
413
/**
414
+
* Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
415
+
*/
416
+
'custom_data'?: object;
417
+
/**
406
418
* Number of notifications that were successfully delivered.
407
419
*/
408
420
'successful'?: number;
@@ -1044,6 +1056,18 @@ export class NotificationWithMeta {
1044
1056
"type": "string",
1045
1057
"format": ""
1046
1058
},
1059
+
{
1060
+
"name": "email_preheader",
1061
+
"baseName": "email_preheader",
1062
+
"type": "string",
1063
+
"format": ""
1064
+
},
1065
+
{
1066
+
"name": "include_unsubscribed",
1067
+
"baseName": "include_unsubscribed",
1068
+
"type": "boolean",
1069
+
"format": ""
1070
+
},
1047
1071
{
1048
1072
"name": "sms_from",
1049
1073
"baseName": "sms_from",
@@ -1062,6 +1086,12 @@ export class NotificationWithMeta {
0 commit comments