sequenzy 2.1.12 → 2.1.23

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 (237) hide show
  1. package/dist/cjs/api/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +5 -1
  2. package/dist/cjs/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +7 -1
  3. package/dist/cjs/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +4 -1
  4. package/dist/cjs/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +4 -1
  5. package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +3 -0
  6. package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
  7. package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +3 -0
  8. package/dist/cjs/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +4 -1
  9. package/dist/cjs/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +4 -1
  10. package/dist/cjs/api/resources/abTests/types/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/abTests/types/index.js +1 -0
  12. package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
  13. package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
  14. package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
  15. package/dist/cjs/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
  16. package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
  17. package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
  18. package/dist/cjs/api/resources/integrations/client/Client.d.ts +3 -2
  19. package/dist/cjs/api/resources/integrations/client/Client.js +5 -2
  20. package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
  21. package/dist/cjs/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
  22. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
  23. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  24. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
  25. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
  26. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
  27. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +3 -0
  28. package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
  29. package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
  30. package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
  31. package/dist/cjs/api/resources/integrations/types/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/integrations/types/index.js +1 -0
  33. package/dist/cjs/api/resources/sequences/client/requests/SequenceCreateRequest.d.ts +2 -0
  34. package/dist/cjs/api/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +2 -0
  35. package/dist/cjs/api/resources/subscribers/client/requests/UpdateByExternalIdPathSubscribersRequest.d.ts +1 -1
  36. package/dist/cjs/api/resources/subscribers/client/requests/UpdateByExternalIdSubscribersRequest.d.ts +1 -1
  37. package/dist/cjs/api/resources/subscribers/client/requests/UpdateSubscribersRequest.d.ts +1 -1
  38. package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +2 -1
  39. package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +2 -1
  40. package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +2 -1
  41. package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +2 -1
  42. package/dist/cjs/api/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +2 -1
  43. package/dist/cjs/api/resources/subscribers/types/UpdateSubscribersRequestStatus.js +2 -1
  44. package/dist/cjs/api/resources/websites/client/Client.d.ts +1 -1
  45. package/dist/cjs/api/resources/websites/client/Client.js +1 -1
  46. package/dist/cjs/api/types/AbTest.d.ts +6 -2
  47. package/dist/cjs/api/types/AbTestSignificance.d.ts +1 -1
  48. package/dist/cjs/api/types/AbTestSignificanceMetric.d.ts +4 -1
  49. package/dist/cjs/api/types/AbTestSignificanceMetric.js +4 -1
  50. package/dist/cjs/api/types/AbTestWinnerCriteria.d.ts +8 -0
  51. package/dist/cjs/api/types/AbTestWinnerCriteria.js +11 -0
  52. package/dist/cjs/api/types/AccountHealthInsight.d.ts +1 -1
  53. package/dist/cjs/api/types/BadRequestErrorBody.d.ts +3 -5
  54. package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
  55. package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.js +3 -0
  56. package/dist/cjs/api/types/SequenceCreateResponseSequence.d.ts +2 -0
  57. package/dist/cjs/api/types/SequenceSummary.d.ts +2 -0
  58. package/dist/cjs/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
  59. package/dist/cjs/api/types/index.d.ts +2 -0
  60. package/dist/cjs/api/types/index.js +2 -0
  61. package/dist/cjs/serialization/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +2 -0
  62. package/dist/cjs/serialization/resources/abTests/client/requests/CreateAbTestsRequest.js +2 -0
  63. package/dist/cjs/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +3 -0
  64. package/dist/cjs/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.js +3 -0
  65. package/dist/cjs/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +1 -1
  66. package/dist/cjs/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +1 -1
  67. package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +2 -0
  68. package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.js +2 -0
  69. package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
  70. package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +35 -0
  71. package/dist/cjs/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +1 -1
  72. package/dist/cjs/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +1 -1
  73. package/dist/cjs/serialization/resources/abTests/types/index.d.ts +1 -0
  74. package/dist/cjs/serialization/resources/abTests/types/index.js +1 -0
  75. package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
  76. package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
  77. package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
  78. package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
  79. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
  80. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  81. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
  82. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
  83. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
  84. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
  85. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
  86. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +32 -0
  87. package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
  88. package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
  89. package/dist/cjs/serialization/resources/integrations/types/index.d.ts +1 -0
  90. package/dist/cjs/serialization/resources/integrations/types/index.js +1 -0
  91. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceCreateRequest.d.ts +1 -0
  92. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceCreateRequest.js +1 -0
  93. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +1 -0
  94. package/dist/cjs/serialization/resources/sequences/client/requests/SequenceUpdateRequest.js +1 -0
  95. package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +1 -1
  96. package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +1 -1
  97. package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +1 -1
  98. package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +1 -1
  99. package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +1 -1
  100. package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.js +1 -1
  101. package/dist/cjs/serialization/types/AbTest.d.ts +4 -1
  102. package/dist/cjs/serialization/types/AbTest.js +4 -1
  103. package/dist/cjs/serialization/types/AbTestSignificanceMetric.d.ts +1 -1
  104. package/dist/cjs/serialization/types/AbTestSignificanceMetric.js +1 -1
  105. package/dist/cjs/serialization/types/AbTestWinnerCriteria.d.ts +7 -0
  106. package/dist/cjs/serialization/types/AbTestWinnerCriteria.js +29 -0
  107. package/dist/cjs/serialization/types/BadRequestErrorBody.d.ts +4 -6
  108. package/dist/cjs/serialization/types/BadRequestErrorBody.js +7 -7
  109. package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
  110. package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.js +32 -0
  111. package/dist/cjs/serialization/types/SequenceCreateResponseSequence.d.ts +1 -0
  112. package/dist/cjs/serialization/types/SequenceCreateResponseSequence.js +1 -0
  113. package/dist/cjs/serialization/types/SequenceSummary.d.ts +1 -0
  114. package/dist/cjs/serialization/types/SequenceSummary.js +1 -0
  115. package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
  116. package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
  117. package/dist/cjs/serialization/types/index.d.ts +2 -0
  118. package/dist/cjs/serialization/types/index.js +2 -0
  119. package/dist/esm/api/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +5 -1
  120. package/dist/esm/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +7 -1
  121. package/dist/esm/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +4 -1
  122. package/dist/esm/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +4 -1
  123. package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +3 -0
  124. package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
  125. package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +2 -0
  126. package/dist/esm/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +4 -1
  127. package/dist/esm/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +4 -1
  128. package/dist/esm/api/resources/abTests/types/index.d.ts +1 -0
  129. package/dist/esm/api/resources/abTests/types/index.js +1 -0
  130. package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
  131. package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
  132. package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
  133. package/dist/esm/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
  134. package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
  135. package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
  136. package/dist/esm/api/resources/integrations/client/Client.d.ts +3 -2
  137. package/dist/esm/api/resources/integrations/client/Client.js +5 -2
  138. package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
  139. package/dist/esm/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
  140. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
  141. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  142. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
  143. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
  144. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
  145. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +2 -0
  146. package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
  147. package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
  148. package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
  149. package/dist/esm/api/resources/integrations/types/index.d.ts +1 -0
  150. package/dist/esm/api/resources/integrations/types/index.js +1 -0
  151. package/dist/esm/api/resources/sequences/client/requests/SequenceCreateRequest.d.ts +2 -0
  152. package/dist/esm/api/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +2 -0
  153. package/dist/esm/api/resources/subscribers/client/requests/UpdateByExternalIdPathSubscribersRequest.d.ts +1 -1
  154. package/dist/esm/api/resources/subscribers/client/requests/UpdateByExternalIdSubscribersRequest.d.ts +1 -1
  155. package/dist/esm/api/resources/subscribers/client/requests/UpdateSubscribersRequest.d.ts +1 -1
  156. package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +2 -1
  157. package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +2 -1
  158. package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +2 -1
  159. package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +2 -1
  160. package/dist/esm/api/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +2 -1
  161. package/dist/esm/api/resources/subscribers/types/UpdateSubscribersRequestStatus.js +2 -1
  162. package/dist/esm/api/resources/websites/client/Client.d.ts +1 -1
  163. package/dist/esm/api/resources/websites/client/Client.js +1 -1
  164. package/dist/esm/api/types/AbTest.d.ts +6 -2
  165. package/dist/esm/api/types/AbTestSignificance.d.ts +1 -1
  166. package/dist/esm/api/types/AbTestSignificanceMetric.d.ts +4 -1
  167. package/dist/esm/api/types/AbTestSignificanceMetric.js +4 -1
  168. package/dist/esm/api/types/AbTestWinnerCriteria.d.ts +8 -0
  169. package/dist/esm/api/types/AbTestWinnerCriteria.js +8 -0
  170. package/dist/esm/api/types/AccountHealthInsight.d.ts +1 -1
  171. package/dist/esm/api/types/BadRequestErrorBody.d.ts +3 -5
  172. package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
  173. package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.js +2 -0
  174. package/dist/esm/api/types/SequenceCreateResponseSequence.d.ts +2 -0
  175. package/dist/esm/api/types/SequenceSummary.d.ts +2 -0
  176. package/dist/esm/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
  177. package/dist/esm/api/types/index.d.ts +2 -0
  178. package/dist/esm/api/types/index.js +2 -0
  179. package/dist/esm/serialization/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +2 -0
  180. package/dist/esm/serialization/resources/abTests/client/requests/CreateAbTestsRequest.js +2 -0
  181. package/dist/esm/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +3 -0
  182. package/dist/esm/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.js +3 -0
  183. package/dist/esm/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +1 -1
  184. package/dist/esm/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +1 -1
  185. package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +2 -0
  186. package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.js +2 -0
  187. package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
  188. package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +9 -0
  189. package/dist/esm/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +1 -1
  190. package/dist/esm/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +1 -1
  191. package/dist/esm/serialization/resources/abTests/types/index.d.ts +1 -0
  192. package/dist/esm/serialization/resources/abTests/types/index.js +1 -0
  193. package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
  194. package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
  195. package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
  196. package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
  197. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
  198. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  199. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
  200. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
  201. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
  202. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
  203. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
  204. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +6 -0
  205. package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
  206. package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
  207. package/dist/esm/serialization/resources/integrations/types/index.d.ts +1 -0
  208. package/dist/esm/serialization/resources/integrations/types/index.js +1 -0
  209. package/dist/esm/serialization/resources/sequences/client/requests/SequenceCreateRequest.d.ts +1 -0
  210. package/dist/esm/serialization/resources/sequences/client/requests/SequenceCreateRequest.js +1 -0
  211. package/dist/esm/serialization/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +1 -0
  212. package/dist/esm/serialization/resources/sequences/client/requests/SequenceUpdateRequest.js +1 -0
  213. package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +1 -1
  214. package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +1 -1
  215. package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +1 -1
  216. package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +1 -1
  217. package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +1 -1
  218. package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.js +1 -1
  219. package/dist/esm/serialization/types/AbTest.d.ts +4 -1
  220. package/dist/esm/serialization/types/AbTest.js +4 -1
  221. package/dist/esm/serialization/types/AbTestSignificanceMetric.d.ts +1 -1
  222. package/dist/esm/serialization/types/AbTestSignificanceMetric.js +1 -1
  223. package/dist/esm/serialization/types/AbTestWinnerCriteria.d.ts +7 -0
  224. package/dist/esm/serialization/types/AbTestWinnerCriteria.js +3 -0
  225. package/dist/esm/serialization/types/BadRequestErrorBody.d.ts +4 -6
  226. package/dist/esm/serialization/types/BadRequestErrorBody.js +7 -7
  227. package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
  228. package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.js +6 -0
  229. package/dist/esm/serialization/types/SequenceCreateResponseSequence.d.ts +1 -0
  230. package/dist/esm/serialization/types/SequenceCreateResponseSequence.js +1 -0
  231. package/dist/esm/serialization/types/SequenceSummary.d.ts +1 -0
  232. package/dist/esm/serialization/types/SequenceSummary.js +1 -0
  233. package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
  234. package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
  235. package/dist/esm/serialization/types/index.d.ts +2 -0
  236. package/dist/esm/serialization/types/index.js +2 -0
  237. package/package.json +1 -1
@@ -1,8 +1,10 @@
1
1
  /**
2
- * PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain.
2
+ * PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. SparkLoop: listIds for new referrals.
3
3
  */
4
4
  export interface ConnectIntegrationsRequestSettings {
5
5
  eventAllowlist?: string[];
6
+ /** SparkLoop only. Lists new referrals join. Omit to keep the current choice (the workspace default lists on a first connect), null to reset to the workspace default lists, or an empty array for none. */
7
+ listIds?: string[] | null;
6
8
  /** Attio only. Sequenzy list id to Attio list UUID or slug. */
7
9
  listMap?: Record<string, string>;
8
10
  syncAllEvents?: boolean;
@@ -5,6 +5,8 @@ export interface ConnectIntegrationsResponse {
5
5
  /** PostHog and Segment only. Outcome of the optional history import request. */
6
6
  history?: Sequenzy.ConnectIntegrationsResponseHistory;
7
7
  integration?: Sequenzy.IntegrationSummary;
8
+ /** SparkLoop only. The publication whose partner referrals this workspace receives. */
9
+ publication?: Sequenzy.ConnectIntegrationsResponsePublication;
8
10
  /** Payment providers only. Whether the initial revenue backfill was queued. */
9
11
  revenueSyncQueued?: boolean;
10
12
  success?: boolean;
@@ -12,6 +14,6 @@ export interface ConnectIntegrationsResponse {
12
14
  testMode?: boolean;
13
15
  /** Lemon Squeezy only. Whether Sequenzy manages the provider webhook. */
14
16
  webhookProvisioning?: Sequenzy.ConnectIntegrationsResponseWebhookProvisioning;
15
- /** Provider webhook URL. Lemon Squeezy managed mode installs it automatically; manual mode uses the supplied secret. Empty for Attio. */
17
+ /** Provider webhook URL. Lemon Squeezy managed mode installs it automatically; manual mode uses the supplied secret. SparkLoop's is already registered in SparkLoop. Empty for Attio. */
16
18
  webhookUrl?: string;
17
19
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * SparkLoop only. The publication whose partner referrals this workspace receives.
3
+ */
4
+ export interface ConnectIntegrationsResponsePublication {
5
+ id?: string;
6
+ name?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,6 +1,6 @@
1
1
  import type * as Sequenzy from "../../../index.js";
2
2
  export interface DisconnectIntegrationsResponse {
3
- /** Null when cleanup succeeded or no managed webhook exists. Otherwise repeat disconnect to retry provider cleanup. */
3
+ /** Null when cleanup succeeded or no managed webhook exists. Otherwise repeat disconnect to retry Lemon Squeezy cleanup, or delete the SparkLoop webhook in SparkLoop. */
4
4
  cleanupWarning: string | null;
5
5
  integrationId: string;
6
6
  message: string;
@@ -1,4 +1,5 @@
1
1
  export declare const DisconnectIntegrationsResponseProvider: {
2
2
  readonly LemonSqueezy: "lemon_squeezy";
3
+ readonly Sparkloop: "sparkloop";
3
4
  };
4
5
  export type DisconnectIntegrationsResponseProvider = (typeof DisconnectIntegrationsResponseProvider)[keyof typeof DisconnectIntegrationsResponseProvider];
@@ -1,4 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  export const DisconnectIntegrationsResponseProvider = {
3
3
  LemonSqueezy: "lemon_squeezy",
4
+ Sparkloop: "sparkloop",
4
5
  };
@@ -5,6 +5,7 @@ export * from "./ConnectIntegrationsRequestProvider.js";
5
5
  export * from "./ConnectIntegrationsRequestSettings.js";
6
6
  export * from "./ConnectIntegrationsResponse.js";
7
7
  export * from "./ConnectIntegrationsResponseHistory.js";
8
+ export * from "./ConnectIntegrationsResponsePublication.js";
8
9
  export * from "./ConnectIntegrationsResponseWebhookProvisioning.js";
9
10
  export * from "./DisconnectIntegrationsResponse.js";
10
11
  export * from "./DisconnectIntegrationsResponseProvider.js";
@@ -5,6 +5,7 @@ export * from "./ConnectIntegrationsRequestProvider.js";
5
5
  export * from "./ConnectIntegrationsRequestSettings.js";
6
6
  export * from "./ConnectIntegrationsResponse.js";
7
7
  export * from "./ConnectIntegrationsResponseHistory.js";
8
+ export * from "./ConnectIntegrationsResponsePublication.js";
8
9
  export * from "./ConnectIntegrationsResponseWebhookProvisioning.js";
9
10
  export * from "./DisconnectIntegrationsResponse.js";
10
11
  export * from "./DisconnectIntegrationsResponseProvider.js";
@@ -106,6 +106,8 @@ import type * as Sequenzy from "../../../../index.js";
106
106
  * }
107
107
  */
108
108
  export interface SequenceCreateRequest {
109
+ /** Only enroll contacts whose status is `active`. Defaults to `false`: unsubscribed and bounced contacts still enter on tag, event, list and contact triggers so non-marketing steps run for them, and their marketing emails are skipped at send time. Pending double opt-in contacts still wait for confirmation. */
110
+ activeSubscribersOnly?: boolean;
109
111
  /** Addresses blind-copied on every sequence email. */
110
112
  bccEmails?: string[] | null;
111
113
  /** Custom inbound-webhook integration metadata. */
@@ -165,6 +165,8 @@ import type * as Sequenzy from "../../../../index.js";
165
165
  export interface SequenceUpdateRequest {
166
166
  /** Sequence ID */
167
167
  sequenceId: string;
168
+ /** Only enroll contacts whose status is `active`. Defaults to `false`: unsubscribed and bounced contacts still enter on tag, event, list and contact triggers so non-marketing steps run for them, and their marketing emails are skipped at send time. Pending double opt-in contacts still wait for confirmation. */
169
+ activeSubscribersOnly?: boolean;
168
170
  /** Keep enrolling later joiners of an audience until the last key date. Null clears it. Changing the trigger away from manual switches it off (endedReason "disabled"). */
169
171
  audienceAutoEnroll?: Sequenzy.SequenceAudienceAutoEnroll | null;
170
172
  /** Email addresses that receive a blind copy of every email this sequence sends, such as a customer support inbox (max 10). Set to null to remove them. */
@@ -26,7 +26,7 @@ export interface UpdateByExternalIdPathSubscribersRequest {
26
26
  phoneCountry?: string | null;
27
27
  /** SMS marketing consent. true sets smsStatus to subscribed with consent source api, false sets unsubscribed, omitted leaves SMS status unchanged. Never inferred from phone presence. */
28
28
  smsConsent?: boolean;
29
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
29
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
30
30
  status?: Sequenzy.UpdateByExternalIdPathSubscribersRequestStatus;
31
31
  tags?: string[];
32
32
  /** IANA timezone identifier (e.g. America/New_York) used for recipient-local campaign delivery. Invalid values fail with a 400 validation error; null clears the stored value. */
@@ -26,7 +26,7 @@ export interface UpdateByExternalIdSubscribersRequest {
26
26
  phoneCountry?: string | null;
27
27
  /** SMS marketing consent. true sets smsStatus to subscribed with consent source api, false sets unsubscribed, omitted leaves SMS status unchanged. Never inferred from phone presence. */
28
28
  smsConsent?: boolean;
29
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
29
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
30
30
  status?: Sequenzy.UpdateByExternalIdSubscribersRequestStatus;
31
31
  tags?: string[];
32
32
  /** IANA timezone identifier (e.g. America/New_York) used for recipient-local campaign delivery. Invalid values fail with a 400 validation error; null clears the stored value. */
@@ -26,7 +26,7 @@ export interface UpdateSubscribersRequest {
26
26
  phoneCountry?: string | null;
27
27
  /** SMS marketing consent. true sets smsStatus to subscribed with consent source api, false sets unsubscribed, omitted leaves SMS status unchanged. Never inferred from phone presence. */
28
28
  smsConsent?: boolean;
29
- /** Setting `unsubscribed` performs a full global unsubscribe. */
29
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
30
30
  status?: Sequenzy.UpdateSubscribersRequestStatus;
31
31
  tags?: string[];
32
32
  /** IANA timezone identifier such as America/New_York, stored as a native profile field and used for recipient-local campaign delivery. An invalid identifier returns 400 VALIDATION_ERROR. Omit to keep unchanged, or send null to clear. */
@@ -1,7 +1,8 @@
1
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
1
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
2
2
  export declare const UpdateByExternalIdPathSubscribersRequestStatus: {
3
3
  readonly Active: "active";
4
4
  readonly Unsubscribed: "unsubscribed";
5
5
  readonly Bounced: "bounced";
6
+ readonly Complained: "complained";
6
7
  };
7
8
  export type UpdateByExternalIdPathSubscribersRequestStatus = (typeof UpdateByExternalIdPathSubscribersRequestStatus)[keyof typeof UpdateByExternalIdPathSubscribersRequestStatus];
@@ -1,7 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
2
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
3
3
  export const UpdateByExternalIdPathSubscribersRequestStatus = {
4
4
  Active: "active",
5
5
  Unsubscribed: "unsubscribed",
6
6
  Bounced: "bounced",
7
+ Complained: "complained",
7
8
  };
@@ -1,7 +1,8 @@
1
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
1
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
2
2
  export declare const UpdateByExternalIdSubscribersRequestStatus: {
3
3
  readonly Active: "active";
4
4
  readonly Unsubscribed: "unsubscribed";
5
5
  readonly Bounced: "bounced";
6
+ readonly Complained: "complained";
6
7
  };
7
8
  export type UpdateByExternalIdSubscribersRequestStatus = (typeof UpdateByExternalIdSubscribersRequestStatus)[keyof typeof UpdateByExternalIdSubscribersRequestStatus];
@@ -1,7 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Setting `unsubscribed` performs the unsubscribe workflow. */
2
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
3
3
  export const UpdateByExternalIdSubscribersRequestStatus = {
4
4
  Active: "active",
5
5
  Unsubscribed: "unsubscribed",
6
6
  Bounced: "bounced",
7
+ Complained: "complained",
7
8
  };
@@ -1,7 +1,8 @@
1
- /** Setting `unsubscribed` performs a full global unsubscribe. */
1
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
2
2
  export declare const UpdateSubscribersRequestStatus: {
3
3
  readonly Active: "active";
4
4
  readonly Unsubscribed: "unsubscribed";
5
5
  readonly Bounced: "bounced";
6
+ readonly Complained: "complained";
6
7
  };
7
8
  export type UpdateSubscribersRequestStatus = (typeof UpdateSubscribersRequestStatus)[keyof typeof UpdateSubscribersRequestStatus];
@@ -1,7 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Setting `unsubscribed` performs a full global unsubscribe. */
2
+ /** Setting `unsubscribed` performs a full global unsubscribe. Setting `complained` records a company spam-complaint suppression (visible through the suppressions endpoints), then runs the same unsubscribe workflow; the subscriber then reads as `unsubscribed`. Repeating it is safe. */
3
3
  export const UpdateSubscribersRequestStatus = {
4
4
  Active: "active",
5
5
  Unsubscribed: "unsubscribed",
6
6
  Bounced: "bounced",
7
+ Complained: "complained",
7
8
  };
@@ -93,7 +93,7 @@ export declare class WebsitesClient {
93
93
  list(requestOptions?: WebsitesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListWebsitesResponse>;
94
94
  private __list;
95
95
  /**
96
- * Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. Some domains get a new DKIM key during the upgrade; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
96
+ * Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. The domain also gets a new 2048-bit DKIM key; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
97
97
  *
98
98
  * @param {Sequenzy.StartSendingDomainDnsUpgradeRequest} request
99
99
  * @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -309,7 +309,7 @@ export class WebsitesClient {
309
309
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/websites");
310
310
  }
311
311
  /**
312
- * Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. Some domains get a new DKIM key during the upgrade; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
312
+ * Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. The domain also gets a new 2048-bit DKIM key; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
313
313
  *
314
314
  * @param {Sequenzy.StartSendingDomainDnsUpgradeRequest} request
315
315
  * @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -14,7 +14,7 @@ export interface AbTest {
14
14
  pendingSampleUpdate?: Sequenzy.AbTestPendingSampleUpdate | null;
15
15
  /** Present on campaign detail and settings responses. Null if the campaign is missing. Counts unique recipient deliveries across retry attempts, excluding separate test emails. */
16
16
  progress?: Sequenzy.AbTestProgress | null;
17
- /** Effective settings for this test kind. Campaign tests return testPercentage, testDurationMinutes, and winnerCriteria; sequence tests return testType, winnerThreshold, and winnerCriteria. */
17
+ /** Effective settings for this test kind. Campaign tests return testPercentage, testDurationMinutes, winnerCriteria, winnerGoalId, and winnerEventName; sequence tests return testType, winnerThreshold, winnerCriteria, winnerGoalId, and winnerEventName. */
18
18
  settings?: Record<string, unknown>;
19
19
  status?: string;
20
20
  /** Campaign test duration. Sequence tests retain the legacy internal sentinel value 0; use settings instead. */
@@ -27,7 +27,11 @@ export interface AbTest {
27
27
  testType?: Sequenzy.AbTestTestType;
28
28
  updatedAt?: Date;
29
29
  variants?: Sequenzy.AbTestVariant[];
30
- winnerCriteria?: string;
30
+ winnerCriteria?: Sequenzy.AbTestWinnerCriteria;
31
+ /** Event judged by `event_rate`. Null for other criteria. */
32
+ winnerEventName?: string | null;
33
+ /** Goal judged by `goal_conversion_rate` or `goal_value` (a goal ID or `default-revenue`). Null for other criteria. */
34
+ winnerGoalId?: string | null;
31
35
  winnerSelectedAt?: Date | null;
32
36
  /** Effective sequence recipient threshold. Present for sequence tests. */
33
37
  winnerThreshold?: number;
@@ -10,7 +10,7 @@ export interface AbTestSignificance {
10
10
  /** Variant with the highest rate, or null when the top variants are tied. */
11
11
  leaderVariantId: string | null;
12
12
  leaderVariantLabel: string | null;
13
- /** Metric compared, taken from the test's winner criteria. */
13
+ /** Metric compared, taken from the test's winner criteria. Goal and event criteria compare whether recipients converted; `goal_value` does too, since value has no yes/no outcome per recipient. */
14
14
  metric: Sequenzy.AbTestSignificanceMetric;
15
15
  /** Corrected two-sided p-value of the weakest leader comparison. Very strong results can round to exactly 0. Null while data is insufficient. */
16
16
  pValue: number | null;
@@ -1,6 +1,9 @@
1
- /** Metric compared, taken from the test's winner criteria. */
1
+ /** Metric compared, taken from the test's winner criteria. Goal and event criteria compare whether recipients converted; `goal_value` does too, since value has no yes/no outcome per recipient. */
2
2
  export declare const AbTestSignificanceMetric: {
3
3
  readonly OpenRate: "open_rate";
4
4
  readonly ClickRate: "click_rate";
5
+ readonly GoalConversionRate: "goal_conversion_rate";
6
+ readonly GoalValue: "goal_value";
7
+ readonly EventRate: "event_rate";
5
8
  };
6
9
  export type AbTestSignificanceMetric = (typeof AbTestSignificanceMetric)[keyof typeof AbTestSignificanceMetric];
@@ -1,6 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Metric compared, taken from the test's winner criteria. */
2
+ /** Metric compared, taken from the test's winner criteria. Goal and event criteria compare whether recipients converted; `goal_value` does too, since value has no yes/no outcome per recipient. */
3
3
  export const AbTestSignificanceMetric = {
4
4
  OpenRate: "open_rate",
5
5
  ClickRate: "click_rate",
6
+ GoalConversionRate: "goal_conversion_rate",
7
+ GoalValue: "goal_value",
8
+ EventRate: "event_rate",
6
9
  };
@@ -0,0 +1,8 @@
1
+ export declare const AbTestWinnerCriteria: {
2
+ readonly OpenRate: "open_rate";
3
+ readonly ClickRate: "click_rate";
4
+ readonly GoalConversionRate: "goal_conversion_rate";
5
+ readonly GoalValue: "goal_value";
6
+ readonly EventRate: "event_rate";
7
+ };
8
+ export type AbTestWinnerCriteria = (typeof AbTestWinnerCriteria)[keyof typeof AbTestWinnerCriteria];
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const AbTestWinnerCriteria = {
3
+ OpenRate: "open_rate",
4
+ ClickRate: "click_rate",
5
+ GoalConversionRate: "goal_conversion_rate",
6
+ GoalValue: "goal_value",
7
+ EventRate: "event_rate",
8
+ };
@@ -7,7 +7,7 @@ export interface AccountHealthInsight {
7
7
  actions?: Sequenzy.AccountHealthAction[];
8
8
  detail?: string;
9
9
  detector?: Sequenzy.AccountHealthInsightDetector;
10
- /** Detector-specific numbers behind the finding. Event findings carry `monthlyRevenue` (USD a month the people behind the event pay) when a payment integration syncs revenue to contacts. A missing_sequence finding carries the suggested `playbook`, `name`, `goal`, `trigger` and `steps`. An over_emailing finding carries `overloadedSubscribers`, `recipients`, `peakPerDay`, `dailyThreshold`, `windowDays`, `frequencyCap` (null when off) and `sources` (type campaign, sequence or api, id, name, sends, and respectsFrequencyCap for sequences; the api source has an empty id and stands for marketing Send API email, which the frequency cap does not limit). A neglected_subscribers finding carries `neglectedSubscribers`, `eligibleSubscribers`, `days`, `estimated` and `sampled`. */
10
+ /** Detector-specific numbers behind the finding. Event findings carry `monthlyRevenue` (USD a month the people behind the event pay) when a payment integration syncs revenue to contacts. A missing_sequence finding carries the suggested `playbook`, `name`, `goal`, `trigger` and `steps`. An over_emailing finding carries `overloadedSubscribers`, `recipients`, `peakPerDay`, `dailyThreshold`, `windowDays`, `frequencyCap` (null when off) and `sources` (type campaign, sequence or api, id, name, sends, and respectsFrequencyCap for sequences, plus enrollsEveryTime when the sequence uses unlimited re-entry and peakEnrollmentsPerPerson, the most times one person entered it in the window; the api source has an empty id and stands for marketing Send API email, which the frequency cap does not limit). A neglected_subscribers finding carries `neglectedSubscribers`, `eligibleSubscribers`, `days`, `estimated` and `sampled`. */
11
11
  evidence?: Record<string, unknown>;
12
12
  /** Included in Get Account Health only. Your own answer to "was this useful?" for this finding (the API key owner's), or null when you have not answered. Other responses that return an insight leave it out. */
13
13
  feedback?: Sequenzy.AccountHealthInsightFeedback | null;
@@ -1,7 +1,5 @@
1
1
  import type * as Sequenzy from "../index.js";
2
- export interface BadRequestErrorBody {
3
- code?: string;
4
- error?: string;
5
- issues?: Sequenzy.DesignMdIssue[];
6
- success?: boolean;
2
+ export interface BadRequestErrorBody extends Sequenzy.Error_ {
3
+ /** SparkLoop only, with code sparkloop_publication_required. The publications to pass as providerAccountId. */
4
+ publications?: Sequenzy.BadRequestErrorBodyPublicationsItem[];
7
5
  }
@@ -0,0 +1,4 @@
1
+ export interface BadRequestErrorBodyPublicationsItem {
2
+ id?: string;
3
+ name?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -2,6 +2,8 @@ import type * as Sequenzy from "../index.js";
2
2
  export interface SequenceCreateResponseSequence {
3
3
  /** Whether new subscribers can enter the sequence right now. */
4
4
  acceptsNewEnrollments?: boolean;
5
+ /** Whether only active contacts can enter. When `false`, unsubscribed and bounced contacts still enter and only their marketing emails are skipped. */
6
+ activeSubscribersOnly?: boolean;
5
7
  discountCount?: number;
6
8
  effectiveStatus?: Sequenzy.SequenceEffectiveStatus;
7
9
  /** One plain-language sentence describing the run state, safe to show a user verbatim. */
@@ -2,6 +2,8 @@ import type * as Sequenzy from "../index.js";
2
2
  export interface SequenceSummary {
3
3
  /** Whether new subscribers can enter the sequence right now. */
4
4
  acceptsNewEnrollments?: boolean;
5
+ /** Whether only active contacts can enter. When `false`, unsubscribed and bounced contacts still enter and only their marketing emails are skipped. */
6
+ activeSubscribersOnly?: boolean;
5
7
  audienceAutoEnroll?: Sequenzy.SequenceAudienceAutoEnroll | null;
6
8
  /** Email addresses blind-copied on every email this sequence sends. */
7
9
  bccEmails?: string[] | null;
@@ -1,7 +1,10 @@
1
1
  import type * as Sequenzy from "../index.js";
2
2
  export interface TransactionalMetricsResponseBounceBreakdown {
3
+ /** Temporary bounces the receiving server refused over content, policy, reputation or sender authentication (subtypes ContentRejected, AttachmentRejected, ReputationBlocked, NonRecipientFailure and AppleRelayUnregistered). A subset of transient; soft bounces are transient minus blocked. Blocked bounces never suppress the address. */
4
+ blocked?: number;
3
5
  permanent?: number;
4
6
  subtypes?: Sequenzy.TransactionalMetricsResponseBounceBreakdownSubtypesItem[];
7
+ /** Every temporary bounce, including blocked ones. */
5
8
  transient?: number;
6
9
  undetermined?: number;
7
10
  }
@@ -9,6 +9,7 @@ export * from "./AbTestSignificanceMetric.js";
9
9
  export * from "./AbTestSignificanceStatus.js";
10
10
  export * from "./AbTestTestType.js";
11
11
  export * from "./AbTestVariant.js";
12
+ export * from "./AbTestWinnerCriteria.js";
12
13
  export * from "./Account.js";
13
14
  export * from "./AccountEvent.js";
14
15
  export * from "./AccountHealthAction.js";
@@ -68,6 +69,7 @@ export * from "./BadRequestErrorBodyCode.js";
68
69
  export * from "./BadRequestErrorBodyDetails.js";
69
70
  export * from "./BadRequestErrorBodyDetailsLimit.js";
70
71
  export * from "./BadRequestErrorBodyError.js";
72
+ export * from "./BadRequestErrorBodyPublicationsItem.js";
71
73
  export * from "./BlockFieldWarnings.js";
72
74
  export * from "./BulkSubscriberTagRequest.js";
73
75
  export * from "./BulkSubscriberTagResponse.js";
@@ -9,6 +9,7 @@ export * from "./AbTestSignificanceMetric.js";
9
9
  export * from "./AbTestSignificanceStatus.js";
10
10
  export * from "./AbTestTestType.js";
11
11
  export * from "./AbTestVariant.js";
12
+ export * from "./AbTestWinnerCriteria.js";
12
13
  export * from "./Account.js";
13
14
  export * from "./AccountEvent.js";
14
15
  export * from "./AccountHealthAction.js";
@@ -68,6 +69,7 @@ export * from "./BadRequestErrorBodyCode.js";
68
69
  export * from "./BadRequestErrorBodyDetails.js";
69
70
  export * from "./BadRequestErrorBodyDetailsLimit.js";
70
71
  export * from "./BadRequestErrorBodyError.js";
72
+ export * from "./BadRequestErrorBodyPublicationsItem.js";
71
73
  export * from "./BlockFieldWarnings.js";
72
74
  export * from "./BulkSubscriberTagRequest.js";
73
75
  export * from "./BulkSubscriberTagResponse.js";
@@ -16,6 +16,8 @@ export declare namespace CreateAbTestsRequest {
16
16
  testType?: CreateAbTestsRequestTestType.Raw | null;
17
17
  variants?: CreateAbTestsRequestVariantsItem.Raw[] | null;
18
18
  winnerCriteria?: CreateAbTestsRequestWinnerCriteria.Raw | null;
19
+ winnerEventName?: (string | null | undefined) | null;
20
+ winnerGoalId?: (string | null | undefined) | null;
19
21
  winnerThreshold?: number | null;
20
22
  }
21
23
  }
@@ -13,5 +13,7 @@ export const CreateAbTestsRequest = core.serialization.object({
13
13
  testType: CreateAbTestsRequestTestType.optional(),
14
14
  variants: core.serialization.list(CreateAbTestsRequestVariantsItem).optional(),
15
15
  winnerCriteria: CreateAbTestsRequestWinnerCriteria.optional(),
16
+ winnerEventName: core.serialization.string().optionalNullable(),
17
+ winnerGoalId: core.serialization.string().optionalNullable(),
16
18
  winnerThreshold: core.serialization.number().optional(),
17
19
  });
@@ -9,12 +9,15 @@ export declare namespace UpdateAbTestsRequest {
9
9
  autoSelectWinner?: boolean | null;
10
10
  cancelSampleUpdate?: boolean | null;
11
11
  confirmLiveChange?: boolean | null;
12
+ endTestNow?: boolean | null;
12
13
  expectedUpdatedAt?: string | null;
13
14
  name?: string | null;
14
15
  testDurationMinutes?: number | null;
15
16
  testPercentage?: number | null;
16
17
  testType?: UpdateAbTestsRequestTestType.Raw | null;
17
18
  winnerCriteria?: UpdateAbTestsRequestWinnerCriteria.Raw | null;
19
+ winnerEventName?: (string | null | undefined) | null;
20
+ winnerGoalId?: (string | null | undefined) | null;
18
21
  winnerThreshold?: number | null;
19
22
  }
20
23
  }
@@ -6,11 +6,14 @@ export const UpdateAbTestsRequest = core.serialization.object({
6
6
  autoSelectWinner: core.serialization.boolean().optional(),
7
7
  cancelSampleUpdate: core.serialization.boolean().optional(),
8
8
  confirmLiveChange: core.serialization.boolean().optional(),
9
+ endTestNow: core.serialization.boolean().optional(),
9
10
  expectedUpdatedAt: core.serialization.date().optional(),
10
11
  name: core.serialization.string().optional(),
11
12
  testDurationMinutes: core.serialization.number().optional(),
12
13
  testPercentage: core.serialization.number().optional(),
13
14
  testType: UpdateAbTestsRequestTestType.optional(),
14
15
  winnerCriteria: UpdateAbTestsRequestWinnerCriteria.optional(),
16
+ winnerEventName: core.serialization.string().optionalNullable(),
17
+ winnerGoalId: core.serialization.string().optionalNullable(),
15
18
  winnerThreshold: core.serialization.number().optional(),
16
19
  });
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const CreateAbTestsRequestWinnerCriteria: core.serialization.Schema<serializers.CreateAbTestsRequestWinnerCriteria.Raw, Sequenzy.CreateAbTestsRequestWinnerCriteria>;
5
5
  export declare namespace CreateAbTestsRequestWinnerCriteria {
6
- type Raw = "open_rate" | "click_rate";
6
+ type Raw = "open_rate" | "click_rate" | "goal_conversion_rate" | "goal_value" | "event_rate";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.js";
3
- export const CreateAbTestsRequestWinnerCriteria = core.serialization.enum_(["open_rate", "click_rate"]);
3
+ export const CreateAbTestsRequestWinnerCriteria = core.serialization.enum_(["open_rate", "click_rate", "goal_conversion_rate", "goal_value", "event_rate"]);
@@ -1,12 +1,14 @@
1
1
  import type * as Sequenzy from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
+ import { GetStatsAbTestsResponseVariantsItemOutcome } from "./GetStatsAbTestsResponseVariantsItemOutcome.js";
4
5
  export declare const GetStatsAbTestsResponseVariantsItem: core.serialization.ObjectSchema<serializers.GetStatsAbTestsResponseVariantsItem.Raw, Sequenzy.GetStatsAbTestsResponseVariantsItem>;
5
6
  export declare namespace GetStatsAbTestsResponseVariantsItem {
6
7
  interface Raw {
7
8
  id?: string | null;
8
9
  isWinner?: boolean | null;
9
10
  label?: string | null;
11
+ outcome?: GetStatsAbTestsResponseVariantsItemOutcome.Raw | null;
10
12
  stats?: Record<string, unknown> | null;
11
13
  subject?: string | null;
12
14
  }
@@ -1,9 +1,11 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.js";
3
+ import { GetStatsAbTestsResponseVariantsItemOutcome } from "./GetStatsAbTestsResponseVariantsItemOutcome.js";
3
4
  export const GetStatsAbTestsResponseVariantsItem = core.serialization.object({
4
5
  id: core.serialization.string().optional(),
5
6
  isWinner: core.serialization.boolean().optional(),
6
7
  label: core.serialization.string().optional(),
8
+ outcome: GetStatsAbTestsResponseVariantsItemOutcome.optional(),
7
9
  stats: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
8
10
  subject: core.serialization.string().optional(),
9
11
  });
@@ -0,0 +1,13 @@
1
+ import type * as Sequenzy from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const GetStatsAbTestsResponseVariantsItemOutcome: core.serialization.ObjectSchema<serializers.GetStatsAbTestsResponseVariantsItemOutcome.Raw, Sequenzy.GetStatsAbTestsResponseVariantsItemOutcome>;
5
+ export declare namespace GetStatsAbTestsResponseVariantsItemOutcome {
6
+ interface Raw {
7
+ conversionRate?: number | null;
8
+ convertedRecipients?: number | null;
9
+ deliveries?: number | null;
10
+ value?: number | null;
11
+ valuePerDelivery?: number | null;
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.js";
3
+ export const GetStatsAbTestsResponseVariantsItemOutcome = core.serialization.object({
4
+ conversionRate: core.serialization.number().optional(),
5
+ convertedRecipients: core.serialization.number().optional(),
6
+ deliveries: core.serialization.number().optional(),
7
+ value: core.serialization.number().optional(),
8
+ valuePerDelivery: core.serialization.number().optional(),
9
+ });
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const UpdateAbTestsRequestWinnerCriteria: core.serialization.Schema<serializers.UpdateAbTestsRequestWinnerCriteria.Raw, Sequenzy.UpdateAbTestsRequestWinnerCriteria>;
5
5
  export declare namespace UpdateAbTestsRequestWinnerCriteria {
6
- type Raw = "open_rate" | "click_rate";
6
+ type Raw = "open_rate" | "click_rate" | "goal_conversion_rate" | "goal_value" | "event_rate";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.js";
3
- export const UpdateAbTestsRequestWinnerCriteria = core.serialization.enum_(["open_rate", "click_rate"]);
3
+ export const UpdateAbTestsRequestWinnerCriteria = core.serialization.enum_(["open_rate", "click_rate", "goal_conversion_rate", "goal_value", "event_rate"]);
@@ -9,6 +9,7 @@ export * from "./GetAbTestsResponse.js";
9
9
  export * from "./GetStatsAbTestsRequestPeriod.js";
10
10
  export * from "./GetStatsAbTestsResponse.js";
11
11
  export * from "./GetStatsAbTestsResponseVariantsItem.js";
12
+ export * from "./GetStatsAbTestsResponseVariantsItemOutcome.js";
12
13
  export * from "./ListAbTestsResponse.js";
13
14
  export * from "./RestartAbTestsRequestTestType.js";
14
15
  export * from "./RestartAbTestsResponse.js";
@@ -9,6 +9,7 @@ export * from "./GetAbTestsResponse.js";
9
9
  export * from "./GetStatsAbTestsRequestPeriod.js";
10
10
  export * from "./GetStatsAbTestsResponse.js";
11
11
  export * from "./GetStatsAbTestsResponseVariantsItem.js";
12
+ export * from "./GetStatsAbTestsResponseVariantsItemOutcome.js";
12
13
  export * from "./ListAbTestsResponse.js";
13
14
  export * from "./RestartAbTestsRequestTestType.js";
14
15
  export * from "./RestartAbTestsResponse.js";
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const CreateForAudienceCampaignsRequestSelectionActivityBounceType: core.serialization.Schema<serializers.CreateForAudienceCampaignsRequestSelectionActivityBounceType.Raw, Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityBounceType>;
5
5
  export declare namespace CreateForAudienceCampaignsRequestSelectionActivityBounceType {
6
- type Raw = "Permanent" | "Transient";
6
+ type Raw = "Permanent" | "Transient" | "Soft" | "Blocked";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.js";
3
- export const CreateForAudienceCampaignsRequestSelectionActivityBounceType = core.serialization.enum_(["Permanent", "Transient"]);
3
+ export const CreateForAudienceCampaignsRequestSelectionActivityBounceType = core.serialization.enum_(["Permanent", "Transient", "Soft", "Blocked"]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const ListEmailSendsRequestBounceType: core.serialization.Schema<serializers.ListEmailSendsRequestBounceType.Raw, Sequenzy.ListEmailSendsRequestBounceType>;
5
5
  export declare namespace ListEmailSendsRequestBounceType {
6
- type Raw = "Permanent" | "Transient";
6
+ type Raw = "Permanent" | "Transient" | "Soft" | "Blocked";
7
7
  }