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.
- package/dist/cjs/api/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +5 -1
- package/dist/cjs/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +7 -1
- package/dist/cjs/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +4 -1
- package/dist/cjs/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +4 -1
- package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +3 -0
- package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
- package/dist/cjs/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +3 -0
- package/dist/cjs/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +4 -1
- package/dist/cjs/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +4 -1
- package/dist/cjs/api/resources/abTests/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/abTests/types/index.js +1 -0
- package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
- package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
- package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
- package/dist/cjs/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
- package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/integrations/client/Client.js +5 -2
- package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
- package/dist/cjs/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +3 -0
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
- package/dist/cjs/api/resources/integrations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/index.js +1 -0
- package/dist/cjs/api/resources/sequences/client/requests/SequenceCreateRequest.d.ts +2 -0
- package/dist/cjs/api/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +2 -0
- package/dist/cjs/api/resources/subscribers/client/requests/UpdateByExternalIdPathSubscribersRequest.d.ts +1 -1
- package/dist/cjs/api/resources/subscribers/client/requests/UpdateByExternalIdSubscribersRequest.d.ts +1 -1
- package/dist/cjs/api/resources/subscribers/client/requests/UpdateSubscribersRequest.d.ts +1 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +2 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +2 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +2 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +2 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +2 -1
- package/dist/cjs/api/resources/subscribers/types/UpdateSubscribersRequestStatus.js +2 -1
- package/dist/cjs/api/resources/websites/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/websites/client/Client.js +1 -1
- package/dist/cjs/api/types/AbTest.d.ts +6 -2
- package/dist/cjs/api/types/AbTestSignificance.d.ts +1 -1
- package/dist/cjs/api/types/AbTestSignificanceMetric.d.ts +4 -1
- package/dist/cjs/api/types/AbTestSignificanceMetric.js +4 -1
- package/dist/cjs/api/types/AbTestWinnerCriteria.d.ts +8 -0
- package/dist/cjs/api/types/AbTestWinnerCriteria.js +11 -0
- package/dist/cjs/api/types/AccountHealthInsight.d.ts +1 -1
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +3 -5
- package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
- package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.js +3 -0
- package/dist/cjs/api/types/SequenceCreateResponseSequence.d.ts +2 -0
- package/dist/cjs/api/types/SequenceSummary.d.ts +2 -0
- package/dist/cjs/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/serialization/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/abTests/client/requests/CreateAbTestsRequest.js +2 -0
- package/dist/cjs/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +3 -0
- package/dist/cjs/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.js +3 -0
- package/dist/cjs/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +1 -1
- package/dist/cjs/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +1 -1
- package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +2 -0
- package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.js +2 -0
- package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
- package/dist/cjs/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +35 -0
- package/dist/cjs/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +1 -1
- package/dist/cjs/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +1 -1
- package/dist/cjs/serialization/resources/abTests/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/abTests/types/index.js +1 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
- package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
- package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
- package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +32 -0
- package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
- package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
- package/dist/cjs/serialization/resources/integrations/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/integrations/types/index.js +1 -0
- package/dist/cjs/serialization/resources/sequences/client/requests/SequenceCreateRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/sequences/client/requests/SequenceCreateRequest.js +1 -0
- package/dist/cjs/serialization/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/sequences/client/requests/SequenceUpdateRequest.js +1 -0
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +1 -1
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +1 -1
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +1 -1
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +1 -1
- package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +1 -1
- package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.js +1 -1
- package/dist/cjs/serialization/types/AbTest.d.ts +4 -1
- package/dist/cjs/serialization/types/AbTest.js +4 -1
- package/dist/cjs/serialization/types/AbTestSignificanceMetric.d.ts +1 -1
- package/dist/cjs/serialization/types/AbTestSignificanceMetric.js +1 -1
- package/dist/cjs/serialization/types/AbTestWinnerCriteria.d.ts +7 -0
- package/dist/cjs/serialization/types/AbTestWinnerCriteria.js +29 -0
- package/dist/cjs/serialization/types/BadRequestErrorBody.d.ts +4 -6
- package/dist/cjs/serialization/types/BadRequestErrorBody.js +7 -7
- package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.js +32 -0
- package/dist/cjs/serialization/types/SequenceCreateResponseSequence.d.ts +1 -0
- package/dist/cjs/serialization/types/SequenceCreateResponseSequence.js +1 -0
- package/dist/cjs/serialization/types/SequenceSummary.d.ts +1 -0
- package/dist/cjs/serialization/types/SequenceSummary.js +1 -0
- package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
- package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
- package/dist/cjs/serialization/types/index.d.ts +2 -0
- package/dist/cjs/serialization/types/index.js +2 -0
- package/dist/esm/api/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +5 -1
- package/dist/esm/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +7 -1
- package/dist/esm/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +4 -1
- package/dist/esm/api/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +4 -1
- package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +3 -0
- package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
- package/dist/esm/api/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +2 -0
- package/dist/esm/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +4 -1
- package/dist/esm/api/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +4 -1
- package/dist/esm/api/resources/abTests/types/index.d.ts +1 -0
- package/dist/esm/api/resources/abTests/types/index.js +1 -0
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
- package/dist/esm/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
- package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
- package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
- package/dist/esm/api/resources/integrations/client/Client.d.ts +3 -2
- package/dist/esm/api/resources/integrations/client/Client.js +5 -2
- package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
- package/dist/esm/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +2 -0
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
- package/dist/esm/api/resources/integrations/types/index.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/index.js +1 -0
- package/dist/esm/api/resources/sequences/client/requests/SequenceCreateRequest.d.ts +2 -0
- package/dist/esm/api/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +2 -0
- package/dist/esm/api/resources/subscribers/client/requests/UpdateByExternalIdPathSubscribersRequest.d.ts +1 -1
- package/dist/esm/api/resources/subscribers/client/requests/UpdateByExternalIdSubscribersRequest.d.ts +1 -1
- package/dist/esm/api/resources/subscribers/client/requests/UpdateSubscribersRequest.d.ts +1 -1
- package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +2 -1
- package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +2 -1
- package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +2 -1
- package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +2 -1
- package/dist/esm/api/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +2 -1
- package/dist/esm/api/resources/subscribers/types/UpdateSubscribersRequestStatus.js +2 -1
- package/dist/esm/api/resources/websites/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/websites/client/Client.js +1 -1
- package/dist/esm/api/types/AbTest.d.ts +6 -2
- package/dist/esm/api/types/AbTestSignificance.d.ts +1 -1
- package/dist/esm/api/types/AbTestSignificanceMetric.d.ts +4 -1
- package/dist/esm/api/types/AbTestSignificanceMetric.js +4 -1
- package/dist/esm/api/types/AbTestWinnerCriteria.d.ts +8 -0
- package/dist/esm/api/types/AbTestWinnerCriteria.js +8 -0
- package/dist/esm/api/types/AccountHealthInsight.d.ts +1 -1
- package/dist/esm/api/types/BadRequestErrorBody.d.ts +3 -5
- package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
- package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.js +2 -0
- package/dist/esm/api/types/SequenceCreateResponseSequence.d.ts +2 -0
- package/dist/esm/api/types/SequenceSummary.d.ts +2 -0
- package/dist/esm/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
- package/dist/esm/api/types/index.d.ts +2 -0
- package/dist/esm/api/types/index.js +2 -0
- package/dist/esm/serialization/resources/abTests/client/requests/CreateAbTestsRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/abTests/client/requests/CreateAbTestsRequest.js +2 -0
- package/dist/esm/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +3 -0
- package/dist/esm/serialization/resources/abTests/client/requests/UpdateAbTestsRequest.js +3 -0
- package/dist/esm/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.d.ts +1 -1
- package/dist/esm/serialization/resources/abTests/types/CreateAbTestsRequestWinnerCriteria.js +1 -1
- package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.d.ts +2 -0
- package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItem.js +2 -0
- package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.d.ts +13 -0
- package/dist/esm/serialization/resources/abTests/types/GetStatsAbTestsResponseVariantsItemOutcome.js +9 -0
- package/dist/esm/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.d.ts +1 -1
- package/dist/esm/serialization/resources/abTests/types/UpdateAbTestsRequestWinnerCriteria.js +1 -1
- package/dist/esm/serialization/resources/abTests/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/abTests/types/index.js +1 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
- package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
- package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
- package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +6 -0
- package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
- package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
- package/dist/esm/serialization/resources/integrations/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/integrations/types/index.js +1 -0
- package/dist/esm/serialization/resources/sequences/client/requests/SequenceCreateRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/sequences/client/requests/SequenceCreateRequest.js +1 -0
- package/dist/esm/serialization/resources/sequences/client/requests/SequenceUpdateRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/sequences/client/requests/SequenceUpdateRequest.js +1 -0
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts +1 -1
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js +1 -1
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts +1 -1
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js +1 -1
- package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts +1 -1
- package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.js +1 -1
- package/dist/esm/serialization/types/AbTest.d.ts +4 -1
- package/dist/esm/serialization/types/AbTest.js +4 -1
- package/dist/esm/serialization/types/AbTestSignificanceMetric.d.ts +1 -1
- package/dist/esm/serialization/types/AbTestSignificanceMetric.js +1 -1
- package/dist/esm/serialization/types/AbTestWinnerCriteria.d.ts +7 -0
- package/dist/esm/serialization/types/AbTestWinnerCriteria.js +3 -0
- package/dist/esm/serialization/types/BadRequestErrorBody.d.ts +4 -6
- package/dist/esm/serialization/types/BadRequestErrorBody.js +7 -7
- package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
- package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.js +6 -0
- package/dist/esm/serialization/types/SequenceCreateResponseSequence.d.ts +1 -0
- package/dist/esm/serialization/types/SequenceCreateResponseSequence.js +1 -0
- package/dist/esm/serialization/types/SequenceSummary.d.ts +1 -0
- package/dist/esm/serialization/types/SequenceSummary.js +1 -0
- package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
- package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
- package/dist/esm/serialization/types/index.d.ts +2 -0
- package/dist/esm/serialization/types/index.js +2 -0
- package/package.json +1 -1
|
@@ -20,8 +20,12 @@ export interface CreateAbTestsRequest {
|
|
|
20
20
|
testType?: Sequenzy.CreateAbTestsRequestTestType;
|
|
21
21
|
/** Extra variants beyond the control. Required (min 1) when converting with automationNodeId. Total variants cannot exceed 5. */
|
|
22
22
|
variants?: Sequenzy.CreateAbTestsRequestVariantsItem[];
|
|
23
|
-
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. */
|
|
23
|
+
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. `goal_conversion_rate` picks the variant whose recipients convert on `winnerGoalId` most often per delivered email, `goal_value` the one with the most goal value per delivered email, and `event_rate` the one whose recipients most often fire `winnerEventName` after receiving it. Goal conversions count when attributed to the email (an open or click within the goal's attribution window; for campaigns, revenue and campaign goals also credit a recipient who received the email in that window). When no variant converts, campaign tests fall back to click rate and sequence tests keep splitting contacts. */
|
|
24
24
|
winnerCriteria?: Sequenzy.CreateAbTestsRequestWinnerCriteria;
|
|
25
|
+
/** Required for `event_rate`. The event a recipient must fire after receiving the variant. */
|
|
26
|
+
winnerEventName?: string | null;
|
|
27
|
+
/** Required for `goal_conversion_rate` and `goal_value`. A goal ID that is active and company-wide or scoped to this campaign or sequence, or `default-revenue` for built-in purchase revenue (SaaS purchases and commerce orders, in cents). Other goals return 400. */
|
|
28
|
+
winnerGoalId?: string | null;
|
|
25
29
|
/** Number of sequence recipients in the test sample. */
|
|
26
30
|
winnerThreshold?: number;
|
|
27
31
|
}
|
|
@@ -14,6 +14,8 @@ export interface UpdateAbTestsRequest {
|
|
|
14
14
|
cancelSampleUpdate?: boolean;
|
|
15
15
|
/** Required when sequence settings affect an active test or a test with recorded activity. */
|
|
16
16
|
confirmLiveChange?: boolean;
|
|
17
|
+
/** Campaign-only. End a running test now: the winner is picked by winnerCriteria from the results so far and sent to the remaining audience. Requires campaigns:send. Cannot be combined with testDurationMinutes; returns 400 for tests that are not running and 409 while a sample change is pending. */
|
|
18
|
+
endTestNow?: boolean;
|
|
17
19
|
/** Optional campaign revision from GET; stale values return 409. Omit to preserve existing unconditional update behavior. */
|
|
18
20
|
expectedUpdatedAt?: Date;
|
|
19
21
|
name?: string;
|
|
@@ -23,8 +25,12 @@ export interface UpdateAbTestsRequest {
|
|
|
23
25
|
testPercentage?: number;
|
|
24
26
|
/** Sequence-only variant strategy. */
|
|
25
27
|
testType?: Sequenzy.UpdateAbTestsRequestTestType;
|
|
26
|
-
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts. */
|
|
28
|
+
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts, together with winnerGoalId and winnerEventName. Changing the criterion clears a goal or event the new criterion does not use. */
|
|
27
29
|
winnerCriteria?: Sequenzy.UpdateAbTestsRequestWinnerCriteria;
|
|
30
|
+
/** Required for `event_rate`. The event a recipient must fire after receiving the variant. */
|
|
31
|
+
winnerEventName?: string | null;
|
|
32
|
+
/** Required for `goal_conversion_rate` and `goal_value`. A goal ID that is active and company-wide or scoped to this campaign or sequence, or `default-revenue` for built-in purchase revenue (SaaS purchases and commerce orders, in cents). Other goals return 400. */
|
|
33
|
+
winnerGoalId?: string | null;
|
|
28
34
|
/** Sequence-only recipient threshold. */
|
|
29
35
|
winnerThreshold?: number;
|
|
30
36
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. */
|
|
1
|
+
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. `goal_conversion_rate` picks the variant whose recipients convert on `winnerGoalId` most often per delivered email, `goal_value` the one with the most goal value per delivered email, and `event_rate` the one whose recipients most often fire `winnerEventName` after receiving it. Goal conversions count when attributed to the email (an open or click within the goal's attribution window; for campaigns, revenue and campaign goals also credit a recipient who received the email in that window). When no variant converts, campaign tests fall back to click rate and sequence tests keep splitting contacts. */
|
|
2
2
|
export declare const CreateAbTestsRequestWinnerCriteria: {
|
|
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 CreateAbTestsRequestWinnerCriteria = (typeof CreateAbTestsRequestWinnerCriteria)[keyof typeof CreateAbTestsRequestWinnerCriteria];
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CreateAbTestsRequestWinnerCriteria = void 0;
|
|
5
|
-
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. */
|
|
5
|
+
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. `goal_conversion_rate` picks the variant whose recipients convert on `winnerGoalId` most often per delivered email, `goal_value` the one with the most goal value per delivered email, and `event_rate` the one whose recipients most often fire `winnerEventName` after receiving it. Goal conversions count when attributed to the email (an open or click within the goal's attribution window; for campaigns, revenue and campaign goals also credit a recipient who received the email in that window). When no variant converts, campaign tests fall back to click rate and sequence tests keep splitting contacts. */
|
|
6
6
|
exports.CreateAbTestsRequestWinnerCriteria = {
|
|
7
7
|
OpenRate: "open_rate",
|
|
8
8
|
ClickRate: "click_rate",
|
|
9
|
+
GoalConversionRate: "goal_conversion_rate",
|
|
10
|
+
GoalValue: "goal_value",
|
|
11
|
+
EventRate: "event_rate",
|
|
9
12
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../index.js";
|
|
1
2
|
export interface GetStatsAbTestsResponseVariantsItem {
|
|
2
3
|
id?: string;
|
|
3
4
|
isWinner?: boolean;
|
|
4
5
|
label?: string;
|
|
6
|
+
/** Present when the test is judged on a goal or event. Covers every send of the test, whatever the requested period. */
|
|
7
|
+
outcome?: Sequenzy.GetStatsAbTestsResponseVariantsItemOutcome;
|
|
5
8
|
stats?: Record<string, unknown>;
|
|
6
9
|
subject?: string;
|
|
7
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Present when the test is judged on a goal or event. Covers every send of the test, whatever the requested period.
|
|
3
|
+
*/
|
|
4
|
+
export interface GetStatsAbTestsResponseVariantsItemOutcome {
|
|
5
|
+
/** convertedRecipients per delivered email, as a percentage. */
|
|
6
|
+
conversionRate?: number;
|
|
7
|
+
/** Recipients with an attributed goal conversion, or who fired the event after their send. */
|
|
8
|
+
convertedRecipients?: number;
|
|
9
|
+
deliveries?: number;
|
|
10
|
+
/** Summed tracked goal value, such as revenue in cents. Refunds lower it. 0 for events. */
|
|
11
|
+
value?: number;
|
|
12
|
+
valuePerDelivery?: number;
|
|
13
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts. */
|
|
1
|
+
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts, together with winnerGoalId and winnerEventName. Changing the criterion clears a goal or event the new criterion does not use. */
|
|
2
2
|
export declare const UpdateAbTestsRequestWinnerCriteria: {
|
|
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 UpdateAbTestsRequestWinnerCriteria = (typeof UpdateAbTestsRequestWinnerCriteria)[keyof typeof UpdateAbTestsRequestWinnerCriteria];
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.UpdateAbTestsRequestWinnerCriteria = void 0;
|
|
5
|
-
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts. */
|
|
5
|
+
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts, together with winnerGoalId and winnerEventName. Changing the criterion clears a goal or event the new criterion does not use. */
|
|
6
6
|
exports.UpdateAbTestsRequestWinnerCriteria = {
|
|
7
7
|
OpenRate: "open_rate",
|
|
8
8
|
ClickRate: "click_rate",
|
|
9
|
+
GoalConversionRate: "goal_conversion_rate",
|
|
10
|
+
GoalValue: "goal_value",
|
|
11
|
+
EventRate: "event_rate",
|
|
9
12
|
};
|
|
@@ -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";
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./GetAbTestsResponse.js"), exports);
|
|
|
25
25
|
__exportStar(require("./GetStatsAbTestsRequestPeriod.js"), exports);
|
|
26
26
|
__exportStar(require("./GetStatsAbTestsResponse.js"), exports);
|
|
27
27
|
__exportStar(require("./GetStatsAbTestsResponseVariantsItem.js"), exports);
|
|
28
|
+
__exportStar(require("./GetStatsAbTestsResponseVariantsItemOutcome.js"), exports);
|
|
28
29
|
__exportStar(require("./ListAbTestsResponse.js"), exports);
|
|
29
30
|
__exportStar(require("./RestartAbTestsRequestTestType.js"), exports);
|
|
30
31
|
__exportStar(require("./RestartAbTestsResponse.js"), exports);
|
|
@@ -8,7 +8,7 @@ export interface CreateForAudienceCampaignsRequestSelectionActivity {
|
|
|
8
8
|
automationNodeId?: string;
|
|
9
9
|
/** Only for bounce activity. */
|
|
10
10
|
bounceSubType?: string;
|
|
11
|
-
/** Only for bounce activity. */
|
|
11
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
12
12
|
bounceType?: Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityBounceType;
|
|
13
13
|
campaignId?: string;
|
|
14
14
|
eventType: Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityEventType;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
/** Only for bounce activity. */
|
|
1
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
2
2
|
export declare const CreateForAudienceCampaignsRequestSelectionActivityBounceType: {
|
|
3
3
|
readonly Permanent: "Permanent";
|
|
4
4
|
readonly Transient: "Transient";
|
|
5
|
+
readonly Soft: "Soft";
|
|
6
|
+
readonly Blocked: "Blocked";
|
|
5
7
|
};
|
|
6
8
|
export type CreateForAudienceCampaignsRequestSelectionActivityBounceType = (typeof CreateForAudienceCampaignsRequestSelectionActivityBounceType)[keyof typeof CreateForAudienceCampaignsRequestSelectionActivityBounceType];
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = void 0;
|
|
5
|
-
/** Only for bounce activity. */
|
|
5
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
6
6
|
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = {
|
|
7
7
|
Permanent: "Permanent",
|
|
8
8
|
Transient: "Transient",
|
|
9
|
+
Soft: "Soft",
|
|
10
|
+
Blocked: "Blocked",
|
|
9
11
|
};
|
|
@@ -7,6 +7,7 @@ export interface ListEmailSendsRequest {
|
|
|
7
7
|
automationId?: string;
|
|
8
8
|
/** Filter to one email step of a sequence. Take the node ID from the `steps` array of the sequence metrics endpoint. Combined with `automationId` the two intersect. */
|
|
9
9
|
automationNodeId?: string;
|
|
10
|
+
/** Transient is every temporary bounce. Blocked is the part the receiving server refused over content, policy or reputation, and Soft is the rest. */
|
|
10
11
|
bounceType?: Sequenzy.ListEmailSendsRequestBounceType;
|
|
11
12
|
campaignId?: string;
|
|
12
13
|
days?: number;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const ListEmailSendsRequestBounceType: {
|
|
2
2
|
readonly Permanent: "Permanent";
|
|
3
3
|
readonly Transient: "Transient";
|
|
4
|
+
readonly Soft: "Soft";
|
|
5
|
+
readonly Blocked: "Blocked";
|
|
4
6
|
};
|
|
5
7
|
export type ListEmailSendsRequestBounceType = (typeof ListEmailSendsRequestBounceType)[keyof typeof ListEmailSendsRequestBounceType];
|
|
@@ -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
|
|
33
|
+
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. 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. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). 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.
|
|
@@ -39,6 +39,7 @@ export declare class IntegrationsClient {
|
|
|
39
39
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
40
40
|
* @throws {@link Sequenzy.ForbiddenError}
|
|
41
41
|
* @throws {@link Sequenzy.ConflictError}
|
|
42
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
42
43
|
* @throws {@link errors.SequenzyError}
|
|
43
44
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
44
45
|
*
|
|
@@ -50,7 +51,7 @@ export declare class IntegrationsClient {
|
|
|
50
51
|
connect(request: Sequenzy.ConnectIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ConnectIntegrationsResponse>;
|
|
51
52
|
private __connect;
|
|
52
53
|
/**
|
|
53
|
-
* Disconnects Lemon Squeezy locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed
|
|
54
|
+
* Disconnects Lemon Squeezy or SparkLoop locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed. For Lemon Squeezy, repeat this request to retry cleanup, including when the integration is already inactive. SparkLoop clears its stored credentials, so delete a leftover webhook in SparkLoop. Other providers require the dashboard. Existing subscribers and history are retained. No request body is required.
|
|
54
55
|
*
|
|
55
56
|
* @param {Sequenzy.DisconnectIntegrationsRequest} request
|
|
56
57
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -106,7 +106,7 @@ class IntegrationsClient {
|
|
|
106
106
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/integrations/{id}/pixel");
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or
|
|
109
|
+
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. 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. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
|
|
110
110
|
*
|
|
111
111
|
* @param {Sequenzy.ConnectIntegrationsRequest} request
|
|
112
112
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,6 +115,7 @@ class IntegrationsClient {
|
|
|
115
115
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
116
116
|
* @throws {@link Sequenzy.ForbiddenError}
|
|
117
117
|
* @throws {@link Sequenzy.ConflictError}
|
|
118
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
118
119
|
* @throws {@link errors.SequenzyError}
|
|
119
120
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
120
121
|
*
|
|
@@ -170,6 +171,8 @@ class IntegrationsClient {
|
|
|
170
171
|
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
171
172
|
case 409:
|
|
172
173
|
throw new Sequenzy.ConflictError(_response.error.body, _response.rawResponse);
|
|
174
|
+
case 503:
|
|
175
|
+
throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
173
176
|
default:
|
|
174
177
|
throw new errors.SequenzyError({
|
|
175
178
|
statusCode: _response.error.statusCode,
|
|
@@ -181,7 +184,7 @@ class IntegrationsClient {
|
|
|
181
184
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/integrations/connect");
|
|
182
185
|
}
|
|
183
186
|
/**
|
|
184
|
-
* Disconnects Lemon Squeezy locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed
|
|
187
|
+
* Disconnects Lemon Squeezy or SparkLoop locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed. For Lemon Squeezy, repeat this request to retry cleanup, including when the integration is already inactive. SparkLoop clears its stored credentials, so delete a leftover webhook in SparkLoop. Other providers require the dashboard. Existing subscribers and history are retained. No request body is required.
|
|
185
188
|
*
|
|
186
189
|
* @param {Sequenzy.DisconnectIntegrationsRequest} request
|
|
187
190
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,16 +6,16 @@ import type * as Sequenzy from "../../../../index.js";
|
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
8
|
export interface ConnectIntegrationsRequest {
|
|
9
|
-
/** Provider API key. Required for polar, paddle, dodo, lemon_squeezy, whop, revenuecat, creem, chargebee, affonso, and
|
|
9
|
+
/** Provider API key. Required for polar, paddle, dodo, lemon_squeezy, whop, revenuecat, creem, chargebee, affonso, attio, and sparkloop. RevenueCat uses a secret REST API v2 key with Projects read and Customers read permissions. Attio uses the workspace access token. SparkLoop uses the API key from Settings → Integrations. */
|
|
10
10
|
apiKey?: string;
|
|
11
11
|
/** PostHog and Segment only. Imports event history after connecting: PostHog reads the project archive (projectId + personalApiKey); Segment walks your existing contacts' Unify profiles (spaceId + profileApiToken) and covers at most the last 14 days the Profile API serves, because Segment has no bulk event export. */
|
|
12
12
|
historyImport?: Sequenzy.ConnectIntegrationsRequestHistoryImport;
|
|
13
13
|
/** Provider to connect. */
|
|
14
14
|
provider: Sequenzy.ConnectIntegrationsRequestProvider;
|
|
15
|
-
/** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall does not use one. */
|
|
15
|
+
/** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall does not use one. SparkLoop: the publication ID (pub_...), required only when the account has several publications. */
|
|
16
16
|
providerAccountId?: string;
|
|
17
|
-
/** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. */
|
|
17
|
+
/** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. SparkLoop: listIds for new referrals. */
|
|
18
18
|
settings?: Sequenzy.ConnectIntegrationsRequestSettings;
|
|
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. */
|
|
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. For SparkLoop, pass the webhook authentication token from SparkLoop Settings → Integrations (sent as the SparkLoop-Token header). */
|
|
20
20
|
webhookSecret?: string;
|
|
21
21
|
}
|
|
@@ -14,5 +14,6 @@ export declare const ConnectIntegrationsRequestProvider: {
|
|
|
14
14
|
readonly Segment: "segment";
|
|
15
15
|
readonly Affonso: "affonso";
|
|
16
16
|
readonly Attio: "attio";
|
|
17
|
+
readonly Sparkloop: "sparkloop";
|
|
17
18
|
};
|
|
18
19
|
export type ConnectIntegrationsRequestProvider = (typeof ConnectIntegrationsRequestProvider)[keyof typeof ConnectIntegrationsRequestProvider];
|
|
@@ -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
|
}
|
|
@@ -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
|
|
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;
|
package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts
CHANGED
|
@@ -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];
|
|
@@ -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";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./ConnectIntegrationsRequestProvider.js"), exports);
|
|
|
21
21
|
__exportStar(require("./ConnectIntegrationsRequestSettings.js"), exports);
|
|
22
22
|
__exportStar(require("./ConnectIntegrationsResponse.js"), exports);
|
|
23
23
|
__exportStar(require("./ConnectIntegrationsResponseHistory.js"), exports);
|
|
24
|
+
__exportStar(require("./ConnectIntegrationsResponsePublication.js"), exports);
|
|
24
25
|
__exportStar(require("./ConnectIntegrationsResponseWebhookProvisioning.js"), exports);
|
|
25
26
|
__exportStar(require("./DisconnectIntegrationsResponse.js"), exports);
|
|
26
27
|
__exportStar(require("./DisconnectIntegrationsResponseProvider.js"), exports);
|
|
@@ -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. */
|
package/dist/cjs/api/resources/subscribers/client/requests/UpdateByExternalIdSubscribersRequest.d.ts
CHANGED
|
@@ -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. */
|
package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.d.ts
CHANGED
|
@@ -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];
|
package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdPathSubscribersRequestStatus.js
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.UpdateByExternalIdPathSubscribersRequestStatus = void 0;
|
|
5
|
-
/** Setting `unsubscribed` performs the unsubscribe workflow. */
|
|
5
|
+
/** 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. */
|
|
6
6
|
exports.UpdateByExternalIdPathSubscribersRequestStatus = {
|
|
7
7
|
Active: "active",
|
|
8
8
|
Unsubscribed: "unsubscribed",
|
|
9
9
|
Bounced: "bounced",
|
|
10
|
+
Complained: "complained",
|
|
10
11
|
};
|
package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.d.ts
CHANGED
|
@@ -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];
|
package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersRequestStatus.js
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.UpdateByExternalIdSubscribersRequestStatus = void 0;
|
|
5
|
-
/** Setting `unsubscribed` performs the unsubscribe workflow. */
|
|
5
|
+
/** 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. */
|
|
6
6
|
exports.UpdateByExternalIdSubscribersRequestStatus = {
|
|
7
7
|
Active: "active",
|
|
8
8
|
Unsubscribed: "unsubscribed",
|
|
9
9
|
Bounced: "bounced",
|
|
10
|
+
Complained: "complained",
|
|
10
11
|
};
|
|
@@ -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];
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.UpdateSubscribersRequestStatus = void 0;
|
|
5
|
-
/** Setting `unsubscribed` performs a full global unsubscribe. */
|
|
5
|
+
/** 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. */
|
|
6
6
|
exports.UpdateSubscribersRequestStatus = {
|
|
7
7
|
Active: "active",
|
|
8
8
|
Unsubscribed: "unsubscribed",
|
|
9
9
|
Bounced: "bounced",
|
|
10
|
+
Complained: "complained",
|
|
10
11
|
};
|
|
@@ -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.
|
|
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.
|
|
@@ -335,7 +335,7 @@ class WebsitesClient {
|
|
|
335
335
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/websites");
|
|
336
336
|
}
|
|
337
337
|
/**
|
|
338
|
-
* 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.
|
|
338
|
+
* 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.
|
|
339
339
|
*
|
|
340
340
|
* @param {Sequenzy.StartSendingDomainDnsUpgradeRequest} request
|
|
341
341
|
* @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
|
|
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?:
|
|
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;
|