sequenzy 2.1.6 → 2.1.12

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 (269) hide show
  1. package/dist/cjs/api/resources/analytics/types/GetSequenceMetricsResponse.d.ts +1 -0
  2. package/dist/cjs/api/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  3. package/dist/cjs/api/resources/emailComponents/client/Client.d.ts +21 -0
  4. package/dist/cjs/api/resources/emailComponents/client/Client.js +79 -0
  5. package/dist/cjs/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +12 -0
  6. package/dist/cjs/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +3 -0
  7. package/dist/cjs/api/resources/emailComponents/client/requests/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +5 -0
  9. package/dist/cjs/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +3 -0
  10. package/dist/cjs/api/resources/emailComponents/types/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/emailComponents/types/index.js +1 -0
  12. package/dist/cjs/api/resources/integrations/client/Client.d.ts +3 -3
  13. package/dist/cjs/api/resources/integrations/client/Client.js +3 -3
  14. package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +1 -1
  15. package/dist/cjs/api/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +9 -1
  16. package/dist/cjs/api/resources/sequences/client/Client.d.ts +52 -3
  17. package/dist/cjs/api/resources/sequences/client/Client.js +164 -3
  18. package/dist/cjs/api/resources/sequences/client/requests/ListEnrollmentsSequencesRequest.d.ts +1 -1
  19. package/dist/cjs/api/resources/sequences/client/requests/SequenceEnrollmentCancelRequest.d.ts +1 -1
  20. package/dist/cjs/api/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.d.ts +24 -0
  21. package/dist/cjs/api/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.js +3 -0
  22. package/dist/cjs/api/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.d.ts +15 -0
  23. package/dist/cjs/api/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.js +3 -0
  24. package/dist/cjs/api/resources/sequences/client/requests/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/sequences/types/GetStatsSequencesResponse.d.ts +1 -0
  26. package/dist/cjs/api/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  27. package/dist/cjs/api/types/Company.d.ts +1 -1
  28. package/dist/cjs/api/types/IntegrationAttioMapping.d.ts +18 -4
  29. package/dist/cjs/api/types/IntegrationAttioMappingInbound.d.ts +14 -0
  30. package/dist/cjs/api/types/IntegrationAttioMappingInbound.js +3 -0
  31. package/dist/cjs/api/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  32. package/dist/cjs/api/types/IntegrationAttioMappingInboundStatus.js +10 -0
  33. package/dist/cjs/api/types/IntegrationDetailIntegration.d.ts +1 -1
  34. package/dist/cjs/api/types/IntegrationSummary.d.ts +1 -1
  35. package/dist/cjs/api/types/SequenceAudience.d.ts +3 -0
  36. package/dist/cjs/api/types/SequenceAudienceEnrollment.d.ts +2 -0
  37. package/dist/cjs/api/types/SequenceEnrollmentCancelResponse.d.ts +1 -1
  38. package/dist/cjs/api/types/SequenceEnrollmentGetResponseEnrollment.d.ts +6 -1
  39. package/dist/cjs/api/types/SequenceEnrollmentGetResponseEnrollmentStatus.d.ts +2 -0
  40. package/dist/cjs/api/types/SequenceEnrollmentGetResponseEnrollmentStatus.js +2 -0
  41. package/dist/cjs/api/types/SequenceEnrollmentListResponseEnrollmentsItem.d.ts +6 -1
  42. package/dist/cjs/api/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.d.ts +2 -0
  43. package/dist/cjs/api/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.js +2 -0
  44. package/dist/cjs/api/types/SequenceEnrollmentPauseItem.d.ts +16 -0
  45. package/dist/cjs/api/types/SequenceEnrollmentPauseItem.js +3 -0
  46. package/dist/cjs/api/types/SequenceEnrollmentPauseItemOutcome.d.ts +9 -0
  47. package/dist/cjs/api/types/SequenceEnrollmentPauseItemOutcome.js +12 -0
  48. package/dist/cjs/api/types/SequenceEnrollmentPauseItemStatus.d.ts +7 -0
  49. package/dist/cjs/api/types/SequenceEnrollmentPauseItemStatus.js +10 -0
  50. package/dist/cjs/api/types/SequenceEnrollmentPauseResponse.d.ts +9 -0
  51. package/dist/cjs/api/types/SequenceEnrollmentPauseResponse.js +3 -0
  52. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBase.d.ts +11 -0
  53. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBase.js +3 -0
  54. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.d.ts +4 -0
  55. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.js +3 -0
  56. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBaseNotFound.d.ts +4 -0
  57. package/dist/cjs/api/types/SequenceEnrollmentPauseResultBaseNotFound.js +3 -0
  58. package/dist/cjs/api/types/SequenceEnrollmentResumeResponse.d.ts +13 -0
  59. package/dist/cjs/api/types/SequenceEnrollmentResumeResponse.js +3 -0
  60. package/dist/cjs/api/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.d.ts +4 -0
  61. package/dist/cjs/api/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.js +3 -0
  62. package/dist/cjs/api/types/SequencePausedEnrollmentCounts.d.ts +10 -0
  63. package/dist/cjs/api/types/SequencePausedEnrollmentCounts.js +3 -0
  64. package/dist/cjs/api/types/SequencePausedEnrollmentCountsByCurrentNodeItem.d.ts +6 -0
  65. package/dist/cjs/api/types/SequencePausedEnrollmentCountsByCurrentNodeItem.js +3 -0
  66. package/dist/cjs/api/types/SubscriberSequenceEnrollment.d.ts +1 -0
  67. package/dist/cjs/api/types/index.d.ts +13 -0
  68. package/dist/cjs/api/types/index.js +13 -0
  69. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponse.d.ts +2 -0
  70. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponse.js +2 -0
  71. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  72. package/dist/cjs/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.js +2 -0
  73. package/dist/cjs/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +9 -0
  74. package/dist/cjs/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +31 -0
  75. package/dist/cjs/serialization/resources/emailComponents/client/requests/index.d.ts +1 -0
  76. package/dist/cjs/serialization/resources/emailComponents/client/requests/index.js +3 -1
  77. package/dist/cjs/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +11 -0
  78. package/dist/cjs/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +33 -0
  79. package/dist/cjs/serialization/resources/emailComponents/types/index.d.ts +1 -0
  80. package/dist/cjs/serialization/resources/emailComponents/types/index.js +1 -0
  81. package/dist/cjs/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +4 -0
  82. package/dist/cjs/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.js +4 -0
  83. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.d.ts +11 -0
  84. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.js +33 -0
  85. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.d.ts +10 -0
  86. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.js +32 -0
  87. package/dist/cjs/serialization/resources/sequences/client/requests/index.d.ts +2 -0
  88. package/dist/cjs/serialization/resources/sequences/client/requests/index.js +5 -1
  89. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponse.d.ts +2 -0
  90. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponse.js +2 -0
  91. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  92. package/dist/cjs/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.js +2 -0
  93. package/dist/cjs/serialization/types/IntegrationAttioMapping.d.ts +8 -0
  94. package/dist/cjs/serialization/types/IntegrationAttioMapping.js +8 -0
  95. package/dist/cjs/serialization/types/IntegrationAttioMappingInbound.d.ts +13 -0
  96. package/dist/cjs/serialization/types/IntegrationAttioMappingInbound.js +35 -0
  97. package/dist/cjs/serialization/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  98. package/dist/cjs/serialization/types/IntegrationAttioMappingInboundStatus.js +29 -0
  99. package/dist/cjs/serialization/types/SequenceAudience.d.ts +1 -0
  100. package/dist/cjs/serialization/types/SequenceAudience.js +1 -0
  101. package/dist/cjs/serialization/types/SequenceAudienceEnrollment.d.ts +1 -0
  102. package/dist/cjs/serialization/types/SequenceAudienceEnrollment.js +1 -0
  103. package/dist/cjs/serialization/types/SequenceEnrollmentGetResponseEnrollment.d.ts +2 -0
  104. package/dist/cjs/serialization/types/SequenceEnrollmentGetResponseEnrollment.js +2 -0
  105. package/dist/cjs/serialization/types/SequenceEnrollmentGetResponseEnrollmentStatus.d.ts +1 -1
  106. package/dist/cjs/serialization/types/SequenceEnrollmentGetResponseEnrollmentStatus.js +1 -1
  107. package/dist/cjs/serialization/types/SequenceEnrollmentListResponseEnrollmentsItem.d.ts +2 -0
  108. package/dist/cjs/serialization/types/SequenceEnrollmentListResponseEnrollmentsItem.js +2 -0
  109. package/dist/cjs/serialization/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.d.ts +1 -1
  110. package/dist/cjs/serialization/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.js +1 -1
  111. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItem.d.ts +18 -0
  112. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItem.js +40 -0
  113. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItemOutcome.d.ts +7 -0
  114. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItemOutcome.js +29 -0
  115. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItemStatus.d.ts +7 -0
  116. package/dist/cjs/serialization/types/SequenceEnrollmentPauseItemStatus.js +29 -0
  117. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResponse.d.ts +12 -0
  118. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResponse.js +36 -0
  119. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBase.d.ts +17 -0
  120. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBase.js +39 -0
  121. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.d.ts +10 -0
  122. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.js +32 -0
  123. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBaseNotFound.d.ts +10 -0
  124. package/dist/cjs/serialization/types/SequenceEnrollmentPauseResultBaseNotFound.js +32 -0
  125. package/dist/cjs/serialization/types/SequenceEnrollmentResumeResponse.d.ts +15 -0
  126. package/dist/cjs/serialization/types/SequenceEnrollmentResumeResponse.js +39 -0
  127. package/dist/cjs/serialization/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.d.ts +10 -0
  128. package/dist/cjs/serialization/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.js +32 -0
  129. package/dist/cjs/serialization/types/SequencePausedEnrollmentCounts.d.ts +11 -0
  130. package/dist/cjs/serialization/types/SequencePausedEnrollmentCounts.js +33 -0
  131. package/dist/cjs/serialization/types/SequencePausedEnrollmentCountsByCurrentNodeItem.d.ts +11 -0
  132. package/dist/cjs/serialization/types/SequencePausedEnrollmentCountsByCurrentNodeItem.js +33 -0
  133. package/dist/cjs/serialization/types/index.d.ts +13 -0
  134. package/dist/cjs/serialization/types/index.js +13 -0
  135. package/dist/esm/api/resources/analytics/types/GetSequenceMetricsResponse.d.ts +1 -0
  136. package/dist/esm/api/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  137. package/dist/esm/api/resources/emailComponents/client/Client.d.ts +21 -0
  138. package/dist/esm/api/resources/emailComponents/client/Client.js +79 -0
  139. package/dist/esm/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +12 -0
  140. package/dist/esm/api/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +2 -0
  141. package/dist/esm/api/resources/emailComponents/client/requests/index.d.ts +1 -0
  142. package/dist/esm/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +5 -0
  143. package/dist/esm/api/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +2 -0
  144. package/dist/esm/api/resources/emailComponents/types/index.d.ts +1 -0
  145. package/dist/esm/api/resources/emailComponents/types/index.js +1 -0
  146. package/dist/esm/api/resources/integrations/client/Client.d.ts +3 -3
  147. package/dist/esm/api/resources/integrations/client/Client.js +3 -3
  148. package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +1 -1
  149. package/dist/esm/api/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +9 -1
  150. package/dist/esm/api/resources/sequences/client/Client.d.ts +52 -3
  151. package/dist/esm/api/resources/sequences/client/Client.js +164 -3
  152. package/dist/esm/api/resources/sequences/client/requests/ListEnrollmentsSequencesRequest.d.ts +1 -1
  153. package/dist/esm/api/resources/sequences/client/requests/SequenceEnrollmentCancelRequest.d.ts +1 -1
  154. package/dist/esm/api/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.d.ts +24 -0
  155. package/dist/esm/api/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.js +2 -0
  156. package/dist/esm/api/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.d.ts +15 -0
  157. package/dist/esm/api/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.js +2 -0
  158. package/dist/esm/api/resources/sequences/client/requests/index.d.ts +2 -0
  159. package/dist/esm/api/resources/sequences/types/GetStatsSequencesResponse.d.ts +1 -0
  160. package/dist/esm/api/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  161. package/dist/esm/api/types/Company.d.ts +1 -1
  162. package/dist/esm/api/types/IntegrationAttioMapping.d.ts +18 -4
  163. package/dist/esm/api/types/IntegrationAttioMappingInbound.d.ts +14 -0
  164. package/dist/esm/api/types/IntegrationAttioMappingInbound.js +2 -0
  165. package/dist/esm/api/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  166. package/dist/esm/api/types/IntegrationAttioMappingInboundStatus.js +7 -0
  167. package/dist/esm/api/types/IntegrationDetailIntegration.d.ts +1 -1
  168. package/dist/esm/api/types/IntegrationSummary.d.ts +1 -1
  169. package/dist/esm/api/types/SequenceAudience.d.ts +3 -0
  170. package/dist/esm/api/types/SequenceAudienceEnrollment.d.ts +2 -0
  171. package/dist/esm/api/types/SequenceEnrollmentCancelResponse.d.ts +1 -1
  172. package/dist/esm/api/types/SequenceEnrollmentGetResponseEnrollment.d.ts +6 -1
  173. package/dist/esm/api/types/SequenceEnrollmentGetResponseEnrollmentStatus.d.ts +2 -0
  174. package/dist/esm/api/types/SequenceEnrollmentGetResponseEnrollmentStatus.js +2 -0
  175. package/dist/esm/api/types/SequenceEnrollmentListResponseEnrollmentsItem.d.ts +6 -1
  176. package/dist/esm/api/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.d.ts +2 -0
  177. package/dist/esm/api/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.js +2 -0
  178. package/dist/esm/api/types/SequenceEnrollmentPauseItem.d.ts +16 -0
  179. package/dist/esm/api/types/SequenceEnrollmentPauseItem.js +2 -0
  180. package/dist/esm/api/types/SequenceEnrollmentPauseItemOutcome.d.ts +9 -0
  181. package/dist/esm/api/types/SequenceEnrollmentPauseItemOutcome.js +9 -0
  182. package/dist/esm/api/types/SequenceEnrollmentPauseItemStatus.d.ts +7 -0
  183. package/dist/esm/api/types/SequenceEnrollmentPauseItemStatus.js +7 -0
  184. package/dist/esm/api/types/SequenceEnrollmentPauseResponse.d.ts +9 -0
  185. package/dist/esm/api/types/SequenceEnrollmentPauseResponse.js +2 -0
  186. package/dist/esm/api/types/SequenceEnrollmentPauseResultBase.d.ts +11 -0
  187. package/dist/esm/api/types/SequenceEnrollmentPauseResultBase.js +2 -0
  188. package/dist/esm/api/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.d.ts +4 -0
  189. package/dist/esm/api/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.js +2 -0
  190. package/dist/esm/api/types/SequenceEnrollmentPauseResultBaseNotFound.d.ts +4 -0
  191. package/dist/esm/api/types/SequenceEnrollmentPauseResultBaseNotFound.js +2 -0
  192. package/dist/esm/api/types/SequenceEnrollmentResumeResponse.d.ts +13 -0
  193. package/dist/esm/api/types/SequenceEnrollmentResumeResponse.js +2 -0
  194. package/dist/esm/api/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.d.ts +4 -0
  195. package/dist/esm/api/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.js +2 -0
  196. package/dist/esm/api/types/SequencePausedEnrollmentCounts.d.ts +10 -0
  197. package/dist/esm/api/types/SequencePausedEnrollmentCounts.js +2 -0
  198. package/dist/esm/api/types/SequencePausedEnrollmentCountsByCurrentNodeItem.d.ts +6 -0
  199. package/dist/esm/api/types/SequencePausedEnrollmentCountsByCurrentNodeItem.js +2 -0
  200. package/dist/esm/api/types/SubscriberSequenceEnrollment.d.ts +1 -0
  201. package/dist/esm/api/types/index.d.ts +13 -0
  202. package/dist/esm/api/types/index.js +13 -0
  203. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponse.d.ts +2 -0
  204. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponse.js +2 -0
  205. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.d.ts +2 -0
  206. package/dist/esm/serialization/resources/analytics/types/GetSequenceMetricsResponseStepsItem.js +2 -0
  207. package/dist/esm/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.d.ts +9 -0
  208. package/dist/esm/serialization/resources/emailComponents/client/requests/DuplicateEmailComponentsRequest.js +5 -0
  209. package/dist/esm/serialization/resources/emailComponents/client/requests/index.d.ts +1 -0
  210. package/dist/esm/serialization/resources/emailComponents/client/requests/index.js +1 -0
  211. package/dist/esm/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.d.ts +11 -0
  212. package/dist/esm/serialization/resources/emailComponents/types/DuplicateEmailComponentsResponse.js +7 -0
  213. package/dist/esm/serialization/resources/emailComponents/types/index.d.ts +1 -0
  214. package/dist/esm/serialization/resources/emailComponents/types/index.js +1 -0
  215. package/dist/esm/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.d.ts +4 -0
  216. package/dist/esm/serialization/resources/integrations/client/requests/UpdateAttioSettingsRequest.js +4 -0
  217. package/dist/esm/serialization/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.d.ts +11 -0
  218. package/dist/esm/serialization/resources/sequences/client/requests/SequenceEnrollmentPauseRequest.js +7 -0
  219. package/dist/esm/serialization/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.d.ts +10 -0
  220. package/dist/esm/serialization/resources/sequences/client/requests/SequenceEnrollmentResumeRequest.js +6 -0
  221. package/dist/esm/serialization/resources/sequences/client/requests/index.d.ts +2 -0
  222. package/dist/esm/serialization/resources/sequences/client/requests/index.js +2 -0
  223. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponse.d.ts +2 -0
  224. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponse.js +2 -0
  225. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.d.ts +2 -0
  226. package/dist/esm/serialization/resources/sequences/types/GetStatsSequencesResponseStepsItem.js +2 -0
  227. package/dist/esm/serialization/types/IntegrationAttioMapping.d.ts +8 -0
  228. package/dist/esm/serialization/types/IntegrationAttioMapping.js +8 -0
  229. package/dist/esm/serialization/types/IntegrationAttioMappingInbound.d.ts +13 -0
  230. package/dist/esm/serialization/types/IntegrationAttioMappingInbound.js +9 -0
  231. package/dist/esm/serialization/types/IntegrationAttioMappingInboundStatus.d.ts +7 -0
  232. package/dist/esm/serialization/types/IntegrationAttioMappingInboundStatus.js +3 -0
  233. package/dist/esm/serialization/types/SequenceAudience.d.ts +1 -0
  234. package/dist/esm/serialization/types/SequenceAudience.js +1 -0
  235. package/dist/esm/serialization/types/SequenceAudienceEnrollment.d.ts +1 -0
  236. package/dist/esm/serialization/types/SequenceAudienceEnrollment.js +1 -0
  237. package/dist/esm/serialization/types/SequenceEnrollmentGetResponseEnrollment.d.ts +2 -0
  238. package/dist/esm/serialization/types/SequenceEnrollmentGetResponseEnrollment.js +2 -0
  239. package/dist/esm/serialization/types/SequenceEnrollmentGetResponseEnrollmentStatus.d.ts +1 -1
  240. package/dist/esm/serialization/types/SequenceEnrollmentGetResponseEnrollmentStatus.js +1 -1
  241. package/dist/esm/serialization/types/SequenceEnrollmentListResponseEnrollmentsItem.d.ts +2 -0
  242. package/dist/esm/serialization/types/SequenceEnrollmentListResponseEnrollmentsItem.js +2 -0
  243. package/dist/esm/serialization/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.d.ts +1 -1
  244. package/dist/esm/serialization/types/SequenceEnrollmentListResponseEnrollmentsItemStatus.js +1 -1
  245. package/dist/esm/serialization/types/SequenceEnrollmentPauseItem.d.ts +18 -0
  246. package/dist/esm/serialization/types/SequenceEnrollmentPauseItem.js +14 -0
  247. package/dist/esm/serialization/types/SequenceEnrollmentPauseItemOutcome.d.ts +7 -0
  248. package/dist/esm/serialization/types/SequenceEnrollmentPauseItemOutcome.js +3 -0
  249. package/dist/esm/serialization/types/SequenceEnrollmentPauseItemStatus.d.ts +7 -0
  250. package/dist/esm/serialization/types/SequenceEnrollmentPauseItemStatus.js +3 -0
  251. package/dist/esm/serialization/types/SequenceEnrollmentPauseResponse.d.ts +12 -0
  252. package/dist/esm/serialization/types/SequenceEnrollmentPauseResponse.js +10 -0
  253. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBase.d.ts +17 -0
  254. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBase.js +13 -0
  255. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.d.ts +10 -0
  256. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBaseNotEnrolledItem.js +6 -0
  257. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBaseNotFound.d.ts +10 -0
  258. package/dist/esm/serialization/types/SequenceEnrollmentPauseResultBaseNotFound.js +6 -0
  259. package/dist/esm/serialization/types/SequenceEnrollmentResumeResponse.d.ts +15 -0
  260. package/dist/esm/serialization/types/SequenceEnrollmentResumeResponse.js +13 -0
  261. package/dist/esm/serialization/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.d.ts +10 -0
  262. package/dist/esm/serialization/types/SequenceEnrollmentResumeResponseEnqueueErrorsItem.js +6 -0
  263. package/dist/esm/serialization/types/SequencePausedEnrollmentCounts.d.ts +11 -0
  264. package/dist/esm/serialization/types/SequencePausedEnrollmentCounts.js +7 -0
  265. package/dist/esm/serialization/types/SequencePausedEnrollmentCountsByCurrentNodeItem.d.ts +11 -0
  266. package/dist/esm/serialization/types/SequencePausedEnrollmentCountsByCurrentNodeItem.js +7 -0
  267. package/dist/esm/serialization/types/index.d.ts +13 -0
  268. package/dist/esm/serialization/types/index.js +13 -0
  269. package/package.json +1 -1
@@ -324,6 +324,8 @@ export * from "./IntegrationActivityEntry.js";
324
324
  export * from "./IntegrationActivityEntryStatus.js";
325
325
  export * from "./IntegrationAttioMapping.js";
326
326
  export * from "./IntegrationAttioMappingAttioListsItem.js";
327
+ export * from "./IntegrationAttioMappingInbound.js";
328
+ export * from "./IntegrationAttioMappingInboundStatus.js";
327
329
  export * from "./IntegrationAttioMappingSequenzyListsItem.js";
328
330
  export * from "./IntegrationDetail.js";
329
331
  export * from "./IntegrationDetailActivity.js";
@@ -655,12 +657,21 @@ export * from "./SequenceEnrollmentMode.js";
655
657
  export * from "./SequenceEnrollmentMoveResponse.js";
656
658
  export * from "./SequenceEnrollmentMoveResponseEnqueueErrorsItem.js";
657
659
  export * from "./SequenceEnrollmentMoveResponseEnrollmentsItem.js";
660
+ export * from "./SequenceEnrollmentPauseItem.js";
661
+ export * from "./SequenceEnrollmentPauseItemOutcome.js";
662
+ export * from "./SequenceEnrollmentPauseItemStatus.js";
663
+ export * from "./SequenceEnrollmentPauseResponse.js";
664
+ export * from "./SequenceEnrollmentPauseResultBase.js";
665
+ export * from "./SequenceEnrollmentPauseResultBaseNotEnrolledItem.js";
666
+ export * from "./SequenceEnrollmentPauseResultBaseNotFound.js";
658
667
  export * from "./SequenceEnrollmentRealignJobResponse.js";
659
668
  export * from "./SequenceEnrollmentRealignJobResponseStatus.js";
660
669
  export * from "./SequenceEnrollmentRealignQueuedResponse.js";
661
670
  export * from "./SequenceEnrollmentRealignQueuedResponseStatus.js";
662
671
  export * from "./SequenceEnrollmentRealignResponse.js";
663
672
  export * from "./SequenceEnrollmentRealignResponseChangesItem.js";
673
+ export * from "./SequenceEnrollmentResumeResponse.js";
674
+ export * from "./SequenceEnrollmentResumeResponseEnqueueErrorsItem.js";
664
675
  export * from "./SequenceGoal.js";
665
676
  export * from "./SequenceGoalAttributeCondition.js";
666
677
  export * from "./SequenceGoalInput.js";
@@ -688,6 +699,8 @@ export * from "./SequencePathStepConfigMethod.js";
688
699
  export * from "./SequencePathStepConfigOnError.js";
689
700
  export * from "./SequencePathStepConfigOutputFieldsItem.js";
690
701
  export * from "./SequencePathStepConfigTimeoutAction.js";
702
+ export * from "./SequencePausedEnrollmentCounts.js";
703
+ export * from "./SequencePausedEnrollmentCountsByCurrentNodeItem.js";
691
704
  export * from "./SequencePosition.js";
692
705
  export * from "./SequenceSendingWindow.js";
693
706
  export * from "./SequenceSendingWindowDaysItem.js";
@@ -340,6 +340,8 @@ __exportStar(require("./IntegrationActivityEntry.js"), exports);
340
340
  __exportStar(require("./IntegrationActivityEntryStatus.js"), exports);
341
341
  __exportStar(require("./IntegrationAttioMapping.js"), exports);
342
342
  __exportStar(require("./IntegrationAttioMappingAttioListsItem.js"), exports);
343
+ __exportStar(require("./IntegrationAttioMappingInbound.js"), exports);
344
+ __exportStar(require("./IntegrationAttioMappingInboundStatus.js"), exports);
343
345
  __exportStar(require("./IntegrationAttioMappingSequenzyListsItem.js"), exports);
344
346
  __exportStar(require("./IntegrationDetail.js"), exports);
345
347
  __exportStar(require("./IntegrationDetailActivity.js"), exports);
@@ -671,12 +673,21 @@ __exportStar(require("./SequenceEnrollmentMode.js"), exports);
671
673
  __exportStar(require("./SequenceEnrollmentMoveResponse.js"), exports);
672
674
  __exportStar(require("./SequenceEnrollmentMoveResponseEnqueueErrorsItem.js"), exports);
673
675
  __exportStar(require("./SequenceEnrollmentMoveResponseEnrollmentsItem.js"), exports);
676
+ __exportStar(require("./SequenceEnrollmentPauseItem.js"), exports);
677
+ __exportStar(require("./SequenceEnrollmentPauseItemOutcome.js"), exports);
678
+ __exportStar(require("./SequenceEnrollmentPauseItemStatus.js"), exports);
679
+ __exportStar(require("./SequenceEnrollmentPauseResponse.js"), exports);
680
+ __exportStar(require("./SequenceEnrollmentPauseResultBase.js"), exports);
681
+ __exportStar(require("./SequenceEnrollmentPauseResultBaseNotEnrolledItem.js"), exports);
682
+ __exportStar(require("./SequenceEnrollmentPauseResultBaseNotFound.js"), exports);
674
683
  __exportStar(require("./SequenceEnrollmentRealignJobResponse.js"), exports);
675
684
  __exportStar(require("./SequenceEnrollmentRealignJobResponseStatus.js"), exports);
676
685
  __exportStar(require("./SequenceEnrollmentRealignQueuedResponse.js"), exports);
677
686
  __exportStar(require("./SequenceEnrollmentRealignQueuedResponseStatus.js"), exports);
678
687
  __exportStar(require("./SequenceEnrollmentRealignResponse.js"), exports);
679
688
  __exportStar(require("./SequenceEnrollmentRealignResponseChangesItem.js"), exports);
689
+ __exportStar(require("./SequenceEnrollmentResumeResponse.js"), exports);
690
+ __exportStar(require("./SequenceEnrollmentResumeResponseEnqueueErrorsItem.js"), exports);
680
691
  __exportStar(require("./SequenceGoal.js"), exports);
681
692
  __exportStar(require("./SequenceGoalAttributeCondition.js"), exports);
682
693
  __exportStar(require("./SequenceGoalInput.js"), exports);
@@ -704,6 +715,8 @@ __exportStar(require("./SequencePathStepConfigMethod.js"), exports);
704
715
  __exportStar(require("./SequencePathStepConfigOnError.js"), exports);
705
716
  __exportStar(require("./SequencePathStepConfigOutputFieldsItem.js"), exports);
706
717
  __exportStar(require("./SequencePathStepConfigTimeoutAction.js"), exports);
718
+ __exportStar(require("./SequencePausedEnrollmentCounts.js"), exports);
719
+ __exportStar(require("./SequencePausedEnrollmentCountsByCurrentNodeItem.js"), exports);
707
720
  __exportStar(require("./SequencePosition.js"), exports);
708
721
  __exportStar(require("./SequenceSendingWindow.js"), exports);
709
722
  __exportStar(require("./SequenceSendingWindowDaysItem.js"), exports);
@@ -3,6 +3,7 @@ export interface GetSequenceMetricsResponse {
3
3
  enrollmentCounts?: Sequenzy.SequenceEnrollmentCounts;
4
4
  /** Trigger matches where the contact could not be enrolled because they are unsubscribed or bounced. Defaults to the last 30 days when no explicit time range is provided. */
5
5
  enrollmentSkipped?: Sequenzy.GetSequenceMetricsResponseEnrollmentSkipped;
6
+ pausedEnrollments?: Sequenzy.SequencePausedEnrollmentCounts;
6
7
  /** Echoed back when `period` is provided. */
7
8
  period?: string;
8
9
  recommendations?: Sequenzy.RecommendationMetrics;
@@ -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;
@@ -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
  }
@@ -48,7 +48,7 @@ export declare class SequencesClient {
48
48
  cancelAudienceEnrollment(request: Sequenzy.CancelAudienceEnrollmentSequencesRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.CancelAudienceEnrollmentSequencesResponse>;
49
49
  private __cancelAudienceEnrollment;
50
50
  /**
51
- * Cancels active or waiting enrollments in one sequence. Target every enrollment with cancelAll, a batch with subscriberIds, one contact with subscriberId, or matching stored entry event property values with fieldValues. Bulk cancellation is capped at 1000 enrollments per request; repeat the request while remainingCount is above zero.
51
+ * Cancels active, waiting, or paused enrollments in one sequence. Target every enrollment with cancelAll, a batch with subscriberIds, one contact with subscriberId, or matching stored entry event property values with fieldValues. Bulk cancellation is capped at 1000 enrollments per request; repeat the request while remainingCount is above zero.
52
52
  *
53
53
  * @param {Sequenzy.SequenceEnrollmentCancelRequest} request
54
54
  * @param {SequencesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -439,7 +439,7 @@ export declare class SequencesClient {
439
439
  enable(request: Sequenzy.EnableSequencesRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SequenceActionResponse>;
440
440
  private __enable;
441
441
  /**
442
- * Starts a background run that enrolls every active contact matching the audience (everyone, lists, a segment, a filter, or rules) into the sequence, in batches, with no per-request cap. Contacts already active or waiting in the sequence are skipped; one_time sequences also skip contacts who completed or were cancelled before; unsubscribed and bounced contacts are never enrolled. Only one run per sequence can be queued or running at a time. The sequence must be enabled and accepting entrants. This is how a manual-trigger countdown sequence gets its audience; late enrollees skip the steps whose key date already passed.
442
+ * Starts a background run that enrolls every active contact matching the audience (everyone, lists, a segment, a filter, or rules) into the sequence, in batches, with no per-request cap. Contacts already active, waiting, or paused in the sequence are skipped; one_time sequences also skip contacts who completed or were cancelled before; unsubscribed and bounced contacts are never enrolled. Only one run per sequence can be queued or running at a time. The sequence must be enabled and accepting entrants. This is how a manual-trigger countdown sequence gets its audience; late enrollees skip the steps whose key date already passed.
443
443
  *
444
444
  * @param {Sequenzy.EnrollAudienceSequencesRequest} request
445
445
  * @param {SequencesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -748,7 +748,7 @@ export declare class SequencesClient {
748
748
  listEmailVariations(request: Sequenzy.ListEmailVariationsSequencesRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListEmailVariationsSequencesResponse>;
749
749
  private __listEmailVariations;
750
750
  /**
751
- * Lists the individual contacts enrolled in one sequence, with the node each one is currently sitting on. Defaults to active and waiting enrollments. Use this when sequence stats give you enrollmentCounts and you need the actual subscribers behind a number.
751
+ * Lists the individual contacts enrolled in one sequence, with the node each one is currently sitting on. Defaults to active, waiting, and paused enrollments, which is everyone still in the sequence. Use this when sequence stats give you enrollmentCounts and you need the actual subscribers behind a number.
752
752
  *
753
753
  * @param {Sequenzy.ListEnrollmentsSequencesRequest} request
754
754
  * @param {SequencesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -844,6 +844,34 @@ export declare class SequencesClient {
844
844
  */
845
845
  pauseEnrollments(request: Sequenzy.PauseEnrollmentsSequencesRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SequenceActionResponse>;
846
846
  private __pauseEnrollments;
847
+ /**
848
+ * Holds specific contacts on the sequence step they are on. A paused enrollment gets no further steps, keeps its entry event properties and stop-condition snapshots, and still counts as enrolled, so the same contact cannot enter this sequence again while paused. Unsubscribes, bounces, and enrollment cancellation still end it. A wait-for-event step does not react while paused; an event that arrived meanwhile is picked up on resume. Applies immediately with no dry run. An enrollment whose current step is running at that moment is left alone with outcome in_progress; repeat the request shortly. To stop new contacts entering the whole sequence instead, use POST /sequences/{sequenceId}/pause-enrollments.
849
+ *
850
+ * @param {Sequenzy.SequenceEnrollmentPauseRequest} request
851
+ * @param {SequencesClient.RequestOptions} requestOptions - Request-specific configuration.
852
+ *
853
+ * @throws {@link Sequenzy.BadRequestError}
854
+ * @throws {@link Sequenzy.UnauthorizedError}
855
+ * @throws {@link Sequenzy.ForbiddenError}
856
+ * @throws {@link Sequenzy.NotFoundError}
857
+ * @throws {@link errors.SequenzyError}
858
+ * @throws {@link errors.SequenzyTimeoutError}
859
+ *
860
+ * @example
861
+ * await client.sequences.pauseSubscribers({
862
+ * sequenceId: "sequenceId",
863
+ * emails: ["ada@example.com"],
864
+ * reason: "Project blocked"
865
+ * })
866
+ *
867
+ * @example
868
+ * await client.sequences.pauseSubscribers({
869
+ * sequenceId: "sequenceId",
870
+ * subscriberIds: ["sub_abc123", "sub_def456"]
871
+ * })
872
+ */
873
+ pauseSubscribers(request: Sequenzy.SequenceEnrollmentPauseRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SequenceEnrollmentPauseResponse>;
874
+ private __pauseSubscribers;
847
875
  /**
848
876
  * Rewrites the first 3 emails of a public gallery sequence for your brand, or for another `website`, and returns them without creating anything. Emails that could not be written are counted in `failedEmailCount`; the call fails only when none could be written. Usually takes 10 to 30 seconds. Requires `sequences:write`.
849
877
  *
@@ -940,6 +968,27 @@ export declare class SequencesClient {
940
968
  */
941
969
  resumeEnrollments(request: Sequenzy.ResumeEnrollmentsSequencesRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SequenceActionResponse>;
942
970
  private __resumeEnrollments;
971
+ /**
972
+ * Continues paused contacts from the step they were paused on, with the status they had. Nothing restarts or is skipped. Waits keep their original wall-clock time, like a whole-sequence pause - a wait that ran out while paused continues right away, and one that has not still ends when it would have. Enrollments of the targeted contacts that are not paused are reported with outcome not_paused and left alone. When the sequence itself is disabled, sequenceRunning is false and the resumed contacts continue once it is enabled.
973
+ *
974
+ * @param {Sequenzy.SequenceEnrollmentResumeRequest} request
975
+ * @param {SequencesClient.RequestOptions} requestOptions - Request-specific configuration.
976
+ *
977
+ * @throws {@link Sequenzy.BadRequestError}
978
+ * @throws {@link Sequenzy.UnauthorizedError}
979
+ * @throws {@link Sequenzy.ForbiddenError}
980
+ * @throws {@link Sequenzy.NotFoundError}
981
+ * @throws {@link errors.SequenzyError}
982
+ * @throws {@link errors.SequenzyTimeoutError}
983
+ *
984
+ * @example
985
+ * await client.sequences.resumeSubscribers({
986
+ * sequenceId: "sequenceId",
987
+ * emails: ["ada@example.com"]
988
+ * })
989
+ */
990
+ resumeSubscribers(request: Sequenzy.SequenceEnrollmentResumeRequest, requestOptions?: SequencesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SequenceEnrollmentResumeResponse>;
991
+ private __resumeSubscribers;
943
992
  /**
944
993
  * Immediately invalidates the previous URL and returns the replacement endpoint.
945
994
  *