sequenzy 2.1.4 → 2.1.10

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 (299) hide show
  1. package/dist/cjs/api/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  2. package/dist/cjs/api/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
  3. package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +9 -0
  4. package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +12 -0
  5. package/dist/cjs/api/resources/companies/types/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/companies/types/index.js +1 -0
  7. package/dist/cjs/api/resources/emailComponents/client/Client.d.ts +21 -0
  8. package/dist/cjs/api/resources/emailComponents/client/Client.js +79 -0
  9. package/dist/cjs/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +12 -0
  10. package/dist/cjs/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +3 -0
  11. package/dist/cjs/api/resources/emailComponents/client/requests/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +5 -0
  13. package/dist/cjs/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +3 -0
  14. package/dist/cjs/api/resources/emailComponents/types/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/emailComponents/types/index.js +1 -0
  16. package/dist/cjs/api/resources/integrations/client/Client.d.ts +3 -3
  17. package/dist/cjs/api/resources/integrations/client/Client.js +3 -3
  18. package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +1 -1
  19. package/dist/cjs/api/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +9 -1
  20. package/dist/cjs/api/resources/push/client/Client.d.ts +97 -0
  21. package/dist/cjs/api/resources/push/client/Client.js +348 -0
  22. package/dist/cjs/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +27 -0
  23. package/dist/cjs/api/resources/push/client/requests/EndLiveActivityRequest.js +3 -0
  24. package/dist/cjs/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +17 -0
  25. package/dist/cjs/api/resources/push/client/requests/ListLiveActivitiesRequest.js +3 -0
  26. package/dist/cjs/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +30 -0
  27. package/dist/cjs/api/resources/push/client/requests/StartLiveActivityRequest.js +3 -0
  28. package/dist/cjs/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +27 -0
  29. package/dist/cjs/api/resources/push/client/requests/UpdateLiveActivityRequest.js +3 -0
  30. package/dist/cjs/api/resources/push/client/requests/index.d.ts +4 -0
  31. package/dist/cjs/api/resources/push/types/EndLiveActivityRequestPriority.d.ts +6 -0
  32. package/dist/cjs/api/resources/push/types/EndLiveActivityRequestPriority.js +9 -0
  33. package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestKind.d.ts +5 -0
  34. package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestKind.js +8 -0
  35. package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +6 -0
  36. package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestStatus.js +9 -0
  37. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponse.d.ts +8 -0
  38. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponse.js +3 -0
  39. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +9 -0
  40. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummary.js +3 -0
  41. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +5 -0
  42. package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +3 -0
  43. package/dist/cjs/api/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +6 -0
  44. package/dist/cjs/api/resources/push/types/UpdateLiveActivityRequestPriority.js +9 -0
  45. package/dist/cjs/api/resources/push/types/index.d.ts +7 -0
  46. package/dist/cjs/api/resources/push/types/index.js +7 -0
  47. package/dist/cjs/api/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  48. package/dist/cjs/api/types/Company.d.ts +2 -0
  49. package/dist/cjs/api/types/CompanyFooterStyle.d.ts +9 -0
  50. package/dist/cjs/api/types/CompanyFooterStyle.js +12 -0
  51. package/dist/cjs/api/types/IntegrationAttioMapping.d.ts +18 -4
  52. package/dist/cjs/api/types/IntegrationAttioMappingInbound.d.ts +14 -0
  53. package/dist/cjs/api/types/IntegrationAttioMappingInbound.js +3 -0
  54. package/dist/cjs/api/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  55. package/dist/cjs/api/types/IntegrationAttioMappingInboundStatus.js +10 -0
  56. package/dist/cjs/api/types/IntegrationDetailIntegration.d.ts +1 -1
  57. package/dist/cjs/api/types/IntegrationSummary.d.ts +1 -1
  58. package/dist/cjs/api/types/LiveActivityAlert.d.ts +9 -0
  59. package/dist/cjs/api/types/LiveActivityAlert.js +3 -0
  60. package/dist/cjs/api/types/LiveActivityDispatch.d.ts +11 -0
  61. package/dist/cjs/api/types/LiveActivityDispatch.js +3 -0
  62. package/dist/cjs/api/types/LiveActivityDispatchEvent.d.ts +6 -0
  63. package/dist/cjs/api/types/LiveActivityDispatchEvent.js +9 -0
  64. package/dist/cjs/api/types/LiveActivityTime.d.ts +4 -0
  65. package/dist/cjs/api/types/LiveActivityTime.js +3 -0
  66. package/dist/cjs/api/types/LiveActivityToken.d.ts +25 -0
  67. package/dist/cjs/api/types/LiveActivityToken.js +3 -0
  68. package/dist/cjs/api/types/LiveActivityTokenKind.d.ts +6 -0
  69. package/dist/cjs/api/types/LiveActivityTokenKind.js +9 -0
  70. package/dist/cjs/api/types/LiveActivityTokenStatus.d.ts +6 -0
  71. package/dist/cjs/api/types/LiveActivityTokenStatus.js +9 -0
  72. package/dist/cjs/api/types/SequenceAudience.d.ts +3 -0
  73. package/dist/cjs/api/types/SequenceAudienceEnrollment.d.ts +2 -0
  74. package/dist/cjs/api/types/index.d.ts +10 -0
  75. package/dist/cjs/api/types/index.js +10 -0
  76. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  77. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.js +2 -0
  78. package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
  79. package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +2 -0
  80. package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +7 -0
  81. package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +29 -0
  82. package/dist/cjs/serialization/resources/companies/types/index.d.ts +1 -0
  83. package/dist/cjs/serialization/resources/companies/types/index.js +1 -0
  84. package/dist/cjs/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +9 -0
  85. package/dist/cjs/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +31 -0
  86. package/dist/cjs/serialization/resources/emailComponents/client/requests/index.d.ts +1 -0
  87. package/dist/cjs/serialization/resources/emailComponents/client/requests/index.js +3 -1
  88. package/dist/cjs/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +11 -0
  89. package/dist/cjs/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +33 -0
  90. package/dist/cjs/serialization/resources/emailComponents/types/index.d.ts +1 -0
  91. package/dist/cjs/serialization/resources/emailComponents/types/index.js +1 -0
  92. package/dist/cjs/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +4 -0
  93. package/dist/cjs/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.js +4 -0
  94. package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +20 -0
  95. package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.js +42 -0
  96. package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +19 -0
  97. package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.js +41 -0
  98. package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +19 -0
  99. package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +41 -0
  100. package/dist/cjs/serialization/resources/push/client/requests/index.d.ts +3 -0
  101. package/dist/cjs/serialization/resources/push/client/requests/index.js +7 -1
  102. package/dist/cjs/serialization/resources/push/types/EndLiveActivityRequestPriority.d.ts +7 -0
  103. package/dist/cjs/serialization/resources/push/types/EndLiveActivityRequestPriority.js +29 -0
  104. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestKind.d.ts +7 -0
  105. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestKind.js +29 -0
  106. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +7 -0
  107. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestStatus.js +29 -0
  108. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponse.d.ts +14 -0
  109. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponse.js +36 -0
  110. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +12 -0
  111. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummary.js +34 -0
  112. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +11 -0
  113. package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +33 -0
  114. package/dist/cjs/serialization/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +7 -0
  115. package/dist/cjs/serialization/resources/push/types/UpdateLiveActivityRequestPriority.js +29 -0
  116. package/dist/cjs/serialization/resources/push/types/index.d.ts +7 -0
  117. package/dist/cjs/serialization/resources/push/types/index.js +7 -0
  118. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  119. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.js +2 -0
  120. package/dist/cjs/serialization/types/Company.d.ts +2 -0
  121. package/dist/cjs/serialization/types/Company.js +2 -0
  122. package/dist/cjs/serialization/types/CompanyFooterStyle.d.ts +7 -0
  123. package/dist/cjs/serialization/types/CompanyFooterStyle.js +29 -0
  124. package/dist/cjs/serialization/types/IntegrationAttioMapping.d.ts +8 -0
  125. package/dist/cjs/serialization/types/IntegrationAttioMapping.js +8 -0
  126. package/dist/cjs/serialization/types/IntegrationAttioMappingInbound.d.ts +13 -0
  127. package/dist/cjs/serialization/types/IntegrationAttioMappingInbound.js +35 -0
  128. package/dist/cjs/serialization/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  129. package/dist/cjs/serialization/types/IntegrationAttioMappingInboundStatus.js +29 -0
  130. package/dist/cjs/serialization/types/LiveActivityAlert.d.ts +11 -0
  131. package/dist/cjs/serialization/types/LiveActivityAlert.js +33 -0
  132. package/dist/cjs/serialization/types/LiveActivityDispatch.d.ts +15 -0
  133. package/dist/cjs/serialization/types/LiveActivityDispatch.js +37 -0
  134. package/dist/cjs/serialization/types/LiveActivityDispatchEvent.d.ts +7 -0
  135. package/dist/cjs/serialization/types/LiveActivityDispatchEvent.js +29 -0
  136. package/dist/cjs/serialization/types/LiveActivityTime.d.ts +7 -0
  137. package/dist/cjs/serialization/types/LiveActivityTime.js +29 -0
  138. package/dist/cjs/serialization/types/LiveActivityToken.d.ts +25 -0
  139. package/dist/cjs/serialization/types/LiveActivityToken.js +47 -0
  140. package/dist/cjs/serialization/types/LiveActivityTokenKind.d.ts +7 -0
  141. package/dist/cjs/serialization/types/LiveActivityTokenKind.js +29 -0
  142. package/dist/cjs/serialization/types/LiveActivityTokenStatus.d.ts +7 -0
  143. package/dist/cjs/serialization/types/LiveActivityTokenStatus.js +29 -0
  144. package/dist/cjs/serialization/types/SequenceAudience.d.ts +1 -0
  145. package/dist/cjs/serialization/types/SequenceAudience.js +1 -0
  146. package/dist/cjs/serialization/types/SequenceAudienceEnrollment.d.ts +1 -0
  147. package/dist/cjs/serialization/types/SequenceAudienceEnrollment.js +1 -0
  148. package/dist/cjs/serialization/types/index.d.ts +10 -0
  149. package/dist/cjs/serialization/types/index.js +10 -0
  150. package/dist/esm/api/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  151. package/dist/esm/api/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
  152. package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +9 -0
  153. package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +9 -0
  154. package/dist/esm/api/resources/companies/types/index.d.ts +1 -0
  155. package/dist/esm/api/resources/companies/types/index.js +1 -0
  156. package/dist/esm/api/resources/emailComponents/client/Client.d.ts +21 -0
  157. package/dist/esm/api/resources/emailComponents/client/Client.js +79 -0
  158. package/dist/esm/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +12 -0
  159. package/dist/esm/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +2 -0
  160. package/dist/esm/api/resources/emailComponents/client/requests/index.d.ts +1 -0
  161. package/dist/esm/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +5 -0
  162. package/dist/esm/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +2 -0
  163. package/dist/esm/api/resources/emailComponents/types/index.d.ts +1 -0
  164. package/dist/esm/api/resources/emailComponents/types/index.js +1 -0
  165. package/dist/esm/api/resources/integrations/client/Client.d.ts +3 -3
  166. package/dist/esm/api/resources/integrations/client/Client.js +3 -3
  167. package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +1 -1
  168. package/dist/esm/api/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +9 -1
  169. package/dist/esm/api/resources/push/client/Client.d.ts +97 -0
  170. package/dist/esm/api/resources/push/client/Client.js +348 -0
  171. package/dist/esm/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +27 -0
  172. package/dist/esm/api/resources/push/client/requests/EndLiveActivityRequest.js +2 -0
  173. package/dist/esm/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +17 -0
  174. package/dist/esm/api/resources/push/client/requests/ListLiveActivitiesRequest.js +2 -0
  175. package/dist/esm/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +30 -0
  176. package/dist/esm/api/resources/push/client/requests/StartLiveActivityRequest.js +2 -0
  177. package/dist/esm/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +27 -0
  178. package/dist/esm/api/resources/push/client/requests/UpdateLiveActivityRequest.js +2 -0
  179. package/dist/esm/api/resources/push/client/requests/index.d.ts +4 -0
  180. package/dist/esm/api/resources/push/types/EndLiveActivityRequestPriority.d.ts +6 -0
  181. package/dist/esm/api/resources/push/types/EndLiveActivityRequestPriority.js +6 -0
  182. package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestKind.d.ts +5 -0
  183. package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestKind.js +5 -0
  184. package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +6 -0
  185. package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestStatus.js +6 -0
  186. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponse.d.ts +8 -0
  187. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponse.js +2 -0
  188. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +9 -0
  189. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummary.js +2 -0
  190. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +5 -0
  191. package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +2 -0
  192. package/dist/esm/api/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +6 -0
  193. package/dist/esm/api/resources/push/types/UpdateLiveActivityRequestPriority.js +6 -0
  194. package/dist/esm/api/resources/push/types/index.d.ts +7 -0
  195. package/dist/esm/api/resources/push/types/index.js +7 -0
  196. package/dist/esm/api/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  197. package/dist/esm/api/types/Company.d.ts +2 -0
  198. package/dist/esm/api/types/CompanyFooterStyle.d.ts +9 -0
  199. package/dist/esm/api/types/CompanyFooterStyle.js +9 -0
  200. package/dist/esm/api/types/IntegrationAttioMapping.d.ts +18 -4
  201. package/dist/esm/api/types/IntegrationAttioMappingInbound.d.ts +14 -0
  202. package/dist/esm/api/types/IntegrationAttioMappingInbound.js +2 -0
  203. package/dist/esm/api/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  204. package/dist/esm/api/types/IntegrationAttioMappingInboundStatus.js +7 -0
  205. package/dist/esm/api/types/IntegrationDetailIntegration.d.ts +1 -1
  206. package/dist/esm/api/types/IntegrationSummary.d.ts +1 -1
  207. package/dist/esm/api/types/LiveActivityAlert.d.ts +9 -0
  208. package/dist/esm/api/types/LiveActivityAlert.js +2 -0
  209. package/dist/esm/api/types/LiveActivityDispatch.d.ts +11 -0
  210. package/dist/esm/api/types/LiveActivityDispatch.js +2 -0
  211. package/dist/esm/api/types/LiveActivityDispatchEvent.d.ts +6 -0
  212. package/dist/esm/api/types/LiveActivityDispatchEvent.js +6 -0
  213. package/dist/esm/api/types/LiveActivityTime.d.ts +4 -0
  214. package/dist/esm/api/types/LiveActivityTime.js +2 -0
  215. package/dist/esm/api/types/LiveActivityToken.d.ts +25 -0
  216. package/dist/esm/api/types/LiveActivityToken.js +2 -0
  217. package/dist/esm/api/types/LiveActivityTokenKind.d.ts +6 -0
  218. package/dist/esm/api/types/LiveActivityTokenKind.js +6 -0
  219. package/dist/esm/api/types/LiveActivityTokenStatus.d.ts +6 -0
  220. package/dist/esm/api/types/LiveActivityTokenStatus.js +6 -0
  221. package/dist/esm/api/types/SequenceAudience.d.ts +3 -0
  222. package/dist/esm/api/types/SequenceAudienceEnrollment.d.ts +2 -0
  223. package/dist/esm/api/types/index.d.ts +10 -0
  224. package/dist/esm/api/types/index.js +10 -0
  225. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  226. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.js +2 -0
  227. package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
  228. package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +2 -0
  229. package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +7 -0
  230. package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +3 -0
  231. package/dist/esm/serialization/resources/companies/types/index.d.ts +1 -0
  232. package/dist/esm/serialization/resources/companies/types/index.js +1 -0
  233. package/dist/esm/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +9 -0
  234. package/dist/esm/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +5 -0
  235. package/dist/esm/serialization/resources/emailComponents/client/requests/index.d.ts +1 -0
  236. package/dist/esm/serialization/resources/emailComponents/client/requests/index.js +1 -0
  237. package/dist/esm/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +11 -0
  238. package/dist/esm/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +7 -0
  239. package/dist/esm/serialization/resources/emailComponents/types/index.d.ts +1 -0
  240. package/dist/esm/serialization/resources/emailComponents/types/index.js +1 -0
  241. package/dist/esm/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +4 -0
  242. package/dist/esm/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.js +4 -0
  243. package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +20 -0
  244. package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.js +16 -0
  245. package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +19 -0
  246. package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.js +15 -0
  247. package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +19 -0
  248. package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +15 -0
  249. package/dist/esm/serialization/resources/push/client/requests/index.d.ts +3 -0
  250. package/dist/esm/serialization/resources/push/client/requests/index.js +3 -0
  251. package/dist/esm/serialization/resources/push/types/EndLiveActivityRequestPriority.d.ts +7 -0
  252. package/dist/esm/serialization/resources/push/types/EndLiveActivityRequestPriority.js +3 -0
  253. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestKind.d.ts +7 -0
  254. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestKind.js +3 -0
  255. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +7 -0
  256. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestStatus.js +3 -0
  257. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponse.d.ts +14 -0
  258. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponse.js +10 -0
  259. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +12 -0
  260. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummary.js +8 -0
  261. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +11 -0
  262. package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +7 -0
  263. package/dist/esm/serialization/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +7 -0
  264. package/dist/esm/serialization/resources/push/types/UpdateLiveActivityRequestPriority.js +3 -0
  265. package/dist/esm/serialization/resources/push/types/index.d.ts +7 -0
  266. package/dist/esm/serialization/resources/push/types/index.js +7 -0
  267. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  268. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.js +2 -0
  269. package/dist/esm/serialization/types/Company.d.ts +2 -0
  270. package/dist/esm/serialization/types/Company.js +2 -0
  271. package/dist/esm/serialization/types/CompanyFooterStyle.d.ts +7 -0
  272. package/dist/esm/serialization/types/CompanyFooterStyle.js +3 -0
  273. package/dist/esm/serialization/types/IntegrationAttioMapping.d.ts +8 -0
  274. package/dist/esm/serialization/types/IntegrationAttioMapping.js +8 -0
  275. package/dist/esm/serialization/types/IntegrationAttioMappingInbound.d.ts +13 -0
  276. package/dist/esm/serialization/types/IntegrationAttioMappingInbound.js +9 -0
  277. package/dist/esm/serialization/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  278. package/dist/esm/serialization/types/IntegrationAttioMappingInboundStatus.js +3 -0
  279. package/dist/esm/serialization/types/LiveActivityAlert.d.ts +11 -0
  280. package/dist/esm/serialization/types/LiveActivityAlert.js +7 -0
  281. package/dist/esm/serialization/types/LiveActivityDispatch.d.ts +15 -0
  282. package/dist/esm/serialization/types/LiveActivityDispatch.js +11 -0
  283. package/dist/esm/serialization/types/LiveActivityDispatchEvent.d.ts +7 -0
  284. package/dist/esm/serialization/types/LiveActivityDispatchEvent.js +3 -0
  285. package/dist/esm/serialization/types/LiveActivityTime.d.ts +7 -0
  286. package/dist/esm/serialization/types/LiveActivityTime.js +3 -0
  287. package/dist/esm/serialization/types/LiveActivityToken.d.ts +25 -0
  288. package/dist/esm/serialization/types/LiveActivityToken.js +21 -0
  289. package/dist/esm/serialization/types/LiveActivityTokenKind.d.ts +7 -0
  290. package/dist/esm/serialization/types/LiveActivityTokenKind.js +3 -0
  291. package/dist/esm/serialization/types/LiveActivityTokenStatus.d.ts +7 -0
  292. package/dist/esm/serialization/types/LiveActivityTokenStatus.js +3 -0
  293. package/dist/esm/serialization/types/SequenceAudience.d.ts +1 -0
  294. package/dist/esm/serialization/types/SequenceAudience.js +1 -0
  295. package/dist/esm/serialization/types/SequenceAudienceEnrollment.d.ts +1 -0
  296. package/dist/esm/serialization/types/SequenceAudienceEnrollment.js +1 -0
  297. package/dist/esm/serialization/types/index.d.ts +10 -0
  298. package/dist/esm/serialization/types/index.js +10 -0
  299. package/package.json +1 -1
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.LiveActivityTokenStatus = void 0;
28
+ const core = __importStar(require("../../core/index.js"));
29
+ exports.LiveActivityTokenStatus = core.serialization.enum_(["active", "ended", "invalid"]);
@@ -11,6 +11,7 @@ export declare namespace SequenceAudience {
11
11
  filterJoinOperator?: SequenceAudienceFilterJoinOperator.Raw | null;
12
12
  filters?: Record<string, unknown>[] | null;
13
13
  include?: Record<string, unknown>[] | null;
14
+ includedSubscriberIds?: string[] | null;
14
15
  listIds?: string[] | null;
15
16
  segmentId?: string | null;
16
17
  type: SequenceAudienceType.Raw;
@@ -40,6 +40,7 @@ exports.SequenceAudience = core.serialization.object({
40
40
  include: core.serialization
41
41
  .list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
42
42
  .optional(),
43
+ includedSubscriberIds: core.serialization.list(core.serialization.string()).optional(),
43
44
  listIds: core.serialization.list(core.serialization.string()).optional(),
44
45
  segmentId: core.serialization.string().optional(),
45
46
  type: SequenceAudienceType_js_1.SequenceAudienceType,
@@ -15,6 +15,7 @@ export declare namespace SequenceAudienceEnrollment {
15
15
  error?: (string | null | undefined) | null;
16
16
  estimatedCount?: number | null;
17
17
  id?: string | null;
18
+ includedSubscriberCount?: number | null;
18
19
  processedCount?: number | null;
19
20
  scheduledFor?: (string | null | undefined) | null;
20
21
  sequenceId?: string | null;
@@ -38,6 +38,7 @@ exports.SequenceAudienceEnrollment = core.serialization.object({
38
38
  error: core.serialization.string().optionalNullable(),
39
39
  estimatedCount: core.serialization.number().optional(),
40
40
  id: core.serialization.string().optional(),
41
+ includedSubscriberCount: core.serialization.number().optional(),
41
42
  processedCount: core.serialization.number().optional(),
42
43
  scheduledFor: core.serialization.date().optionalNullable(),
43
44
  sequenceId: core.serialization.string().optional(),
@@ -145,6 +145,7 @@ export * from "./CompanyEmailBrandingSubscriptionTier.js";
145
145
  export * from "./CompanyEmailLengthPreference.js";
146
146
  export * from "./CompanyEmailPreset.js";
147
147
  export * from "./CompanyEmailStylePreference.js";
148
+ export * from "./CompanyFooterStyle.js";
148
149
  export * from "./CompanyGoal.js";
149
150
  export * from "./CompanyGoalAttributeCondition.js";
150
151
  export * from "./CompanyGoalScope.js";
@@ -323,6 +324,8 @@ export * from "./IntegrationActivityEntry.js";
323
324
  export * from "./IntegrationActivityEntryStatus.js";
324
325
  export * from "./IntegrationAttioMapping.js";
325
326
  export * from "./IntegrationAttioMappingAttioListsItem.js";
327
+ export * from "./IntegrationAttioMappingInbound.js";
328
+ export * from "./IntegrationAttioMappingInboundStatus.js";
326
329
  export * from "./IntegrationAttioMappingSequenzyListsItem.js";
327
330
  export * from "./IntegrationDetail.js";
328
331
  export * from "./IntegrationDetailActivity.js";
@@ -445,6 +448,13 @@ export * from "./LandingPageVideoBlockAspectRatio.js";
445
448
  export * from "./LandingPageVideoBlockSlot.js";
446
449
  export * from "./LinkClickBreakdown.js";
447
450
  export * from "./LinkClickBreakdownLinksItem.js";
451
+ export * from "./LiveActivityAlert.js";
452
+ export * from "./LiveActivityDispatch.js";
453
+ export * from "./LiveActivityDispatchEvent.js";
454
+ export * from "./LiveActivityTime.js";
455
+ export * from "./LiveActivityToken.js";
456
+ export * from "./LiveActivityTokenKind.js";
457
+ export * from "./LiveActivityTokenStatus.js";
448
458
  export * from "./NotFoundErrorBody.js";
449
459
  export * from "./NotFoundErrorBodyError.js";
450
460
  export * from "./NotificationPreference.js";
@@ -161,6 +161,7 @@ __exportStar(require("./CompanyEmailBrandingSubscriptionTier.js"), exports);
161
161
  __exportStar(require("./CompanyEmailLengthPreference.js"), exports);
162
162
  __exportStar(require("./CompanyEmailPreset.js"), exports);
163
163
  __exportStar(require("./CompanyEmailStylePreference.js"), exports);
164
+ __exportStar(require("./CompanyFooterStyle.js"), exports);
164
165
  __exportStar(require("./CompanyGoal.js"), exports);
165
166
  __exportStar(require("./CompanyGoalAttributeCondition.js"), exports);
166
167
  __exportStar(require("./CompanyGoalScope.js"), exports);
@@ -339,6 +340,8 @@ __exportStar(require("./IntegrationActivityEntry.js"), exports);
339
340
  __exportStar(require("./IntegrationActivityEntryStatus.js"), exports);
340
341
  __exportStar(require("./IntegrationAttioMapping.js"), exports);
341
342
  __exportStar(require("./IntegrationAttioMappingAttioListsItem.js"), exports);
343
+ __exportStar(require("./IntegrationAttioMappingInbound.js"), exports);
344
+ __exportStar(require("./IntegrationAttioMappingInboundStatus.js"), exports);
342
345
  __exportStar(require("./IntegrationAttioMappingSequenzyListsItem.js"), exports);
343
346
  __exportStar(require("./IntegrationDetail.js"), exports);
344
347
  __exportStar(require("./IntegrationDetailActivity.js"), exports);
@@ -461,6 +464,13 @@ __exportStar(require("./LandingPageVideoBlockAspectRatio.js"), exports);
461
464
  __exportStar(require("./LandingPageVideoBlockSlot.js"), exports);
462
465
  __exportStar(require("./LinkClickBreakdown.js"), exports);
463
466
  __exportStar(require("./LinkClickBreakdownLinksItem.js"), exports);
467
+ __exportStar(require("./LiveActivityAlert.js"), exports);
468
+ __exportStar(require("./LiveActivityDispatch.js"), exports);
469
+ __exportStar(require("./LiveActivityDispatchEvent.js"), exports);
470
+ __exportStar(require("./LiveActivityTime.js"), exports);
471
+ __exportStar(require("./LiveActivityToken.js"), exports);
472
+ __exportStar(require("./LiveActivityTokenKind.js"), exports);
473
+ __exportStar(require("./LiveActivityTokenStatus.js"), exports);
464
474
  __exportStar(require("./NotFoundErrorBody.js"), exports);
465
475
  __exportStar(require("./NotFoundErrorBodyError.js"), exports);
466
476
  __exportStar(require("./NotificationPreference.js"), exports);
@@ -6,6 +6,8 @@ export interface GetSequenceMetricsResponseStepsItem {
6
6
  failedSubscribers?: Sequenzy.GetSequenceMetricsResponseStepsItemFailedSubscribersItem[];
7
7
  /** Node ID for this email step */
8
8
  nodeId?: string;
9
+ /** Lifetime Poll and NPS summaries for this step, in the same shape as the campaign stats polls. Each subscriber counts once per poll block with their latest answer. Not limited by period, start or end. Omitted when the step has no responses. Pass nodeId as the campaign ID to the poll-responses endpoint to list the individual respondents. */
10
+ polls?: Sequenzy.PollResultsSummary[];
9
11
  stats?: Sequenzy.EngagementStats;
10
12
  /** Step number (1-indexed) */
11
13
  step?: number;
@@ -26,6 +26,8 @@ export interface UpdateCompaniesRequest {
26
26
  /** Default email theme. Partial update - omitted fields keep their current value (or the preset default) and numeric values are clamped to supported ranges. Pass null to reset to the platform default theme. */
27
27
  emailTheme?: Sequenzy.UpdateCompaniesRequestEmailTheme | null;
28
28
  fontFamily?: string | null;
29
+ /** Footer style for new AI-designed emails: `auto` (fits the brand), `classic`, `mono`, `band` or `editorial`. Kept in the stored footer theme, alongside its other settings. Existing emails keep their footers. Other values return 400. */
30
+ footerStyle?: Sequenzy.UpdateCompaniesRequestFooterStyle;
29
31
  /** Enable or disable forwarding captured replies to the configured mailbox. */
30
32
  forwardReplies?: boolean;
31
33
  founderName?: string | null;
@@ -0,0 +1,9 @@
1
+ /** Footer style for new AI-designed emails: `auto` (fits the brand), `classic`, `mono`, `band` or `editorial`. Kept in the stored footer theme, alongside its other settings. Existing emails keep their footers. Other values return 400. */
2
+ export declare const UpdateCompaniesRequestFooterStyle: {
3
+ readonly Auto: "auto";
4
+ readonly Classic: "classic";
5
+ readonly Mono: "mono";
6
+ readonly Band: "band";
7
+ readonly Editorial: "editorial";
8
+ };
9
+ export type UpdateCompaniesRequestFooterStyle = (typeof UpdateCompaniesRequestFooterStyle)[keyof typeof UpdateCompaniesRequestFooterStyle];
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Footer style for new AI-designed emails: `auto` (fits the brand), `classic`, `mono`, `band` or `editorial`. Kept in the stored footer theme, alongside its other settings. Existing emails keep their footers. Other values return 400. */
3
+ export const UpdateCompaniesRequestFooterStyle = {
4
+ Auto: "auto",
5
+ Classic: "classic",
6
+ Mono: "mono",
7
+ Band: "band",
8
+ Editorial: "editorial",
9
+ };
@@ -12,5 +12,6 @@ export * from "./UpdateCompaniesRequestEmailThemeColors.js";
12
12
  export * from "./UpdateCompaniesRequestEmailThemeLayout.js";
13
13
  export * from "./UpdateCompaniesRequestEmailThemePresetId.js";
14
14
  export * from "./UpdateCompaniesRequestEmailThemeTypography.js";
15
+ export * from "./UpdateCompaniesRequestFooterStyle.js";
15
16
  export * from "./UpdateCompaniesRequestReplyTrackingDomainMode.js";
16
17
  export * from "./UpdateCompaniesResponse.js";
@@ -12,5 +12,6 @@ export * from "./UpdateCompaniesRequestEmailThemeColors.js";
12
12
  export * from "./UpdateCompaniesRequestEmailThemeLayout.js";
13
13
  export * from "./UpdateCompaniesRequestEmailThemePresetId.js";
14
14
  export * from "./UpdateCompaniesRequestEmailThemeTypography.js";
15
+ export * from "./UpdateCompaniesRequestFooterStyle.js";
15
16
  export * from "./UpdateCompaniesRequestReplyTrackingDomainMode.js";
16
17
  export * from "./UpdateCompaniesResponse.js";
@@ -54,6 +54,27 @@ export declare class EmailComponentsClient {
54
54
  */
55
55
  delete(request: Sequenzy.DeleteEmailComponentsRequest, requestOptions?: EmailComponentsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DeleteEmailComponentsResponse>;
56
56
  private __delete;
57
+ /**
58
+ * Creates a new component with the same description, type and blocks as an existing one. Without a name, the copy is called "<name> (Copy)", or "<name> (Copy 2)" and so on when that name is taken. Duplicating a copy keeps a single "(Copy N)" suffix. The copy is never pinned as a default, so duplicating the default footer gives a regular component.
59
+ *
60
+ * @param {Sequenzy.DuplicateEmailComponentsRequest} request
61
+ * @param {EmailComponentsClient.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @throws {@link Sequenzy.BadRequestError}
64
+ * @throws {@link Sequenzy.UnauthorizedError}
65
+ * @throws {@link Sequenzy.NotFoundError}
66
+ * @throws {@link Sequenzy.ConflictError}
67
+ * @throws {@link Sequenzy.ServiceUnavailableError}
68
+ * @throws {@link errors.SequenzyError}
69
+ * @throws {@link errors.SequenzyTimeoutError}
70
+ *
71
+ * @example
72
+ * await client.emailComponents.duplicate({
73
+ * componentId: "componentId"
74
+ * })
75
+ */
76
+ duplicate(request: Sequenzy.DuplicateEmailComponentsRequest, requestOptions?: EmailComponentsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DuplicateEmailComponentsResponse>;
77
+ private __duplicate;
57
78
  /**
58
79
  * Returns a single email component by id.
59
80
  *
@@ -157,6 +157,85 @@ export class EmailComponentsClient {
157
157
  }
158
158
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/email-components/{componentId}");
159
159
  }
160
+ /**
161
+ * Creates a new component with the same description, type and blocks as an existing one. Without a name, the copy is called "<name> (Copy)", or "<name> (Copy 2)" and so on when that name is taken. Duplicating a copy keeps a single "(Copy N)" suffix. The copy is never pinned as a default, so duplicating the default footer gives a regular component.
162
+ *
163
+ * @param {Sequenzy.DuplicateEmailComponentsRequest} request
164
+ * @param {EmailComponentsClient.RequestOptions} requestOptions - Request-specific configuration.
165
+ *
166
+ * @throws {@link Sequenzy.BadRequestError}
167
+ * @throws {@link Sequenzy.UnauthorizedError}
168
+ * @throws {@link Sequenzy.NotFoundError}
169
+ * @throws {@link Sequenzy.ConflictError}
170
+ * @throws {@link Sequenzy.ServiceUnavailableError}
171
+ * @throws {@link errors.SequenzyError}
172
+ * @throws {@link errors.SequenzyTimeoutError}
173
+ *
174
+ * @example
175
+ * await client.emailComponents.duplicate({
176
+ * componentId: "componentId"
177
+ * })
178
+ */
179
+ duplicate(request, requestOptions) {
180
+ return core.HttpResponsePromise.fromPromise(this.__duplicate(request, requestOptions));
181
+ }
182
+ async __duplicate(request, requestOptions) {
183
+ const { componentId, ..._body } = request;
184
+ const _authRequest = await this._options.authProvider.getAuthRequest();
185
+ const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
186
+ const _response = await core.fetcher({
187
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
188
+ (await core.Supplier.get(this._options.environment)) ??
189
+ environments.SequenzyEnvironment.Default, `email-components/${core.url.encodePathParam(componentId)}/duplicate`),
190
+ method: "POST",
191
+ headers: _headers,
192
+ contentType: "application/json",
193
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
194
+ requestType: "json",
195
+ body: mergeAdditionalBodyParameters(serializers.DuplicateEmailComponentsRequest.jsonOrThrow(_body, {
196
+ unrecognizedObjectKeys: "strip",
197
+ omitUndefined: true,
198
+ }), requestOptions?.additionalBodyParameters),
199
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
200
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
201
+ abortSignal: requestOptions?.abortSignal,
202
+ fetchFn: this._options?.fetch,
203
+ logging: this._options.logging,
204
+ });
205
+ if (_response.ok) {
206
+ return {
207
+ data: serializers.DuplicateEmailComponentsResponse.parseOrThrow(_response.body, {
208
+ unrecognizedObjectKeys: "passthrough",
209
+ allowUnrecognizedUnionMembers: true,
210
+ allowUnrecognizedEnumValues: true,
211
+ skipValidation: true,
212
+ breadcrumbsPrefix: ["response"],
213
+ }),
214
+ rawResponse: _response.rawResponse,
215
+ };
216
+ }
217
+ if (_response.error.reason === "status-code") {
218
+ switch (_response.error.statusCode) {
219
+ case 400:
220
+ throw new Sequenzy.BadRequestError(_response.error.body, _response.rawResponse);
221
+ case 401:
222
+ throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
223
+ case 404:
224
+ throw new Sequenzy.NotFoundError(_response.error.body, _response.rawResponse);
225
+ case 409:
226
+ throw new Sequenzy.ConflictError(_response.error.body, _response.rawResponse);
227
+ case 503:
228
+ throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
229
+ default:
230
+ throw new errors.SequenzyError({
231
+ statusCode: _response.error.statusCode,
232
+ body: _response.error.body,
233
+ rawResponse: _response.rawResponse,
234
+ });
235
+ }
236
+ }
237
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/email-components/{componentId}/duplicate");
238
+ }
160
239
  /**
161
240
  * Returns a single email component by id.
162
241
  *
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * componentId: "componentId"
5
+ * }
6
+ */
7
+ export interface DuplicateEmailComponentsRequest {
8
+ /** ID of the component to copy. */
9
+ componentId: string;
10
+ /** Name for the copy, unique within the company. Omit it to use the default copy name. */
11
+ name?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,6 @@
1
1
  export type { CreateEmailComponentsRequest } from "./CreateEmailComponentsRequest.js";
2
2
  export type { DeleteEmailComponentsRequest } from "./DeleteEmailComponentsRequest.js";
3
+ export type { DuplicateEmailComponentsRequest } from "./DuplicateEmailComponentsRequest.js";
3
4
  export type { GetDefaultEmailComponentsRequest } from "./GetDefaultEmailComponentsRequest.js";
4
5
  export type { GetEmailComponentsRequest } from "./GetEmailComponentsRequest.js";
5
6
  export type { ListEmailComponentsRequest } from "./ListEmailComponentsRequest.js";
@@ -0,0 +1,5 @@
1
+ import type * as Sequenzy from "../../../index.js";
2
+ export interface DuplicateEmailComponentsResponse {
3
+ component?: Sequenzy.EmailComponent;
4
+ success?: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,6 +1,7 @@
1
1
  export * from "./CreateEmailComponentsRequestComponentType.js";
2
2
  export * from "./CreateEmailComponentsResponse.js";
3
3
  export * from "./DeleteEmailComponentsResponse.js";
4
+ export * from "./DuplicateEmailComponentsResponse.js";
4
5
  export * from "./GetDefaultEmailComponentsRequestSlot.js";
5
6
  export * from "./GetDefaultEmailComponentsResponse.js";
6
7
  export * from "./GetEmailComponentsResponse.js";
@@ -1,6 +1,7 @@
1
1
  export * from "./CreateEmailComponentsRequestComponentType.js";
2
2
  export * from "./CreateEmailComponentsResponse.js";
3
3
  export * from "./DeleteEmailComponentsResponse.js";
4
+ export * from "./DuplicateEmailComponentsResponse.js";
4
5
  export * from "./GetDefaultEmailComponentsRequestSlot.js";
5
6
  export * from "./GetDefaultEmailComponentsResponse.js";
6
7
  export * from "./GetEmailComponentsResponse.js";
@@ -30,7 +30,7 @@ export declare class IntegrationsClient {
30
30
  activatePixel(request: Sequenzy.ActivatePixelIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ActivatePixelIntegrationsResponse>;
31
31
  private __activatePixel;
32
32
  /**
33
- * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or attio. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio is outbound-only. Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
33
+ * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or attio. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
34
34
  *
35
35
  * @param {Sequenzy.ConnectIntegrationsRequest} request
36
36
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -92,7 +92,7 @@ export declare class IntegrationsClient {
92
92
  get(request: Sequenzy.GetIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.IntegrationDetail>;
93
93
  private __get;
94
94
  /**
95
- * Reads a connected Attio integration's saved Sequenzy-to-Attio list map, this company's Sequenzy lists, and live Attio people-lists using the stored access token. Call this before updating mappings so you have Attio list ids or slugs. Attio only. Requires the account:read and lists:read scopes.
95
+ * Reads a connected Attio integration's two-way sync settings (every saved map in both directions, syncRemovals, inbound sync health), this company's Sequenzy lists, and live Attio people-lists using the stored access token. Tag names are not included; use the tags API. Call this before updating mappings so you have Attio list ids or slugs. Attio only. Requires the account:read and lists:read scopes.
96
96
  *
97
97
  * @param {Sequenzy.GetAttioMappingRequest} request
98
98
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -202,7 +202,7 @@ export declare class IntegrationsClient {
202
202
  sync(request: Sequenzy.SyncIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SyncIntegrationsResponse>;
203
203
  private __sync;
204
204
  /**
205
- * Saves Sequenzy-to-Attio list mappings and/or company-matching on an already-connected Attio integration using the stored access token. Does not require the secret again. listMap is a full replacement when provided; an empty object clears every mapping. Provide at least one of listMap or syncCompanyFromDomain. Idempotent. Attio only. Requires the integrations:manage scope.
205
+ * Saves the two-way sync of an already-connected Attio integration using the stored access token. listMap and tagMap push Sequenzy lists and tags to Attio lists; inboundListMap and inboundTagMap pull Attio lists into Sequenzy lists and tags, which creates or updates subscribers and triggers list and tag automations. Saving an inbound map registers an Attio webhook with the stored token and needs the webhook:read-write scope; without it the request fails and nothing is saved. syncRemovals mirrors removals in every mapped direction. Each map is a full replacement when provided; an empty object clears it. Does not require the secret again. Provide at least one field. Idempotent. Attio only. Requires the integrations:manage scope.
206
206
  *
207
207
  * @param {Sequenzy.UpdateAttioSettingsRequest} request
208
208
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -80,7 +80,7 @@ export class IntegrationsClient {
80
80
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/integrations/{id}/pixel");
81
81
  }
82
82
  /**
83
- * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or attio. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio is outbound-only. Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
83
+ * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or attio. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
84
84
  *
85
85
  * @param {Sequenzy.ConnectIntegrationsRequest} request
86
86
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -301,7 +301,7 @@ export class IntegrationsClient {
301
301
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/integrations/{id}");
302
302
  }
303
303
  /**
304
- * Reads a connected Attio integration's saved Sequenzy-to-Attio list map, this company's Sequenzy lists, and live Attio people-lists using the stored access token. Call this before updating mappings so you have Attio list ids or slugs. Attio only. Requires the account:read and lists:read scopes.
304
+ * Reads a connected Attio integration's two-way sync settings (every saved map in both directions, syncRemovals, inbound sync health), this company's Sequenzy lists, and live Attio people-lists using the stored access token. Tag names are not included; use the tags API. Call this before updating mappings so you have Attio list ids or slugs. Attio only. Requires the account:read and lists:read scopes.
305
305
  *
306
306
  * @param {Sequenzy.GetAttioMappingRequest} request
307
307
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -733,7 +733,7 @@ export class IntegrationsClient {
733
733
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/integrations/{id}/sync");
734
734
  }
735
735
  /**
736
- * Saves Sequenzy-to-Attio list mappings and/or company-matching on an already-connected Attio integration using the stored access token. Does not require the secret again. listMap is a full replacement when provided; an empty object clears every mapping. Provide at least one of listMap or syncCompanyFromDomain. Idempotent. Attio only. Requires the integrations:manage scope.
736
+ * Saves the two-way sync of an already-connected Attio integration using the stored access token. listMap and tagMap push Sequenzy lists and tags to Attio lists; inboundListMap and inboundTagMap pull Attio lists into Sequenzy lists and tags, which creates or updates subscribers and triggers list and tag automations. Saving an inbound map registers an Attio webhook with the stored token and needs the webhook:read-write scope; without it the request fails and nothing is saved. syncRemovals mirrors removals in every mapped direction. Each map is a full replacement when provided; an empty object clears it. Does not require the secret again. Provide at least one field. Idempotent. Attio only. Requires the integrations:manage scope.
737
737
  *
738
738
  * @param {Sequenzy.UpdateAttioSettingsRequest} request
739
739
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -16,6 +16,6 @@ export interface ConnectIntegrationsRequest {
16
16
  providerAccountId?: string;
17
17
  /** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. */
18
18
  settings?: Sequenzy.ConnectIntegrationsRequestSettings;
19
- /** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and outbound-only attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Segment, use 16-153 UTF-8 bytes. */
19
+ /** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and not used by attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Segment, use 16-153 UTF-8 bytes. */
20
20
  webhookSecret?: string;
21
21
  }
@@ -7,8 +7,16 @@
7
7
  export interface UpdateAttioSettingsRequest {
8
8
  /** Attio integration ID. */
9
9
  id: string;
10
- /** Complete Sequenzy list id to Attio list UUID or api slug map. Replaces the saved map. Pass {} to clear every mapping. */
10
+ /** Attio to Sequenzy. Complete Attio list UUID or api slug to Sequenzy list id map. Saved with Attio list UUIDs. Needs webhook:read-write on the Attio token. */
11
+ inboundListMap?: Record<string, string>;
12
+ /** Attio to Sequenzy. Complete Attio list UUID or api slug to Sequenzy tag name map. Needs webhook:read-write on the Attio token. */
13
+ inboundTagMap?: Record<string, string>;
14
+ /** Sequenzy to Attio. Complete Sequenzy list id to Attio list UUID or api slug map. Replaces the saved map. Pass {} to clear every mapping. */
11
15
  listMap?: Record<string, string>;
12
16
  /** When true, upsert a company from the person's non-free-mail email domain. */
13
17
  syncCompanyFromDomain?: boolean;
18
+ /** Mirror removals in every mapped direction. Defaults to false (add-only). */
19
+ syncRemovals?: boolean;
20
+ /** Sequenzy to Attio. Complete Sequenzy tag name to Attio list UUID or api slug map. Tag names are normalized (lowercase, spaces become dashes), at most 255 characters. */
21
+ tagMap?: Record<string, string>;
14
22
  }
@@ -126,6 +126,31 @@ export declare class PushClient {
126
126
  */
127
127
  duplicatePushCampaign(request: Sequenzy.DuplicatePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DuplicatePushCampaignResponse>;
128
128
  private __duplicatePushCampaign;
129
+ /**
130
+ * Ends the contact's activity on every device running it. Tokens are marked ended as APNs accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen for up to four hours. Requires the transactional:send scope.
131
+ *
132
+ * @param {Sequenzy.EndLiveActivityRequest} request
133
+ * @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
134
+ *
135
+ * @throws {@link Sequenzy.BadRequestError}
136
+ * @throws {@link Sequenzy.UnauthorizedError}
137
+ * @throws {@link Sequenzy.ForbiddenError}
138
+ * @throws {@link Sequenzy.NotFoundError}
139
+ * @throws {@link Sequenzy.UnprocessableEntityError}
140
+ * @throws {@link Sequenzy.InternalServerError}
141
+ * @throws {@link errors.SequenzyError}
142
+ * @throws {@link errors.SequenzyTimeoutError}
143
+ *
144
+ * @example
145
+ * await client.push.endLiveActivity({
146
+ * activityId: "order-1234",
147
+ * contentState: {
148
+ * "key": "value"
149
+ * }
150
+ * })
151
+ */
152
+ endLiveActivity(request: Sequenzy.EndLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
153
+ private __endLiveActivity;
129
154
  /**
130
155
  * Counts the contacts in an audience (audienceCount) and those with an active device on the selected platforms (eligibleCount). Email status does not affect push eligibility. Requires the campaigns:read scope.
131
156
  *
@@ -206,6 +231,24 @@ export declare class PushClient {
206
231
  */
207
232
  getPushSettings(requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.GetPushSettingsResponse>;
208
233
  private __getPushSettings;
234
+ /**
235
+ * Lists ActivityKit tokens the Sequenzy iOS SDK reported, with a summary per activity type (for the contact when email or subscriberId is given). push_to_start tokens can start an activity of their type; update tokens address one running activity. Tokens are masked. Requires the subscribers:read scope.
236
+ *
237
+ * @param {Sequenzy.ListLiveActivitiesRequest} request
238
+ * @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
239
+ *
240
+ * @throws {@link Sequenzy.UnauthorizedError}
241
+ * @throws {@link Sequenzy.ForbiddenError}
242
+ * @throws {@link Sequenzy.NotFoundError}
243
+ * @throws {@link Sequenzy.InternalServerError}
244
+ * @throws {@link errors.SequenzyError}
245
+ * @throws {@link errors.SequenzyTimeoutError}
246
+ *
247
+ * @example
248
+ * await client.push.listLiveActivities()
249
+ */
250
+ listLiveActivities(request?: Sequenzy.ListLiveActivitiesRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListLiveActivitiesResponse>;
251
+ private __listLiveActivities;
209
252
  /**
210
253
  * Lists push campaigns, newest first. Push campaigns also appear in GET /campaigns with type push. Requires the campaigns:read scope.
211
254
  *
@@ -350,6 +393,34 @@ export declare class PushClient {
350
393
  */
351
394
  setFcmCredentials(request: Sequenzy.SetFcmCredentialsRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SetFcmCredentialsResponse>;
352
395
  private __setFcmCredentials;
396
+ /**
397
+ * Starts an iOS Live Activity remotely (push-to-start, iOS 17.2+) on every device of one contact that reported a push-to-start token for activityType. Sequenzy adds sequenzy.activityId to the attributes so the SDK can report the new activity's update token under your id. Returns 202 with tokenCount 0, sending nothing, when no device can start it. Calling it again starts another copy. Requires the transactional:send scope.
398
+ *
399
+ * @param {Sequenzy.StartLiveActivityRequest} request
400
+ * @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
401
+ *
402
+ * @throws {@link Sequenzy.BadRequestError}
403
+ * @throws {@link Sequenzy.UnauthorizedError}
404
+ * @throws {@link Sequenzy.ForbiddenError}
405
+ * @throws {@link Sequenzy.NotFoundError}
406
+ * @throws {@link Sequenzy.UnprocessableEntityError}
407
+ * @throws {@link Sequenzy.InternalServerError}
408
+ * @throws {@link errors.SequenzyError}
409
+ * @throws {@link errors.SequenzyTimeoutError}
410
+ *
411
+ * @example
412
+ * await client.push.startLiveActivity({
413
+ * activityId: "order-1234",
414
+ * activityType: "DeliveryAttributes",
415
+ * alert: {},
416
+ * contentState: {
417
+ * "minutesAway": 8,
418
+ * "status": "out_for_delivery"
419
+ * }
420
+ * })
421
+ */
422
+ startLiveActivity(request: Sequenzy.StartLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
423
+ private __startLiveActivity;
353
424
  /**
354
425
  * Moves a scheduled push campaign back to draft. The queued send is discarded. Requires the campaigns:send scope.
355
426
  *
@@ -372,6 +443,32 @@ export declare class PushClient {
372
443
  */
373
444
  unschedulePushCampaign(request: Sequenzy.UnschedulePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.UnschedulePushCampaignResponse>;
374
445
  private __unschedulePushCampaign;
446
+ /**
447
+ * Sends new content state to every running copy of the contact's activity (one per device that reported an update token). Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope.
448
+ *
449
+ * @param {Sequenzy.UpdateLiveActivityRequest} request
450
+ * @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
451
+ *
452
+ * @throws {@link Sequenzy.BadRequestError}
453
+ * @throws {@link Sequenzy.UnauthorizedError}
454
+ * @throws {@link Sequenzy.ForbiddenError}
455
+ * @throws {@link Sequenzy.NotFoundError}
456
+ * @throws {@link Sequenzy.UnprocessableEntityError}
457
+ * @throws {@link Sequenzy.InternalServerError}
458
+ * @throws {@link errors.SequenzyError}
459
+ * @throws {@link errors.SequenzyTimeoutError}
460
+ *
461
+ * @example
462
+ * await client.push.updateLiveActivity({
463
+ * activityId: "order-1234",
464
+ * contentState: {
465
+ * "minutesAway": 8,
466
+ * "status": "out_for_delivery"
467
+ * }
468
+ * })
469
+ */
470
+ updateLiveActivity(request: Sequenzy.UpdateLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
471
+ private __updateLiveActivity;
375
472
  /**
376
473
  * Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule and cannot be cleared to empty content. Requires the campaigns:write scope.
377
474
  *