sequenzy 2.1.35 → 2.1.37
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/campaigns/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/client/Client.js +3 -0
- package/dist/cjs/api/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/types/CreateCampaignsResponse.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/types/UpdateCampaignsResponse.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +1 -0
- 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/resources/websites/client/requests/AddWebsitesRequest.d.ts +1 -1
- package/dist/cjs/api/types/CampaignAttachmentInput.d.ts +13 -0
- package/dist/cjs/api/types/CampaignAttachmentInput.js +3 -0
- package/dist/cjs/api/types/CampaignDetail.d.ts +2 -0
- package/dist/cjs/api/types/IgnoredFields.d.ts +5 -0
- package/dist/cjs/api/types/IgnoredFields.js +3 -0
- package/dist/cjs/api/types/IgnoredFieldsItem.d.ts +7 -0
- package/dist/cjs/api/types/IgnoredFieldsItem.js +3 -0
- package/dist/cjs/api/types/IgnoredFieldsItemReason.d.ts +6 -0
- package/dist/cjs/api/types/IgnoredFieldsItemReason.js +9 -0
- package/dist/cjs/api/types/StoredCampaignAttachment.d.ts +7 -0
- package/dist/cjs/api/types/StoredCampaignAttachment.js +3 -0
- package/dist/cjs/api/types/index.d.ts +5 -0
- package/dist/cjs/api/types/index.js +5 -0
- package/dist/cjs/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponse.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponse.js +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.js +2 -0
- package/dist/cjs/serialization/types/CampaignAttachmentInput.d.ts +12 -0
- package/dist/cjs/serialization/types/CampaignAttachmentInput.js +34 -0
- package/dist/cjs/serialization/types/CampaignDetail.d.ts +2 -0
- package/dist/cjs/serialization/types/CampaignDetail.js +2 -0
- package/dist/cjs/serialization/types/IgnoredFields.d.ts +8 -0
- package/dist/cjs/serialization/types/IgnoredFields.js +30 -0
- package/dist/cjs/serialization/types/IgnoredFieldsItem.d.ts +11 -0
- package/dist/cjs/serialization/types/IgnoredFieldsItem.js +33 -0
- package/dist/cjs/serialization/types/IgnoredFieldsItemReason.d.ts +7 -0
- package/dist/cjs/serialization/types/IgnoredFieldsItemReason.js +29 -0
- package/dist/cjs/serialization/types/StoredCampaignAttachment.d.ts +10 -0
- package/dist/cjs/serialization/types/StoredCampaignAttachment.js +32 -0
- package/dist/cjs/serialization/types/index.d.ts +5 -0
- package/dist/cjs/serialization/types/index.js +5 -0
- package/dist/esm/api/resources/campaigns/client/Client.d.ts +1 -0
- package/dist/esm/api/resources/campaigns/client/Client.js +3 -0
- package/dist/esm/api/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/types/CreateCampaignsResponse.d.ts +1 -0
- package/dist/esm/api/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +1 -0
- package/dist/esm/api/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/types/UpdateCampaignsResponse.d.ts +1 -0
- package/dist/esm/api/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +1 -0
- 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/resources/websites/client/requests/AddWebsitesRequest.d.ts +1 -1
- package/dist/esm/api/types/CampaignAttachmentInput.d.ts +13 -0
- package/dist/esm/api/types/CampaignAttachmentInput.js +2 -0
- package/dist/esm/api/types/CampaignDetail.d.ts +2 -0
- package/dist/esm/api/types/IgnoredFields.d.ts +5 -0
- package/dist/esm/api/types/IgnoredFields.js +2 -0
- package/dist/esm/api/types/IgnoredFieldsItem.d.ts +7 -0
- package/dist/esm/api/types/IgnoredFieldsItem.js +2 -0
- package/dist/esm/api/types/IgnoredFieldsItemReason.d.ts +6 -0
- package/dist/esm/api/types/IgnoredFieldsItemReason.js +6 -0
- package/dist/esm/api/types/StoredCampaignAttachment.d.ts +7 -0
- package/dist/esm/api/types/StoredCampaignAttachment.js +2 -0
- package/dist/esm/api/types/index.d.ts +5 -0
- package/dist/esm/api/types/index.js +5 -0
- package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.js +2 -0
- package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponse.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponse.js +2 -0
- package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.js +2 -0
- package/dist/esm/serialization/types/CampaignAttachmentInput.d.ts +12 -0
- package/dist/esm/serialization/types/CampaignAttachmentInput.js +8 -0
- package/dist/esm/serialization/types/CampaignDetail.d.ts +2 -0
- package/dist/esm/serialization/types/CampaignDetail.js +2 -0
- package/dist/esm/serialization/types/IgnoredFields.d.ts +8 -0
- package/dist/esm/serialization/types/IgnoredFields.js +4 -0
- package/dist/esm/serialization/types/IgnoredFieldsItem.d.ts +11 -0
- package/dist/esm/serialization/types/IgnoredFieldsItem.js +7 -0
- package/dist/esm/serialization/types/IgnoredFieldsItemReason.d.ts +7 -0
- package/dist/esm/serialization/types/IgnoredFieldsItemReason.js +3 -0
- package/dist/esm/serialization/types/StoredCampaignAttachment.d.ts +10 -0
- package/dist/esm/serialization/types/StoredCampaignAttachment.js +6 -0
- package/dist/esm/serialization/types/index.d.ts +5 -0
- package/dist/esm/serialization/types/index.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import { IgnoredFieldsItemReason } from "./IgnoredFieldsItemReason.js";
|
|
5
|
+
export declare const IgnoredFieldsItem: core.serialization.ObjectSchema<serializers.IgnoredFieldsItem.Raw, Sequenzy.IgnoredFieldsItem>;
|
|
6
|
+
export declare namespace IgnoredFieldsItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
path: string;
|
|
9
|
+
reason: IgnoredFieldsItemReason.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.IgnoredFieldsItem = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
const IgnoredFieldsItemReason_js_1 = require("./IgnoredFieldsItemReason.js");
|
|
30
|
+
exports.IgnoredFieldsItem = core.serialization.object({
|
|
31
|
+
path: core.serialization.string(),
|
|
32
|
+
reason: IgnoredFieldsItemReason_js_1.IgnoredFieldsItemReason,
|
|
33
|
+
});
|
|
@@ -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 IgnoredFieldsItemReason: core.serialization.Schema<serializers.IgnoredFieldsItemReason.Raw, Sequenzy.IgnoredFieldsItemReason>;
|
|
5
|
+
export declare namespace IgnoredFieldsItemReason {
|
|
6
|
+
type Raw = "unknown_field" | "not_an_object";
|
|
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.IgnoredFieldsItemReason = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.IgnoredFieldsItemReason = core.serialization.enum_(["unknown_field", "not_an_object"]);
|
|
@@ -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 StoredCampaignAttachment: core.serialization.ObjectSchema<serializers.StoredCampaignAttachment.Raw, Sequenzy.StoredCampaignAttachment>;
|
|
5
|
+
export declare namespace StoredCampaignAttachment {
|
|
6
|
+
interface Raw {
|
|
7
|
+
filename: string;
|
|
8
|
+
path: string;
|
|
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.StoredCampaignAttachment = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.StoredCampaignAttachment = core.serialization.object({
|
|
30
|
+
filename: core.serialization.string(),
|
|
31
|
+
path: core.serialization.string(),
|
|
32
|
+
});
|
|
@@ -75,6 +75,7 @@ export * from "./BulkSubscriberTagRequest.js";
|
|
|
75
75
|
export * from "./BulkSubscriberTagResponse.js";
|
|
76
76
|
export * from "./BulkSubscriberTagResponseFailuresItem.js";
|
|
77
77
|
export * from "./BulkSubscriberTagResponseNotFound.js";
|
|
78
|
+
export * from "./CampaignAttachmentInput.js";
|
|
78
79
|
export * from "./CampaignChannel.js";
|
|
79
80
|
export * from "./CampaignDetail.js";
|
|
80
81
|
export * from "./CampaignGoal.js";
|
|
@@ -316,6 +317,9 @@ export * from "./GalleryWatchedBrandEmail.js";
|
|
|
316
317
|
export * from "./GalleryWatchedBrandEmailBrand.js";
|
|
317
318
|
export * from "./GalleryWatchedBrandStatus.js";
|
|
318
319
|
export * from "./GalleryWatchResult.js";
|
|
320
|
+
export * from "./IgnoredFields.js";
|
|
321
|
+
export * from "./IgnoredFieldsItem.js";
|
|
322
|
+
export * from "./IgnoredFieldsItemReason.js";
|
|
319
323
|
export * from "./InAppMessage.js";
|
|
320
324
|
export * from "./InAppMessageButtonsItem.js";
|
|
321
325
|
export * from "./InAppMessageButtonsItemAction.js";
|
|
@@ -771,6 +775,7 @@ export * from "./ServiceUnavailableErrorBody.js";
|
|
|
771
775
|
export * from "./ShopifyBrowseAbandonmentSettings.js";
|
|
772
776
|
export * from "./ShopifyCartAbandonmentSettings.js";
|
|
773
777
|
export * from "./ShopifyPriceDropSettings.js";
|
|
778
|
+
export * from "./StoredCampaignAttachment.js";
|
|
774
779
|
export * from "./Subscriber.js";
|
|
775
780
|
export * from "./SubscriberActivityEvent.js";
|
|
776
781
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
|
@@ -91,6 +91,7 @@ __exportStar(require("./BulkSubscriberTagRequest.js"), exports);
|
|
|
91
91
|
__exportStar(require("./BulkSubscriberTagResponse.js"), exports);
|
|
92
92
|
__exportStar(require("./BulkSubscriberTagResponseFailuresItem.js"), exports);
|
|
93
93
|
__exportStar(require("./BulkSubscriberTagResponseNotFound.js"), exports);
|
|
94
|
+
__exportStar(require("./CampaignAttachmentInput.js"), exports);
|
|
94
95
|
__exportStar(require("./CampaignChannel.js"), exports);
|
|
95
96
|
__exportStar(require("./CampaignDetail.js"), exports);
|
|
96
97
|
__exportStar(require("./CampaignGoal.js"), exports);
|
|
@@ -332,6 +333,9 @@ __exportStar(require("./GalleryWatchedBrandEmail.js"), exports);
|
|
|
332
333
|
__exportStar(require("./GalleryWatchedBrandEmailBrand.js"), exports);
|
|
333
334
|
__exportStar(require("./GalleryWatchedBrandStatus.js"), exports);
|
|
334
335
|
__exportStar(require("./GalleryWatchResult.js"), exports);
|
|
336
|
+
__exportStar(require("./IgnoredFields.js"), exports);
|
|
337
|
+
__exportStar(require("./IgnoredFieldsItem.js"), exports);
|
|
338
|
+
__exportStar(require("./IgnoredFieldsItemReason.js"), exports);
|
|
335
339
|
__exportStar(require("./InAppMessage.js"), exports);
|
|
336
340
|
__exportStar(require("./InAppMessageButtonsItem.js"), exports);
|
|
337
341
|
__exportStar(require("./InAppMessageButtonsItemAction.js"), exports);
|
|
@@ -787,6 +791,7 @@ __exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
|
|
|
787
791
|
__exportStar(require("./ShopifyBrowseAbandonmentSettings.js"), exports);
|
|
788
792
|
__exportStar(require("./ShopifyCartAbandonmentSettings.js"), exports);
|
|
789
793
|
__exportStar(require("./ShopifyPriceDropSettings.js"), exports);
|
|
794
|
+
__exportStar(require("./StoredCampaignAttachment.js"), exports);
|
|
790
795
|
__exportStar(require("./Subscriber.js"), exports);
|
|
791
796
|
__exportStar(require("./SubscriberActivityEvent.js"), exports);
|
|
792
797
|
__exportStar(require("./SubscriberActivityEventEngagementQuality.js"), exports);
|
|
@@ -62,6 +62,7 @@ export declare class CampaignsClient {
|
|
|
62
62
|
* @throws {@link Sequenzy.BadRequestError}
|
|
63
63
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
64
64
|
* @throws {@link Sequenzy.InternalServerError}
|
|
65
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
65
66
|
* @throws {@link errors.SequenzyError}
|
|
66
67
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
67
68
|
*
|
|
@@ -174,6 +174,7 @@ export class CampaignsClient {
|
|
|
174
174
|
* @throws {@link Sequenzy.BadRequestError}
|
|
175
175
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
176
176
|
* @throws {@link Sequenzy.InternalServerError}
|
|
177
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
177
178
|
* @throws {@link errors.SequenzyError}
|
|
178
179
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
179
180
|
*
|
|
@@ -250,6 +251,8 @@ export class CampaignsClient {
|
|
|
250
251
|
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
251
252
|
case 500:
|
|
252
253
|
throw new Sequenzy.InternalServerError(_response.error.body, _response.rawResponse);
|
|
254
|
+
case 503:
|
|
255
|
+
throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
253
256
|
default:
|
|
254
257
|
throw new errors.SequenzyError({
|
|
255
258
|
statusCode: _response.error.statusCode,
|
|
@@ -29,6 +29,8 @@ import type * as Sequenzy from "../../../../index.js";
|
|
|
29
29
|
* }
|
|
30
30
|
*/
|
|
31
31
|
export interface CreateCampaignsRequest {
|
|
32
|
+
/** Files sent with every recipient's email, including CC/BCC copies and test sends. Up to 10 files and 5MB in total. Every entry is validated before any Base64 content is stored. URL files are fetched and size-checked when sending starts; if one cannot be loaded, nothing is sent and the campaign returns to draft. */
|
|
33
|
+
attachments?: Sequenzy.CampaignAttachmentInput[];
|
|
32
34
|
/** Sequenzy email blocks. Mutually exclusive with html. Put visual styling under styles; top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles. */
|
|
33
35
|
blocks?: Record<string, unknown>[];
|
|
34
36
|
campaignData?: Record<string, unknown> | null;
|
|
@@ -92,6 +92,8 @@ import type * as Sequenzy from "../../../../index.js";
|
|
|
92
92
|
export interface UpdateCampaignsRequest {
|
|
93
93
|
/** Campaign ID */
|
|
94
94
|
campaignId: string;
|
|
95
|
+
/** Replaces the files sent with every recipient's email (up to 10 files, 5MB in total). Send an empty array or null to remove them; omit to leave them unchanged. Base64 content is stored only after every other field in the request has been validated; if storing fails, the response is 503 and the campaign is unchanged. */
|
|
96
|
+
attachments?: Sequenzy.CampaignAttachmentInput[] | null;
|
|
95
97
|
/** Addresses BCC'd on every recipient's email for this campaign. Send an empty array or null to clear them. */
|
|
96
98
|
bccEmails?: string[] | null;
|
|
97
99
|
/** Updated Sequenzy email blocks. Mutually exclusive with `html`. Put visual styling under styles; top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../../index.js";
|
|
2
2
|
export interface CreateCampaignsResponseCampaign {
|
|
3
|
+
attachments?: Sequenzy.StoredCampaignAttachment[] | null;
|
|
3
4
|
/** The linked email body, reusable as `templateId` when creating later campaigns. */
|
|
4
5
|
emailId?: string;
|
|
5
6
|
emailPreset?: Sequenzy.EmailPreset | null;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../../index.js";
|
|
2
2
|
export interface DuplicateCampaignsResponseCampaign {
|
|
3
|
+
/** Files sent with every recipient's email for this campaign, or null when there are none. */
|
|
4
|
+
attachments?: Sequenzy.StoredCampaignAttachment[] | null;
|
|
3
5
|
/** Addresses BCC'd on every recipient's email for this campaign. */
|
|
4
6
|
bccEmails?: string[] | null;
|
|
5
7
|
blocks?: Sequenzy.EmailBlock[];
|
package/dist/esm/api/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../../index.js";
|
|
2
2
|
export interface ResendToNonOpenersCampaignsResponseCampaign {
|
|
3
|
+
/** Files sent with every recipient's email for this campaign, or null when there are none. */
|
|
4
|
+
attachments?: Sequenzy.StoredCampaignAttachment[] | null;
|
|
3
5
|
/** Addresses BCC'd on every recipient's email for this campaign. */
|
|
4
6
|
bccEmails?: string[] | null;
|
|
5
7
|
blocks?: Sequenzy.EmailBlock[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../../index.js";
|
|
2
2
|
export interface UpdateCampaignsResponseCampaign {
|
|
3
|
+
attachments?: Sequenzy.StoredCampaignAttachment[] | null;
|
|
3
4
|
bccEmails?: string[] | null;
|
|
4
5
|
ccEmails?: string[] | null;
|
|
5
6
|
/** The linked email body, reusable as `templateId` when creating later campaigns. */
|
|
@@ -11,7 +11,7 @@ export declare class WebsitesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<WebsitesClient.Options>;
|
|
12
12
|
constructor(options?: WebsitesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Adds a sending domain to the authenticated company and returns the SPF, DKIM, MAIL FROM, DMARC, and tracking DNS records required for setup. Tracked links use the company tracking domain, shared by every sending domain: the first domain creates it
|
|
14
|
+
* Adds a sending domain to the authenticated company and returns the SPF, DKIM, MAIL FROM, DMARC, and tracking DNS records required for setup. Tracked links use the company tracking domain, shared by every sending domain: the first domain creates it under itself (links.<domain>) and returns its CNAME as dnsRecords.trackingRecord. It is optional and never gates verification or sending. A domain belongs to exactly one company, so confirm the target company before adding it.
|
|
15
15
|
*
|
|
16
16
|
* @param {Sequenzy.AddWebsitesRequest} request
|
|
17
17
|
* @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -13,7 +13,7 @@ export class WebsitesClient {
|
|
|
13
13
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Adds a sending domain to the authenticated company and returns the SPF, DKIM, MAIL FROM, DMARC, and tracking DNS records required for setup. Tracked links use the company tracking domain, shared by every sending domain: the first domain creates it
|
|
16
|
+
* Adds a sending domain to the authenticated company and returns the SPF, DKIM, MAIL FROM, DMARC, and tracking DNS records required for setup. Tracked links use the company tracking domain, shared by every sending domain: the first domain creates it under itself (links.<domain>) and returns its CNAME as dnsRecords.trackingRecord. It is optional and never gates verification or sending. A domain belongs to exactly one company, so confirm the target company before adding it.
|
|
17
17
|
*
|
|
18
18
|
* @param {Sequenzy.AddWebsitesRequest} request
|
|
19
19
|
* @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -9,6 +9,6 @@ export interface AddWebsitesRequest {
|
|
|
9
9
|
domain: string;
|
|
10
10
|
/** Return-path (MAIL FROM) subdomain label. Defaults to rp. New domains also get a second return path, usually <label>2 (rp2 by default); publish the returned names. One DNS label of 1 to 63 letters, numbers or hyphens; inbound is reserved. Applies only when the domain is created; re-adding an existing domain returns its stored records. */
|
|
11
11
|
mailFromPrefix?: string;
|
|
12
|
-
/** Label of the company tracking domain created
|
|
12
|
+
/** Label of the company tracking domain created under the domain (<label>.<domain>, or <label>.<root> when it equals mailFromPrefix) when the company has none yet; ignored otherwise. Defaults to links. When the hostname is taken, the label followed by 2 to 5 is tried (for example links2); when none is free, the domain is added without a tracking domain. A label that would land on the bounce hostname returns 400. Change the tracking domain later with PUT /tracking-domain. */
|
|
13
13
|
trackingPrefix?: string;
|
|
14
14
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A file sent with every recipient's campaign email. Provide Base64 `content` or a public `path` URL, not both. Base64 content is stored by Sequenzy and returned as a `path`. Inline images (`contentId`) are not supported on campaigns.
|
|
3
|
+
*/
|
|
4
|
+
export interface CampaignAttachmentInput {
|
|
5
|
+
/** Base64-encoded file content (mutually exclusive with path). Counts toward the 5MB campaign total. */
|
|
6
|
+
content?: string;
|
|
7
|
+
/** MIME type for Base64 content. Defaults to the type implied by the filename extension. PDF, Office documents, ZIP, image, audio, video and text files are accepted; HTML and SVG are not. Not accepted with path. */
|
|
8
|
+
contentType?: string;
|
|
9
|
+
/** Filename shown in the recipient's email client, including the extension. Merge tags are not supported. */
|
|
10
|
+
filename: string;
|
|
11
|
+
/** Public HTTP(S) URL fetched when the campaign starts sending (mutually exclusive with content). */
|
|
12
|
+
path?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as Sequenzy from "../index.js";
|
|
2
2
|
export interface CampaignDetail extends Sequenzy.CampaignSummary {
|
|
3
|
+
/** Files sent with every recipient's email for this campaign, or null when there are none. */
|
|
4
|
+
attachments?: Sequenzy.StoredCampaignAttachment[] | null;
|
|
3
5
|
/** Addresses BCC'd on every recipient's email for this campaign. */
|
|
4
6
|
bccEmails?: string[] | null;
|
|
5
7
|
blocks?: Sequenzy.EmailBlock[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Sequenzy from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request body fields the endpoint did not recognize and ignored. The request still succeeded; nothing was stored for these fields. Present only when at least one field was ignored, on successful JSON object responses of every v1 endpoint. Lists up to 25 fields.
|
|
4
|
+
*/
|
|
5
|
+
export type IgnoredFields = Sequenzy.IgnoredFieldsItem[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../index.js";
|
|
2
|
+
export interface IgnoredFieldsItem {
|
|
3
|
+
/** Dotted path with array indexes, such as `sendAt` or `steps[1].delayDays`. Empty when the whole body was not a JSON object. */
|
|
4
|
+
path: string;
|
|
5
|
+
/** `unknown_field`: the endpoint does not accept this field. `not_an_object`: an object was expected, so the value was replaced with an empty object. */
|
|
6
|
+
reason: Sequenzy.IgnoredFieldsItemReason;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** `unknown_field`: the endpoint does not accept this field. `not_an_object`: an object was expected, so the value was replaced with an empty object. */
|
|
2
|
+
export declare const IgnoredFieldsItemReason: {
|
|
3
|
+
readonly UnknownField: "unknown_field";
|
|
4
|
+
readonly NotAnObject: "not_an_object";
|
|
5
|
+
};
|
|
6
|
+
export type IgnoredFieldsItemReason = (typeof IgnoredFieldsItemReason)[keyof typeof IgnoredFieldsItemReason];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** `unknown_field`: the endpoint does not accept this field. `not_an_object`: an object was expected, so the value was replaced with an empty object. */
|
|
3
|
+
export const IgnoredFieldsItemReason = {
|
|
4
|
+
UnknownField: "unknown_field",
|
|
5
|
+
NotAnObject: "not_an_object",
|
|
6
|
+
};
|
|
@@ -75,6 +75,7 @@ export * from "./BulkSubscriberTagRequest.js";
|
|
|
75
75
|
export * from "./BulkSubscriberTagResponse.js";
|
|
76
76
|
export * from "./BulkSubscriberTagResponseFailuresItem.js";
|
|
77
77
|
export * from "./BulkSubscriberTagResponseNotFound.js";
|
|
78
|
+
export * from "./CampaignAttachmentInput.js";
|
|
78
79
|
export * from "./CampaignChannel.js";
|
|
79
80
|
export * from "./CampaignDetail.js";
|
|
80
81
|
export * from "./CampaignGoal.js";
|
|
@@ -316,6 +317,9 @@ export * from "./GalleryWatchedBrandEmail.js";
|
|
|
316
317
|
export * from "./GalleryWatchedBrandEmailBrand.js";
|
|
317
318
|
export * from "./GalleryWatchedBrandStatus.js";
|
|
318
319
|
export * from "./GalleryWatchResult.js";
|
|
320
|
+
export * from "./IgnoredFields.js";
|
|
321
|
+
export * from "./IgnoredFieldsItem.js";
|
|
322
|
+
export * from "./IgnoredFieldsItemReason.js";
|
|
319
323
|
export * from "./InAppMessage.js";
|
|
320
324
|
export * from "./InAppMessageButtonsItem.js";
|
|
321
325
|
export * from "./InAppMessageButtonsItemAction.js";
|
|
@@ -771,6 +775,7 @@ export * from "./ServiceUnavailableErrorBody.js";
|
|
|
771
775
|
export * from "./ShopifyBrowseAbandonmentSettings.js";
|
|
772
776
|
export * from "./ShopifyCartAbandonmentSettings.js";
|
|
773
777
|
export * from "./ShopifyPriceDropSettings.js";
|
|
778
|
+
export * from "./StoredCampaignAttachment.js";
|
|
774
779
|
export * from "./Subscriber.js";
|
|
775
780
|
export * from "./SubscriberActivityEvent.js";
|
|
776
781
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
|
@@ -75,6 +75,7 @@ export * from "./BulkSubscriberTagRequest.js";
|
|
|
75
75
|
export * from "./BulkSubscriberTagResponse.js";
|
|
76
76
|
export * from "./BulkSubscriberTagResponseFailuresItem.js";
|
|
77
77
|
export * from "./BulkSubscriberTagResponseNotFound.js";
|
|
78
|
+
export * from "./CampaignAttachmentInput.js";
|
|
78
79
|
export * from "./CampaignChannel.js";
|
|
79
80
|
export * from "./CampaignDetail.js";
|
|
80
81
|
export * from "./CampaignGoal.js";
|
|
@@ -316,6 +317,9 @@ export * from "./GalleryWatchedBrandEmail.js";
|
|
|
316
317
|
export * from "./GalleryWatchedBrandEmailBrand.js";
|
|
317
318
|
export * from "./GalleryWatchedBrandStatus.js";
|
|
318
319
|
export * from "./GalleryWatchResult.js";
|
|
320
|
+
export * from "./IgnoredFields.js";
|
|
321
|
+
export * from "./IgnoredFieldsItem.js";
|
|
322
|
+
export * from "./IgnoredFieldsItemReason.js";
|
|
319
323
|
export * from "./InAppMessage.js";
|
|
320
324
|
export * from "./InAppMessageButtonsItem.js";
|
|
321
325
|
export * from "./InAppMessageButtonsItemAction.js";
|
|
@@ -771,6 +775,7 @@ export * from "./ServiceUnavailableErrorBody.js";
|
|
|
771
775
|
export * from "./ShopifyBrowseAbandonmentSettings.js";
|
|
772
776
|
export * from "./ShopifyCartAbandonmentSettings.js";
|
|
773
777
|
export * from "./ShopifyPriceDropSettings.js";
|
|
778
|
+
export * from "./StoredCampaignAttachment.js";
|
|
774
779
|
export * from "./Subscriber.js";
|
|
775
780
|
export * from "./SubscriberActivityEvent.js";
|
|
776
781
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
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 { CampaignAttachmentInput } from "../../../../types/CampaignAttachmentInput.js";
|
|
4
5
|
import { CreateCampaignsRequestEmailPreset } from "../../types/CreateCampaignsRequestEmailPreset.js";
|
|
5
6
|
import { CreateCampaignsRequestStatus } from "../../types/CreateCampaignsRequestStatus.js";
|
|
6
7
|
export declare const CreateCampaignsRequest: core.serialization.Schema<serializers.CreateCampaignsRequest.Raw, Sequenzy.CreateCampaignsRequest>;
|
|
7
8
|
export declare namespace CreateCampaignsRequest {
|
|
8
9
|
interface Raw {
|
|
10
|
+
attachments?: CampaignAttachmentInput.Raw[] | null;
|
|
9
11
|
blocks?: Record<string, unknown>[] | null;
|
|
10
12
|
campaignData?: (Record<string, unknown> | null | undefined) | null;
|
|
11
13
|
computedLists?: Record<string, unknown>[] | null;
|
package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
|
+
import { CampaignAttachmentInput } from "../../../../types/CampaignAttachmentInput.js";
|
|
3
4
|
import { CreateCampaignsRequestEmailPreset } from "../../types/CreateCampaignsRequestEmailPreset.js";
|
|
4
5
|
import { CreateCampaignsRequestStatus } from "../../types/CreateCampaignsRequestStatus.js";
|
|
5
6
|
export const CreateCampaignsRequest = core.serialization.object({
|
|
7
|
+
attachments: core.serialization.list(CampaignAttachmentInput).optional(),
|
|
6
8
|
blocks: core.serialization
|
|
7
9
|
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
8
10
|
.optional(),
|
package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
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 { CampaignAttachmentInput } from "../../../../types/CampaignAttachmentInput.js";
|
|
4
5
|
import { UpdateCampaignsRequestEmailPreset } from "../../types/UpdateCampaignsRequestEmailPreset.js";
|
|
5
6
|
export declare const UpdateCampaignsRequest: core.serialization.Schema<serializers.UpdateCampaignsRequest.Raw, Omit<Sequenzy.UpdateCampaignsRequest, "campaignId">>;
|
|
6
7
|
export declare namespace UpdateCampaignsRequest {
|
|
7
8
|
interface Raw {
|
|
9
|
+
attachments?: (CampaignAttachmentInput.Raw[] | null | undefined) | null;
|
|
8
10
|
bccEmails?: (string[] | null | undefined) | null;
|
|
9
11
|
blocks?: Record<string, unknown>[] | null;
|
|
10
12
|
campaignData?: (Record<string, unknown> | null | undefined) | null;
|
package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
|
+
import { CampaignAttachmentInput } from "../../../../types/CampaignAttachmentInput.js";
|
|
3
4
|
import { UpdateCampaignsRequestEmailPreset } from "../../types/UpdateCampaignsRequestEmailPreset.js";
|
|
4
5
|
export const UpdateCampaignsRequest = core.serialization.object({
|
|
6
|
+
attachments: core.serialization.list(CampaignAttachmentInput).optionalNullable(),
|
|
5
7
|
bccEmails: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
6
8
|
blocks: core.serialization
|
|
7
9
|
.list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
|
|
@@ -2,11 +2,13 @@ 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
4
|
import { BlockFieldWarnings } from "../../../types/BlockFieldWarnings.js";
|
|
5
|
+
import { IgnoredFields } from "../../../types/IgnoredFields.js";
|
|
5
6
|
import { CreateCampaignsResponseCampaign } from "./CreateCampaignsResponseCampaign.js";
|
|
6
7
|
export declare const CreateCampaignsResponse: core.serialization.ObjectSchema<serializers.CreateCampaignsResponse.Raw, Sequenzy.CreateCampaignsResponse>;
|
|
7
8
|
export declare namespace CreateCampaignsResponse {
|
|
8
9
|
interface Raw {
|
|
9
10
|
campaign?: CreateCampaignsResponseCampaign.Raw | null;
|
|
11
|
+
ignoredFields?: IgnoredFields.Raw | null;
|
|
10
12
|
success?: boolean | null;
|
|
11
13
|
warnings?: BlockFieldWarnings.Raw | null;
|
|
12
14
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import { BlockFieldWarnings } from "../../../types/BlockFieldWarnings.js";
|
|
4
|
+
import { IgnoredFields } from "../../../types/IgnoredFields.js";
|
|
4
5
|
import { CreateCampaignsResponseCampaign } from "./CreateCampaignsResponseCampaign.js";
|
|
5
6
|
export const CreateCampaignsResponse = core.serialization.object({
|
|
6
7
|
campaign: CreateCampaignsResponseCampaign.optional(),
|
|
8
|
+
ignoredFields: IgnoredFields.optional(),
|
|
7
9
|
success: core.serialization.boolean().optional(),
|
|
8
10
|
warnings: BlockFieldWarnings.optional(),
|
|
9
11
|
});
|
package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ 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
4
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
5
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
5
6
|
export declare const CreateCampaignsResponseCampaign: core.serialization.ObjectSchema<serializers.CreateCampaignsResponseCampaign.Raw, Sequenzy.CreateCampaignsResponseCampaign>;
|
|
6
7
|
export declare namespace CreateCampaignsResponseCampaign {
|
|
7
8
|
interface Raw {
|
|
9
|
+
attachments?: (StoredCampaignAttachment.Raw[] | null | undefined) | null;
|
|
8
10
|
emailId?: string | null;
|
|
9
11
|
emailPreset?: (EmailPreset.Raw | null | undefined) | null;
|
|
10
12
|
fromEmail?: string | null;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
4
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
4
5
|
export const CreateCampaignsResponseCampaign = core.serialization.object({
|
|
6
|
+
attachments: core.serialization.list(StoredCampaignAttachment).optionalNullable(),
|
|
5
7
|
emailId: core.serialization.string().optional(),
|
|
6
8
|
emailPreset: EmailPreset.optionalNullable(),
|
|
7
9
|
fromEmail: core.serialization.string().optional(),
|
package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts
CHANGED
|
@@ -4,9 +4,11 @@ import * as serializers from "../../../index.js";
|
|
|
4
4
|
import { CampaignChannel } from "../../../types/CampaignChannel.js";
|
|
5
5
|
import { CampaignStatus } from "../../../types/CampaignStatus.js";
|
|
6
6
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
7
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
7
8
|
export declare const DuplicateCampaignsResponseCampaign: core.serialization.ObjectSchema<serializers.DuplicateCampaignsResponseCampaign.Raw, Sequenzy.DuplicateCampaignsResponseCampaign>;
|
|
8
9
|
export declare namespace DuplicateCampaignsResponseCampaign {
|
|
9
10
|
interface Raw {
|
|
11
|
+
attachments?: (StoredCampaignAttachment.Raw[] | null | undefined) | null;
|
|
10
12
|
bccEmails?: (string[] | null | undefined) | null;
|
|
11
13
|
blocks?: serializers.EmailBlock.Raw[] | null;
|
|
12
14
|
campaignData?: (Record<string, unknown> | null | undefined) | null;
|
package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.js
CHANGED
|
@@ -4,7 +4,9 @@ import * as serializers from "../../../index.js";
|
|
|
4
4
|
import { CampaignChannel } from "../../../types/CampaignChannel.js";
|
|
5
5
|
import { CampaignStatus } from "../../../types/CampaignStatus.js";
|
|
6
6
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
7
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
7
8
|
export const DuplicateCampaignsResponseCampaign = core.serialization.object({
|
|
9
|
+
attachments: core.serialization.list(StoredCampaignAttachment).optionalNullable(),
|
|
8
10
|
bccEmails: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
9
11
|
blocks: core.serialization.list(core.serialization.lazyObject(() => serializers.EmailBlock)).optional(),
|
|
10
12
|
campaignData: core.serialization
|
|
@@ -4,9 +4,11 @@ import * as serializers from "../../../index.js";
|
|
|
4
4
|
import { CampaignChannel } from "../../../types/CampaignChannel.js";
|
|
5
5
|
import { CampaignStatus } from "../../../types/CampaignStatus.js";
|
|
6
6
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
7
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
7
8
|
export declare const ResendToNonOpenersCampaignsResponseCampaign: core.serialization.ObjectSchema<serializers.ResendToNonOpenersCampaignsResponseCampaign.Raw, Sequenzy.ResendToNonOpenersCampaignsResponseCampaign>;
|
|
8
9
|
export declare namespace ResendToNonOpenersCampaignsResponseCampaign {
|
|
9
10
|
interface Raw {
|
|
11
|
+
attachments?: (StoredCampaignAttachment.Raw[] | null | undefined) | null;
|
|
10
12
|
bccEmails?: (string[] | null | undefined) | null;
|
|
11
13
|
blocks?: serializers.EmailBlock.Raw[] | null;
|
|
12
14
|
campaignData?: (Record<string, unknown> | null | undefined) | null;
|
|
@@ -4,7 +4,9 @@ import * as serializers from "../../../index.js";
|
|
|
4
4
|
import { CampaignChannel } from "../../../types/CampaignChannel.js";
|
|
5
5
|
import { CampaignStatus } from "../../../types/CampaignStatus.js";
|
|
6
6
|
import { EmailPreset } from "../../../types/EmailPreset.js";
|
|
7
|
+
import { StoredCampaignAttachment } from "../../../types/StoredCampaignAttachment.js";
|
|
7
8
|
export const ResendToNonOpenersCampaignsResponseCampaign = core.serialization.object({
|
|
9
|
+
attachments: core.serialization.list(StoredCampaignAttachment).optionalNullable(),
|
|
8
10
|
bccEmails: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
9
11
|
blocks: core.serialization.list(core.serialization.lazyObject(() => serializers.EmailBlock)).optional(),
|
|
10
12
|
campaignData: core.serialization
|