sequenzy 2.1.29 → 2.1.34
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/analytics/client/Client.js +14 -2
- package/dist/cjs/api/resources/analytics/client/requests/GetMetricsBreakdownRequest.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/client/requests/GetMetricsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsBreakdownRequestOutcome.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsBreakdownRequestOutcome.js +10 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsBreakdownResponse.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsRequestOutcome.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsRequestOutcome.js +10 -0
- package/dist/cjs/api/resources/analytics/types/GetMetricsResponse.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/types/index.js +2 -0
- package/dist/cjs/api/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestEmailTheme.d.ts +1 -1
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.d.ts +5 -1
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.d.ts +6 -0
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.js +9 -0
- package/dist/cjs/api/resources/companies/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/companies/types/index.js +1 -0
- package/dist/cjs/api/resources/subscribers/resources/events/types/TriggerBulkEventsResponseOptIn.d.ts +1 -0
- package/dist/cjs/api/resources/subscribers/resources/events/types/TriggerEventsResponseOptIn.d.ts +1 -0
- package/dist/cjs/api/resources/subscribers/resources/tags/types/AddTagsResponseOptIn.d.ts +1 -0
- package/dist/cjs/api/resources/subscribers/types/AddTagsBulkResponseOptIn.d.ts +1 -0
- package/dist/cjs/api/resources/subscribers/types/CreateSubscribersResponseOptIn.d.ts +1 -0
- package/dist/cjs/api/resources/trackingDomain/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/trackingDomain/client/Client.js +1 -1
- package/dist/cjs/api/types/Company.d.ts +4 -0
- package/dist/cjs/api/types/CompanyDarkModeLogoStatus.d.ts +8 -0
- package/dist/cjs/api/types/CompanyDarkModeLogoStatus.js +11 -0
- package/dist/cjs/api/types/EmailAiStyleCanvas.d.ts +1 -1
- package/dist/cjs/api/types/EmailAiStyleCanvasTheme.d.ts +2 -2
- package/dist/cjs/api/types/EmailAiStyleCanvasThemeLayout.d.ts +4 -0
- package/dist/cjs/api/types/EmailAiStyleCanvasThemeLayout.js +3 -0
- package/dist/cjs/api/types/EmailAiStyleCanvasThemeLayoutContentAlign.d.ts +5 -0
- package/dist/cjs/api/types/EmailAiStyleCanvasThemeLayoutContentAlign.js +8 -0
- package/dist/cjs/api/types/EmailBlockStyles.d.ts +2 -0
- package/dist/cjs/api/types/EmailEvent.d.ts +5 -0
- package/dist/cjs/api/types/EmailEventOutcome.d.ts +8 -0
- package/dist/cjs/api/types/EmailEventOutcome.js +11 -0
- package/dist/cjs/api/types/EmailSend.d.ts +7 -1
- package/dist/cjs/api/types/EmailSendEvent.d.ts +1 -0
- package/dist/cjs/api/types/EmailSendInternalFailureCode.d.ts +1 -1
- package/dist/cjs/api/types/EmailSendInternalFailureCode.js +1 -1
- package/dist/cjs/api/types/EmailSendOutcome.d.ts +8 -0
- package/dist/cjs/api/types/EmailSendOutcome.js +11 -0
- package/dist/cjs/api/types/EmailThemePatchLayout.d.ts +3 -0
- package/dist/cjs/api/types/EmailThemePatchLayoutContentAlign.d.ts +6 -0
- package/dist/cjs/api/types/EmailThemePatchLayoutContentAlign.js +9 -0
- package/dist/cjs/api/types/SavedFormEmbed.d.ts +10 -3
- package/dist/cjs/api/types/SavedFormEmbedRecommendedSnippet.d.ts +5 -0
- package/dist/cjs/api/types/SavedFormEmbedRecommendedSnippet.js +8 -0
- package/dist/cjs/api/types/SenderHealthMetric.d.ts +1 -1
- package/dist/cjs/api/types/SendingStatusPauseReasonKind.d.ts +1 -0
- package/dist/cjs/api/types/SendingStatusPauseReasonKind.js +1 -0
- package/dist/cjs/api/types/SendingStatusSenderHealth.d.ts +4 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsBreakdownRequestOutcome.d.ts +7 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsBreakdownRequestOutcome.js +29 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsBreakdownResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsBreakdownResponse.js +1 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsRequestOutcome.d.ts +7 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsRequestOutcome.js +29 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/analytics/types/GetMetricsResponse.js +1 -0
- package/dist/cjs/serialization/resources/analytics/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/analytics/types/index.js +2 -0
- package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +1 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.d.ts +3 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.js +3 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.d.ts +7 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.js +29 -0
- package/dist/cjs/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/companies/types/index.js +1 -0
- package/dist/cjs/serialization/types/Company.d.ts +3 -0
- package/dist/cjs/serialization/types/Company.js +3 -0
- package/dist/cjs/serialization/types/CompanyDarkModeLogoStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/CompanyDarkModeLogoStatus.js +29 -0
- package/dist/cjs/serialization/types/EmailAiStyleCanvasTheme.d.ts +2 -1
- package/dist/cjs/serialization/types/EmailAiStyleCanvasTheme.js +2 -1
- package/dist/cjs/serialization/types/EmailAiStyleCanvasThemeLayout.d.ts +10 -0
- package/dist/cjs/serialization/types/EmailAiStyleCanvasThemeLayout.js +32 -0
- package/dist/cjs/serialization/types/EmailAiStyleCanvasThemeLayoutContentAlign.d.ts +7 -0
- package/dist/cjs/serialization/types/EmailAiStyleCanvasThemeLayoutContentAlign.js +29 -0
- package/dist/cjs/serialization/types/EmailBlockStyles.d.ts +1 -0
- package/dist/cjs/serialization/types/EmailBlockStyles.js +1 -0
- package/dist/cjs/serialization/types/EmailEvent.d.ts +3 -0
- package/dist/cjs/serialization/types/EmailEvent.js +3 -0
- package/dist/cjs/serialization/types/EmailEventOutcome.d.ts +7 -0
- package/dist/cjs/serialization/types/EmailEventOutcome.js +29 -0
- package/dist/cjs/serialization/types/EmailSend.d.ts +3 -0
- package/dist/cjs/serialization/types/EmailSend.js +3 -0
- package/dist/cjs/serialization/types/EmailSendOutcome.d.ts +7 -0
- package/dist/cjs/serialization/types/EmailSendOutcome.js +29 -0
- package/dist/cjs/serialization/types/EmailThemePatchLayout.d.ts +2 -0
- package/dist/cjs/serialization/types/EmailThemePatchLayout.js +2 -0
- package/dist/cjs/serialization/types/EmailThemePatchLayoutContentAlign.d.ts +7 -0
- package/dist/cjs/serialization/types/EmailThemePatchLayoutContentAlign.js +29 -0
- package/dist/cjs/serialization/types/SavedFormEmbed.d.ts +4 -0
- package/dist/cjs/serialization/types/SavedFormEmbed.js +4 -0
- package/dist/cjs/serialization/types/SavedFormEmbedRecommendedSnippet.d.ts +7 -0
- package/dist/cjs/serialization/types/SavedFormEmbedRecommendedSnippet.js +29 -0
- package/dist/cjs/serialization/types/SendingStatusPauseReasonKind.d.ts +1 -1
- package/dist/cjs/serialization/types/SendingStatusPauseReasonKind.js +1 -0
- package/dist/cjs/serialization/types/SendingStatusSenderHealth.d.ts +2 -0
- package/dist/cjs/serialization/types/SendingStatusSenderHealth.js +2 -0
- package/dist/cjs/serialization/types/index.d.ts +7 -0
- package/dist/cjs/serialization/types/index.js +7 -0
- package/dist/esm/api/resources/analytics/client/Client.js +14 -2
- package/dist/esm/api/resources/analytics/client/requests/GetMetricsBreakdownRequest.d.ts +2 -0
- package/dist/esm/api/resources/analytics/client/requests/GetMetricsRequest.d.ts +2 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsBreakdownRequestOutcome.d.ts +7 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsBreakdownRequestOutcome.js +7 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsBreakdownResponse.d.ts +1 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsRequestOutcome.d.ts +7 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsRequestOutcome.js +7 -0
- package/dist/esm/api/resources/analytics/types/GetMetricsResponse.d.ts +2 -0
- package/dist/esm/api/resources/analytics/types/index.d.ts +2 -0
- package/dist/esm/api/resources/analytics/types/index.js +2 -0
- package/dist/esm/api/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestEmailTheme.d.ts +1 -1
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.d.ts +5 -1
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.d.ts +6 -0
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.js +6 -0
- package/dist/esm/api/resources/companies/types/index.d.ts +1 -0
- package/dist/esm/api/resources/companies/types/index.js +1 -0
- package/dist/esm/api/resources/subscribers/resources/events/types/TriggerBulkEventsResponseOptIn.d.ts +1 -0
- package/dist/esm/api/resources/subscribers/resources/events/types/TriggerEventsResponseOptIn.d.ts +1 -0
- package/dist/esm/api/resources/subscribers/resources/tags/types/AddTagsResponseOptIn.d.ts +1 -0
- package/dist/esm/api/resources/subscribers/types/AddTagsBulkResponseOptIn.d.ts +1 -0
- package/dist/esm/api/resources/subscribers/types/CreateSubscribersResponseOptIn.d.ts +1 -0
- package/dist/esm/api/resources/trackingDomain/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/trackingDomain/client/Client.js +1 -1
- package/dist/esm/api/types/Company.d.ts +4 -0
- package/dist/esm/api/types/CompanyDarkModeLogoStatus.d.ts +8 -0
- package/dist/esm/api/types/CompanyDarkModeLogoStatus.js +8 -0
- package/dist/esm/api/types/EmailAiStyleCanvas.d.ts +1 -1
- package/dist/esm/api/types/EmailAiStyleCanvasTheme.d.ts +2 -2
- package/dist/esm/api/types/EmailAiStyleCanvasThemeLayout.d.ts +4 -0
- package/dist/esm/api/types/EmailAiStyleCanvasThemeLayout.js +2 -0
- package/dist/esm/api/types/EmailAiStyleCanvasThemeLayoutContentAlign.d.ts +5 -0
- package/dist/esm/api/types/EmailAiStyleCanvasThemeLayoutContentAlign.js +5 -0
- package/dist/esm/api/types/EmailBlockStyles.d.ts +2 -0
- package/dist/esm/api/types/EmailEvent.d.ts +5 -0
- package/dist/esm/api/types/EmailEventOutcome.d.ts +8 -0
- package/dist/esm/api/types/EmailEventOutcome.js +8 -0
- package/dist/esm/api/types/EmailSend.d.ts +7 -1
- package/dist/esm/api/types/EmailSendEvent.d.ts +1 -0
- package/dist/esm/api/types/EmailSendInternalFailureCode.d.ts +1 -1
- package/dist/esm/api/types/EmailSendInternalFailureCode.js +1 -1
- package/dist/esm/api/types/EmailSendOutcome.d.ts +8 -0
- package/dist/esm/api/types/EmailSendOutcome.js +8 -0
- package/dist/esm/api/types/EmailThemePatchLayout.d.ts +3 -0
- package/dist/esm/api/types/EmailThemePatchLayoutContentAlign.d.ts +6 -0
- package/dist/esm/api/types/EmailThemePatchLayoutContentAlign.js +6 -0
- package/dist/esm/api/types/SavedFormEmbed.d.ts +10 -3
- package/dist/esm/api/types/SavedFormEmbedRecommendedSnippet.d.ts +5 -0
- package/dist/esm/api/types/SavedFormEmbedRecommendedSnippet.js +5 -0
- package/dist/esm/api/types/SenderHealthMetric.d.ts +1 -1
- package/dist/esm/api/types/SendingStatusPauseReasonKind.d.ts +1 -0
- package/dist/esm/api/types/SendingStatusPauseReasonKind.js +1 -0
- package/dist/esm/api/types/SendingStatusSenderHealth.d.ts +4 -0
- package/dist/esm/api/types/index.d.ts +7 -0
- package/dist/esm/api/types/index.js +7 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsBreakdownRequestOutcome.d.ts +7 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsBreakdownRequestOutcome.js +3 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsBreakdownResponse.d.ts +1 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsBreakdownResponse.js +1 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsRequestOutcome.d.ts +7 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsRequestOutcome.js +3 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsResponse.d.ts +1 -0
- package/dist/esm/serialization/resources/analytics/types/GetMetricsResponse.js +1 -0
- package/dist/esm/serialization/resources/analytics/types/index.d.ts +2 -0
- package/dist/esm/serialization/resources/analytics/types/index.js +2 -0
- package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +1 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.d.ts +3 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayout.js +3 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.d.ts +7 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.js +3 -0
- package/dist/esm/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/companies/types/index.js +1 -0
- package/dist/esm/serialization/types/Company.d.ts +3 -0
- package/dist/esm/serialization/types/Company.js +3 -0
- package/dist/esm/serialization/types/CompanyDarkModeLogoStatus.d.ts +7 -0
- package/dist/esm/serialization/types/CompanyDarkModeLogoStatus.js +3 -0
- package/dist/esm/serialization/types/EmailAiStyleCanvasTheme.d.ts +2 -1
- package/dist/esm/serialization/types/EmailAiStyleCanvasTheme.js +2 -1
- package/dist/esm/serialization/types/EmailAiStyleCanvasThemeLayout.d.ts +10 -0
- package/dist/esm/serialization/types/EmailAiStyleCanvasThemeLayout.js +6 -0
- package/dist/esm/serialization/types/EmailAiStyleCanvasThemeLayoutContentAlign.d.ts +7 -0
- package/dist/esm/serialization/types/EmailAiStyleCanvasThemeLayoutContentAlign.js +3 -0
- package/dist/esm/serialization/types/EmailBlockStyles.d.ts +1 -0
- package/dist/esm/serialization/types/EmailBlockStyles.js +1 -0
- package/dist/esm/serialization/types/EmailEvent.d.ts +3 -0
- package/dist/esm/serialization/types/EmailEvent.js +3 -0
- package/dist/esm/serialization/types/EmailEventOutcome.d.ts +7 -0
- package/dist/esm/serialization/types/EmailEventOutcome.js +3 -0
- package/dist/esm/serialization/types/EmailSend.d.ts +3 -0
- package/dist/esm/serialization/types/EmailSend.js +3 -0
- package/dist/esm/serialization/types/EmailSendOutcome.d.ts +7 -0
- package/dist/esm/serialization/types/EmailSendOutcome.js +3 -0
- package/dist/esm/serialization/types/EmailThemePatchLayout.d.ts +2 -0
- package/dist/esm/serialization/types/EmailThemePatchLayout.js +2 -0
- package/dist/esm/serialization/types/EmailThemePatchLayoutContentAlign.d.ts +7 -0
- package/dist/esm/serialization/types/EmailThemePatchLayoutContentAlign.js +3 -0
- package/dist/esm/serialization/types/SavedFormEmbed.d.ts +4 -0
- package/dist/esm/serialization/types/SavedFormEmbed.js +4 -0
- package/dist/esm/serialization/types/SavedFormEmbedRecommendedSnippet.d.ts +7 -0
- package/dist/esm/serialization/types/SavedFormEmbedRecommendedSnippet.js +3 -0
- package/dist/esm/serialization/types/SendingStatusPauseReasonKind.d.ts +1 -1
- package/dist/esm/serialization/types/SendingStatusPauseReasonKind.js +1 -0
- package/dist/esm/serialization/types/SendingStatusSenderHealth.d.ts +2 -0
- package/dist/esm/serialization/types/SendingStatusSenderHealth.js +2 -0
- package/dist/esm/serialization/types/index.d.ts +7 -0
- package/dist/esm/serialization/types/index.js +7 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ exports.EmailEvent = void 0;
|
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
29
|
const EmailEventEmailType_js_1 = require("./EmailEventEmailType.js");
|
|
30
30
|
const EmailEventEventType_js_1 = require("./EmailEventEventType.js");
|
|
31
|
+
const EmailEventOutcome_js_1 = require("./EmailEventOutcome.js");
|
|
31
32
|
exports.EmailEvent = core.serialization.object({
|
|
32
33
|
abTestId: core.serialization.string().optionalNullable(),
|
|
33
34
|
abTestVariantId: core.serialization.string().optionalNullable(),
|
|
@@ -47,6 +48,8 @@ exports.EmailEvent = core.serialization.object({
|
|
|
47
48
|
id: core.serialization.string().optional(),
|
|
48
49
|
ipAddress: core.serialization.string().optionalNullable(),
|
|
49
50
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
|
+
outcome: EmailEventOutcome_js_1.EmailEventOutcome.optionalNullable(),
|
|
52
|
+
reason: core.serialization.string().optionalNullable(),
|
|
50
53
|
subscriberId: core.serialization.string().optionalNullable(),
|
|
51
54
|
transactionalEmailId: core.serialization.string().optionalNullable(),
|
|
52
55
|
userAgent: core.serialization.string().optionalNullable(),
|
|
@@ -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 EmailEventOutcome: core.serialization.Schema<serializers.EmailEventOutcome.Raw, Sequenzy.EmailEventOutcome>;
|
|
5
|
+
export declare namespace EmailEventOutcome {
|
|
6
|
+
type Raw = "bounced" | "blocked" | "delayed" | "failed";
|
|
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.EmailEventOutcome = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.EmailEventOutcome = core.serialization.enum_(["bounced", "blocked", "delayed", "failed"]);
|
|
@@ -6,6 +6,7 @@ import { EmailSendAutomation } from "./EmailSendAutomation.js";
|
|
|
6
6
|
import { EmailSendCampaign } from "./EmailSendCampaign.js";
|
|
7
7
|
import { EmailSendEmailType } from "./EmailSendEmailType.js";
|
|
8
8
|
import { EmailSendInternalFailureCode } from "./EmailSendInternalFailureCode.js";
|
|
9
|
+
import { EmailSendOutcome } from "./EmailSendOutcome.js";
|
|
9
10
|
import { EmailSendStatus } from "./EmailSendStatus.js";
|
|
10
11
|
import { EmailSendSubscriber } from "./EmailSendSubscriber.js";
|
|
11
12
|
import { EmailSendSuppressionReason } from "./EmailSendSuppressionReason.js";
|
|
@@ -41,7 +42,9 @@ export declare namespace EmailSend {
|
|
|
41
42
|
observedSendingIpAddress?: (string | null | undefined) | null;
|
|
42
43
|
openedAt?: (string | null | undefined) | null;
|
|
43
44
|
originalReplyTo?: (string | null | undefined) | null;
|
|
45
|
+
outcome?: (EmailSendOutcome.Raw | null | undefined) | null;
|
|
44
46
|
primaryEmailSendId?: (string | null | undefined) | null;
|
|
47
|
+
reason?: (string | null | undefined) | null;
|
|
45
48
|
recipientEmail?: (string | null | undefined) | null;
|
|
46
49
|
senderEmail?: (string | null | undefined) | null;
|
|
47
50
|
senderName?: (string | null | undefined) | null;
|
|
@@ -31,6 +31,7 @@ const EmailSendAutomation_js_1 = require("./EmailSendAutomation.js");
|
|
|
31
31
|
const EmailSendCampaign_js_1 = require("./EmailSendCampaign.js");
|
|
32
32
|
const EmailSendEmailType_js_1 = require("./EmailSendEmailType.js");
|
|
33
33
|
const EmailSendInternalFailureCode_js_1 = require("./EmailSendInternalFailureCode.js");
|
|
34
|
+
const EmailSendOutcome_js_1 = require("./EmailSendOutcome.js");
|
|
34
35
|
const EmailSendStatus_js_1 = require("./EmailSendStatus.js");
|
|
35
36
|
const EmailSendSubscriber_js_1 = require("./EmailSendSubscriber.js");
|
|
36
37
|
const EmailSendSuppressionReason_js_1 = require("./EmailSendSuppressionReason.js");
|
|
@@ -64,7 +65,9 @@ exports.EmailSend = core.serialization.object({
|
|
|
64
65
|
observedSendingIpAddress: core.serialization.string().optionalNullable(),
|
|
65
66
|
openedAt: core.serialization.date().optionalNullable(),
|
|
66
67
|
originalReplyTo: core.serialization.string().optionalNullable(),
|
|
68
|
+
outcome: EmailSendOutcome_js_1.EmailSendOutcome.optionalNullable(),
|
|
67
69
|
primaryEmailSendId: core.serialization.string().optionalNullable(),
|
|
70
|
+
reason: core.serialization.string().optionalNullable(),
|
|
68
71
|
recipientEmail: core.serialization.string().optionalNullable(),
|
|
69
72
|
senderEmail: core.serialization.string().optionalNullable(),
|
|
70
73
|
senderName: core.serialization.string().optionalNullable(),
|
|
@@ -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 EmailSendOutcome: core.serialization.Schema<serializers.EmailSendOutcome.Raw, Sequenzy.EmailSendOutcome>;
|
|
5
|
+
export declare namespace EmailSendOutcome {
|
|
6
|
+
type Raw = "bounced" | "blocked" | "delayed" | "failed";
|
|
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.EmailSendOutcome = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.EmailSendOutcome = core.serialization.enum_(["bounced", "blocked", "delayed", "failed"]);
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { EmailThemePatchLayoutContentAlign } from "./EmailThemePatchLayoutContentAlign.js";
|
|
4
5
|
export declare const EmailThemePatchLayout: core.serialization.ObjectSchema<serializers.EmailThemePatchLayout.Raw, Sequenzy.EmailThemePatchLayout>;
|
|
5
6
|
export declare namespace EmailThemePatchLayout {
|
|
6
7
|
interface Raw {
|
|
@@ -12,6 +13,7 @@ export declare namespace EmailThemePatchLayout {
|
|
|
12
13
|
buttonRadius?: number | null;
|
|
13
14
|
containerPaddingX?: number | null;
|
|
14
15
|
containerPaddingY?: number | null;
|
|
16
|
+
contentAlign?: EmailThemePatchLayoutContentAlign.Raw | null;
|
|
15
17
|
contentWidth?: number | null;
|
|
16
18
|
sectionPadding?: number | null;
|
|
17
19
|
}
|
|
@@ -26,6 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.EmailThemePatchLayout = void 0;
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
const EmailThemePatchLayoutContentAlign_js_1 = require("./EmailThemePatchLayoutContentAlign.js");
|
|
29
30
|
exports.EmailThemePatchLayout = core.serialization.object({
|
|
30
31
|
baseRadius: core.serialization.number().optional(),
|
|
31
32
|
blockSpacing: core.serialization.number().optional(),
|
|
@@ -35,6 +36,7 @@ exports.EmailThemePatchLayout = core.serialization.object({
|
|
|
35
36
|
buttonRadius: core.serialization.number().optional(),
|
|
36
37
|
containerPaddingX: core.serialization.number().optional(),
|
|
37
38
|
containerPaddingY: core.serialization.number().optional(),
|
|
39
|
+
contentAlign: EmailThemePatchLayoutContentAlign_js_1.EmailThemePatchLayoutContentAlign.optional(),
|
|
38
40
|
contentWidth: core.serialization.number().optional(),
|
|
39
41
|
sectionPadding: core.serialization.number().optional(),
|
|
40
42
|
});
|
|
@@ -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 EmailThemePatchLayoutContentAlign: core.serialization.Schema<serializers.EmailThemePatchLayoutContentAlign.Raw, Sequenzy.EmailThemePatchLayoutContentAlign>;
|
|
5
|
+
export declare namespace EmailThemePatchLayoutContentAlign {
|
|
6
|
+
type Raw = "center" | "left";
|
|
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.EmailThemePatchLayoutContentAlign = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.EmailThemePatchLayoutContentAlign = core.serialization.enum_(["center", "left"]);
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { SavedFormEmbedRecommendedSnippet } from "./SavedFormEmbedRecommendedSnippet.js";
|
|
4
5
|
export declare const SavedFormEmbed: core.serialization.ObjectSchema<serializers.SavedFormEmbed.Raw, Sequenzy.SavedFormEmbed>;
|
|
5
6
|
export declare namespace SavedFormEmbed {
|
|
6
7
|
interface Raw {
|
|
@@ -8,6 +9,9 @@ export declare namespace SavedFormEmbed {
|
|
|
8
9
|
fetch: string;
|
|
9
10
|
javascript: string;
|
|
10
11
|
nativeForm: string;
|
|
12
|
+
placeholder?: string | null;
|
|
13
|
+
recommendedSnippet?: SavedFormEmbedRecommendedSnippet.Raw | null;
|
|
14
|
+
reducedProtectionWarning?: string | null;
|
|
11
15
|
scriptUrl: string;
|
|
12
16
|
supportedPlatforms: string[];
|
|
13
17
|
}
|
|
@@ -26,11 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.SavedFormEmbed = void 0;
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
const SavedFormEmbedRecommendedSnippet_js_1 = require("./SavedFormEmbedRecommendedSnippet.js");
|
|
29
30
|
exports.SavedFormEmbed = core.serialization.object({
|
|
30
31
|
actionUrl: core.serialization.string(),
|
|
31
32
|
fetch: core.serialization.string(),
|
|
32
33
|
javascript: core.serialization.string(),
|
|
33
34
|
nativeForm: core.serialization.string(),
|
|
35
|
+
placeholder: core.serialization.string().optional(),
|
|
36
|
+
recommendedSnippet: SavedFormEmbedRecommendedSnippet_js_1.SavedFormEmbedRecommendedSnippet.optional(),
|
|
37
|
+
reducedProtectionWarning: core.serialization.string().optional(),
|
|
34
38
|
scriptUrl: core.serialization.string(),
|
|
35
39
|
supportedPlatforms: core.serialization.list(core.serialization.string()),
|
|
36
40
|
});
|
|
@@ -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 SavedFormEmbedRecommendedSnippet: core.serialization.Schema<serializers.SavedFormEmbedRecommendedSnippet.Raw, Sequenzy.SavedFormEmbedRecommendedSnippet>;
|
|
5
|
+
export declare namespace SavedFormEmbedRecommendedSnippet {
|
|
6
|
+
type Raw = "javascript";
|
|
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.SavedFormEmbedRecommendedSnippet = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SavedFormEmbedRecommendedSnippet = core.serialization.enum_(["javascript"]);
|
|
@@ -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 SendingStatusPauseReasonKind: core.serialization.Schema<serializers.SendingStatusPauseReasonKind.Raw, Sequenzy.SendingStatusPauseReasonKind>;
|
|
5
5
|
export declare namespace SendingStatusPauseReasonKind {
|
|
6
|
-
type Raw = "high_hard_bounce_rate" | "high_soft_bounce_rate" | "high_complaint_rate" | "phishing_guard" | "over_email_limit" | "manual" | "other";
|
|
6
|
+
type Raw = "high_hard_bounce_rate" | "high_soft_bounce_rate" | "high_block_rate" | "high_complaint_rate" | "phishing_guard" | "over_email_limit" | "manual" | "other";
|
|
7
7
|
}
|
|
@@ -29,6 +29,7 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
29
29
|
exports.SendingStatusPauseReasonKind = core.serialization.enum_([
|
|
30
30
|
"high_hard_bounce_rate",
|
|
31
31
|
"high_soft_bounce_rate",
|
|
32
|
+
"high_block_rate",
|
|
32
33
|
"high_complaint_rate",
|
|
33
34
|
"phishing_guard",
|
|
34
35
|
"over_email_limit",
|
|
@@ -6,6 +6,8 @@ import { SendingStatusSenderHealthEnforcementMode } from "./SendingStatusSenderH
|
|
|
6
6
|
export declare const SendingStatusSenderHealth: core.serialization.ObjectSchema<serializers.SendingStatusSenderHealth.Raw, Sequenzy.SendingStatusSenderHealth>;
|
|
7
7
|
export declare namespace SendingStatusSenderHealth {
|
|
8
8
|
interface Raw {
|
|
9
|
+
block?: SenderHealthMetric.Raw | null;
|
|
10
|
+
blockScopedSent?: number | null;
|
|
9
11
|
bounceScopedSent?: number | null;
|
|
10
12
|
complaint?: SenderHealthMetric.Raw | null;
|
|
11
13
|
complaintScopedSent?: number | null;
|
|
@@ -29,6 +29,8 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
29
29
|
const SenderHealthMetric_js_1 = require("./SenderHealthMetric.js");
|
|
30
30
|
const SendingStatusSenderHealthEnforcementMode_js_1 = require("./SendingStatusSenderHealthEnforcementMode.js");
|
|
31
31
|
exports.SendingStatusSenderHealth = core.serialization.object({
|
|
32
|
+
block: SenderHealthMetric_js_1.SenderHealthMetric.optional(),
|
|
33
|
+
blockScopedSent: core.serialization.number().optional(),
|
|
32
34
|
bounceScopedSent: core.serialization.number().optional(),
|
|
33
35
|
complaint: SenderHealthMetric_js_1.SenderHealthMetric.optional(),
|
|
34
36
|
complaintScopedSent: core.serialization.number().optional(),
|
|
@@ -138,6 +138,7 @@ export * from "./CommerceValueForecastForecast.js";
|
|
|
138
138
|
export * from "./CommerceValueForecastHistory.js";
|
|
139
139
|
export * from "./CommerceValueForecastStatus.js";
|
|
140
140
|
export * from "./Company.js";
|
|
141
|
+
export * from "./CompanyDarkModeLogoStatus.js";
|
|
141
142
|
export * from "./CompanyEmailBranding.js";
|
|
142
143
|
export * from "./CompanyEmailBrandingManagedBy.js";
|
|
143
144
|
export * from "./CompanyEmailBrandingReason.js";
|
|
@@ -175,6 +176,8 @@ export * from "./Email.js";
|
|
|
175
176
|
export * from "./EmailAiStyleCanvas.js";
|
|
176
177
|
export * from "./EmailAiStyleCanvasEmailPreset.js";
|
|
177
178
|
export * from "./EmailAiStyleCanvasTheme.js";
|
|
179
|
+
export * from "./EmailAiStyleCanvasThemeLayout.js";
|
|
180
|
+
export * from "./EmailAiStyleCanvasThemeLayoutContentAlign.js";
|
|
178
181
|
export * from "./EmailAiStyleCanvasThemePresetId.js";
|
|
179
182
|
export * from "./EmailAiStyleLayoutRule.js";
|
|
180
183
|
export * from "./EmailAiStyleLayoutRuleKind.js";
|
|
@@ -226,6 +229,7 @@ export * from "./EmailDesignSystemSource.js";
|
|
|
226
229
|
export * from "./EmailEvent.js";
|
|
227
230
|
export * from "./EmailEventEmailType.js";
|
|
228
231
|
export * from "./EmailEventEventType.js";
|
|
232
|
+
export * from "./EmailEventOutcome.js";
|
|
229
233
|
export * from "./EmailPreset.js";
|
|
230
234
|
export * from "./EmailSectionOption.js";
|
|
231
235
|
export * from "./EmailSend.js";
|
|
@@ -237,6 +241,7 @@ export * from "./EmailSendEvent.js";
|
|
|
237
241
|
export * from "./EmailSendEventDeliveryPolicy.js";
|
|
238
242
|
export * from "./EmailSendEventEmailType.js";
|
|
239
243
|
export * from "./EmailSendInternalFailureCode.js";
|
|
244
|
+
export * from "./EmailSendOutcome.js";
|
|
240
245
|
export * from "./EmailSendStatus.js";
|
|
241
246
|
export * from "./EmailSendSubscriber.js";
|
|
242
247
|
export * from "./EmailSendSuppressionReason.js";
|
|
@@ -245,6 +250,7 @@ export * from "./EmailThemePatch.js";
|
|
|
245
250
|
export * from "./EmailThemePatchButtonStyle.js";
|
|
246
251
|
export * from "./EmailThemePatchColors.js";
|
|
247
252
|
export * from "./EmailThemePatchLayout.js";
|
|
253
|
+
export * from "./EmailThemePatchLayoutContentAlign.js";
|
|
248
254
|
export * from "./EmailThemePatchPresetId.js";
|
|
249
255
|
export * from "./EmailThemePatchTypography.js";
|
|
250
256
|
export * from "./EmailVariation.js";
|
|
@@ -533,6 +539,7 @@ export * from "./SavedForm.js";
|
|
|
533
539
|
export * from "./SavedFormContent.js";
|
|
534
540
|
export * from "./SavedFormContentSurface.js";
|
|
535
541
|
export * from "./SavedFormEmbed.js";
|
|
542
|
+
export * from "./SavedFormEmbedRecommendedSnippet.js";
|
|
536
543
|
export * from "./SavedFormSettings.js";
|
|
537
544
|
export * from "./SavedFormSettingsAfterSubmission.js";
|
|
538
545
|
export * from "./SavedFormSettingsCustomFieldsItem.js";
|
|
@@ -154,6 +154,7 @@ __exportStar(require("./CommerceValueForecastForecast.js"), exports);
|
|
|
154
154
|
__exportStar(require("./CommerceValueForecastHistory.js"), exports);
|
|
155
155
|
__exportStar(require("./CommerceValueForecastStatus.js"), exports);
|
|
156
156
|
__exportStar(require("./Company.js"), exports);
|
|
157
|
+
__exportStar(require("./CompanyDarkModeLogoStatus.js"), exports);
|
|
157
158
|
__exportStar(require("./CompanyEmailBranding.js"), exports);
|
|
158
159
|
__exportStar(require("./CompanyEmailBrandingManagedBy.js"), exports);
|
|
159
160
|
__exportStar(require("./CompanyEmailBrandingReason.js"), exports);
|
|
@@ -191,6 +192,8 @@ __exportStar(require("./Email.js"), exports);
|
|
|
191
192
|
__exportStar(require("./EmailAiStyleCanvas.js"), exports);
|
|
192
193
|
__exportStar(require("./EmailAiStyleCanvasEmailPreset.js"), exports);
|
|
193
194
|
__exportStar(require("./EmailAiStyleCanvasTheme.js"), exports);
|
|
195
|
+
__exportStar(require("./EmailAiStyleCanvasThemeLayout.js"), exports);
|
|
196
|
+
__exportStar(require("./EmailAiStyleCanvasThemeLayoutContentAlign.js"), exports);
|
|
194
197
|
__exportStar(require("./EmailAiStyleCanvasThemePresetId.js"), exports);
|
|
195
198
|
__exportStar(require("./EmailAiStyleLayoutRule.js"), exports);
|
|
196
199
|
__exportStar(require("./EmailAiStyleLayoutRuleKind.js"), exports);
|
|
@@ -242,6 +245,7 @@ __exportStar(require("./EmailDesignSystemSource.js"), exports);
|
|
|
242
245
|
__exportStar(require("./EmailEvent.js"), exports);
|
|
243
246
|
__exportStar(require("./EmailEventEmailType.js"), exports);
|
|
244
247
|
__exportStar(require("./EmailEventEventType.js"), exports);
|
|
248
|
+
__exportStar(require("./EmailEventOutcome.js"), exports);
|
|
245
249
|
__exportStar(require("./EmailPreset.js"), exports);
|
|
246
250
|
__exportStar(require("./EmailSectionOption.js"), exports);
|
|
247
251
|
__exportStar(require("./EmailSend.js"), exports);
|
|
@@ -253,6 +257,7 @@ __exportStar(require("./EmailSendEvent.js"), exports);
|
|
|
253
257
|
__exportStar(require("./EmailSendEventDeliveryPolicy.js"), exports);
|
|
254
258
|
__exportStar(require("./EmailSendEventEmailType.js"), exports);
|
|
255
259
|
__exportStar(require("./EmailSendInternalFailureCode.js"), exports);
|
|
260
|
+
__exportStar(require("./EmailSendOutcome.js"), exports);
|
|
256
261
|
__exportStar(require("./EmailSendStatus.js"), exports);
|
|
257
262
|
__exportStar(require("./EmailSendSubscriber.js"), exports);
|
|
258
263
|
__exportStar(require("./EmailSendSuppressionReason.js"), exports);
|
|
@@ -261,6 +266,7 @@ __exportStar(require("./EmailThemePatch.js"), exports);
|
|
|
261
266
|
__exportStar(require("./EmailThemePatchButtonStyle.js"), exports);
|
|
262
267
|
__exportStar(require("./EmailThemePatchColors.js"), exports);
|
|
263
268
|
__exportStar(require("./EmailThemePatchLayout.js"), exports);
|
|
269
|
+
__exportStar(require("./EmailThemePatchLayoutContentAlign.js"), exports);
|
|
264
270
|
__exportStar(require("./EmailThemePatchPresetId.js"), exports);
|
|
265
271
|
__exportStar(require("./EmailThemePatchTypography.js"), exports);
|
|
266
272
|
__exportStar(require("./EmailVariation.js"), exports);
|
|
@@ -549,6 +555,7 @@ __exportStar(require("./SavedForm.js"), exports);
|
|
|
549
555
|
__exportStar(require("./SavedFormContent.js"), exports);
|
|
550
556
|
__exportStar(require("./SavedFormContentSurface.js"), exports);
|
|
551
557
|
__exportStar(require("./SavedFormEmbed.js"), exports);
|
|
558
|
+
__exportStar(require("./SavedFormEmbedRecommendedSnippet.js"), exports);
|
|
552
559
|
__exportStar(require("./SavedFormSettings.js"), exports);
|
|
553
560
|
__exportStar(require("./SavedFormSettingsAfterSubmission.js"), exports);
|
|
554
561
|
__exportStar(require("./SavedFormSettingsCustomFieldsItem.js"), exports);
|
|
@@ -459,7 +459,7 @@ export class AnalyticsClient {
|
|
|
459
459
|
return core.HttpResponsePromise.fromPromise(this.__getMetrics(request, requestOptions));
|
|
460
460
|
}
|
|
461
461
|
async __getMetrics(request = {}, requestOptions) {
|
|
462
|
-
const { emailType, end, includeMachineEngagement, mailboxProvider, period, recipientDomain, source, start } = request;
|
|
462
|
+
const { emailType, end, includeMachineEngagement, mailboxProvider, outcome, period, recipientDomain, source, start, } = request;
|
|
463
463
|
const _queryParams = {
|
|
464
464
|
emailType: emailType != null
|
|
465
465
|
? serializers.GetMetricsRequestEmailType.jsonOrThrow(emailType, {
|
|
@@ -470,6 +470,12 @@ export class AnalyticsClient {
|
|
|
470
470
|
end: end != null ? end?.toISOString() : undefined,
|
|
471
471
|
includeMachineEngagement,
|
|
472
472
|
mailboxProvider,
|
|
473
|
+
outcome: outcome != null
|
|
474
|
+
? serializers.GetMetricsRequestOutcome.jsonOrThrow(outcome, {
|
|
475
|
+
unrecognizedObjectKeys: "strip",
|
|
476
|
+
omitUndefined: true,
|
|
477
|
+
})
|
|
478
|
+
: undefined,
|
|
473
479
|
period: period != null
|
|
474
480
|
? serializers.GetMetricsRequestPeriod.jsonOrThrow(period, {
|
|
475
481
|
unrecognizedObjectKeys: "strip",
|
|
@@ -552,7 +558,7 @@ export class AnalyticsClient {
|
|
|
552
558
|
return core.HttpResponsePromise.fromPromise(this.__getMetricsBreakdown(request, requestOptions));
|
|
553
559
|
}
|
|
554
560
|
async __getMetricsBreakdown(request = {}, requestOptions) {
|
|
555
|
-
const { by, emailType, end, includeMachineEngagement, limit, mailboxProvider, period, recipientDomain, source, start, } = request;
|
|
561
|
+
const { by, emailType, end, includeMachineEngagement, limit, mailboxProvider, outcome, period, recipientDomain, source, start, } = request;
|
|
556
562
|
const _queryParams = {
|
|
557
563
|
by: by != null
|
|
558
564
|
? serializers.GetMetricsBreakdownRequestBy.jsonOrThrow(by, {
|
|
@@ -570,6 +576,12 @@ export class AnalyticsClient {
|
|
|
570
576
|
includeMachineEngagement,
|
|
571
577
|
limit,
|
|
572
578
|
mailboxProvider,
|
|
579
|
+
outcome: outcome != null
|
|
580
|
+
? serializers.GetMetricsBreakdownRequestOutcome.jsonOrThrow(outcome, {
|
|
581
|
+
unrecognizedObjectKeys: "strip",
|
|
582
|
+
omitUndefined: true,
|
|
583
|
+
})
|
|
584
|
+
: undefined,
|
|
573
585
|
period: period != null
|
|
574
586
|
? serializers.GetMetricsBreakdownRequestPeriod.jsonOrThrow(period, {
|
|
575
587
|
unrecognizedObjectKeys: "strip",
|
|
@@ -16,6 +16,8 @@ export interface GetMetricsBreakdownRequest {
|
|
|
16
16
|
limit?: number;
|
|
17
17
|
/** Recipient mailbox provider filter (e.g. gmail, microsoft, yahoo, icloud). */
|
|
18
18
|
mailboxProvider?: string;
|
|
19
|
+
/** Only sends that had this outcome: a permanent bounce, a temporary bounce, a blocked bounce (the receiver refused it over content, policy or reputation) or a spam complaint. Matches the dashboard's Sender Quality cards. Filtered responses report replies as 0 and omit the commerce forecast. */
|
|
20
|
+
outcome?: Sequenzy.GetMetricsBreakdownRequestOutcome;
|
|
19
21
|
/** Sliding window over send times. Ignored when start/end are provided. */
|
|
20
22
|
period?: Sequenzy.GetMetricsBreakdownRequestPeriod;
|
|
21
23
|
/** Recipient domain filter (e.g. gmail.com). Case-insensitive. */
|
|
@@ -12,6 +12,8 @@ export interface GetMetricsRequest {
|
|
|
12
12
|
includeMachineEngagement?: boolean;
|
|
13
13
|
/** Recipient mailbox provider filter (e.g. gmail, microsoft, yahoo, icloud). Scopes engagement metrics to recipients of that provider. Provider-filtered responses report replies as 0 (replies cannot be segmented per provider) and omit the commerce forecast. */
|
|
14
14
|
mailboxProvider?: string;
|
|
15
|
+
/** Only sends that had this outcome: a permanent bounce, a temporary bounce, a blocked bounce (the receiver refused it over content, policy or reputation) or a spam complaint. Matches the dashboard's Sender Quality cards. Filtered responses report replies as 0 and omit the commerce forecast. */
|
|
16
|
+
outcome?: Sequenzy.GetMetricsRequestOutcome;
|
|
15
17
|
/** Sliding time window. Ignored when start/end are provided. */
|
|
16
18
|
period?: Sequenzy.GetMetricsRequestPeriod;
|
|
17
19
|
/** Recipient domain filter (e.g. gmail.com). Case-insensitive. */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const GetMetricsBreakdownRequestOutcome: {
|
|
2
|
+
readonly PermanentBounce: "permanent_bounce";
|
|
3
|
+
readonly TemporaryBounce: "temporary_bounce";
|
|
4
|
+
readonly Blocked: "blocked";
|
|
5
|
+
readonly Complaint: "complaint";
|
|
6
|
+
};
|
|
7
|
+
export type GetMetricsBreakdownRequestOutcome = (typeof GetMetricsBreakdownRequestOutcome)[keyof typeof GetMetricsBreakdownRequestOutcome];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const GetMetricsRequestOutcome: {
|
|
2
|
+
readonly PermanentBounce: "permanent_bounce";
|
|
3
|
+
readonly TemporaryBounce: "temporary_bounce";
|
|
4
|
+
readonly Blocked: "blocked";
|
|
5
|
+
readonly Complaint: "complaint";
|
|
6
|
+
};
|
|
7
|
+
export type GetMetricsRequestOutcome = (typeof GetMetricsRequestOutcome)[keyof typeof GetMetricsRequestOutcome];
|
|
@@ -7,6 +7,8 @@ export interface GetMetricsResponse {
|
|
|
7
7
|
emailType?: Sequenzy.GetMetricsResponseEmailType;
|
|
8
8
|
/** Echoed back when `mailboxProvider` is provided. */
|
|
9
9
|
mailboxProvider?: string;
|
|
10
|
+
/** Echoed back when `outcome` is provided. */
|
|
11
|
+
outcome?: string;
|
|
10
12
|
period?: string;
|
|
11
13
|
/** Echoed back, lowercased, when `recipientDomain` is provided. */
|
|
12
14
|
recipientDomain?: string;
|
|
@@ -13,10 +13,12 @@ export * from "./GetLinkClickMetricsResponse.js";
|
|
|
13
13
|
export * from "./GetLinkClickMetricsResponseEmailType.js";
|
|
14
14
|
export * from "./GetMetricsBreakdownRequestBy.js";
|
|
15
15
|
export * from "./GetMetricsBreakdownRequestEmailType.js";
|
|
16
|
+
export * from "./GetMetricsBreakdownRequestOutcome.js";
|
|
16
17
|
export * from "./GetMetricsBreakdownRequestPeriod.js";
|
|
17
18
|
export * from "./GetMetricsBreakdownResponse.js";
|
|
18
19
|
export * from "./GetMetricsBreakdownResponseRowsItem.js";
|
|
19
20
|
export * from "./GetMetricsRequestEmailType.js";
|
|
21
|
+
export * from "./GetMetricsRequestOutcome.js";
|
|
20
22
|
export * from "./GetMetricsRequestPeriod.js";
|
|
21
23
|
export * from "./GetMetricsResponse.js";
|
|
22
24
|
export * from "./GetMetricsResponseEmailType.js";
|
|
@@ -13,10 +13,12 @@ export * from "./GetLinkClickMetricsResponse.js";
|
|
|
13
13
|
export * from "./GetLinkClickMetricsResponseEmailType.js";
|
|
14
14
|
export * from "./GetMetricsBreakdownRequestBy.js";
|
|
15
15
|
export * from "./GetMetricsBreakdownRequestEmailType.js";
|
|
16
|
+
export * from "./GetMetricsBreakdownRequestOutcome.js";
|
|
16
17
|
export * from "./GetMetricsBreakdownRequestPeriod.js";
|
|
17
18
|
export * from "./GetMetricsBreakdownResponse.js";
|
|
18
19
|
export * from "./GetMetricsBreakdownResponseRowsItem.js";
|
|
19
20
|
export * from "./GetMetricsRequestEmailType.js";
|
|
21
|
+
export * from "./GetMetricsRequestOutcome.js";
|
|
20
22
|
export * from "./GetMetricsRequestPeriod.js";
|
|
21
23
|
export * from "./GetMetricsResponse.js";
|
|
22
24
|
export * from "./GetMetricsResponseEmailType.js";
|
|
@@ -11,6 +11,8 @@ export interface UpdateCompaniesRequest {
|
|
|
11
11
|
address?: string | null;
|
|
12
12
|
brandColors?: Record<string, unknown> | null;
|
|
13
13
|
companyContext?: string | null;
|
|
14
|
+
/** Your own dark-mode version of the logo. Every email uses it instead of the automatic outlined copy, in light and dark inboxes, so it must read on both. Requires a logo (here or already saved); changing the logo later drops it. Send null to go back to the automatic one. */
|
|
15
|
+
darkModeLogoUrl?: string | null;
|
|
14
16
|
/** Which lists new contacts join when something creates a subscriber without explicit list targeting - forms, API writes, events, tag actions, imports, and any integration without its own list targeting. null means every current and future list, [] means no list at all, and an array means exactly those lists. Unknown or foreign list IDs are rejected rather than skipped. Applies only to later writes; nobody is moved or removed retroactively. Requires the companies:manage scope. */
|
|
15
17
|
defaultSubscriberListIds?: string[] | null;
|
|
16
18
|
description?: string | null;
|
|
@@ -7,7 +7,7 @@ export interface UpdateCompaniesRequestEmailTheme {
|
|
|
7
7
|
buttonStyle?: Sequenzy.UpdateCompaniesRequestEmailThemeButtonStyle;
|
|
8
8
|
/** 6-digit hex values. */
|
|
9
9
|
colors?: Sequenzy.UpdateCompaniesRequestEmailThemeColors;
|
|
10
|
-
/**
|
|
10
|
+
/** Layout settings. Every field is a number except contentAlign. */
|
|
11
11
|
layout?: Sequenzy.UpdateCompaniesRequestEmailThemeLayout;
|
|
12
12
|
presetId?: Sequenzy.UpdateCompaniesRequestEmailThemePresetId;
|
|
13
13
|
/** Numeric type settings. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../index.js";
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
+
* Layout settings. Every field is a number except contentAlign.
|
|
3
4
|
*/
|
|
4
5
|
export interface UpdateCompaniesRequestEmailThemeLayout {
|
|
5
6
|
baseRadius?: number;
|
|
@@ -7,8 +8,11 @@ export interface UpdateCompaniesRequestEmailThemeLayout {
|
|
|
7
8
|
borderedBlockPadding?: number;
|
|
8
9
|
buttonPaddingX?: number;
|
|
9
10
|
buttonPaddingY?: number;
|
|
11
|
+
buttonRadius?: number;
|
|
10
12
|
containerPaddingX?: number;
|
|
11
13
|
containerPaddingY?: number;
|
|
14
|
+
/** Where the content column sits in a wide email client. center (default) or left (flush left, like a plain personal email). With left, buttons, the logo and footers line up on the left too unless set to right, or centered with styles.keepAlign. Phones show the column full width either way. */
|
|
15
|
+
contentAlign?: Sequenzy.UpdateCompaniesRequestEmailThemeLayoutContentAlign;
|
|
12
16
|
contentWidth?: number;
|
|
13
17
|
sectionPadding?: number;
|
|
14
18
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Where the content column sits in a wide email client. center (default) or left (flush left, like a plain personal email). With left, buttons, the logo and footers line up on the left too unless set to right, or centered with styles.keepAlign. Phones show the column full width either way. */
|
|
2
|
+
export declare const UpdateCompaniesRequestEmailThemeLayoutContentAlign: {
|
|
3
|
+
readonly Center: "center";
|
|
4
|
+
readonly Left: "left";
|
|
5
|
+
};
|
|
6
|
+
export type UpdateCompaniesRequestEmailThemeLayoutContentAlign = (typeof UpdateCompaniesRequestEmailThemeLayoutContentAlign)[keyof typeof UpdateCompaniesRequestEmailThemeLayoutContentAlign];
|
package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestEmailThemeLayoutContentAlign.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Where the content column sits in a wide email client. center (default) or left (flush left, like a plain personal email). With left, buttons, the logo and footers line up on the left too unless set to right, or centered with styles.keepAlign. Phones show the column full width either way. */
|
|
3
|
+
export const UpdateCompaniesRequestEmailThemeLayoutContentAlign = {
|
|
4
|
+
Center: "center",
|
|
5
|
+
Left: "left",
|
|
6
|
+
};
|