emailr 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (580) hide show
  1. package/.claude/settings.local.json +7 -0
  2. package/FUNCTIONS.md +2 -0
  3. package/README.md +89 -29
  4. package/dist/commonjs/funcs/billingGetV1BillingUsage.d.ts +12 -0
  5. package/dist/commonjs/funcs/billingGetV1BillingUsage.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/billingGetV1BillingUsage.js +102 -0
  7. package/dist/commonjs/funcs/billingGetV1BillingUsage.js.map +1 -0
  8. package/dist/commonjs/funcs/billingPostV1BillingCheckout.d.ts +12 -0
  9. package/dist/commonjs/funcs/billingPostV1BillingCheckout.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/billingPostV1BillingCheckout.js +115 -0
  11. package/dist/commonjs/funcs/billingPostV1BillingCheckout.js.map +1 -0
  12. package/dist/commonjs/funcs/billingPostV1BillingPortal.d.ts +12 -0
  13. package/dist/commonjs/funcs/billingPostV1BillingPortal.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/billingPostV1BillingPortal.js +102 -0
  15. package/dist/commonjs/funcs/billingPostV1BillingPortal.js.map +1 -0
  16. package/dist/commonjs/funcs/billingPostV1BillingWebhooks.d.ts +12 -0
  17. package/dist/commonjs/funcs/billingPostV1BillingWebhooks.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/billingPostV1BillingWebhooks.js +115 -0
  19. package/dist/commonjs/funcs/billingPostV1BillingWebhooks.js.map +1 -0
  20. package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.d.ts +11 -0
  21. package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.js +114 -0
  23. package/dist/commonjs/funcs/contactSyncDeleteV1ContactSyncId.js.map +1 -0
  24. package/dist/commonjs/funcs/contactSyncGetV1ContactSync.d.ts +11 -0
  25. package/dist/commonjs/funcs/contactSyncGetV1ContactSync.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/contactSyncGetV1ContactSync.js +98 -0
  27. package/dist/commonjs/funcs/contactSyncGetV1ContactSync.js.map +1 -0
  28. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.d.ts +11 -0
  29. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.js +111 -0
  31. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncSupabase.js.map +1 -0
  32. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts +11 -0
  33. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js +115 -0
  35. package/dist/commonjs/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js.map +1 -0
  36. package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.d.ts +11 -0
  37. package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.d.ts.map +1 -0
  38. package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.js +114 -0
  39. package/dist/commonjs/funcs/integrationsDeleteV1IntegrationsId.js.map +1 -0
  40. package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.d.ts +11 -0
  41. package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.js +98 -0
  43. package/dist/commonjs/funcs/integrationsGetV1IntegrationsConnections.js.map +1 -0
  44. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts +10 -0
  45. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js +98 -0
  47. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js.map +1 -0
  48. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts +11 -0
  49. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts.map +1 -0
  50. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.js +113 -0
  51. package/dist/commonjs/funcs/integrationsGetV1IntegrationsSupabaseCallback.js.map +1 -0
  52. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts +10 -0
  53. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts.map +1 -0
  54. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.js +98 -0
  55. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelAuthorize.js.map +1 -0
  56. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts +11 -0
  57. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts.map +1 -0
  58. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.js +113 -0
  59. package/dist/commonjs/funcs/integrationsGetV1IntegrationsVercelCallback.js.map +1 -0
  60. package/dist/commonjs/funcs/smtpGetSmtpCredentials.d.ts +18 -0
  61. package/dist/commonjs/funcs/smtpGetSmtpCredentials.d.ts.map +1 -0
  62. package/dist/commonjs/funcs/smtpGetSmtpCredentials.js +108 -0
  63. package/dist/commonjs/funcs/smtpGetSmtpCredentials.js.map +1 -0
  64. package/dist/commonjs/funcs/topicsDeleteV1TopicsId.d.ts +12 -0
  65. package/dist/commonjs/funcs/topicsDeleteV1TopicsId.d.ts.map +1 -0
  66. package/dist/commonjs/funcs/topicsDeleteV1TopicsId.js +118 -0
  67. package/dist/commonjs/funcs/topicsDeleteV1TopicsId.js.map +1 -0
  68. package/dist/commonjs/funcs/topicsGetV1Topics.d.ts +12 -0
  69. package/dist/commonjs/funcs/topicsGetV1Topics.d.ts.map +1 -0
  70. package/dist/commonjs/funcs/topicsGetV1Topics.js +102 -0
  71. package/dist/commonjs/funcs/topicsGetV1Topics.js.map +1 -0
  72. package/dist/commonjs/funcs/topicsPostV1Topics.d.ts +12 -0
  73. package/dist/commonjs/funcs/topicsPostV1Topics.d.ts.map +1 -0
  74. package/dist/commonjs/funcs/topicsPostV1Topics.js +115 -0
  75. package/dist/commonjs/funcs/topicsPostV1Topics.js.map +1 -0
  76. package/dist/commonjs/funcs/topicsPutV1TopicsId.d.ts +12 -0
  77. package/dist/commonjs/funcs/topicsPutV1TopicsId.d.ts.map +1 -0
  78. package/dist/commonjs/funcs/topicsPutV1TopicsId.js +119 -0
  79. package/dist/commonjs/funcs/topicsPutV1TopicsId.js.map +1 -0
  80. package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts +12 -0
  81. package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts.map +1 -0
  82. package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js +122 -0
  83. package/dist/commonjs/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js.map +1 -0
  84. package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.d.ts +12 -0
  85. package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.d.ts.map +1 -0
  86. package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.js +115 -0
  87. package/dist/commonjs/funcs/unsubscribePostV1Unsubscribe.js.map +1 -0
  88. package/dist/commonjs/lib/config.d.ts +2 -2
  89. package/dist/commonjs/lib/config.js +2 -2
  90. package/dist/commonjs/models/createtemplaterequest.d.ts +15 -0
  91. package/dist/commonjs/models/createtemplaterequest.d.ts.map +1 -1
  92. package/dist/commonjs/models/createtemplaterequest.js +6 -0
  93. package/dist/commonjs/models/createtemplaterequest.js.map +1 -1
  94. package/dist/commonjs/models/errors/deletev1topicsid.d.ts +45 -0
  95. package/dist/commonjs/models/errors/deletev1topicsid.d.ts.map +1 -0
  96. package/dist/commonjs/models/errors/deletev1topicsid.js +99 -0
  97. package/dist/commonjs/models/errors/deletev1topicsid.js.map +1 -0
  98. package/dist/commonjs/models/errors/getv1billingusage.d.ts +24 -0
  99. package/dist/commonjs/models/errors/getv1billingusage.d.ts.map +1 -0
  100. package/dist/commonjs/models/errors/getv1billingusage.js +71 -0
  101. package/dist/commonjs/models/errors/getv1billingusage.js.map +1 -0
  102. package/dist/commonjs/models/errors/getv1topics.d.ts +24 -0
  103. package/dist/commonjs/models/errors/getv1topics.d.ts.map +1 -0
  104. package/dist/commonjs/models/errors/getv1topics.js +71 -0
  105. package/dist/commonjs/models/errors/getv1topics.js.map +1 -0
  106. package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.d.ts +24 -0
  107. package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.d.ts.map +1 -0
  108. package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.js +71 -0
  109. package/dist/commonjs/models/errors/getv1unsubscribeorganizationid.js.map +1 -0
  110. package/dist/commonjs/models/errors/index.d.ts +10 -0
  111. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  112. package/dist/commonjs/models/errors/index.js +10 -0
  113. package/dist/commonjs/models/errors/index.js.map +1 -1
  114. package/dist/commonjs/models/errors/postv1billingcheckout.d.ts +24 -0
  115. package/dist/commonjs/models/errors/postv1billingcheckout.d.ts.map +1 -0
  116. package/dist/commonjs/models/errors/postv1billingcheckout.js +71 -0
  117. package/dist/commonjs/models/errors/postv1billingcheckout.js.map +1 -0
  118. package/dist/commonjs/models/errors/postv1billingportal.d.ts +24 -0
  119. package/dist/commonjs/models/errors/postv1billingportal.d.ts.map +1 -0
  120. package/dist/commonjs/models/errors/postv1billingportal.js +71 -0
  121. package/dist/commonjs/models/errors/postv1billingportal.js.map +1 -0
  122. package/dist/commonjs/models/errors/postv1billingwebhooks.d.ts +24 -0
  123. package/dist/commonjs/models/errors/postv1billingwebhooks.d.ts.map +1 -0
  124. package/dist/commonjs/models/errors/postv1billingwebhooks.js +71 -0
  125. package/dist/commonjs/models/errors/postv1billingwebhooks.js.map +1 -0
  126. package/dist/commonjs/models/errors/postv1topics.d.ts +24 -0
  127. package/dist/commonjs/models/errors/postv1topics.d.ts.map +1 -0
  128. package/dist/commonjs/models/errors/postv1topics.js +71 -0
  129. package/dist/commonjs/models/errors/postv1topics.js.map +1 -0
  130. package/dist/commonjs/models/errors/postv1unsubscribe.d.ts +24 -0
  131. package/dist/commonjs/models/errors/postv1unsubscribe.d.ts.map +1 -0
  132. package/dist/commonjs/models/errors/postv1unsubscribe.js +71 -0
  133. package/dist/commonjs/models/errors/postv1unsubscribe.js.map +1 -0
  134. package/dist/commonjs/models/errors/putv1topicsid.d.ts +45 -0
  135. package/dist/commonjs/models/errors/putv1topicsid.d.ts.map +1 -0
  136. package/dist/commonjs/models/errors/putv1topicsid.js +99 -0
  137. package/dist/commonjs/models/errors/putv1topicsid.js.map +1 -0
  138. package/dist/commonjs/models/index.d.ts +1 -0
  139. package/dist/commonjs/models/index.d.ts.map +1 -1
  140. package/dist/commonjs/models/index.js +1 -0
  141. package/dist/commonjs/models/index.js.map +1 -1
  142. package/dist/commonjs/models/operations/deletev1contactsyncid.d.ts +23 -0
  143. package/dist/commonjs/models/operations/deletev1contactsyncid.d.ts.map +1 -0
  144. package/dist/commonjs/models/operations/deletev1contactsyncid.js +59 -0
  145. package/dist/commonjs/models/operations/deletev1contactsyncid.js.map +1 -0
  146. package/dist/commonjs/models/operations/deletev1integrationsid.d.ts +23 -0
  147. package/dist/commonjs/models/operations/deletev1integrationsid.d.ts.map +1 -0
  148. package/dist/commonjs/models/operations/deletev1integrationsid.js +59 -0
  149. package/dist/commonjs/models/operations/deletev1integrationsid.js.map +1 -0
  150. package/dist/commonjs/models/operations/deletev1topicsid.d.ts +23 -0
  151. package/dist/commonjs/models/operations/deletev1topicsid.d.ts.map +1 -0
  152. package/dist/commonjs/models/operations/deletev1topicsid.js +59 -0
  153. package/dist/commonjs/models/operations/deletev1topicsid.js.map +1 -0
  154. package/dist/commonjs/models/operations/getv1billingusage.d.ts +20 -0
  155. package/dist/commonjs/models/operations/getv1billingusage.d.ts.map +1 -0
  156. package/dist/commonjs/models/operations/getv1billingusage.js +58 -0
  157. package/dist/commonjs/models/operations/getv1billingusage.js.map +1 -0
  158. package/dist/commonjs/models/operations/getv1contactsync.d.ts +35 -0
  159. package/dist/commonjs/models/operations/getv1contactsync.d.ts.map +1 -0
  160. package/dist/commonjs/models/operations/getv1contactsync.js +85 -0
  161. package/dist/commonjs/models/operations/getv1contactsync.js.map +1 -0
  162. package/dist/commonjs/models/operations/getv1integrationsconnections.d.ts +31 -0
  163. package/dist/commonjs/models/operations/getv1integrationsconnections.d.ts.map +1 -0
  164. package/dist/commonjs/models/operations/getv1integrationsconnections.js +78 -0
  165. package/dist/commonjs/models/operations/getv1integrationsconnections.js.map +1 -0
  166. package/dist/commonjs/models/operations/getv1integrationssupabasecallback.d.ts +14 -0
  167. package/dist/commonjs/models/operations/getv1integrationssupabasecallback.d.ts.map +1 -0
  168. package/dist/commonjs/models/operations/getv1integrationssupabasecallback.js +50 -0
  169. package/dist/commonjs/models/operations/getv1integrationssupabasecallback.js.map +1 -0
  170. package/dist/commonjs/models/operations/getv1integrationsvercelcallback.d.ts +14 -0
  171. package/dist/commonjs/models/operations/getv1integrationsvercelcallback.d.ts.map +1 -0
  172. package/dist/commonjs/models/operations/getv1integrationsvercelcallback.js +50 -0
  173. package/dist/commonjs/models/operations/getv1integrationsvercelcallback.js.map +1 -0
  174. package/dist/commonjs/models/operations/getv1topics.d.ts +24 -0
  175. package/dist/commonjs/models/operations/getv1topics.d.ts.map +1 -0
  176. package/dist/commonjs/models/operations/getv1topics.js +71 -0
  177. package/dist/commonjs/models/operations/getv1topics.js.map +1 -0
  178. package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.d.ts +39 -0
  179. package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.d.ts.map +1 -0
  180. package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.js +76 -0
  181. package/dist/commonjs/models/operations/getv1unsubscribeorganizationid.js.map +1 -0
  182. package/dist/commonjs/models/operations/index.d.ts +18 -0
  183. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  184. package/dist/commonjs/models/operations/index.js +18 -0
  185. package/dist/commonjs/models/operations/index.js.map +1 -1
  186. package/dist/commonjs/models/operations/postv1billingcheckout.d.ts +37 -0
  187. package/dist/commonjs/models/operations/postv1billingcheckout.d.ts.map +1 -0
  188. package/dist/commonjs/models/operations/postv1billingcheckout.js +67 -0
  189. package/dist/commonjs/models/operations/postv1billingcheckout.js.map +1 -0
  190. package/dist/commonjs/models/operations/postv1billingportal.d.ts +13 -0
  191. package/dist/commonjs/models/operations/postv1billingportal.d.ts.map +1 -0
  192. package/dist/commonjs/models/operations/postv1billingportal.js +51 -0
  193. package/dist/commonjs/models/operations/postv1billingportal.js.map +1 -0
  194. package/dist/commonjs/models/operations/postv1billingwebhooks.d.ts +13 -0
  195. package/dist/commonjs/models/operations/postv1billingwebhooks.d.ts.map +1 -0
  196. package/dist/commonjs/models/operations/postv1billingwebhooks.js +51 -0
  197. package/dist/commonjs/models/operations/postv1billingwebhooks.js.map +1 -0
  198. package/dist/commonjs/models/operations/postv1contactsyncsupabase.d.ts +67 -0
  199. package/dist/commonjs/models/operations/postv1contactsyncsupabase.d.ts.map +1 -0
  200. package/dist/commonjs/models/operations/postv1contactsyncsupabase.js +100 -0
  201. package/dist/commonjs/models/operations/postv1contactsyncsupabase.js.map +1 -0
  202. package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.d.ts +25 -0
  203. package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.d.ts.map +1 -0
  204. package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.js +60 -0
  205. package/dist/commonjs/models/operations/postv1contactsyncwebhooksyncid.js.map +1 -0
  206. package/dist/commonjs/models/operations/postv1topics.d.ts +30 -0
  207. package/dist/commonjs/models/operations/postv1topics.d.ts.map +1 -0
  208. package/dist/commonjs/models/operations/postv1topics.js +72 -0
  209. package/dist/commonjs/models/operations/postv1topics.js.map +1 -0
  210. package/dist/commonjs/models/operations/postv1unsubscribe.d.ts +32 -0
  211. package/dist/commonjs/models/operations/postv1unsubscribe.d.ts.map +1 -0
  212. package/dist/commonjs/models/operations/postv1unsubscribe.js +64 -0
  213. package/dist/commonjs/models/operations/postv1unsubscribe.js.map +1 -0
  214. package/dist/commonjs/models/operations/putv1topicsid.d.ts +42 -0
  215. package/dist/commonjs/models/operations/putv1topicsid.d.ts.map +1 -0
  216. package/dist/commonjs/models/operations/putv1topicsid.js +81 -0
  217. package/dist/commonjs/models/operations/putv1topicsid.js.map +1 -0
  218. package/dist/commonjs/models/sendemailrequest.d.ts +26 -4
  219. package/dist/commonjs/models/sendemailrequest.d.ts.map +1 -1
  220. package/dist/commonjs/models/sendemailrequest.js +6 -2
  221. package/dist/commonjs/models/sendemailrequest.js.map +1 -1
  222. package/dist/commonjs/models/smtpcredentials.d.ts +23 -0
  223. package/dist/commonjs/models/smtpcredentials.d.ts.map +1 -0
  224. package/dist/commonjs/models/smtpcredentials.js +71 -0
  225. package/dist/commonjs/models/smtpcredentials.js.map +1 -0
  226. package/dist/commonjs/models/template.d.ts +3 -0
  227. package/dist/commonjs/models/template.d.ts.map +1 -1
  228. package/dist/commonjs/models/template.js +6 -0
  229. package/dist/commonjs/models/template.js.map +1 -1
  230. package/dist/commonjs/sdk/billing.d.ts +9 -0
  231. package/dist/commonjs/sdk/billing.d.ts.map +1 -0
  232. package/dist/commonjs/sdk/billing.js +28 -0
  233. package/dist/commonjs/sdk/billing.js.map +1 -0
  234. package/dist/commonjs/sdk/contactsync.d.ts +9 -0
  235. package/dist/commonjs/sdk/contactsync.d.ts.map +1 -0
  236. package/dist/commonjs/sdk/contactsync.js +28 -0
  237. package/dist/commonjs/sdk/contactsync.js.map +1 -0
  238. package/dist/commonjs/sdk/integrations.d.ts +11 -0
  239. package/dist/commonjs/sdk/integrations.d.ts.map +1 -0
  240. package/dist/commonjs/sdk/integrations.js +36 -0
  241. package/dist/commonjs/sdk/integrations.js.map +1 -0
  242. package/dist/commonjs/sdk/sdk.d.ts +18 -0
  243. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  244. package/dist/commonjs/sdk/sdk.js +24 -0
  245. package/dist/commonjs/sdk/sdk.js.map +1 -1
  246. package/dist/commonjs/sdk/smtp.d.ts +12 -0
  247. package/dist/commonjs/sdk/smtp.d.ts.map +1 -0
  248. package/dist/commonjs/sdk/smtp.js +22 -0
  249. package/dist/commonjs/sdk/smtp.js.map +1 -0
  250. package/dist/commonjs/sdk/topics.d.ts +9 -0
  251. package/dist/commonjs/sdk/topics.d.ts.map +1 -0
  252. package/dist/commonjs/sdk/topics.js +28 -0
  253. package/dist/commonjs/sdk/topics.js.map +1 -0
  254. package/dist/commonjs/sdk/unsubscribe.d.ts +7 -0
  255. package/dist/commonjs/sdk/unsubscribe.d.ts.map +1 -0
  256. package/dist/commonjs/sdk/unsubscribe.js +20 -0
  257. package/dist/commonjs/sdk/unsubscribe.js.map +1 -0
  258. package/dist/esm/funcs/billingGetV1BillingUsage.d.ts +12 -0
  259. package/dist/esm/funcs/billingGetV1BillingUsage.d.ts.map +1 -0
  260. package/dist/esm/funcs/billingGetV1BillingUsage.js +66 -0
  261. package/dist/esm/funcs/billingGetV1BillingUsage.js.map +1 -0
  262. package/dist/esm/funcs/billingPostV1BillingCheckout.d.ts +12 -0
  263. package/dist/esm/funcs/billingPostV1BillingCheckout.d.ts.map +1 -0
  264. package/dist/esm/funcs/billingPostV1BillingCheckout.js +79 -0
  265. package/dist/esm/funcs/billingPostV1BillingCheckout.js.map +1 -0
  266. package/dist/esm/funcs/billingPostV1BillingPortal.d.ts +12 -0
  267. package/dist/esm/funcs/billingPostV1BillingPortal.d.ts.map +1 -0
  268. package/dist/esm/funcs/billingPostV1BillingPortal.js +66 -0
  269. package/dist/esm/funcs/billingPostV1BillingPortal.js.map +1 -0
  270. package/dist/esm/funcs/billingPostV1BillingWebhooks.d.ts +12 -0
  271. package/dist/esm/funcs/billingPostV1BillingWebhooks.d.ts.map +1 -0
  272. package/dist/esm/funcs/billingPostV1BillingWebhooks.js +79 -0
  273. package/dist/esm/funcs/billingPostV1BillingWebhooks.js.map +1 -0
  274. package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.d.ts +11 -0
  275. package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.d.ts.map +1 -0
  276. package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.js +78 -0
  277. package/dist/esm/funcs/contactSyncDeleteV1ContactSyncId.js.map +1 -0
  278. package/dist/esm/funcs/contactSyncGetV1ContactSync.d.ts +11 -0
  279. package/dist/esm/funcs/contactSyncGetV1ContactSync.d.ts.map +1 -0
  280. package/dist/esm/funcs/contactSyncGetV1ContactSync.js +62 -0
  281. package/dist/esm/funcs/contactSyncGetV1ContactSync.js.map +1 -0
  282. package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.d.ts +11 -0
  283. package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.d.ts.map +1 -0
  284. package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.js +75 -0
  285. package/dist/esm/funcs/contactSyncPostV1ContactSyncSupabase.js.map +1 -0
  286. package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts +11 -0
  287. package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.d.ts.map +1 -0
  288. package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js +79 -0
  289. package/dist/esm/funcs/contactSyncPostV1ContactSyncWebhookSyncId.js.map +1 -0
  290. package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.d.ts +11 -0
  291. package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.d.ts.map +1 -0
  292. package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.js +78 -0
  293. package/dist/esm/funcs/integrationsDeleteV1IntegrationsId.js.map +1 -0
  294. package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.d.ts +11 -0
  295. package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.d.ts.map +1 -0
  296. package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.js +62 -0
  297. package/dist/esm/funcs/integrationsGetV1IntegrationsConnections.js.map +1 -0
  298. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts +10 -0
  299. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.d.ts.map +1 -0
  300. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js +62 -0
  301. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.js.map +1 -0
  302. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts +11 -0
  303. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.d.ts.map +1 -0
  304. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.js +77 -0
  305. package/dist/esm/funcs/integrationsGetV1IntegrationsSupabaseCallback.js.map +1 -0
  306. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts +10 -0
  307. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.d.ts.map +1 -0
  308. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.js +62 -0
  309. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelAuthorize.js.map +1 -0
  310. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts +11 -0
  311. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.d.ts.map +1 -0
  312. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.js +77 -0
  313. package/dist/esm/funcs/integrationsGetV1IntegrationsVercelCallback.js.map +1 -0
  314. package/dist/esm/funcs/smtpGetSmtpCredentials.d.ts +18 -0
  315. package/dist/esm/funcs/smtpGetSmtpCredentials.d.ts.map +1 -0
  316. package/dist/esm/funcs/smtpGetSmtpCredentials.js +72 -0
  317. package/dist/esm/funcs/smtpGetSmtpCredentials.js.map +1 -0
  318. package/dist/esm/funcs/topicsDeleteV1TopicsId.d.ts +12 -0
  319. package/dist/esm/funcs/topicsDeleteV1TopicsId.d.ts.map +1 -0
  320. package/dist/esm/funcs/topicsDeleteV1TopicsId.js +82 -0
  321. package/dist/esm/funcs/topicsDeleteV1TopicsId.js.map +1 -0
  322. package/dist/esm/funcs/topicsGetV1Topics.d.ts +12 -0
  323. package/dist/esm/funcs/topicsGetV1Topics.d.ts.map +1 -0
  324. package/dist/esm/funcs/topicsGetV1Topics.js +66 -0
  325. package/dist/esm/funcs/topicsGetV1Topics.js.map +1 -0
  326. package/dist/esm/funcs/topicsPostV1Topics.d.ts +12 -0
  327. package/dist/esm/funcs/topicsPostV1Topics.d.ts.map +1 -0
  328. package/dist/esm/funcs/topicsPostV1Topics.js +79 -0
  329. package/dist/esm/funcs/topicsPostV1Topics.js.map +1 -0
  330. package/dist/esm/funcs/topicsPutV1TopicsId.d.ts +12 -0
  331. package/dist/esm/funcs/topicsPutV1TopicsId.d.ts.map +1 -0
  332. package/dist/esm/funcs/topicsPutV1TopicsId.js +83 -0
  333. package/dist/esm/funcs/topicsPutV1TopicsId.js.map +1 -0
  334. package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts +12 -0
  335. package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.d.ts.map +1 -0
  336. package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js +86 -0
  337. package/dist/esm/funcs/unsubscribeGetV1UnsubscribeOrganizationId.js.map +1 -0
  338. package/dist/esm/funcs/unsubscribePostV1Unsubscribe.d.ts +12 -0
  339. package/dist/esm/funcs/unsubscribePostV1Unsubscribe.d.ts.map +1 -0
  340. package/dist/esm/funcs/unsubscribePostV1Unsubscribe.js +79 -0
  341. package/dist/esm/funcs/unsubscribePostV1Unsubscribe.js.map +1 -0
  342. package/dist/esm/lib/config.d.ts +2 -2
  343. package/dist/esm/lib/config.js +2 -2
  344. package/dist/esm/models/createtemplaterequest.d.ts +15 -0
  345. package/dist/esm/models/createtemplaterequest.d.ts.map +1 -1
  346. package/dist/esm/models/createtemplaterequest.js +6 -0
  347. package/dist/esm/models/createtemplaterequest.js.map +1 -1
  348. package/dist/esm/models/errors/deletev1topicsid.d.ts +45 -0
  349. package/dist/esm/models/errors/deletev1topicsid.d.ts.map +1 -0
  350. package/dist/esm/models/errors/deletev1topicsid.js +61 -0
  351. package/dist/esm/models/errors/deletev1topicsid.js.map +1 -0
  352. package/dist/esm/models/errors/getv1billingusage.d.ts +24 -0
  353. package/dist/esm/models/errors/getv1billingusage.d.ts.map +1 -0
  354. package/dist/esm/models/errors/getv1billingusage.js +34 -0
  355. package/dist/esm/models/errors/getv1billingusage.js.map +1 -0
  356. package/dist/esm/models/errors/getv1topics.d.ts +24 -0
  357. package/dist/esm/models/errors/getv1topics.d.ts.map +1 -0
  358. package/dist/esm/models/errors/getv1topics.js +34 -0
  359. package/dist/esm/models/errors/getv1topics.js.map +1 -0
  360. package/dist/esm/models/errors/getv1unsubscribeorganizationid.d.ts +24 -0
  361. package/dist/esm/models/errors/getv1unsubscribeorganizationid.d.ts.map +1 -0
  362. package/dist/esm/models/errors/getv1unsubscribeorganizationid.js +34 -0
  363. package/dist/esm/models/errors/getv1unsubscribeorganizationid.js.map +1 -0
  364. package/dist/esm/models/errors/index.d.ts +10 -0
  365. package/dist/esm/models/errors/index.d.ts.map +1 -1
  366. package/dist/esm/models/errors/index.js +10 -0
  367. package/dist/esm/models/errors/index.js.map +1 -1
  368. package/dist/esm/models/errors/postv1billingcheckout.d.ts +24 -0
  369. package/dist/esm/models/errors/postv1billingcheckout.d.ts.map +1 -0
  370. package/dist/esm/models/errors/postv1billingcheckout.js +34 -0
  371. package/dist/esm/models/errors/postv1billingcheckout.js.map +1 -0
  372. package/dist/esm/models/errors/postv1billingportal.d.ts +24 -0
  373. package/dist/esm/models/errors/postv1billingportal.d.ts.map +1 -0
  374. package/dist/esm/models/errors/postv1billingportal.js +34 -0
  375. package/dist/esm/models/errors/postv1billingportal.js.map +1 -0
  376. package/dist/esm/models/errors/postv1billingwebhooks.d.ts +24 -0
  377. package/dist/esm/models/errors/postv1billingwebhooks.d.ts.map +1 -0
  378. package/dist/esm/models/errors/postv1billingwebhooks.js +34 -0
  379. package/dist/esm/models/errors/postv1billingwebhooks.js.map +1 -0
  380. package/dist/esm/models/errors/postv1topics.d.ts +24 -0
  381. package/dist/esm/models/errors/postv1topics.d.ts.map +1 -0
  382. package/dist/esm/models/errors/postv1topics.js +34 -0
  383. package/dist/esm/models/errors/postv1topics.js.map +1 -0
  384. package/dist/esm/models/errors/postv1unsubscribe.d.ts +24 -0
  385. package/dist/esm/models/errors/postv1unsubscribe.d.ts.map +1 -0
  386. package/dist/esm/models/errors/postv1unsubscribe.js +34 -0
  387. package/dist/esm/models/errors/postv1unsubscribe.js.map +1 -0
  388. package/dist/esm/models/errors/putv1topicsid.d.ts +45 -0
  389. package/dist/esm/models/errors/putv1topicsid.d.ts.map +1 -0
  390. package/dist/esm/models/errors/putv1topicsid.js +61 -0
  391. package/dist/esm/models/errors/putv1topicsid.js.map +1 -0
  392. package/dist/esm/models/index.d.ts +1 -0
  393. package/dist/esm/models/index.d.ts.map +1 -1
  394. package/dist/esm/models/index.js +1 -0
  395. package/dist/esm/models/index.js.map +1 -1
  396. package/dist/esm/models/operations/deletev1contactsyncid.d.ts +23 -0
  397. package/dist/esm/models/operations/deletev1contactsyncid.d.ts.map +1 -0
  398. package/dist/esm/models/operations/deletev1contactsyncid.js +21 -0
  399. package/dist/esm/models/operations/deletev1contactsyncid.js.map +1 -0
  400. package/dist/esm/models/operations/deletev1integrationsid.d.ts +23 -0
  401. package/dist/esm/models/operations/deletev1integrationsid.d.ts.map +1 -0
  402. package/dist/esm/models/operations/deletev1integrationsid.js +21 -0
  403. package/dist/esm/models/operations/deletev1integrationsid.js.map +1 -0
  404. package/dist/esm/models/operations/deletev1topicsid.d.ts +23 -0
  405. package/dist/esm/models/operations/deletev1topicsid.d.ts.map +1 -0
  406. package/dist/esm/models/operations/deletev1topicsid.js +21 -0
  407. package/dist/esm/models/operations/deletev1topicsid.js.map +1 -0
  408. package/dist/esm/models/operations/getv1billingusage.d.ts +20 -0
  409. package/dist/esm/models/operations/getv1billingusage.d.ts.map +1 -0
  410. package/dist/esm/models/operations/getv1billingusage.js +21 -0
  411. package/dist/esm/models/operations/getv1billingusage.js.map +1 -0
  412. package/dist/esm/models/operations/getv1contactsync.d.ts +35 -0
  413. package/dist/esm/models/operations/getv1contactsync.d.ts.map +1 -0
  414. package/dist/esm/models/operations/getv1contactsync.js +47 -0
  415. package/dist/esm/models/operations/getv1contactsync.js.map +1 -0
  416. package/dist/esm/models/operations/getv1integrationsconnections.d.ts +31 -0
  417. package/dist/esm/models/operations/getv1integrationsconnections.d.ts.map +1 -0
  418. package/dist/esm/models/operations/getv1integrationsconnections.js +40 -0
  419. package/dist/esm/models/operations/getv1integrationsconnections.js.map +1 -0
  420. package/dist/esm/models/operations/getv1integrationssupabasecallback.d.ts +14 -0
  421. package/dist/esm/models/operations/getv1integrationssupabasecallback.d.ts.map +1 -0
  422. package/dist/esm/models/operations/getv1integrationssupabasecallback.js +13 -0
  423. package/dist/esm/models/operations/getv1integrationssupabasecallback.js.map +1 -0
  424. package/dist/esm/models/operations/getv1integrationsvercelcallback.d.ts +14 -0
  425. package/dist/esm/models/operations/getv1integrationsvercelcallback.d.ts.map +1 -0
  426. package/dist/esm/models/operations/getv1integrationsvercelcallback.js +13 -0
  427. package/dist/esm/models/operations/getv1integrationsvercelcallback.js.map +1 -0
  428. package/dist/esm/models/operations/getv1topics.d.ts +24 -0
  429. package/dist/esm/models/operations/getv1topics.d.ts.map +1 -0
  430. package/dist/esm/models/operations/getv1topics.js +33 -0
  431. package/dist/esm/models/operations/getv1topics.js.map +1 -0
  432. package/dist/esm/models/operations/getv1unsubscribeorganizationid.d.ts +39 -0
  433. package/dist/esm/models/operations/getv1unsubscribeorganizationid.d.ts.map +1 -0
  434. package/dist/esm/models/operations/getv1unsubscribeorganizationid.js +37 -0
  435. package/dist/esm/models/operations/getv1unsubscribeorganizationid.js.map +1 -0
  436. package/dist/esm/models/operations/index.d.ts +18 -0
  437. package/dist/esm/models/operations/index.d.ts.map +1 -1
  438. package/dist/esm/models/operations/index.js +18 -0
  439. package/dist/esm/models/operations/index.js.map +1 -1
  440. package/dist/esm/models/operations/postv1billingcheckout.d.ts +37 -0
  441. package/dist/esm/models/operations/postv1billingcheckout.d.ts.map +1 -0
  442. package/dist/esm/models/operations/postv1billingcheckout.js +29 -0
  443. package/dist/esm/models/operations/postv1billingcheckout.js.map +1 -0
  444. package/dist/esm/models/operations/postv1billingportal.d.ts +13 -0
  445. package/dist/esm/models/operations/postv1billingportal.d.ts.map +1 -0
  446. package/dist/esm/models/operations/postv1billingportal.js +14 -0
  447. package/dist/esm/models/operations/postv1billingportal.js.map +1 -0
  448. package/dist/esm/models/operations/postv1billingwebhooks.d.ts +13 -0
  449. package/dist/esm/models/operations/postv1billingwebhooks.d.ts.map +1 -0
  450. package/dist/esm/models/operations/postv1billingwebhooks.js +14 -0
  451. package/dist/esm/models/operations/postv1billingwebhooks.js.map +1 -0
  452. package/dist/esm/models/operations/postv1contactsyncsupabase.d.ts +67 -0
  453. package/dist/esm/models/operations/postv1contactsyncsupabase.d.ts.map +1 -0
  454. package/dist/esm/models/operations/postv1contactsyncsupabase.js +61 -0
  455. package/dist/esm/models/operations/postv1contactsyncsupabase.js.map +1 -0
  456. package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.d.ts +25 -0
  457. package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.d.ts.map +1 -0
  458. package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.js +22 -0
  459. package/dist/esm/models/operations/postv1contactsyncwebhooksyncid.js.map +1 -0
  460. package/dist/esm/models/operations/postv1topics.d.ts +30 -0
  461. package/dist/esm/models/operations/postv1topics.d.ts.map +1 -0
  462. package/dist/esm/models/operations/postv1topics.js +34 -0
  463. package/dist/esm/models/operations/postv1topics.js.map +1 -0
  464. package/dist/esm/models/operations/postv1unsubscribe.d.ts +32 -0
  465. package/dist/esm/models/operations/postv1unsubscribe.d.ts.map +1 -0
  466. package/dist/esm/models/operations/postv1unsubscribe.js +26 -0
  467. package/dist/esm/models/operations/postv1unsubscribe.js.map +1 -0
  468. package/dist/esm/models/operations/putv1topicsid.d.ts +42 -0
  469. package/dist/esm/models/operations/putv1topicsid.d.ts.map +1 -0
  470. package/dist/esm/models/operations/putv1topicsid.js +42 -0
  471. package/dist/esm/models/operations/putv1topicsid.js.map +1 -0
  472. package/dist/esm/models/sendemailrequest.d.ts +26 -4
  473. package/dist/esm/models/sendemailrequest.d.ts.map +1 -1
  474. package/dist/esm/models/sendemailrequest.js +6 -2
  475. package/dist/esm/models/sendemailrequest.js.map +1 -1
  476. package/dist/esm/models/smtpcredentials.d.ts +23 -0
  477. package/dist/esm/models/smtpcredentials.d.ts.map +1 -0
  478. package/dist/esm/models/smtpcredentials.js +33 -0
  479. package/dist/esm/models/smtpcredentials.js.map +1 -0
  480. package/dist/esm/models/template.d.ts +3 -0
  481. package/dist/esm/models/template.d.ts.map +1 -1
  482. package/dist/esm/models/template.js +6 -0
  483. package/dist/esm/models/template.js.map +1 -1
  484. package/dist/esm/sdk/billing.d.ts +9 -0
  485. package/dist/esm/sdk/billing.d.ts.map +1 -0
  486. package/dist/esm/sdk/billing.js +24 -0
  487. package/dist/esm/sdk/billing.js.map +1 -0
  488. package/dist/esm/sdk/contactsync.d.ts +9 -0
  489. package/dist/esm/sdk/contactsync.d.ts.map +1 -0
  490. package/dist/esm/sdk/contactsync.js +24 -0
  491. package/dist/esm/sdk/contactsync.js.map +1 -0
  492. package/dist/esm/sdk/integrations.d.ts +11 -0
  493. package/dist/esm/sdk/integrations.d.ts.map +1 -0
  494. package/dist/esm/sdk/integrations.js +32 -0
  495. package/dist/esm/sdk/integrations.js.map +1 -0
  496. package/dist/esm/sdk/sdk.d.ts +18 -0
  497. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  498. package/dist/esm/sdk/sdk.js +24 -0
  499. package/dist/esm/sdk/sdk.js.map +1 -1
  500. package/dist/esm/sdk/smtp.d.ts +12 -0
  501. package/dist/esm/sdk/smtp.d.ts.map +1 -0
  502. package/dist/esm/sdk/smtp.js +18 -0
  503. package/dist/esm/sdk/smtp.js.map +1 -0
  504. package/dist/esm/sdk/topics.d.ts +9 -0
  505. package/dist/esm/sdk/topics.d.ts.map +1 -0
  506. package/dist/esm/sdk/topics.js +24 -0
  507. package/dist/esm/sdk/topics.js.map +1 -0
  508. package/dist/esm/sdk/unsubscribe.d.ts +7 -0
  509. package/dist/esm/sdk/unsubscribe.d.ts.map +1 -0
  510. package/dist/esm/sdk/unsubscribe.js +16 -0
  511. package/dist/esm/sdk/unsubscribe.js.map +1 -0
  512. package/examples/emailsSend.example.ts +2 -0
  513. package/examples/package-lock.json +1 -1
  514. package/jsr.json +1 -1
  515. package/package.json +1 -1
  516. package/src/funcs/billingGetV1BillingUsage.ts +145 -0
  517. package/src/funcs/billingPostV1BillingCheckout.ts +170 -0
  518. package/src/funcs/billingPostV1BillingPortal.ts +145 -0
  519. package/src/funcs/billingPostV1BillingWebhooks.ts +166 -0
  520. package/src/funcs/contactSyncDeleteV1ContactSyncId.ts +162 -0
  521. package/src/funcs/contactSyncGetV1ContactSync.ts +136 -0
  522. package/src/funcs/contactSyncPostV1ContactSyncSupabase.ts +161 -0
  523. package/src/funcs/contactSyncPostV1ContactSyncWebhookSyncId.ts +169 -0
  524. package/src/funcs/integrationsDeleteV1IntegrationsId.ts +162 -0
  525. package/src/funcs/integrationsGetV1IntegrationsConnections.ts +136 -0
  526. package/src/funcs/integrationsGetV1IntegrationsSupabaseAuthorize.ts +136 -0
  527. package/src/funcs/integrationsGetV1IntegrationsSupabaseCallback.ts +164 -0
  528. package/src/funcs/integrationsGetV1IntegrationsVercelAuthorize.ts +136 -0
  529. package/src/funcs/integrationsGetV1IntegrationsVercelCallback.ts +164 -0
  530. package/src/funcs/smtpGetSmtpCredentials.ts +151 -0
  531. package/src/funcs/topicsDeleteV1TopicsId.ts +175 -0
  532. package/src/funcs/topicsGetV1Topics.ts +145 -0
  533. package/src/funcs/topicsPostV1Topics.ts +167 -0
  534. package/src/funcs/topicsPutV1TopicsId.ts +175 -0
  535. package/src/funcs/unsubscribeGetV1UnsubscribeOrganizationId.ts +185 -0
  536. package/src/funcs/unsubscribePostV1Unsubscribe.ts +170 -0
  537. package/src/lib/config.ts +2 -2
  538. package/src/models/createtemplaterequest.ts +21 -0
  539. package/src/models/errors/deletev1topicsid.ts +109 -0
  540. package/src/models/errors/getv1billingusage.ts +58 -0
  541. package/src/models/errors/getv1topics.ts +58 -0
  542. package/src/models/errors/getv1unsubscribeorganizationid.ts +56 -0
  543. package/src/models/errors/index.ts +10 -0
  544. package/src/models/errors/postv1billingcheckout.ts +56 -0
  545. package/src/models/errors/postv1billingportal.ts +58 -0
  546. package/src/models/errors/postv1billingwebhooks.ts +58 -0
  547. package/src/models/errors/postv1topics.ts +58 -0
  548. package/src/models/errors/postv1unsubscribe.ts +58 -0
  549. package/src/models/errors/putv1topicsid.ts +109 -0
  550. package/src/models/index.ts +1 -0
  551. package/src/models/operations/deletev1contactsyncid.ts +61 -0
  552. package/src/models/operations/deletev1integrationsid.ts +61 -0
  553. package/src/models/operations/deletev1topicsid.ts +59 -0
  554. package/src/models/operations/getv1billingusage.ts +48 -0
  555. package/src/models/operations/getv1contactsync.ts +98 -0
  556. package/src/models/operations/getv1integrationsconnections.ts +85 -0
  557. package/src/models/operations/getv1integrationssupabasecallback.ts +37 -0
  558. package/src/models/operations/getv1integrationsvercelcallback.ts +37 -0
  559. package/src/models/operations/getv1topics.ts +76 -0
  560. package/src/models/operations/getv1unsubscribeorganizationid.ts +105 -0
  561. package/src/models/operations/index.ts +18 -0
  562. package/src/models/operations/postv1billingcheckout.ts +81 -0
  563. package/src/models/operations/postv1billingportal.ts +34 -0
  564. package/src/models/operations/postv1billingwebhooks.ts +34 -0
  565. package/src/models/operations/postv1contactsyncsupabase.ts +148 -0
  566. package/src/models/operations/postv1contactsyncwebhooksyncid.ts +64 -0
  567. package/src/models/operations/postv1topics.ts +82 -0
  568. package/src/models/operations/postv1unsubscribe.ts +73 -0
  569. package/src/models/operations/putv1topicsid.ts +110 -0
  570. package/src/models/sendemailrequest.ts +32 -6
  571. package/src/models/smtpcredentials.ts +72 -0
  572. package/src/models/template.ts +9 -0
  573. package/src/sdk/billing.ts +53 -0
  574. package/src/sdk/contactsync.ts +55 -0
  575. package/src/sdk/integrations.ts +75 -0
  576. package/src/sdk/sdk.ts +36 -0
  577. package/src/sdk/smtp.ts +25 -0
  578. package/src/sdk/topics.ts +55 -0
  579. package/src/sdk/unsubscribe.ts +33 -0
  580. package/temp/example.ts +3 -0
@@ -2,9 +2,19 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ export * from "./deletev1topicsid.js";
5
6
  export * from "./emailrdefaulterror.js";
6
7
  export * from "./emailrerror.js";
7
8
  export * from "./error.js";
9
+ export * from "./getv1billingusage.js";
10
+ export * from "./getv1topics.js";
11
+ export * from "./getv1unsubscribeorganizationid.js";
8
12
  export * from "./httpclienterrors.js";
13
+ export * from "./postv1billingcheckout.js";
14
+ export * from "./postv1billingportal.js";
15
+ export * from "./postv1billingwebhooks.js";
16
+ export * from "./postv1topics.js";
17
+ export * from "./postv1unsubscribe.js";
18
+ export * from "./putv1topicsid.js";
9
19
  export * from "./responsevalidationerror.js";
10
20
  export * from "./sdkvalidationerror.js";
@@ -0,0 +1,56 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Unauthorized
11
+ */
12
+ export type PostV1BillingCheckoutUnauthorizedErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Unauthorized
18
+ */
19
+ export class PostV1BillingCheckoutUnauthorizedError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: PostV1BillingCheckoutUnauthorizedErrorData;
24
+
25
+ constructor(
26
+ err: PostV1BillingCheckoutUnauthorizedErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PostV1BillingCheckoutUnauthorizedError";
37
+ }
38
+ }
39
+
40
+ /** @internal */
41
+ export const PostV1BillingCheckoutUnauthorizedError$inboundSchema:
42
+ z.ZodMiniType<PostV1BillingCheckoutUnauthorizedError, unknown> = z.pipe(
43
+ z.object({
44
+ error: types.string(),
45
+ request$: z.custom<Request>(x => x instanceof Request),
46
+ response$: z.custom<Response>(x => x instanceof Response),
47
+ body$: z.string(),
48
+ }),
49
+ z.transform((v) => {
50
+ return new PostV1BillingCheckoutUnauthorizedError(v, {
51
+ request: v.request$,
52
+ response: v.response$,
53
+ body: v.body$,
54
+ });
55
+ }),
56
+ );
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Unauthorized
11
+ */
12
+ export type PostV1BillingPortalUnauthorizedErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Unauthorized
18
+ */
19
+ export class PostV1BillingPortalUnauthorizedError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: PostV1BillingPortalUnauthorizedErrorData;
24
+
25
+ constructor(
26
+ err: PostV1BillingPortalUnauthorizedErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PostV1BillingPortalUnauthorizedError";
37
+ }
38
+ }
39
+
40
+ /** @internal */
41
+ export const PostV1BillingPortalUnauthorizedError$inboundSchema: z.ZodMiniType<
42
+ PostV1BillingPortalUnauthorizedError,
43
+ unknown
44
+ > = z.pipe(
45
+ z.object({
46
+ error: types.string(),
47
+ request$: z.custom<Request>(x => x instanceof Request),
48
+ response$: z.custom<Response>(x => x instanceof Response),
49
+ body$: z.string(),
50
+ }),
51
+ z.transform((v) => {
52
+ return new PostV1BillingPortalUnauthorizedError(v, {
53
+ request: v.request$,
54
+ response: v.response$,
55
+ body: v.body$,
56
+ });
57
+ }),
58
+ );
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Invalid signature
11
+ */
12
+ export type BadRequestErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Invalid signature
18
+ */
19
+ export class BadRequestError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: BadRequestErrorData;
24
+
25
+ constructor(
26
+ err: BadRequestErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "BadRequestError";
37
+ }
38
+ }
39
+
40
+ /** @internal */
41
+ export const BadRequestError$inboundSchema: z.ZodMiniType<
42
+ BadRequestError,
43
+ unknown
44
+ > = z.pipe(
45
+ z.object({
46
+ error: types.string(),
47
+ request$: z.custom<Request>(x => x instanceof Request),
48
+ response$: z.custom<Response>(x => x instanceof Response),
49
+ body$: z.string(),
50
+ }),
51
+ z.transform((v) => {
52
+ return new BadRequestError(v, {
53
+ request: v.request$,
54
+ response: v.response$,
55
+ body: v.body$,
56
+ });
57
+ }),
58
+ );
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Unauthorized
11
+ */
12
+ export type PostV1TopicsUnauthorizedErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Unauthorized
18
+ */
19
+ export class PostV1TopicsUnauthorizedError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: PostV1TopicsUnauthorizedErrorData;
24
+
25
+ constructor(
26
+ err: PostV1TopicsUnauthorizedErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PostV1TopicsUnauthorizedError";
37
+ }
38
+ }
39
+
40
+ /** @internal */
41
+ export const PostV1TopicsUnauthorizedError$inboundSchema: z.ZodMiniType<
42
+ PostV1TopicsUnauthorizedError,
43
+ unknown
44
+ > = z.pipe(
45
+ z.object({
46
+ error: types.string(),
47
+ request$: z.custom<Request>(x => x instanceof Request),
48
+ response$: z.custom<Response>(x => x instanceof Response),
49
+ body$: z.string(),
50
+ }),
51
+ z.transform((v) => {
52
+ return new PostV1TopicsUnauthorizedError(v, {
53
+ request: v.request$,
54
+ response: v.response$,
55
+ body: v.body$,
56
+ });
57
+ }),
58
+ );
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Contact not found
11
+ */
12
+ export type PostV1UnsubscribeNotFoundErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Contact not found
18
+ */
19
+ export class PostV1UnsubscribeNotFoundError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: PostV1UnsubscribeNotFoundErrorData;
24
+
25
+ constructor(
26
+ err: PostV1UnsubscribeNotFoundErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PostV1UnsubscribeNotFoundError";
37
+ }
38
+ }
39
+
40
+ /** @internal */
41
+ export const PostV1UnsubscribeNotFoundError$inboundSchema: z.ZodMiniType<
42
+ PostV1UnsubscribeNotFoundError,
43
+ unknown
44
+ > = z.pipe(
45
+ z.object({
46
+ error: types.string(),
47
+ request$: z.custom<Request>(x => x instanceof Request),
48
+ response$: z.custom<Response>(x => x instanceof Response),
49
+ body$: z.string(),
50
+ }),
51
+ z.transform((v) => {
52
+ return new PostV1UnsubscribeNotFoundError(v, {
53
+ request: v.request$,
54
+ response: v.response$,
55
+ body: v.body$,
56
+ });
57
+ }),
58
+ );
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import * as types from "../../types/primitives.js";
7
+ import { EmailrError } from "./emailrerror.js";
8
+
9
+ /**
10
+ * Topic not found
11
+ */
12
+ export type PutV1TopicsIdNotFoundErrorData = {
13
+ error: string;
14
+ };
15
+
16
+ /**
17
+ * Topic not found
18
+ */
19
+ export class PutV1TopicsIdNotFoundError extends EmailrError {
20
+ error: string;
21
+
22
+ /** The original data that was passed to this error instance. */
23
+ data$: PutV1TopicsIdNotFoundErrorData;
24
+
25
+ constructor(
26
+ err: PutV1TopicsIdNotFoundErrorData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
29
+ const message = "message" in err && typeof err.message === "string"
30
+ ? err.message
31
+ : `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+
36
+ this.name = "PutV1TopicsIdNotFoundError";
37
+ }
38
+ }
39
+
40
+ /**
41
+ * Unauthorized
42
+ */
43
+ export type PutV1TopicsIdUnauthorizedErrorData = {
44
+ error: string;
45
+ };
46
+
47
+ /**
48
+ * Unauthorized
49
+ */
50
+ export class PutV1TopicsIdUnauthorizedError extends EmailrError {
51
+ error: string;
52
+
53
+ /** The original data that was passed to this error instance. */
54
+ data$: PutV1TopicsIdUnauthorizedErrorData;
55
+
56
+ constructor(
57
+ err: PutV1TopicsIdUnauthorizedErrorData,
58
+ httpMeta: { response: Response; request: Request; body: string },
59
+ ) {
60
+ const message = "message" in err && typeof err.message === "string"
61
+ ? err.message
62
+ : `API error occurred: ${JSON.stringify(err)}`;
63
+ super(message, httpMeta);
64
+ this.data$ = err;
65
+ this.error = err.error;
66
+
67
+ this.name = "PutV1TopicsIdUnauthorizedError";
68
+ }
69
+ }
70
+
71
+ /** @internal */
72
+ export const PutV1TopicsIdNotFoundError$inboundSchema: z.ZodMiniType<
73
+ PutV1TopicsIdNotFoundError,
74
+ unknown
75
+ > = z.pipe(
76
+ z.object({
77
+ error: types.string(),
78
+ request$: z.custom<Request>(x => x instanceof Request),
79
+ response$: z.custom<Response>(x => x instanceof Response),
80
+ body$: z.string(),
81
+ }),
82
+ z.transform((v) => {
83
+ return new PutV1TopicsIdNotFoundError(v, {
84
+ request: v.request$,
85
+ response: v.response$,
86
+ body: v.body$,
87
+ });
88
+ }),
89
+ );
90
+
91
+ /** @internal */
92
+ export const PutV1TopicsIdUnauthorizedError$inboundSchema: z.ZodMiniType<
93
+ PutV1TopicsIdUnauthorizedError,
94
+ unknown
95
+ > = z.pipe(
96
+ z.object({
97
+ error: types.string(),
98
+ request$: z.custom<Request>(x => x instanceof Request),
99
+ response$: z.custom<Response>(x => x instanceof Response),
100
+ body$: z.string(),
101
+ }),
102
+ z.transform((v) => {
103
+ return new PutV1TopicsIdUnauthorizedError(v, {
104
+ request: v.request$,
105
+ response: v.response$,
106
+ body: v.body$,
107
+ });
108
+ }),
109
+ );
@@ -32,6 +32,7 @@ export * from "./segment.js";
32
32
  export * from "./sendbroadcastresponse.js";
33
33
  export * from "./sendemailrequest.js";
34
34
  export * from "./sendemailresponse.js";
35
+ export * from "./smtpcredentials.js";
35
36
  export * from "./success.js";
36
37
  export * from "./teammember.js";
37
38
  export * from "./template.js";
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type DeleteV1ContactSyncIdRequest = {
12
+ id: string;
13
+ };
14
+
15
+ /**
16
+ * Sync deleted
17
+ */
18
+ export type DeleteV1ContactSyncIdResponse = {
19
+ success: boolean;
20
+ };
21
+
22
+ /** @internal */
23
+ export type DeleteV1ContactSyncIdRequest$Outbound = {
24
+ id: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const DeleteV1ContactSyncIdRequest$outboundSchema: z.ZodMiniType<
29
+ DeleteV1ContactSyncIdRequest$Outbound,
30
+ DeleteV1ContactSyncIdRequest
31
+ > = z.object({
32
+ id: z.string(),
33
+ });
34
+
35
+ export function deleteV1ContactSyncIdRequestToJSON(
36
+ deleteV1ContactSyncIdRequest: DeleteV1ContactSyncIdRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ DeleteV1ContactSyncIdRequest$outboundSchema.parse(
40
+ deleteV1ContactSyncIdRequest,
41
+ ),
42
+ );
43
+ }
44
+
45
+ /** @internal */
46
+ export const DeleteV1ContactSyncIdResponse$inboundSchema: z.ZodMiniType<
47
+ DeleteV1ContactSyncIdResponse,
48
+ unknown
49
+ > = z.object({
50
+ success: types.boolean(),
51
+ });
52
+
53
+ export function deleteV1ContactSyncIdResponseFromJSON(
54
+ jsonString: string,
55
+ ): SafeParseResult<DeleteV1ContactSyncIdResponse, SDKValidationError> {
56
+ return safeParse(
57
+ jsonString,
58
+ (x) => DeleteV1ContactSyncIdResponse$inboundSchema.parse(JSON.parse(x)),
59
+ `Failed to parse 'DeleteV1ContactSyncIdResponse' from JSON`,
60
+ );
61
+ }
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type DeleteV1IntegrationsIdRequest = {
12
+ id: string;
13
+ };
14
+
15
+ /**
16
+ * Connection deleted
17
+ */
18
+ export type DeleteV1IntegrationsIdResponse = {
19
+ success: boolean;
20
+ };
21
+
22
+ /** @internal */
23
+ export type DeleteV1IntegrationsIdRequest$Outbound = {
24
+ id: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const DeleteV1IntegrationsIdRequest$outboundSchema: z.ZodMiniType<
29
+ DeleteV1IntegrationsIdRequest$Outbound,
30
+ DeleteV1IntegrationsIdRequest
31
+ > = z.object({
32
+ id: z.string(),
33
+ });
34
+
35
+ export function deleteV1IntegrationsIdRequestToJSON(
36
+ deleteV1IntegrationsIdRequest: DeleteV1IntegrationsIdRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ DeleteV1IntegrationsIdRequest$outboundSchema.parse(
40
+ deleteV1IntegrationsIdRequest,
41
+ ),
42
+ );
43
+ }
44
+
45
+ /** @internal */
46
+ export const DeleteV1IntegrationsIdResponse$inboundSchema: z.ZodMiniType<
47
+ DeleteV1IntegrationsIdResponse,
48
+ unknown
49
+ > = z.object({
50
+ success: types.boolean(),
51
+ });
52
+
53
+ export function deleteV1IntegrationsIdResponseFromJSON(
54
+ jsonString: string,
55
+ ): SafeParseResult<DeleteV1IntegrationsIdResponse, SDKValidationError> {
56
+ return safeParse(
57
+ jsonString,
58
+ (x) => DeleteV1IntegrationsIdResponse$inboundSchema.parse(JSON.parse(x)),
59
+ `Failed to parse 'DeleteV1IntegrationsIdResponse' from JSON`,
60
+ );
61
+ }
@@ -0,0 +1,59 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type DeleteV1TopicsIdRequest = {
12
+ id: string;
13
+ };
14
+
15
+ /**
16
+ * Topic deleted
17
+ */
18
+ export type DeleteV1TopicsIdResponse = {
19
+ success: boolean;
20
+ };
21
+
22
+ /** @internal */
23
+ export type DeleteV1TopicsIdRequest$Outbound = {
24
+ id: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const DeleteV1TopicsIdRequest$outboundSchema: z.ZodMiniType<
29
+ DeleteV1TopicsIdRequest$Outbound,
30
+ DeleteV1TopicsIdRequest
31
+ > = z.object({
32
+ id: z.string(),
33
+ });
34
+
35
+ export function deleteV1TopicsIdRequestToJSON(
36
+ deleteV1TopicsIdRequest: DeleteV1TopicsIdRequest,
37
+ ): string {
38
+ return JSON.stringify(
39
+ DeleteV1TopicsIdRequest$outboundSchema.parse(deleteV1TopicsIdRequest),
40
+ );
41
+ }
42
+
43
+ /** @internal */
44
+ export const DeleteV1TopicsIdResponse$inboundSchema: z.ZodMiniType<
45
+ DeleteV1TopicsIdResponse,
46
+ unknown
47
+ > = z.object({
48
+ success: types.boolean(),
49
+ });
50
+
51
+ export function deleteV1TopicsIdResponseFromJSON(
52
+ jsonString: string,
53
+ ): SafeParseResult<DeleteV1TopicsIdResponse, SDKValidationError> {
54
+ return safeParse(
55
+ jsonString,
56
+ (x) => DeleteV1TopicsIdResponse$inboundSchema.parse(JSON.parse(x)),
57
+ `Failed to parse 'DeleteV1TopicsIdResponse' from JSON`,
58
+ );
59
+ }
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Current usage
13
+ */
14
+ export type GetV1BillingUsageResponse = {
15
+ organizationId: string;
16
+ month: string;
17
+ transactionalEmails: number;
18
+ marketingEmails: number;
19
+ transactionalLimit: number | null;
20
+ marketingLimit: number | null;
21
+ transactionalPercentUsed: number;
22
+ marketingPercentUsed: number;
23
+ };
24
+
25
+ /** @internal */
26
+ export const GetV1BillingUsageResponse$inboundSchema: z.ZodMiniType<
27
+ GetV1BillingUsageResponse,
28
+ unknown
29
+ > = z.object({
30
+ organizationId: types.string(),
31
+ month: types.string(),
32
+ transactionalEmails: types.number(),
33
+ marketingEmails: types.number(),
34
+ transactionalLimit: types.nullable(types.number()),
35
+ marketingLimit: types.nullable(types.number()),
36
+ transactionalPercentUsed: types.number(),
37
+ marketingPercentUsed: types.number(),
38
+ });
39
+
40
+ export function getV1BillingUsageResponseFromJSON(
41
+ jsonString: string,
42
+ ): SafeParseResult<GetV1BillingUsageResponse, SDKValidationError> {
43
+ return safeParse(
44
+ jsonString,
45
+ (x) => GetV1BillingUsageResponse$inboundSchema.parse(JSON.parse(x)),
46
+ `Failed to parse 'GetV1BillingUsageResponse' from JSON`,
47
+ );
48
+ }