@@ -15,30 +15,30 @@ class Transmission extends APIResource {
1515 * @var array
1616 */
1717 protected static $parameterMappings = [
18+ 'attachments'=>'content.attachments',
1819 'campaign'=>'campaign_id',
19- 'metadata'=>'metadata',
20- 'substitutionData'=>'substitution_data',
20+ 'customHeaders'=>'content.headers',
2121 'description'=>'description',
22- 'returnPath'=>'return_path',
23- 'replyTo'=>'content.reply_to',
24- 'subject'=>'content.subject',
2522 'from'=>'content.from',
2623 'html'=>'content.html',
27- 'text'=>'content.text',
28- 'rfc822'=>'content.email_rfc822',
29- 'customHeaders'=>'content.headers',
30- 'recipients'=>'recipients',
31- 'recipientList'=>'recipients.list_id',
32- 'attachments'=>'content.attachments',
24+ 'inlineCss'=>'options.inline_css',
3325 'inlineImages'=>'content.inline_images',
26+ 'metadata'=>'metadata',
27+ 'recipientList'=>'recipients.list_id',
28+ 'recipients'=>'recipients',
29+ 'replyTo'=>'content.reply_to',
30+ 'returnPath'=>'return_path',
31+ 'rfc822'=>'content.email_rfc822',
32+ 'sandbox'=>'options.sandbox',
33+ 'startTime'=>'options.start_time',
34+ 'subject'=>'content.subject',
35+ 'substitutionData'=>'substitution_data',
3436 'template'=>'content.template_id',
35- 'trackOpens '=>'options.open_tracking ',
37+ 'text '=>'content.text ',
3638 'trackClicks'=>'options.click_tracking',
37- 'useDraftTemplate'=>'use_draft_template',
38- 'startTime'=>'options.start_time',
39- 'sandbox'=>'options.sandbox',
39+ 'trackOpens'=>'options.open_tracking',
4040 'transactional'=>'options.transactional',
41- 'inlineCss '=>'options.inline_css '
41+ 'useDraftTemplate '=>'use_draft_template '
4242 ];
4343
4444 /**
@@ -61,29 +61,29 @@ class Transmission extends APIResource {
6161 * This method assumes that all the appropriate fields have
6262 * been populated by the user through configuration. Acceptable
6363 * configuration values are:
64+ * 'attachments': array,
6465 * 'campaign': string,
65- * 'metadata': array,
66- * 'substitutionData': array,
66+ * 'customHeaders': array,
6767 * 'description': string,
68- * 'replyTo': string,
69- * 'subject': string,
7068 * 'from': string,
7169 * 'html': string,
72- * 'text': string,
73- * 'rfc822': string,
74- * 'customHeaders': array,
75- * 'recipients': array,
76- * 'recipientList': string,
77- * 'attachments': array,
70+ * 'inlineCss': boolean,
7871 * 'inlineImages': array,
72+ * 'metadata': array,
73+ * 'recipientList': string,
74+ * 'recipients': array,
75+ * 'replyTo': string,
76+ * 'rfc822': string,
77+ * 'sandbox': boolean,
78+ * 'startTime': string,
79+ * 'subject': string,
80+ * 'substitutionData': array,
7981 * 'template': string,
80- * 'trackOpens ': boolean ,
82+ * 'text ': string ,
8183 * 'trackClicks': boolean,
82- * 'useDraftTemplate': boolean,
83- * 'startTime': string,
84- * 'sandbox': boolean,
84+ * 'trackOpens': boolean,
8585 * 'transactional': boolean,
86- * 'inlineCss ': boolean
86+ * 'useDraftTemplate ': boolean
8787 *
8888 * @param array $transmissionConfig
8989 * @return array API repsonse represented as key-value pairs
0 commit comments