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
package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.d.ts
CHANGED
|
@@ -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 UpdateSubscribersRequestStatus: core.serialization.Schema<serializers.UpdateSubscribersRequestStatus.Raw, Sequenzy.UpdateSubscribersRequestStatus>;
|
|
5
5
|
export declare namespace UpdateSubscribersRequestStatus {
|
|
6
|
-
type Raw = "active" | "unsubscribed" | "bounced";
|
|
6
|
+
type Raw = "active" | "unsubscribed" | "bounced" | "complained";
|
|
7
7
|
}
|
package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersRequestStatus.js
CHANGED
|
@@ -26,4 +26,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.UpdateSubscribersRequestStatus = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
-
exports.UpdateSubscribersRequestStatus = core.serialization.enum_(["active", "unsubscribed", "bounced"]);
|
|
29
|
+
exports.UpdateSubscribersRequestStatus = core.serialization.enum_(["active", "unsubscribed", "bounced", "complained"]);
|
|
@@ -6,6 +6,7 @@ import { AbTestPendingSampleUpdate } from "./AbTestPendingSampleUpdate.js";
|
|
|
6
6
|
import { AbTestProgress } from "./AbTestProgress.js";
|
|
7
7
|
import { AbTestTestType } from "./AbTestTestType.js";
|
|
8
8
|
import { AbTestVariant } from "./AbTestVariant.js";
|
|
9
|
+
import { AbTestWinnerCriteria } from "./AbTestWinnerCriteria.js";
|
|
9
10
|
export declare const AbTest: core.serialization.ObjectSchema<serializers.AbTest.Raw, Sequenzy.AbTest>;
|
|
10
11
|
export declare namespace AbTest {
|
|
11
12
|
interface Raw {
|
|
@@ -28,7 +29,9 @@ export declare namespace AbTest {
|
|
|
28
29
|
testType?: AbTestTestType.Raw | null;
|
|
29
30
|
updatedAt?: string | null;
|
|
30
31
|
variants?: AbTestVariant.Raw[] | null;
|
|
31
|
-
winnerCriteria?:
|
|
32
|
+
winnerCriteria?: AbTestWinnerCriteria.Raw | null;
|
|
33
|
+
winnerEventName?: (string | null | undefined) | null;
|
|
34
|
+
winnerGoalId?: (string | null | undefined) | null;
|
|
32
35
|
winnerSelectedAt?: (string | null | undefined) | null;
|
|
33
36
|
winnerThreshold?: number | null;
|
|
34
37
|
winningVariantId?: (string | null | undefined) | null;
|
|
@@ -31,6 +31,7 @@ const AbTestPendingSampleUpdate_js_1 = require("./AbTestPendingSampleUpdate.js")
|
|
|
31
31
|
const AbTestProgress_js_1 = require("./AbTestProgress.js");
|
|
32
32
|
const AbTestTestType_js_1 = require("./AbTestTestType.js");
|
|
33
33
|
const AbTestVariant_js_1 = require("./AbTestVariant.js");
|
|
34
|
+
const AbTestWinnerCriteria_js_1 = require("./AbTestWinnerCriteria.js");
|
|
34
35
|
exports.AbTest = core.serialization.object({
|
|
35
36
|
automationNodeId: core.serialization.string().optionalNullable(),
|
|
36
37
|
autoSelectWinner: core.serialization.boolean().optional(),
|
|
@@ -51,7 +52,9 @@ exports.AbTest = core.serialization.object({
|
|
|
51
52
|
testType: AbTestTestType_js_1.AbTestTestType.optional(),
|
|
52
53
|
updatedAt: core.serialization.date().optional(),
|
|
53
54
|
variants: core.serialization.list(AbTestVariant_js_1.AbTestVariant).optional(),
|
|
54
|
-
winnerCriteria:
|
|
55
|
+
winnerCriteria: AbTestWinnerCriteria_js_1.AbTestWinnerCriteria.optional(),
|
|
56
|
+
winnerEventName: core.serialization.string().optionalNullable(),
|
|
57
|
+
winnerGoalId: core.serialization.string().optionalNullable(),
|
|
55
58
|
winnerSelectedAt: core.serialization.date().optionalNullable(),
|
|
56
59
|
winnerThreshold: core.serialization.number().optional(),
|
|
57
60
|
winningVariantId: core.serialization.string().optionalNullable(),
|
|
@@ -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 AbTestSignificanceMetric: core.serialization.Schema<serializers.AbTestSignificanceMetric.Raw, Sequenzy.AbTestSignificanceMetric>;
|
|
5
5
|
export declare namespace AbTestSignificanceMetric {
|
|
6
|
-
type Raw = "open_rate" | "click_rate";
|
|
6
|
+
type Raw = "open_rate" | "click_rate" | "goal_conversion_rate" | "goal_value" | "event_rate";
|
|
7
7
|
}
|
|
@@ -26,4 +26,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.AbTestSignificanceMetric = void 0;
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
|
-
exports.AbTestSignificanceMetric = core.serialization.enum_(["open_rate", "click_rate"]);
|
|
29
|
+
exports.AbTestSignificanceMetric = core.serialization.enum_(["open_rate", "click_rate", "goal_conversion_rate", "goal_value", "event_rate"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
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 AbTestWinnerCriteria: core.serialization.Schema<serializers.AbTestWinnerCriteria.Raw, Sequenzy.AbTestWinnerCriteria>;
|
|
5
|
+
export declare namespace AbTestWinnerCriteria {
|
|
6
|
+
type Raw = "open_rate" | "click_rate" | "goal_conversion_rate" | "goal_value" | "event_rate";
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.AbTestWinnerCriteria = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.AbTestWinnerCriteria = core.serialization.enum_(["open_rate", "click_rate", "goal_conversion_rate", "goal_value", "event_rate"]);
|
|
@@ -1,13 +1,11 @@
|
|
|
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 {
|
|
4
|
+
import { BadRequestErrorBodyPublicationsItem } from "./BadRequestErrorBodyPublicationsItem.js";
|
|
5
|
+
import { Error_ } from "./Error_.js";
|
|
5
6
|
export declare const BadRequestErrorBody: core.serialization.ObjectSchema<serializers.BadRequestErrorBody.Raw, Sequenzy.BadRequestErrorBody>;
|
|
6
7
|
export declare namespace BadRequestErrorBody {
|
|
7
|
-
interface Raw {
|
|
8
|
-
|
|
9
|
-
error?: string | null;
|
|
10
|
-
issues?: DesignMdIssue.Raw[] | null;
|
|
11
|
-
success?: boolean | null;
|
|
8
|
+
interface Raw extends Error_.Raw {
|
|
9
|
+
publications?: BadRequestErrorBodyPublicationsItem.Raw[] | null;
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.BadRequestErrorBody = void 0;
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
const BadRequestErrorBodyPublicationsItem_js_1 = require("./BadRequestErrorBodyPublicationsItem.js");
|
|
30
|
+
const Error__js_1 = require("./Error_.js");
|
|
31
|
+
exports.BadRequestErrorBody = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
publications: core.serialization.list(BadRequestErrorBodyPublicationsItem_js_1.BadRequestErrorBodyPublicationsItem).optional(),
|
|
34
|
+
})
|
|
35
|
+
.extend(Error__js_1.Error_);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 BadRequestErrorBodyPublicationsItem: core.serialization.ObjectSchema<serializers.BadRequestErrorBodyPublicationsItem.Raw, Sequenzy.BadRequestErrorBodyPublicationsItem>;
|
|
5
|
+
export declare namespace BadRequestErrorBodyPublicationsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.BadRequestErrorBodyPublicationsItem = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.BadRequestErrorBodyPublicationsItem = core.serialization.object({
|
|
30
|
+
id: core.serialization.string().optional(),
|
|
31
|
+
name: core.serialization.string().optional(),
|
|
32
|
+
});
|
|
@@ -10,6 +10,7 @@ export declare const SequenceCreateResponseSequence: core.serialization.ObjectSc
|
|
|
10
10
|
export declare namespace SequenceCreateResponseSequence {
|
|
11
11
|
interface Raw {
|
|
12
12
|
acceptsNewEnrollments?: boolean | null;
|
|
13
|
+
activeSubscribersOnly?: boolean | null;
|
|
13
14
|
discountCount?: number | null;
|
|
14
15
|
effectiveStatus?: SequenceEffectiveStatus.Raw | null;
|
|
15
16
|
effectiveStatusSummary?: string | null;
|
|
@@ -33,6 +33,7 @@ const SequenceStatus_js_1 = require("./SequenceStatus.js");
|
|
|
33
33
|
const SequenceStopCondition_js_1 = require("./SequenceStopCondition.js");
|
|
34
34
|
exports.SequenceCreateResponseSequence = core.serialization.object({
|
|
35
35
|
acceptsNewEnrollments: core.serialization.boolean().optional(),
|
|
36
|
+
activeSubscribersOnly: core.serialization.boolean().optional(),
|
|
36
37
|
discountCount: core.serialization.number().optional(),
|
|
37
38
|
effectiveStatus: SequenceEffectiveStatus_js_1.SequenceEffectiveStatus.optional(),
|
|
38
39
|
effectiveStatusSummary: core.serialization.string().optional(),
|
|
@@ -11,6 +11,7 @@ export declare const SequenceSummary: core.serialization.ObjectSchema<serializer
|
|
|
11
11
|
export declare namespace SequenceSummary {
|
|
12
12
|
interface Raw {
|
|
13
13
|
acceptsNewEnrollments?: boolean | null;
|
|
14
|
+
activeSubscribersOnly?: boolean | null;
|
|
14
15
|
audienceAutoEnroll?: (SequenceAudienceAutoEnroll.Raw | null | undefined) | null;
|
|
15
16
|
bccEmails?: (string[] | null | undefined) | null;
|
|
16
17
|
createdAt?: string | null;
|
|
@@ -34,6 +34,7 @@ const SequenceStatus_js_1 = require("./SequenceStatus.js");
|
|
|
34
34
|
const SequenceSummaryPausedByUser_js_1 = require("./SequenceSummaryPausedByUser.js");
|
|
35
35
|
exports.SequenceSummary = core.serialization.object({
|
|
36
36
|
acceptsNewEnrollments: core.serialization.boolean().optional(),
|
|
37
|
+
activeSubscribersOnly: core.serialization.boolean().optional(),
|
|
37
38
|
audienceAutoEnroll: SequenceAudienceAutoEnroll_js_1.SequenceAudienceAutoEnroll.optionalNullable(),
|
|
38
39
|
bccEmails: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
39
40
|
createdAt: core.serialization.date().optional(),
|
|
@@ -5,6 +5,7 @@ import { TransactionalMetricsResponseBounceBreakdownSubtypesItem } from "./Trans
|
|
|
5
5
|
export declare const TransactionalMetricsResponseBounceBreakdown: core.serialization.ObjectSchema<serializers.TransactionalMetricsResponseBounceBreakdown.Raw, Sequenzy.TransactionalMetricsResponseBounceBreakdown>;
|
|
6
6
|
export declare namespace TransactionalMetricsResponseBounceBreakdown {
|
|
7
7
|
interface Raw {
|
|
8
|
+
blocked?: number | null;
|
|
8
9
|
permanent?: number | null;
|
|
9
10
|
subtypes?: TransactionalMetricsResponseBounceBreakdownSubtypesItem.Raw[] | null;
|
|
10
11
|
transient?: number | null;
|
|
@@ -28,6 +28,7 @@ exports.TransactionalMetricsResponseBounceBreakdown = void 0;
|
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
29
|
const TransactionalMetricsResponseBounceBreakdownSubtypesItem_js_1 = require("./TransactionalMetricsResponseBounceBreakdownSubtypesItem.js");
|
|
30
30
|
exports.TransactionalMetricsResponseBounceBreakdown = core.serialization.object({
|
|
31
|
+
blocked: core.serialization.number().optional(),
|
|
31
32
|
permanent: core.serialization.number().optional(),
|
|
32
33
|
subtypes: core.serialization.list(TransactionalMetricsResponseBounceBreakdownSubtypesItem_js_1.TransactionalMetricsResponseBounceBreakdownSubtypesItem).optional(),
|
|
33
34
|
transient: core.serialization.number().optional(),
|
|
@@ -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";
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./AbTestSignificanceMetric.js"), exports);
|
|
|
25
25
|
__exportStar(require("./AbTestSignificanceStatus.js"), exports);
|
|
26
26
|
__exportStar(require("./AbTestTestType.js"), exports);
|
|
27
27
|
__exportStar(require("./AbTestVariant.js"), exports);
|
|
28
|
+
__exportStar(require("./AbTestWinnerCriteria.js"), exports);
|
|
28
29
|
__exportStar(require("./Account.js"), exports);
|
|
29
30
|
__exportStar(require("./AccountEvent.js"), exports);
|
|
30
31
|
__exportStar(require("./AccountHealthAction.js"), exports);
|
|
@@ -84,6 +85,7 @@ __exportStar(require("./BadRequestErrorBodyCode.js"), exports);
|
|
|
84
85
|
__exportStar(require("./BadRequestErrorBodyDetails.js"), exports);
|
|
85
86
|
__exportStar(require("./BadRequestErrorBodyDetailsLimit.js"), exports);
|
|
86
87
|
__exportStar(require("./BadRequestErrorBodyError.js"), exports);
|
|
88
|
+
__exportStar(require("./BadRequestErrorBodyPublicationsItem.js"), exports);
|
|
87
89
|
__exportStar(require("./BlockFieldWarnings.js"), exports);
|
|
88
90
|
__exportStar(require("./BulkSubscriberTagRequest.js"), exports);
|
|
89
91
|
__exportStar(require("./BulkSubscriberTagResponse.js"), exports);
|
|
@@ -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];
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Metric used to pick the winner. For sequence tests, an explicit value overrides the testType default. */
|
|
2
|
+
/** 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. */
|
|
3
3
|
export const CreateAbTestsRequestWinnerCriteria = {
|
|
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
|
};
|
|
@@ -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];
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Winner metric for campaign or sequence tests; immutable once campaign testing starts. */
|
|
2
|
+
/** 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. */
|
|
3
3
|
export const UpdateAbTestsRequestWinnerCriteria = {
|
|
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
|
};
|
|
@@ -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";
|
|
@@ -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];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Only for bounce activity. */
|
|
2
|
+
/** 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. */
|
|
3
3
|
export const CreateForAudienceCampaignsRequestSelectionActivityBounceType = {
|
|
4
4
|
Permanent: "Permanent",
|
|
5
5
|
Transient: "Transient",
|
|
6
|
+
Soft: "Soft",
|
|
7
|
+
Blocked: "Blocked",
|
|
6
8
|
};
|
|
@@ -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.
|
|
@@ -80,7 +80,7 @@ export class IntegrationsClient {
|
|
|
80
80
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/integrations/{id}/pixel");
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or
|
|
83
|
+
* 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.
|
|
84
84
|
*
|
|
85
85
|
* @param {Sequenzy.ConnectIntegrationsRequest} request
|
|
86
86
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -89,6 +89,7 @@ export class IntegrationsClient {
|
|
|
89
89
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
90
90
|
* @throws {@link Sequenzy.ForbiddenError}
|
|
91
91
|
* @throws {@link Sequenzy.ConflictError}
|
|
92
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
92
93
|
* @throws {@link errors.SequenzyError}
|
|
93
94
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
94
95
|
*
|
|
@@ -144,6 +145,8 @@ export class IntegrationsClient {
|
|
|
144
145
|
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
145
146
|
case 409:
|
|
146
147
|
throw new Sequenzy.ConflictError(_response.error.body, _response.rawResponse);
|
|
148
|
+
case 503:
|
|
149
|
+
throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
147
150
|
default:
|
|
148
151
|
throw new errors.SequenzyError({
|
|
149
152
|
statusCode: _response.error.statusCode,
|
|
@@ -155,7 +158,7 @@ export class IntegrationsClient {
|
|
|
155
158
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/integrations/connect");
|
|
156
159
|
}
|
|
157
160
|
/**
|
|
158
|
-
* 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
|
|
161
|
+
* 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.
|
|
159
162
|
*
|
|
160
163
|
* @param {Sequenzy.DisconnectIntegrationsRequest} request
|
|
161
164
|
* @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];
|