mailgun.js 5.0.3 → 5.0.4

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.
Files changed (313) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +15 -3
  3. package/client.d.ts +29 -0
  4. package/domains.d.ts +53 -0
  5. package/domainsCredentials.d.ts +14 -0
  6. package/domainsTags.d.ts +34 -0
  7. package/domainsTemplates.d.ts +35 -0
  8. package/error.d.ts +7 -0
  9. package/events.d.ts +13 -0
  10. package/index.d.ts +9 -0
  11. package/interfaces/APIErrorOptions.d.ts +11 -0
  12. package/{lib/interfaces/ApiResponse.ts → interfaces/ApiResponse.d.ts} +1 -2
  13. package/{lib/interfaces/DomainCredentials.ts → interfaces/DomainCredentials.d.ts} +14 -30
  14. package/{lib/interfaces/DomainTags.ts → interfaces/DomainTags.d.ts} +49 -82
  15. package/{lib/interfaces/DomainTemplates.ts → interfaces/DomainTemplates.d.ts} +35 -79
  16. package/{lib/interfaces/DomainTracking.ts → interfaces/DomainTracking.d.ts} +18 -17
  17. package/{lib/interfaces/Domains.ts → interfaces/Domains.d.ts} +29 -50
  18. package/{lib/interfaces/Events.ts → interfaces/Events.d.ts} +11 -12
  19. package/{lib/interfaces/IFormData.ts → interfaces/IFormData.d.ts} +2 -4
  20. package/interfaces/IMailgunClient.d.ts +24 -0
  21. package/interfaces/IpPools.d.ts +19 -0
  22. package/interfaces/Ips.d.ts +10 -0
  23. package/{lib/interfaces/MultipleValidation.ts → interfaces/MultipleValidation.d.ts} +9 -16
  24. package/interfaces/Options.d.ts +8 -0
  25. package/{lib/interfaces/RequestOptions.ts → interfaces/RequestOptions.d.ts} +2 -4
  26. package/interfaces/StatsOptions.d.ts +22 -0
  27. package/interfaces/Supressions.d.ts +103 -0
  28. package/{lib/interfaces/Validate.ts → interfaces/Validate.d.ts} +0 -3
  29. package/{lib/interfaces/Webhooks.ts → interfaces/Webhooks.d.ts} +11 -17
  30. package/{lib/interfaces/lists.ts → interfaces/lists.d.ts} +1 -5
  31. package/{lib/interfaces/mailListMembers.ts → interfaces/mailListMembers.d.ts} +8 -23
  32. package/{lib/interfaces/routes.ts → interfaces/routes.d.ts} +1 -6
  33. package/ip-pools.d.ts +21 -0
  34. package/ips.d.ts +9 -0
  35. package/lists.d.ts +14 -0
  36. package/mailListMembers.d.ts +14 -0
  37. package/mailgun.node.js +3 -0
  38. package/{dist/mailgun.node.js.LICENSE.txt → mailgun.node.js.LICENSE.txt} +1 -1
  39. package/mailgun.web.js +3 -0
  40. package/{dist/mailgun.web.js.LICENSE.txt → mailgun.web.js.LICENSE.txt} +1 -1
  41. package/messages.d.ts +9 -0
  42. package/multipleValidation.d.ts +10 -0
  43. package/package.json +8 -81
  44. package/request.d.ts +31 -0
  45. package/routes.d.ts +11 -0
  46. package/stats.d.ts +20 -0
  47. package/suppressions.d.ts +50 -0
  48. package/validate.d.ts +9 -0
  49. package/version.md +1 -0
  50. package/webhooks.d.ts +32 -0
  51. package/.editorconfig +0 -10
  52. package/.eslintrc +0 -56
  53. package/.husky/commit-msg +0 -4
  54. package/.travis.yml +0 -5
  55. package/LICENSE +0 -191
  56. package/commitlint.config.js +0 -7
  57. package/dist/mailgun.js.d.ts +0 -1586
  58. package/dist/mailgun.node.js +0 -3
  59. package/dist/mailgun.web.js +0 -3
  60. package/docs/.nojekyll +0 -1
  61. package/docs/assets/highlight.css +0 -127
  62. package/docs/assets/icons.css +0 -1043
  63. package/docs/assets/icons.png +0 -0
  64. package/docs/assets/icons@2x.png +0 -0
  65. package/docs/assets/main.js +0 -52
  66. package/docs/assets/search.js +0 -1
  67. package/docs/assets/style.css +0 -1413
  68. package/docs/assets/widgets.png +0 -0
  69. package/docs/assets/widgets@2x.png +0 -0
  70. package/docs/classes/client.default.html +0 -1
  71. package/docs/classes/domains.Domain.html +0 -1
  72. package/docs/classes/domains.default.html +0 -1
  73. package/docs/classes/domainsCredentials.default.html +0 -1
  74. package/docs/classes/domainsTemplates.DomainTemplateItem.html +0 -1
  75. package/docs/classes/domainsTemplates.default.html +0 -1
  76. package/docs/classes/error.default.html +0 -6
  77. package/docs/classes/events.default.html +0 -1
  78. package/docs/classes/ip_pools.default.html +0 -1
  79. package/docs/classes/ips.default.html +0 -1
  80. package/docs/classes/lists.default.html +0 -1
  81. package/docs/classes/mailListMembers.default.html +0 -1
  82. package/docs/classes/messages.default.html +0 -1
  83. package/docs/classes/multipleValidation.default.html +0 -1
  84. package/docs/classes/request.default.html +0 -1
  85. package/docs/classes/routes.default.html +0 -1
  86. package/docs/classes/stats.default.html +0 -1
  87. package/docs/classes/suppressions.default.html +0 -1
  88. package/docs/classes/validate.default.html +0 -1
  89. package/docs/classes/webhooks.default.html +0 -1
  90. package/docs/enums/interfaces_DomainTemplates.Pages.html +0 -1
  91. package/docs/enums/interfaces_DomainTemplates.YesNo.html +0 -1
  92. package/docs/index.html +0 -1140
  93. package/docs/interfaces/interfaces_APIErrorOptions.default.html +0 -1
  94. package/docs/interfaces/interfaces_ApiResponse.default.html +0 -1
  95. package/docs/interfaces/interfaces_DomainCredentials.CreatedUpdatedDomainCredentialsResponse.html +0 -1
  96. package/docs/interfaces/interfaces_DomainCredentials.DeletedDomainCredentialsResponse.html +0 -1
  97. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentials.html +0 -1
  98. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsItem.html +0 -1
  99. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsList.html +0 -1
  100. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsQuery.html +0 -1
  101. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResponseData.html +0 -1
  102. package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResult.html +0 -1
  103. package/docs/interfaces/interfaces_DomainCredentials.IDomainCredentials.html +0 -1
  104. package/docs/interfaces/interfaces_DomainCredentials.UpdateDomainCredentialsData.html +0 -1
  105. package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateAPIResponse.html +0 -1
  106. package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionAPIResponse.html +0 -1
  107. package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html +0 -1
  108. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplate.html +0 -1
  109. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateData.html +0 -1
  110. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateData.html +0 -1
  111. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateVersionData.html +0 -1
  112. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateVersionData.html +0 -1
  113. package/docs/interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html +0 -1
  114. package/docs/interfaces/interfaces_DomainTemplates.GetDomainTemplateAPIResponse.html +0 -1
  115. package/docs/interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html +0 -1
  116. package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsAPIResponse.html +0 -1
  117. package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html +0 -1
  118. package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesAPIResponse.html +0 -1
  119. package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html +0 -1
  120. package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionAPIResponse.html +0 -1
  121. package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html +0 -1
  122. package/docs/interfaces/interfaces_DomainTemplates.NotificationAPIResponse.html +0 -1
  123. package/docs/interfaces/interfaces_DomainTemplates.NotificationResult.html +0 -1
  124. package/docs/interfaces/interfaces_DomainTemplates.ShortTemplateVersion.html +0 -1
  125. package/docs/interfaces/interfaces_DomainTemplates.TemplateQuery.html +0 -1
  126. package/docs/interfaces/interfaces_DomainTemplates.TemplateVersion.html +0 -1
  127. package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateAPIResponse.html +0 -1
  128. package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html +0 -1
  129. package/docs/interfaces/interfaces_DomainTracking.ClickTrackingInfo.html +0 -1
  130. package/docs/interfaces/interfaces_DomainTracking.DomainTrackingData.html +0 -1
  131. package/docs/interfaces/interfaces_DomainTracking.DomainTrackingResponse.html +0 -1
  132. package/docs/interfaces/interfaces_DomainTracking.OpenTrackingInfo.html +0 -1
  133. package/docs/interfaces/interfaces_DomainTracking.UnsubscribeTrackingInfo.html +0 -1
  134. package/docs/interfaces/interfaces_DomainTracking.UpdateDomainTrackingResponse.html +0 -1
  135. package/docs/interfaces/interfaces_DomainTracking.UpdatedOpenTracking.html +0 -1
  136. package/docs/interfaces/interfaces_Domains.ConnectionSettings.html +0 -1
  137. package/docs/interfaces/interfaces_Domains.ConnectionSettingsResponse.html +0 -1
  138. package/docs/interfaces/interfaces_Domains.DKIMAuthorityInfo.html +0 -1
  139. package/docs/interfaces/interfaces_Domains.DKIMSelectorInfo.html +0 -1
  140. package/docs/interfaces/interfaces_Domains.DNSRecord.html +0 -1
  141. package/docs/interfaces/interfaces_Domains.DestroyedDomainResponse.html +0 -1
  142. package/docs/interfaces/interfaces_Domains.DomainData.html +0 -1
  143. package/docs/interfaces/interfaces_Domains.DomainInfo.html +0 -1
  144. package/docs/interfaces/interfaces_Domains.DomainListResponseData.html +0 -1
  145. package/docs/interfaces/interfaces_Domains.DomainResponseData.html +0 -1
  146. package/docs/interfaces/interfaces_Domains.DomainShortData.html +0 -1
  147. package/docs/interfaces/interfaces_Domains.DomainsListItem.html +0 -1
  148. package/docs/interfaces/interfaces_Domains.DomainsQuery.html +0 -1
  149. package/docs/interfaces/interfaces_Domains.MessageResponse.html +0 -1
  150. package/docs/interfaces/interfaces_Domains.ReplacementForPool.html +0 -1
  151. package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettings.html +0 -1
  152. package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettingsRes.html +0 -1
  153. package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthority.html +0 -1
  154. package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthorityResponse.html +0 -1
  155. package/docs/interfaces/interfaces_Domains.UpdatedDKIMSelectorResponse.html +0 -1
  156. package/docs/interfaces/interfaces_Domains.UpdatedWebPrefix.html +0 -1
  157. package/docs/interfaces/interfaces_Domains.UpdatedWebPrefixResponse.html +0 -1
  158. package/docs/interfaces/interfaces_Domains.WebPrefixInfo.html +0 -1
  159. package/docs/interfaces/interfaces_Events.DomainEvent.html +0 -1
  160. package/docs/interfaces/interfaces_Events.EventsList.html +0 -1
  161. package/docs/interfaces/interfaces_Events.EventsPage.html +0 -1
  162. package/docs/interfaces/interfaces_Events.EventsResponse.html +0 -1
  163. package/docs/interfaces/interfaces_Events.PagesList.html +0 -1
  164. package/docs/interfaces/interfaces_Events.PagesListAccumulator.html +0 -1
  165. package/docs/interfaces/interfaces_Events.ParsedPage.html +0 -1
  166. package/docs/interfaces/interfaces_Events.ParsedPagesList.html +0 -1
  167. package/docs/interfaces/interfaces_IFormData.IFormDataOptions.html +0 -1
  168. package/docs/interfaces/interfaces_IFormData.InputFormData.html +0 -1
  169. package/docs/interfaces/interfaces_IpPools.IpPool.html +0 -1
  170. package/docs/interfaces/interfaces_IpPools.IpPoolListResponse.html +0 -1
  171. package/docs/interfaces/interfaces_IpPools.IpPoolUpdateData.html +0 -1
  172. package/docs/interfaces/interfaces_Ips.IpData.html +0 -1
  173. package/docs/interfaces/interfaces_Ips.IpsListResponseBody.html +0 -1
  174. package/docs/interfaces/interfaces_MultipleValidation.CanceledMultipleValidationJob.html +0 -1
  175. package/docs/interfaces/interfaces_MultipleValidation.CreatedMultipleValidationJob.html +0 -1
  176. package/docs/interfaces/interfaces_MultipleValidation.IMultipleValidationClient.html +0 -1
  177. package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJob.html +0 -1
  178. package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResponse.html +0 -1
  179. package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResult.html +0 -1
  180. package/docs/interfaces/interfaces_MultipleValidation.PagesList.html +0 -1
  181. package/docs/interfaces/interfaces_Options.default.html +0 -1
  182. package/docs/interfaces/interfaces_RequestOptions.default.html +0 -1
  183. package/docs/interfaces/interfaces_StatsOptions.Stat.html +0 -1
  184. package/docs/interfaces/interfaces_StatsOptions.StatsOptions.html +0 -1
  185. package/docs/interfaces/interfaces_StatsOptions.StatsQuery.html +0 -1
  186. package/docs/interfaces/interfaces_Supressions.BounceData.html +0 -1
  187. package/docs/interfaces/interfaces_Supressions.ComplaintData.html +0 -1
  188. package/docs/interfaces/interfaces_Supressions.UnsubscribeData.html +0 -1
  189. package/docs/interfaces/interfaces_Supressions.WhiteListData.html +0 -1
  190. package/docs/interfaces/interfaces_Validate.ValidationResponse.html +0 -1
  191. package/docs/interfaces/interfaces_Validate.ValidationResult.html +0 -1
  192. package/docs/interfaces/interfaces_Webhooks.APIWebhook.html +0 -1
  193. package/docs/interfaces/interfaces_Webhooks.ValidationResponse.html +0 -1
  194. package/docs/interfaces/interfaces_Webhooks.WebhookList.html +0 -1
  195. package/docs/interfaces/interfaces_Webhooks.WebhookResponse.html +0 -1
  196. package/docs/interfaces/interfaces_Webhooks.WebhookResponseBody.html +0 -1
  197. package/docs/interfaces/interfaces_Webhooks.WebhooksQuery.html +0 -1
  198. package/docs/interfaces/interfaces_lists.CreateUpdateList.html +0 -1
  199. package/docs/interfaces/interfaces_lists.DestroyedList.html +0 -1
  200. package/docs/interfaces/interfaces_lists.ListsQuery.html +0 -1
  201. package/docs/interfaces/interfaces_lists.MailingList.html +0 -1
  202. package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembers.html +0 -1
  203. package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembersReq.html +0 -1
  204. package/docs/interfaces/interfaces_mailListMembers.DeletedMember.html +0 -1
  205. package/docs/interfaces/interfaces_mailListMembers.IMailListsMembers.html +0 -1
  206. package/docs/interfaces/interfaces_mailListMembers.MailListMember.html +0 -1
  207. package/docs/interfaces/interfaces_mailListMembers.MailListMembersQuery.html +0 -1
  208. package/docs/interfaces/interfaces_mailListMembers.MultipleMembersData.html +0 -1
  209. package/docs/interfaces/interfaces_mailListMembers.MultipleMembersReqData.html +0 -1
  210. package/docs/interfaces/interfaces_mailListMembers.NewMultipleMembersResponse.html +0 -1
  211. package/docs/interfaces/interfaces_routes.CreateUpdateRouteData.html +0 -1
  212. package/docs/interfaces/interfaces_routes.DestroyRouteResponse.html +0 -1
  213. package/docs/interfaces/interfaces_routes.Route.html +0 -1
  214. package/docs/interfaces/interfaces_routes.RoutesListQuery.html +0 -1
  215. package/docs/interfaces/interfaces_routes.UpdateRouteResponse.html +0 -1
  216. package/docs/modules/client.html +0 -1
  217. package/docs/modules/domains.html +0 -1
  218. package/docs/modules/domainsCredentials.html +0 -1
  219. package/docs/modules/domainsTemplates.html +0 -1
  220. package/docs/modules/error.html +0 -1
  221. package/docs/modules/events.html +0 -1
  222. package/docs/modules/interfaces_APIErrorOptions.html +0 -1
  223. package/docs/modules/interfaces_ApiResponse.html +0 -1
  224. package/docs/modules/interfaces_DomainCredentials.html +0 -1
  225. package/docs/modules/interfaces_DomainTemplates.html +0 -1
  226. package/docs/modules/interfaces_DomainTracking.html +0 -1
  227. package/docs/modules/interfaces_Domains.html +0 -1
  228. package/docs/modules/interfaces_Events.html +0 -1
  229. package/docs/modules/interfaces_IFormData.html +0 -1
  230. package/docs/modules/interfaces_IpPools.html +0 -1
  231. package/docs/modules/interfaces_Ips.html +0 -1
  232. package/docs/modules/interfaces_MultipleValidation.html +0 -1
  233. package/docs/modules/interfaces_Options.html +0 -1
  234. package/docs/modules/interfaces_RequestOptions.html +0 -1
  235. package/docs/modules/interfaces_StatsOptions.html +0 -1
  236. package/docs/modules/interfaces_Supressions.html +0 -1
  237. package/docs/modules/interfaces_Validate.html +0 -1
  238. package/docs/modules/interfaces_Webhooks.html +0 -1
  239. package/docs/modules/interfaces_lists.html +0 -1
  240. package/docs/modules/interfaces_mailListMembers.html +0 -1
  241. package/docs/modules/interfaces_routes.html +0 -1
  242. package/docs/modules/ip_pools.html +0 -1
  243. package/docs/modules/ips.html +0 -1
  244. package/docs/modules/lists.html +0 -1
  245. package/docs/modules/mailListMembers.html +0 -1
  246. package/docs/modules/messages.html +0 -1
  247. package/docs/modules/multipleValidation.html +0 -1
  248. package/docs/modules/request.html +0 -1
  249. package/docs/modules/routes.html +0 -1
  250. package/docs/modules/stats.html +0 -1
  251. package/docs/modules/suppressions.html +0 -1
  252. package/docs/modules/validate.html +0 -1
  253. package/docs/modules/webhooks.html +0 -1
  254. package/docs/modules.html +0 -1
  255. package/dts-bundle.js +0 -8
  256. package/examples/addresses.js +0 -20
  257. package/examples/index.html +0 -285
  258. package/examples/list-domains.js +0 -8
  259. package/examples/mailgun.png +0 -0
  260. package/examples/rackspace.png +0 -0
  261. package/examples/send-email.js +0 -24
  262. package/lib/client.ts +0 -79
  263. package/lib/domains.ts +0 -224
  264. package/lib/domainsCredentials.ts +0 -88
  265. package/lib/domainsTags.ts +0 -165
  266. package/lib/domainsTemplates.ts +0 -235
  267. package/lib/error.ts +0 -22
  268. package/lib/events.ts +0 -54
  269. package/lib/index.ts +0 -16
  270. package/lib/interfaces/APIErrorOptions.ts +0 -10
  271. package/lib/interfaces/IpPools.ts +0 -22
  272. package/lib/interfaces/Ips.ts +0 -12
  273. package/lib/interfaces/Options.ts +0 -10
  274. package/lib/interfaces/StatsOptions.ts +0 -25
  275. package/lib/interfaces/Supressions.ts +0 -123
  276. package/lib/ip-pools.ts +0 -36
  277. package/lib/ips.ts +0 -24
  278. package/lib/lists.ts +0 -45
  279. package/lib/mailListMembers.ts +0 -83
  280. package/lib/messages.ts +0 -27
  281. package/lib/multipleValidation.ts +0 -37
  282. package/lib/request.ts +0 -271
  283. package/lib/routes.ts +0 -37
  284. package/lib/stats.ts +0 -62
  285. package/lib/suppressions.ts +0 -253
  286. package/lib/validate.ts +0 -20
  287. package/lib/webhooks.ts +0 -83
  288. package/test/client.test.ts +0 -96
  289. package/test/data/emailsValidation1.csv +0 -3
  290. package/test/domains.test.ts +0 -313
  291. package/test/domainsCredentials.test.ts +0 -97
  292. package/test/domainsTags.test.ts +0 -345
  293. package/test/domainsTemplates.test.ts +0 -392
  294. package/test/error.test.ts +0 -32
  295. package/test/events.test.ts +0 -104
  296. package/test/img/mailgun.png +0 -0
  297. package/test/ips.test.ts +0 -57
  298. package/test/lists.test.ts +0 -100
  299. package/test/mailListMembers.test.ts +0 -198
  300. package/test/messageAttachment.test.ts +0 -50
  301. package/test/messages.test.ts +0 -89
  302. package/test/multipleValidation.test.ts +0 -159
  303. package/test/request.test.ts +0 -103
  304. package/test/routes.test.ts +0 -136
  305. package/test/stats.test.ts +0 -90
  306. package/test/suppressions.test.ts +0 -303
  307. package/test/validate.test.ts +0 -43
  308. package/test/webhooks.test.ts +0 -112
  309. package/tsconfig.json +0 -22
  310. package/tsconfig.webpack.json +0 -10
  311. package/webpack/webpack.common.config.js +0 -46
  312. package/webpack/webpack.dev.config.js +0 -36
  313. package/webpack/webpack.release.config.js +0 -45
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DomainTemplateItem | mailgun.js</title><meta name="description" content="Documentation for mailgun.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mailgun.js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mailgun.js</a></li><li><a href="../modules/domainsTemplates.html">domainsTemplates</a></li><li><a href="domainsTemplates.DomainTemplateItem.html">DomainTemplateItem</a></li></ul><h1>Class DomainTemplateItem</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">DomainTemplateItem</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplate</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#createdAt" class="tsd-kind-icon">created<wbr/>At</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#createdBy" class="tsd-kind-icon">created<wbr/>By</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#description" class="tsd-kind-icon">description</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#version" class="tsd-kind-icon">version</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#versions" class="tsd-kind-icon">versions</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Domain<wbr/>Template<wbr/>Item<span class="tsd-signature-symbol">(</span>domainTemplateFromAPI<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplate</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L40">lib/domainsTemplates.ts:40</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domainTemplateFromAPI: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplate</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="createdAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link">created<wbr/>At<a href="#createdAt" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">created<wbr/>At<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#createdAt">createdAt</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L34">lib/domainsTemplates.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="createdBy" class="tsd-anchor"></a><h3 class="tsd-anchor-link">created<wbr/>By<a href="#createdBy" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">created<wbr/>By<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#createdBy">createdBy</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L35">lib/domainsTemplates.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="description" class="tsd-anchor"></a><h3 class="tsd-anchor-link">description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#description">description</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L33">lib/domainsTemplates.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link">id<a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L36">lib/domainsTemplates.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link">name<a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#name">name</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L32">lib/domainsTemplates.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> version<a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/interfaces_DomainTemplates.TemplateVersion.html" class="tsd-signature-type" data-tsd-kind="Interface">TemplateVersion</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#version">version</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L37">lib/domainsTemplates.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="versions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagOptional">Optional</span> versions<a href="#versions" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">versions<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/interfaces_DomainTemplates.ShortTemplateVersion.html" class="tsd-signature-type" data-tsd-kind="Interface">ShortTemplateVersion</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html">DomainTemplate</a>.<a href="../interfaces/interfaces_DomainTemplates.DomainTemplate.html#versions">versions</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L38">lib/domainsTemplates.ts:38</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/client.html">client</a></li><li class=" tsd-kind-module"><a href="../modules/domains.html">domains</a></li><li class=" tsd-kind-module"><a href="../modules/domainsCredentials.html">domains<wbr/>Credentials</a></li><li class="current tsd-kind-module"><a href="../modules/domainsTemplates.html">domains<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/error.html">error</a></li><li class=" tsd-kind-module"><a href="../modules/events.html">events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_APIErrorOptions.html">interfaces/APIError<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_ApiResponse.html">interfaces/<wbr/>Api<wbr/>Response</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainCredentials.html">interfaces/<wbr/>Domain<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTemplates.html">interfaces/<wbr/>Domain<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTracking.html">interfaces/<wbr/>Domain<wbr/>Tracking</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Domains.html">interfaces/<wbr/>Domains</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Events.html">interfaces/<wbr/>Events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IFormData.html">interfaces/IForm<wbr/>Data</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IpPools.html">interfaces/<wbr/>Ip<wbr/>Pools</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Ips.html">interfaces/<wbr/>Ips</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_MultipleValidation.html">interfaces/<wbr/>Multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Options.html">interfaces/<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_RequestOptions.html">interfaces/<wbr/>Request<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_StatsOptions.html">interfaces/<wbr/>Stats<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Supressions.html">interfaces/<wbr/>Supressions</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Validate.html">interfaces/<wbr/>Validate</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Webhooks.html">interfaces/<wbr/>Webhooks</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_lists.html">interfaces/lists</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_mailListMembers.html">interfaces/mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_routes.html">interfaces/routes</a></li><li class=" tsd-kind-module"><a href="../modules/ip_pools.html">ip-<wbr/>pools</a></li><li class=" tsd-kind-module"><a href="../modules/ips.html">ips</a></li><li class=" tsd-kind-module"><a href="../modules/lists.html">lists</a></li><li class=" tsd-kind-module"><a href="../modules/mailListMembers.html">mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/messages.html">messages</a></li><li class=" tsd-kind-module"><a href="../modules/multipleValidation.html">multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/request.html">request</a></li><li class=" tsd-kind-module"><a href="../modules/routes.html">routes</a></li><li class=" tsd-kind-module"><a href="../modules/stats.html">stats</a></li><li class=" tsd-kind-module"><a href="../modules/suppressions.html">suppressions</a></li><li class=" tsd-kind-module"><a href="../modules/validate.html">validate</a></li><li class=" tsd-kind-module"><a href="../modules/webhooks.html">webhooks</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-kind-icon">Domain<wbr/>Template<wbr/>Item</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#createdAt" class="tsd-kind-icon">created<wbr/>At</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#createdBy" class="tsd-kind-icon">created<wbr/>By</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#description" class="tsd-kind-icon">description</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#version" class="tsd-kind-icon">version</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.DomainTemplateItem.html#versions" class="tsd-kind-icon">versions</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | mailgun.js</title><meta name="description" content="Documentation for mailgun.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mailgun.js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mailgun.js</a></li><li><a href="../modules/domainsTemplates.html">domainsTemplates</a></li><li><a href="domainsTemplates.default.html">default</a></li></ul><h1>Class default</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html" class="tsd-signature-type" data-tsd-kind="Interface">IDomainTemplatesClient</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="domainsTemplates.default.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.default.html#baseRoute" class="tsd-kind-icon">base<wbr/>Route</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.default.html#request" class="tsd-kind-icon">request</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#create" class="tsd-kind-icon">create</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#createVersion" class="tsd-kind-icon">create<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroyAll" class="tsd-kind-icon">destroy<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroyVersion" class="tsd-kind-icon">destroy<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#get" class="tsd-kind-icon">get</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#list" class="tsd-kind-icon">list</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#listVersions" class="tsd-kind-icon">list<wbr/>Versions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseCreationResponse" class="tsd-kind-icon">parse<wbr/>Creation<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseCreationVersionResponse" class="tsd-kind-icon">parse<wbr/>Creation<wbr/>Version<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseList" class="tsd-kind-icon">parse<wbr/>List</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseListTemplateVersions" class="tsd-kind-icon">parse<wbr/>List<wbr/>Template<wbr/>Versions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseMutateTemplateVersionResponse" class="tsd-kind-icon">parse<wbr/>Mutate<wbr/>Template<wbr/>Version<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseMutationResponse" class="tsd-kind-icon">parse<wbr/>Mutation<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseNotificationResponse" class="tsd-kind-icon">parse<wbr/>Notification<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#update" class="tsd-kind-icon">update</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#updateVersion" class="tsd-kind-icon">update<wbr/>Version</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new default<span class="tsd-signature-symbol">(</span>request<span class="tsd-signature-symbol">: </span><a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="domainsTemplates.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L68">lib/domainsTemplates.ts:68</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>request: <a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="domainsTemplates.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="baseRoute" class="tsd-anchor"></a><h3 class="tsd-anchor-link">base<wbr/>Route<a href="#baseRoute" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">base<wbr/>Route<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L65">lib/domainsTemplates.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="request" class="tsd-anchor"></a><h3 class="tsd-anchor-link">request<a href="#request" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">request<span class="tsd-signature-symbol">:</span> <a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L66">lib/domainsTemplates.ts:66</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplateData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#create">create</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L157">lib/domainsTemplates.ts:157</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplateData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateData</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Version<a href="#createVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Version<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplateVersionData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateVersionData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#createVersion">createVersion</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L184">lib/domainsTemplates.ts:184</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplateVersionData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateVersionData</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link">destroy<a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#destroy">destroy</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L174">lib/domainsTemplates.ts:174</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroyAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link">destroy<wbr/>All<a href="#destroyAll" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<wbr/>All<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.NotificationResult.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#destroyAll">destroyAll</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L179">lib/domainsTemplates.ts:179</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.NotificationResult.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroyVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">destroy<wbr/>Version<a href="#destroyVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<wbr/>Version<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#destroyVersion">destroyVersion</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L215">lib/domainsTemplates.ts:215</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5>tag: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="get" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, query<span class="tsd-signature-symbol">?: </span><a href="../interfaces/interfaces_DomainTemplates.TemplateQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">TemplateQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#get">get</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L150">lib/domainsTemplates.ts:150</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> query: <a href="../interfaces/interfaces_DomainTemplates.TemplateQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">TemplateQuery</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Version<a href="#getVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Version<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#getVersion">getVersion</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L195">lib/domainsTemplates.ts:195</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5>tag: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="list" class="tsd-anchor"></a><h3 class="tsd-anchor-link">list<a href="#list" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">list<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, query<span class="tsd-signature-symbol">?: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplatesQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#list">list</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L143">lib/domainsTemplates.ts:143</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> query: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplatesQuery</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listVersions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">list<wbr/>Versions<a href="#listVersions" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">list<wbr/>Versions<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, query<span class="tsd-signature-symbol">?: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplatesQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#listVersions">listVersions</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L225">lib/domainsTemplates.ts:225</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> query: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplatesQuery</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseCreationResponse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>Creation<wbr/>Response<a href="#parseCreationResponse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Creation<wbr/>Response<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L73">lib/domainsTemplates.ts:73</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="domainsTemplates.DomainTemplateItem.html" class="tsd-signature-type" data-tsd-kind="Class">DomainTemplateItem</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseCreationVersionResponse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>Creation<wbr/>Version<wbr/>Response<a href="#parseCreationVersionResponse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Creation<wbr/>Version<wbr/>Response<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L77">lib/domainsTemplates.ts:77</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">CreateDomainTemplateVersionResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>List<a href="#parseList" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>List<span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L121">lib/domainsTemplates.ts:121</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>response: <a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplatesResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseListTemplateVersions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>List<wbr/>Template<wbr/>Versions<a href="#parseListTemplateVersions" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>List<wbr/>Template<wbr/>Versions<span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L131">lib/domainsTemplates.ts:131</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>response: <a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListDomainTemplateVersionsResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseMutateTemplateVersionResponse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>Mutate<wbr/>Template<wbr/>Version<wbr/>Response<a href="#parseMutateTemplateVersionResponse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Mutate<wbr/>Template<wbr/>Version<wbr/>Response<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L108">lib/domainsTemplates.ts:108</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseMutationResponse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>Mutation<wbr/>Response<a href="#parseMutationResponse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Mutation<wbr/>Response<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L89">lib/domainsTemplates.ts:89</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="parseNotificationResponse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagPrivate">Private</span> parse<wbr/>Notification<wbr/>Response<a href="#parseNotificationResponse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Notification<wbr/>Response<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.NotificationAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationAPIResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.NotificationResult.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationResult</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L101">lib/domainsTemplates.ts:101</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.NotificationAPIResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationAPIResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_DomainTemplates.NotificationResult.html" class="tsd-signature-type" data-tsd-kind="Interface">NotificationResult</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="update" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplateUpdateData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateUpdateData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#update">update</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L165">lib/domainsTemplates.ts:165</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplateUpdateData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateUpdateData</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html" class="tsd-signature-type" data-tsd-kind="Interface">UpdateOrDeleteDomainTemplateResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Version<a href="#updateVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Version<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, templateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, tag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_DomainTemplates.DomainTemplateUpdateVersionData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateUpdateVersionData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html">IDomainTemplatesClient</a>.<a href="../interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html#updateVersion">updateVersion</a></p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/domainsTemplates.ts#L202">lib/domainsTemplates.ts:202</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5>templateName: <span class="tsd-signature-type">string</span></h5></li><li><h5>tag: <span class="tsd-signature-type">string</span></h5></li><li><h5>data: <a href="../interfaces/interfaces_DomainTemplates.DomainTemplateUpdateVersionData.html" class="tsd-signature-type" data-tsd-kind="Interface">DomainTemplateUpdateVersionData</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html" class="tsd-signature-type" data-tsd-kind="Interface">MutateDomainTemplateVersionResult</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/client.html">client</a></li><li class=" tsd-kind-module"><a href="../modules/domains.html">domains</a></li><li class=" tsd-kind-module"><a href="../modules/domainsCredentials.html">domains<wbr/>Credentials</a></li><li class="current tsd-kind-module"><a href="../modules/domainsTemplates.html">domains<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/error.html">error</a></li><li class=" tsd-kind-module"><a href="../modules/events.html">events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_APIErrorOptions.html">interfaces/APIError<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_ApiResponse.html">interfaces/<wbr/>Api<wbr/>Response</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainCredentials.html">interfaces/<wbr/>Domain<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTemplates.html">interfaces/<wbr/>Domain<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTracking.html">interfaces/<wbr/>Domain<wbr/>Tracking</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Domains.html">interfaces/<wbr/>Domains</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Events.html">interfaces/<wbr/>Events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IFormData.html">interfaces/IForm<wbr/>Data</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IpPools.html">interfaces/<wbr/>Ip<wbr/>Pools</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Ips.html">interfaces/<wbr/>Ips</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_MultipleValidation.html">interfaces/<wbr/>Multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Options.html">interfaces/<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_RequestOptions.html">interfaces/<wbr/>Request<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_StatsOptions.html">interfaces/<wbr/>Stats<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Supressions.html">interfaces/<wbr/>Supressions</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Validate.html">interfaces/<wbr/>Validate</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Webhooks.html">interfaces/<wbr/>Webhooks</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_lists.html">interfaces/lists</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_mailListMembers.html">interfaces/mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_routes.html">interfaces/routes</a></li><li class=" tsd-kind-module"><a href="../modules/ip_pools.html">ip-<wbr/>pools</a></li><li class=" tsd-kind-module"><a href="../modules/ips.html">ips</a></li><li class=" tsd-kind-module"><a href="../modules/lists.html">lists</a></li><li class=" tsd-kind-module"><a href="../modules/mailListMembers.html">mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/messages.html">messages</a></li><li class=" tsd-kind-module"><a href="../modules/multipleValidation.html">multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/request.html">request</a></li><li class=" tsd-kind-module"><a href="../modules/routes.html">routes</a></li><li class=" tsd-kind-module"><a href="../modules/stats.html">stats</a></li><li class=" tsd-kind-module"><a href="../modules/suppressions.html">suppressions</a></li><li class=" tsd-kind-module"><a href="../modules/validate.html">validate</a></li><li class=" tsd-kind-module"><a href="../modules/webhooks.html">webhooks</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="domainsTemplates.default.html" class="tsd-kind-icon">default</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="domainsTemplates.default.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.default.html#baseRoute" class="tsd-kind-icon">base<wbr/>Route</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="domainsTemplates.default.html#request" class="tsd-kind-icon">request</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#create" class="tsd-kind-icon">create</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#createVersion" class="tsd-kind-icon">create<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroyAll" class="tsd-kind-icon">destroy<wbr/>All</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#destroyVersion" class="tsd-kind-icon">destroy<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#get" class="tsd-kind-icon">get</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#list" class="tsd-kind-icon">list</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#listVersions" class="tsd-kind-icon">list<wbr/>Versions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseCreationResponse" class="tsd-kind-icon">parse<wbr/>Creation<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseCreationVersionResponse" class="tsd-kind-icon">parse<wbr/>Creation<wbr/>Version<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseList" class="tsd-kind-icon">parse<wbr/>List</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseListTemplateVersions" class="tsd-kind-icon">parse<wbr/>List<wbr/>Template<wbr/>Versions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseMutateTemplateVersionResponse" class="tsd-kind-icon">parse<wbr/>Mutate<wbr/>Template<wbr/>Version<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseMutationResponse" class="tsd-kind-icon">parse<wbr/>Mutation<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="domainsTemplates.default.html#parseNotificationResponse" class="tsd-kind-icon">parse<wbr/>Notification<wbr/>Response</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#update" class="tsd-kind-icon">update</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="domainsTemplates.default.html#updateVersion" class="tsd-kind-icon">update<wbr/>Version</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
@@ -1,6 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | mailgun.js</title><meta name="description" content="Documentation for mailgun.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mailgun.js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mailgun.js</a></li><li><a href="../modules/error.html">error</a></li><li><a href="error.default.html">default</a></li></ul><h1>Class default</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">Error</span><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="error.default.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="error.default.html#details" class="tsd-kind-icon">details</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="error.default.html#message" class="tsd-kind-icon">message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="error.default.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="error.default.html#stack" class="tsd-kind-icon">stack</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="error.default.html#status" class="tsd-kind-icon">status</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#prepareStackTrace" class="tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#stackTraceLimit" class="tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit</a></li></ul></section><section class="tsd-index-section tsd-is-inherited tsd-is-external"><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#captureStackTrace" class="tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new default<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_APIErrorOptions.default.html" class="tsd-signature-type" data-tsd-kind="Interface">default</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="error.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Error.constructor</p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/error.ts#L8">lib/error.ts:8</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>__namedParameters: <a href="../interfaces/interfaces_APIErrorOptions.default.html" class="tsd-signature-type" data-tsd-kind="Interface">default</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="error.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="details" class="tsd-anchor"></a><h3 class="tsd-anchor-link">details<a href="#details" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">details<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/error.ts#L6">lib/error.ts:6</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a><h3 class="tsd-anchor-link">message<a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from Error.message</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:974</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link">name<a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from Error.name</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:973</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a id="stack" class="tsd-anchor"></a><h3 class="tsd-anchor-link">stack<a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">stack<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Overrides Error.stack</p><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/error.ts#L5">lib/error.ts:5</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="status" class="tsd-anchor"></a><h3 class="tsd-anchor-link">status<a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/error.ts#L4">lib/error.ts:4</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="prepareStackTrace" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagOptional">Optional</span> prepare<wbr/>Stack<wbr/>Trace<a href="#prepareStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><p>Inherited from Error.prepareStackTrace</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:11</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><div class="tsd-comment tsd-typography"><div class="lead">
2
- <p>Optional override for formatting stack traces</p>
3
- </div><dl class="tsd-comment-tags"><dt>see</dt><dd><p><a href="https://v8.dev/docs/stack-trace-api#customizing-stack-traces">https://v8.dev/docs/stack-trace-api#customizing-stack-traces</a></p>
4
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>err: <span class="tsd-signature-type">Error</span></h5></li><li><h5>stackTraces: <span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="stackTraceLimit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> stack<wbr/>Trace<wbr/>Limit<a href="#stackTraceLimit" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Error.stackTraceLimit</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:13</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited tsd-is-external"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> capture<wbr/>Stack<wbr/>Trace<a href="#captureStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><li class="tsd-signature tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Error.captureStackTrace</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
5
- <p>Create .stack property on a target object</p>
6
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>targetObject: <span class="tsd-signature-type">object</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/client.html">client</a></li><li class=" tsd-kind-module"><a href="../modules/domains.html">domains</a></li><li class=" tsd-kind-module"><a href="../modules/domainsCredentials.html">domains<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/domainsTemplates.html">domains<wbr/>Templates</a></li><li class="current tsd-kind-module"><a href="../modules/error.html">error</a></li><li class=" tsd-kind-module"><a href="../modules/events.html">events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_APIErrorOptions.html">interfaces/APIError<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_ApiResponse.html">interfaces/<wbr/>Api<wbr/>Response</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainCredentials.html">interfaces/<wbr/>Domain<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTemplates.html">interfaces/<wbr/>Domain<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTracking.html">interfaces/<wbr/>Domain<wbr/>Tracking</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Domains.html">interfaces/<wbr/>Domains</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Events.html">interfaces/<wbr/>Events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IFormData.html">interfaces/IForm<wbr/>Data</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IpPools.html">interfaces/<wbr/>Ip<wbr/>Pools</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Ips.html">interfaces/<wbr/>Ips</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_MultipleValidation.html">interfaces/<wbr/>Multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Options.html">interfaces/<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_RequestOptions.html">interfaces/<wbr/>Request<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_StatsOptions.html">interfaces/<wbr/>Stats<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Supressions.html">interfaces/<wbr/>Supressions</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Validate.html">interfaces/<wbr/>Validate</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Webhooks.html">interfaces/<wbr/>Webhooks</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_lists.html">interfaces/lists</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_mailListMembers.html">interfaces/mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_routes.html">interfaces/routes</a></li><li class=" tsd-kind-module"><a href="../modules/ip_pools.html">ip-<wbr/>pools</a></li><li class=" tsd-kind-module"><a href="../modules/ips.html">ips</a></li><li class=" tsd-kind-module"><a href="../modules/lists.html">lists</a></li><li class=" tsd-kind-module"><a href="../modules/mailListMembers.html">mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/messages.html">messages</a></li><li class=" tsd-kind-module"><a href="../modules/multipleValidation.html">multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/request.html">request</a></li><li class=" tsd-kind-module"><a href="../modules/routes.html">routes</a></li><li class=" tsd-kind-module"><a href="../modules/stats.html">stats</a></li><li class=" tsd-kind-module"><a href="../modules/suppressions.html">suppressions</a></li><li class=" tsd-kind-module"><a href="../modules/validate.html">validate</a></li><li class=" tsd-kind-module"><a href="../modules/webhooks.html">webhooks</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="error.default.html" class="tsd-kind-icon">default</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="error.default.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="error.default.html#details" class="tsd-kind-icon">details</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="error.default.html#message" class="tsd-kind-icon">message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="error.default.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-overwrite"><a href="error.default.html#stack" class="tsd-kind-icon">stack</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="error.default.html#status" class="tsd-kind-icon">status</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#prepareStackTrace" class="tsd-kind-icon">prepare<wbr/>Stack<wbr/>Trace</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#stackTraceLimit" class="tsd-kind-icon">stack<wbr/>Trace<wbr/>Limit</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="error.default.html#captureStackTrace" class="tsd-kind-icon">capture<wbr/>Stack<wbr/>Trace</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | mailgun.js</title><meta name="description" content="Documentation for mailgun.js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mailgun.js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mailgun.js</a></li><li><a href="../modules/events.html">events</a></li><li><a href="events.default.html">default</a></li></ul><h1>Class default</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="events.default.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="events.default.html#request" class="tsd-kind-icon">request</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parseEventList" class="tsd-kind-icon">_parse<wbr/>Event<wbr/>List</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePage" class="tsd-kind-icon">_parse<wbr/>Page</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePageLinks" class="tsd-kind-icon">_parse<wbr/>Page<wbr/>Links</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePageNumber" class="tsd-kind-icon">_parse<wbr/>Page<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#get" class="tsd-kind-icon">get</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new default<span class="tsd-signature-symbol">(</span>request<span class="tsd-signature-symbol">: </span><a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="events.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L11">lib/events.ts:11</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>request: <a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="events.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="request" class="tsd-anchor"></a><h3 class="tsd-anchor-link">request<a href="#request" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">request<span class="tsd-signature-symbol">:</span> <a href="request.default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L9">lib/events.ts:9</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_parseEventList" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_parse<wbr/>Event<wbr/>List<a href="#_parseEventList" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">_parse<wbr/>Event<wbr/>List<span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_Events.EventsResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_Events.EventsList.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsList</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L35">lib/events.ts:35</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>response: <a href="../interfaces/interfaces_Events.EventsResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_Events.EventsList.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsList</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_parsePage" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_parse<wbr/>Page<a href="#_parsePage" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">_parse<wbr/>Page<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_Events.EventsPage.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsPage</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L19">lib/events.ts:19</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">string</span></h5></li><li><h5>url: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_Events.EventsPage.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsPage</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_parsePageLinks" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_parse<wbr/>Page<wbr/>Links<a href="#_parsePageLinks" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">_parse<wbr/>Page<wbr/>Links<span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_Events.EventsResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/interfaces_Events.ParsedPagesList.html" class="tsd-signature-type" data-tsd-kind="Interface">ParsedPagesList</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L23">lib/events.ts:23</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>response: <a href="../interfaces/interfaces_Events.EventsResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsResponse</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../interfaces/interfaces_Events.ParsedPagesList.html" class="tsd-signature-type" data-tsd-kind="Interface">ParsedPagesList</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="_parsePageNumber" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_parse<wbr/>Page<wbr/>Number<a href="#_parsePageNumber" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">_parse<wbr/>Page<wbr/>Number<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L15">lib/events.ts:15</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="get" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">(</span>domain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, query<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>page<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_Events.EventsList.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsList</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mailgun/mailgun.js/blob/baf59b7/lib/events.ts#L42">lib/events.ts:42</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>domain: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> query: <span class="tsd-signature-symbol">{ </span>page<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5>page<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/interfaces_Events.EventsList.html" class="tsd-signature-type" data-tsd-kind="Interface">EventsList</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/client.html">client</a></li><li class=" tsd-kind-module"><a href="../modules/domains.html">domains</a></li><li class=" tsd-kind-module"><a href="../modules/domainsCredentials.html">domains<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/domainsTemplates.html">domains<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/error.html">error</a></li><li class="current tsd-kind-module"><a href="../modules/events.html">events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_APIErrorOptions.html">interfaces/APIError<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_ApiResponse.html">interfaces/<wbr/>Api<wbr/>Response</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainCredentials.html">interfaces/<wbr/>Domain<wbr/>Credentials</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTemplates.html">interfaces/<wbr/>Domain<wbr/>Templates</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_DomainTracking.html">interfaces/<wbr/>Domain<wbr/>Tracking</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Domains.html">interfaces/<wbr/>Domains</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Events.html">interfaces/<wbr/>Events</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IFormData.html">interfaces/IForm<wbr/>Data</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_IpPools.html">interfaces/<wbr/>Ip<wbr/>Pools</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Ips.html">interfaces/<wbr/>Ips</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_MultipleValidation.html">interfaces/<wbr/>Multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Options.html">interfaces/<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_RequestOptions.html">interfaces/<wbr/>Request<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_StatsOptions.html">interfaces/<wbr/>Stats<wbr/>Options</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Supressions.html">interfaces/<wbr/>Supressions</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Validate.html">interfaces/<wbr/>Validate</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_Webhooks.html">interfaces/<wbr/>Webhooks</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_lists.html">interfaces/lists</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_mailListMembers.html">interfaces/mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/interfaces_routes.html">interfaces/routes</a></li><li class=" tsd-kind-module"><a href="../modules/ip_pools.html">ip-<wbr/>pools</a></li><li class=" tsd-kind-module"><a href="../modules/ips.html">ips</a></li><li class=" tsd-kind-module"><a href="../modules/lists.html">lists</a></li><li class=" tsd-kind-module"><a href="../modules/mailListMembers.html">mail<wbr/>List<wbr/>Members</a></li><li class=" tsd-kind-module"><a href="../modules/messages.html">messages</a></li><li class=" tsd-kind-module"><a href="../modules/multipleValidation.html">multiple<wbr/>Validation</a></li><li class=" tsd-kind-module"><a href="../modules/request.html">request</a></li><li class=" tsd-kind-module"><a href="../modules/routes.html">routes</a></li><li class=" tsd-kind-module"><a href="../modules/stats.html">stats</a></li><li class=" tsd-kind-module"><a href="../modules/suppressions.html">suppressions</a></li><li class=" tsd-kind-module"><a href="../modules/validate.html">validate</a></li><li class=" tsd-kind-module"><a href="../modules/webhooks.html">webhooks</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="events.default.html" class="tsd-kind-icon">default</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="events.default.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="events.default.html#request" class="tsd-kind-icon">request</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parseEventList" class="tsd-kind-icon">_parse<wbr/>Event<wbr/>List</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePage" class="tsd-kind-icon">_parse<wbr/>Page</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePageLinks" class="tsd-kind-icon">_parse<wbr/>Page<wbr/>Links</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#_parsePageNumber" class="tsd-kind-icon">_parse<wbr/>Page<wbr/>Number</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="events.default.html#get" class="tsd-kind-icon">get</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>