sequenzy 2.1.36 → 2.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/cjs/api/resources/campaigns/client/Client.d.ts +1 -0
  2. package/dist/cjs/api/resources/campaigns/client/Client.js +3 -0
  3. package/dist/cjs/api/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
  4. package/dist/cjs/api/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
  5. package/dist/cjs/api/resources/campaigns/types/CreateCampaignsResponse.d.ts +1 -0
  6. package/dist/cjs/api/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +1 -0
  7. package/dist/cjs/api/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
  8. package/dist/cjs/api/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
  9. package/dist/cjs/api/resources/campaigns/types/UpdateCampaignsResponse.d.ts +1 -0
  10. package/dist/cjs/api/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +1 -0
  11. package/dist/cjs/api/resources/integrations/client/Client.d.ts +1 -1
  12. package/dist/cjs/api/resources/integrations/client/Client.js +1 -1
  13. package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +2 -2
  14. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
  15. package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  16. package/dist/cjs/api/types/CampaignAttachmentInput.d.ts +13 -0
  17. package/dist/cjs/api/types/CampaignAttachmentInput.js +3 -0
  18. package/dist/cjs/api/types/CampaignDetail.d.ts +2 -0
  19. package/dist/cjs/api/types/IgnoredFields.d.ts +5 -0
  20. package/dist/cjs/api/types/IgnoredFields.js +3 -0
  21. package/dist/cjs/api/types/IgnoredFieldsItem.d.ts +7 -0
  22. package/dist/cjs/api/types/IgnoredFieldsItem.js +3 -0
  23. package/dist/cjs/api/types/IgnoredFieldsItemReason.d.ts +6 -0
  24. package/dist/cjs/api/types/IgnoredFieldsItemReason.js +9 -0
  25. package/dist/cjs/api/types/SequenceKeyDates.d.ts +2 -0
  26. package/dist/cjs/api/types/SequenceKeyDatesSendWindow.d.ts +7 -0
  27. package/dist/cjs/api/types/SequenceKeyDatesSendWindow.js +3 -0
  28. package/dist/cjs/api/types/StoredCampaignAttachment.d.ts +7 -0
  29. package/dist/cjs/api/types/StoredCampaignAttachment.js +3 -0
  30. package/dist/cjs/api/types/index.d.ts +6 -0
  31. package/dist/cjs/api/types/index.js +6 -0
  32. package/dist/cjs/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
  33. package/dist/cjs/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.js +2 -0
  34. package/dist/cjs/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
  35. package/dist/cjs/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.js +2 -0
  36. package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponse.d.ts +2 -0
  37. package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponse.js +2 -0
  38. package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +2 -0
  39. package/dist/cjs/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.js +2 -0
  40. package/dist/cjs/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
  41. package/dist/cjs/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.js +2 -0
  42. package/dist/cjs/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
  43. package/dist/cjs/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.js +2 -0
  44. package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponse.d.ts +2 -0
  45. package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponse.js +2 -0
  46. package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +2 -0
  47. package/dist/cjs/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.js +2 -0
  48. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
  49. package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  50. package/dist/cjs/serialization/types/CampaignAttachmentInput.d.ts +12 -0
  51. package/dist/cjs/serialization/types/CampaignAttachmentInput.js +34 -0
  52. package/dist/cjs/serialization/types/CampaignDetail.d.ts +2 -0
  53. package/dist/cjs/serialization/types/CampaignDetail.js +2 -0
  54. package/dist/cjs/serialization/types/IgnoredFields.d.ts +8 -0
  55. package/dist/cjs/serialization/types/IgnoredFields.js +30 -0
  56. package/dist/cjs/serialization/types/IgnoredFieldsItem.d.ts +11 -0
  57. package/dist/cjs/serialization/types/IgnoredFieldsItem.js +33 -0
  58. package/dist/cjs/serialization/types/IgnoredFieldsItemReason.d.ts +7 -0
  59. package/dist/cjs/serialization/types/IgnoredFieldsItemReason.js +29 -0
  60. package/dist/cjs/serialization/types/SequenceKeyDates.d.ts +2 -0
  61. package/dist/cjs/serialization/types/SequenceKeyDates.js +2 -0
  62. package/dist/cjs/serialization/types/SequenceKeyDatesSendWindow.d.ts +9 -0
  63. package/dist/cjs/serialization/types/SequenceKeyDatesSendWindow.js +31 -0
  64. package/dist/cjs/serialization/types/StoredCampaignAttachment.d.ts +10 -0
  65. package/dist/cjs/serialization/types/StoredCampaignAttachment.js +32 -0
  66. package/dist/cjs/serialization/types/index.d.ts +6 -0
  67. package/dist/cjs/serialization/types/index.js +6 -0
  68. package/dist/esm/api/resources/campaigns/client/Client.d.ts +1 -0
  69. package/dist/esm/api/resources/campaigns/client/Client.js +3 -0
  70. package/dist/esm/api/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
  71. package/dist/esm/api/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
  72. package/dist/esm/api/resources/campaigns/types/CreateCampaignsResponse.d.ts +1 -0
  73. package/dist/esm/api/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +1 -0
  74. package/dist/esm/api/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
  75. package/dist/esm/api/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
  76. package/dist/esm/api/resources/campaigns/types/UpdateCampaignsResponse.d.ts +1 -0
  77. package/dist/esm/api/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +1 -0
  78. package/dist/esm/api/resources/integrations/client/Client.d.ts +1 -1
  79. package/dist/esm/api/resources/integrations/client/Client.js +1 -1
  80. package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +2 -2
  81. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
  82. package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  83. package/dist/esm/api/types/CampaignAttachmentInput.d.ts +13 -0
  84. package/dist/esm/api/types/CampaignAttachmentInput.js +2 -0
  85. package/dist/esm/api/types/CampaignDetail.d.ts +2 -0
  86. package/dist/esm/api/types/IgnoredFields.d.ts +5 -0
  87. package/dist/esm/api/types/IgnoredFields.js +2 -0
  88. package/dist/esm/api/types/IgnoredFieldsItem.d.ts +7 -0
  89. package/dist/esm/api/types/IgnoredFieldsItem.js +2 -0
  90. package/dist/esm/api/types/IgnoredFieldsItemReason.d.ts +6 -0
  91. package/dist/esm/api/types/IgnoredFieldsItemReason.js +6 -0
  92. package/dist/esm/api/types/SequenceKeyDates.d.ts +2 -0
  93. package/dist/esm/api/types/SequenceKeyDatesSendWindow.d.ts +7 -0
  94. package/dist/esm/api/types/SequenceKeyDatesSendWindow.js +2 -0
  95. package/dist/esm/api/types/StoredCampaignAttachment.d.ts +7 -0
  96. package/dist/esm/api/types/StoredCampaignAttachment.js +2 -0
  97. package/dist/esm/api/types/index.d.ts +6 -0
  98. package/dist/esm/api/types/index.js +6 -0
  99. package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.d.ts +2 -0
  100. package/dist/esm/serialization/resources/campaigns/client/requests/CreateCampaignsRequest.js +2 -0
  101. package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.d.ts +2 -0
  102. package/dist/esm/serialization/resources/campaigns/client/requests/UpdateCampaignsRequest.js +2 -0
  103. package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponse.d.ts +2 -0
  104. package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponse.js +2 -0
  105. package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.d.ts +2 -0
  106. package/dist/esm/serialization/resources/campaigns/types/CreateCampaignsResponseCampaign.js +2 -0
  107. package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.d.ts +2 -0
  108. package/dist/esm/serialization/resources/campaigns/types/DuplicateCampaignsResponseCampaign.js +2 -0
  109. package/dist/esm/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.d.ts +2 -0
  110. package/dist/esm/serialization/resources/campaigns/types/ResendToNonOpenersCampaignsResponseCampaign.js +2 -0
  111. package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponse.d.ts +2 -0
  112. package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponse.js +2 -0
  113. package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.d.ts +2 -0
  114. package/dist/esm/serialization/resources/campaigns/types/UpdateCampaignsResponseCampaign.js +2 -0
  115. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
  116. package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
  117. package/dist/esm/serialization/types/CampaignAttachmentInput.d.ts +12 -0
  118. package/dist/esm/serialization/types/CampaignAttachmentInput.js +8 -0
  119. package/dist/esm/serialization/types/CampaignDetail.d.ts +2 -0
  120. package/dist/esm/serialization/types/CampaignDetail.js +2 -0
  121. package/dist/esm/serialization/types/IgnoredFields.d.ts +8 -0
  122. package/dist/esm/serialization/types/IgnoredFields.js +4 -0
  123. package/dist/esm/serialization/types/IgnoredFieldsItem.d.ts +11 -0
  124. package/dist/esm/serialization/types/IgnoredFieldsItem.js +7 -0
  125. package/dist/esm/serialization/types/IgnoredFieldsItemReason.d.ts +7 -0
  126. package/dist/esm/serialization/types/IgnoredFieldsItemReason.js +3 -0
  127. package/dist/esm/serialization/types/SequenceKeyDates.d.ts +2 -0
  128. package/dist/esm/serialization/types/SequenceKeyDates.js +2 -0
  129. package/dist/esm/serialization/types/SequenceKeyDatesSendWindow.d.ts +9 -0
  130. package/dist/esm/serialization/types/SequenceKeyDatesSendWindow.js +5 -0
  131. package/dist/esm/serialization/types/StoredCampaignAttachment.d.ts +10 -0
  132. package/dist/esm/serialization/types/StoredCampaignAttachment.js +6 -0
  133. package/dist/esm/serialization/types/index.d.ts +6 -0
  134. package/dist/esm/serialization/types/index.js +6 -0
  135. package/package.json +1 -1
@@ -0,0 +1,34 @@
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.CampaignAttachmentInput = void 0;
28
+ const core = __importStar(require("../../core/index.js"));
29
+ exports.CampaignAttachmentInput = core.serialization.object({
30
+ content: core.serialization.string().optional(),
31
+ contentType: core.serialization.string().optional(),
32
+ filename: core.serialization.string(),
33
+ path: core.serialization.string().optional(),
34
+ });
@@ -2,9 +2,11 @@ import type * as Sequenzy from "../../api/index.js";
2
2
  import * as core from "../../core/index.js";
3
3
  import * as serializers from "../index.js";
4
4
  import { CampaignSummary } from "./CampaignSummary.js";
5
+ import { StoredCampaignAttachment } from "./StoredCampaignAttachment.js";
5
6
  export declare const CampaignDetail: core.serialization.ObjectSchema<serializers.CampaignDetail.Raw, Sequenzy.CampaignDetail>;
6
7
  export declare namespace CampaignDetail {
7
8
  interface Raw extends CampaignSummary.Raw {
9
+ attachments?: (StoredCampaignAttachment.Raw[] | null | undefined) | null;
8
10
  bccEmails?: (string[] | null | undefined) | null;
9
11
  blocks?: serializers.EmailBlock.Raw[] | null;
10
12
  campaignData?: (Record<string, unknown> | null | undefined) | null;
@@ -28,8 +28,10 @@ exports.CampaignDetail = void 0;
28
28
  const core = __importStar(require("../../core/index.js"));
29
29
  const serializers = __importStar(require("../index.js"));
30
30
  const CampaignSummary_js_1 = require("./CampaignSummary.js");
31
+ const StoredCampaignAttachment_js_1 = require("./StoredCampaignAttachment.js");
31
32
  exports.CampaignDetail = core.serialization
32
33
  .object({
34
+ attachments: core.serialization.list(StoredCampaignAttachment_js_1.StoredCampaignAttachment).optionalNullable(),
33
35
  bccEmails: core.serialization.list(core.serialization.string()).optionalNullable(),
34
36
  blocks: core.serialization.list(core.serialization.lazyObject(() => serializers.EmailBlock)).optional(),
35
37
  campaignData: core.serialization
@@ -0,0 +1,8 @@
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 { IgnoredFieldsItem } from "./IgnoredFieldsItem.js";
5
+ export declare const IgnoredFields: core.serialization.Schema<serializers.IgnoredFields.Raw, Sequenzy.IgnoredFields>;
6
+ export declare namespace IgnoredFields {
7
+ type Raw = IgnoredFieldsItem.Raw[];
8
+ }
@@ -0,0 +1,30 @@
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.IgnoredFields = void 0;
28
+ const core = __importStar(require("../../core/index.js"));
29
+ const IgnoredFieldsItem_js_1 = require("./IgnoredFieldsItem.js");
30
+ exports.IgnoredFields = core.serialization.list(IgnoredFieldsItem_js_1.IgnoredFieldsItem);
@@ -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"]);
@@ -2,10 +2,12 @@ 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 { SequenceKeyDate } from "./SequenceKeyDate.js";
5
+ import { SequenceKeyDatesSendWindow } from "./SequenceKeyDatesSendWindow.js";
5
6
  export declare const SequenceKeyDates: core.serialization.ObjectSchema<serializers.SequenceKeyDates.Raw, Sequenzy.SequenceKeyDates>;
6
7
  export declare namespace SequenceKeyDates {
7
8
  interface Raw {
8
9
  dates: SequenceKeyDate.Raw[];
10
+ sendWindow?: (SequenceKeyDatesSendWindow.Raw | null | undefined) | null;
9
11
  timezone?: string | null;
10
12
  }
11
13
  }
@@ -27,7 +27,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.SequenceKeyDates = void 0;
28
28
  const core = __importStar(require("../../core/index.js"));
29
29
  const SequenceKeyDate_js_1 = require("./SequenceKeyDate.js");
30
+ const SequenceKeyDatesSendWindow_js_1 = require("./SequenceKeyDatesSendWindow.js");
30
31
  exports.SequenceKeyDates = core.serialization.object({
31
32
  dates: core.serialization.list(SequenceKeyDate_js_1.SequenceKeyDate),
33
+ sendWindow: SequenceKeyDatesSendWindow_js_1.SequenceKeyDatesSendWindow.optionalNullable(),
32
34
  timezone: core.serialization.string().optional(),
33
35
  });
@@ -0,0 +1,9 @@
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 SequenceKeyDatesSendWindow: core.serialization.ObjectSchema<serializers.SequenceKeyDatesSendWindow.Raw, Sequenzy.SequenceKeyDatesSendWindow>;
5
+ export declare namespace SequenceKeyDatesSendWindow {
6
+ interface Raw {
7
+ spreadOverHours?: number | null;
8
+ }
9
+ }
@@ -0,0 +1,31 @@
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.SequenceKeyDatesSendWindow = void 0;
28
+ const core = __importStar(require("../../core/index.js"));
29
+ exports.SequenceKeyDatesSendWindow = core.serialization.object({
30
+ spreadOverHours: core.serialization.number().optional(),
31
+ });
@@ -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";
@@ -695,6 +699,7 @@ export * from "./SequenceInboundWebhookFieldMapping.js";
695
699
  export * from "./SequenceInboundWebhookStatus.js";
696
700
  export * from "./SequenceKeyDate.js";
697
701
  export * from "./SequenceKeyDates.js";
702
+ export * from "./SequenceKeyDatesSendWindow.js";
698
703
  export * from "./SequenceLinearStepInsertionInput.js";
699
704
  export * from "./SequenceNode.js";
700
705
  export * from "./SequenceNodeUpdateHints.js";
@@ -771,6 +776,7 @@ export * from "./ServiceUnavailableErrorBody.js";
771
776
  export * from "./ShopifyBrowseAbandonmentSettings.js";
772
777
  export * from "./ShopifyCartAbandonmentSettings.js";
773
778
  export * from "./ShopifyPriceDropSettings.js";
779
+ export * from "./StoredCampaignAttachment.js";
774
780
  export * from "./Subscriber.js";
775
781
  export * from "./SubscriberActivityEvent.js";
776
782
  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);
@@ -711,6 +715,7 @@ __exportStar(require("./SequenceInboundWebhookFieldMapping.js"), exports);
711
715
  __exportStar(require("./SequenceInboundWebhookStatus.js"), exports);
712
716
  __exportStar(require("./SequenceKeyDate.js"), exports);
713
717
  __exportStar(require("./SequenceKeyDates.js"), exports);
718
+ __exportStar(require("./SequenceKeyDatesSendWindow.js"), exports);
714
719
  __exportStar(require("./SequenceLinearStepInsertionInput.js"), exports);
715
720
  __exportStar(require("./SequenceNode.js"), exports);
716
721
  __exportStar(require("./SequenceNodeUpdateHints.js"), exports);
@@ -787,6 +792,7 @@ __exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
787
792
  __exportStar(require("./ShopifyBrowseAbandonmentSettings.js"), exports);
788
793
  __exportStar(require("./ShopifyCartAbandonmentSettings.js"), exports);
789
794
  __exportStar(require("./ShopifyPriceDropSettings.js"), exports);
795
+ __exportStar(require("./StoredCampaignAttachment.js"), exports);
790
796
  __exportStar(require("./Subscriber.js"), exports);
791
797
  __exportStar(require("./SubscriberActivityEvent.js"), exports);
792
798
  __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,6 +1,7 @@
1
1
  import type * as Sequenzy from "../../../index.js";
2
2
  export interface CreateCampaignsResponse {
3
3
  campaign?: Sequenzy.CreateCampaignsResponseCampaign;
4
+ ignoredFields?: Sequenzy.IgnoredFields;
4
5
  success?: boolean;
5
6
  warnings?: Sequenzy.BlockFieldWarnings;
6
7
  }
@@ -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[];
@@ -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,6 +1,7 @@
1
1
  import type * as Sequenzy from "../../../index.js";
2
2
  export interface UpdateCampaignsResponse {
3
3
  campaign: Sequenzy.UpdateCampaignsResponseCampaign;
4
+ ignoredFields?: Sequenzy.IgnoredFields;
4
5
  success: boolean;
5
6
  warnings?: Sequenzy.BlockFieldWarnings;
6
7
  }
@@ -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. */
@@ -30,7 +30,7 @@ export declare class IntegrationsClient {
30
30
  activatePixel(request: Sequenzy.ActivatePixelIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ActivatePixelIntegrationsResponse>;
31
31
  private __activatePixel;
32
32
  /**
33
- * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
33
+ * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, adapty, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat, Superwall, and Adapty, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
34
34
  *
35
35
  * @param {Sequenzy.ConnectIntegrationsRequest} request
36
36
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -80,7 +80,7 @@ export class IntegrationsClient {
80
80
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/integrations/{id}/pixel");
81
81
  }
82
82
  /**
83
- * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
83
+ * Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, adapty, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat, Superwall, and Adapty, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
84
84
  *
85
85
  * @param {Sequenzy.ConnectIntegrationsRequest} request
86
86
  * @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -12,10 +12,10 @@ export interface ConnectIntegrationsRequest {
12
12
  historyImport?: Sequenzy.ConnectIntegrationsRequestHistoryImport;
13
13
  /** Provider to connect. */
14
14
  provider: Sequenzy.ConnectIntegrationsRequestProvider;
15
- /** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall does not use one. SparkLoop: the publication ID (pub_...), required only when the account has several publications. */
15
+ /** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall and Adapty do not use one. SparkLoop: the publication ID (pub_...), required only when the account has several publications. */
16
16
  providerAccountId?: string;
17
17
  /** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. SparkLoop: listIds for new referrals. */
18
18
  settings?: Sequenzy.ConnectIntegrationsRequestSettings;
19
- /** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and for sparkloop, and not used by attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Segment, use 16-153 UTF-8 bytes. For SparkLoop, omit it so Sequenzy authenticates deliveries with a secret in the webhook URL it registers, or pass the account's webhook authentication token to verify the SparkLoop-Token header instead. */
19
+ /** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and for sparkloop, and not used by attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Adapty, pass at least 16 characters: the authorization header value set on the Adapty webhook. For Segment, use 16-153 UTF-8 bytes. For SparkLoop, omit it so Sequenzy authenticates deliveries with a secret in the webhook URL it registers, or pass the account's webhook authentication token to verify the SparkLoop-Token header instead. */
20
20
  webhookSecret?: string;
21
21
  }
@@ -7,6 +7,7 @@ export declare const ConnectIntegrationsRequestProvider: {
7
7
  readonly Whop: "whop";
8
8
  readonly Revenuecat: "revenuecat";
9
9
  readonly Superwall: "superwall";
10
+ readonly Adapty: "adapty";
10
11
  readonly Creem: "creem";
11
12
  readonly Chargebee: "chargebee";
12
13
  readonly Clerk: "clerk";
@@ -8,6 +8,7 @@ export const ConnectIntegrationsRequestProvider = {
8
8
  Whop: "whop",
9
9
  Revenuecat: "revenuecat",
10
10
  Superwall: "superwall",
11
+ Adapty: "adapty",
11
12
  Creem: "creem",
12
13
  Chargebee: "chargebee",
13
14
  Clerk: "clerk",
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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
+ };
@@ -5,6 +5,8 @@ import type * as Sequenzy from "../index.js";
5
5
  export interface SequenceKeyDates {
6
6
  /** Sorted by time when returned. */
7
7
  dates: Sequenzy.SequenceKeyDate[];
8
+ /** How sends timed from these moments are spread out, so a whole audience is not emailed in the same second. Each contact gets their own stable send time within the spread, after the moment for steps at or after it and in the hours leading up to the step's time for steps timed before it, so a "1 hour before Black Friday ends" email never lands after the sale ended. Omit it on update to keep the current spread, and send null to reset it to the default. Responses always include the effective value. */
9
+ sendWindow?: Sequenzy.SequenceKeyDatesSendWindow | null;
8
10
  /** IANA timezone the dates are shown and edited in. Required when dates is non-empty. */
9
11
  timezone?: string;
10
12
  }