sequenzy 2.1.80 → 2.1.84
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/subscribers/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/subscribers/client/Client.js +1 -1
- package/dist/cjs/api/types/FilterLeaf.d.ts +1 -1
- package/dist/cjs/api/types/FilterLeafField.d.ts +1 -0
- package/dist/cjs/api/types/FilterLeafField.js +1 -0
- package/dist/cjs/api/types/FilterLeafOperator.d.ts +3 -1
- package/dist/cjs/api/types/FilterLeafOperator.js +3 -1
- package/dist/cjs/api/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/cjs/api/types/SequenceInboundWebhookFieldMapping.d.ts +1 -1
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheck.d.ts +7 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheck.js +3 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +5 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +3 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckStatus.js +10 -0
- package/dist/cjs/api/types/SubscriberImport.d.ts +1 -0
- package/dist/cjs/api/types/SubscriberImportListQuality.d.ts +20 -0
- package/dist/cjs/api/types/SubscriberImportListQuality.js +3 -0
- package/dist/cjs/api/types/SubscriberImportListQualityIssuesItem.d.ts +7 -0
- package/dist/cjs/api/types/SubscriberImportListQualityIssuesItem.js +3 -0
- package/dist/cjs/api/types/SubscriberImportListQualityIssuesItemKind.d.ts +7 -0
- package/dist/cjs/api/types/SubscriberImportListQualityIssuesItemKind.js +10 -0
- package/dist/cjs/api/types/SubscriberImportListQualityStatus.d.ts +4 -0
- package/dist/cjs/api/types/SubscriberImportListQualityStatus.js +7 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- package/dist/cjs/serialization/types/FilterLeafField.d.ts +1 -1
- package/dist/cjs/serialization/types/FilterLeafField.js +1 -0
- package/dist/cjs/serialization/types/FilterLeafOperator.d.ts +1 -1
- package/dist/cjs/serialization/types/FilterLeafOperator.js +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhook.js +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheck.d.ts +12 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheck.js +34 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +32 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckStatus.js +29 -0
- package/dist/cjs/serialization/types/SubscriberImport.d.ts +2 -0
- package/dist/cjs/serialization/types/SubscriberImport.js +2 -0
- package/dist/cjs/serialization/types/SubscriberImportListQuality.d.ts +18 -0
- package/dist/cjs/serialization/types/SubscriberImportListQuality.js +40 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityIssuesItem.d.ts +11 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityIssuesItem.js +33 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityIssuesItemKind.d.ts +7 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityIssuesItemKind.js +29 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/SubscriberImportListQualityStatus.js +29 -0
- package/dist/cjs/serialization/types/index.d.ts +7 -0
- package/dist/cjs/serialization/types/index.js +7 -0
- package/dist/esm/api/resources/subscribers/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/subscribers/client/Client.js +1 -1
- package/dist/esm/api/types/FilterLeaf.d.ts +1 -1
- package/dist/esm/api/types/FilterLeafField.d.ts +1 -0
- package/dist/esm/api/types/FilterLeafField.js +1 -0
- package/dist/esm/api/types/FilterLeafOperator.d.ts +3 -1
- package/dist/esm/api/types/FilterLeafOperator.js +3 -1
- package/dist/esm/api/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookFieldMapping.d.ts +1 -1
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheck.d.ts +7 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheck.js +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +5 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckStatus.js +7 -0
- package/dist/esm/api/types/SubscriberImport.d.ts +1 -0
- package/dist/esm/api/types/SubscriberImportListQuality.d.ts +20 -0
- package/dist/esm/api/types/SubscriberImportListQuality.js +2 -0
- package/dist/esm/api/types/SubscriberImportListQualityIssuesItem.d.ts +7 -0
- package/dist/esm/api/types/SubscriberImportListQualityIssuesItem.js +2 -0
- package/dist/esm/api/types/SubscriberImportListQualityIssuesItemKind.d.ts +7 -0
- package/dist/esm/api/types/SubscriberImportListQualityIssuesItemKind.js +7 -0
- package/dist/esm/api/types/SubscriberImportListQualityStatus.d.ts +4 -0
- package/dist/esm/api/types/SubscriberImportListQualityStatus.js +4 -0
- package/dist/esm/api/types/index.d.ts +7 -0
- package/dist/esm/api/types/index.js +7 -0
- package/dist/esm/serialization/types/FilterLeafField.d.ts +1 -1
- package/dist/esm/serialization/types/FilterLeafField.js +1 -0
- package/dist/esm/serialization/types/FilterLeafOperator.d.ts +1 -1
- package/dist/esm/serialization/types/FilterLeafOperator.js +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhook.js +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheck.d.ts +12 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheck.js +8 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +10 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +6 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckStatus.js +3 -0
- package/dist/esm/serialization/types/SubscriberImport.d.ts +2 -0
- package/dist/esm/serialization/types/SubscriberImport.js +2 -0
- package/dist/esm/serialization/types/SubscriberImportListQuality.d.ts +18 -0
- package/dist/esm/serialization/types/SubscriberImportListQuality.js +14 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityIssuesItem.d.ts +11 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityIssuesItem.js +7 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityIssuesItemKind.d.ts +7 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityIssuesItemKind.js +3 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityStatus.d.ts +7 -0
- package/dist/esm/serialization/types/SubscriberImportListQualityStatus.js +3 -0
- package/dist/esm/serialization/types/index.d.ts +7 -0
- package/dist/esm/serialization/types/index.js +7 -0
- package/package.json +1 -1
|
@@ -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.SubscriberImportListQualityIssuesItem = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
const SubscriberImportListQualityIssuesItemKind_js_1 = require("./SubscriberImportListQualityIssuesItemKind.js");
|
|
30
|
+
exports.SubscriberImportListQualityIssuesItem = core.serialization.object({
|
|
31
|
+
kind: SubscriberImportListQualityIssuesItemKind_js_1.SubscriberImportListQualityIssuesItemKind,
|
|
32
|
+
rate: core.serialization.number(),
|
|
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 SubscriberImportListQualityIssuesItemKind: core.serialization.Schema<serializers.SubscriberImportListQualityIssuesItemKind.Raw, Sequenzy.SubscriberImportListQualityIssuesItemKind>;
|
|
5
|
+
export declare namespace SubscriberImportListQualityIssuesItemKind {
|
|
6
|
+
type Raw = "undeliverable" | "disposable" | "role";
|
|
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.SubscriberImportListQualityIssuesItemKind = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SubscriberImportListQualityIssuesItemKind = core.serialization.enum_(["undeliverable", "disposable", "role"]);
|
|
@@ -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 SubscriberImportListQualityStatus: core.serialization.Schema<serializers.SubscriberImportListQualityStatus.Raw, Sequenzy.SubscriberImportListQualityStatus>;
|
|
5
|
+
export declare namespace SubscriberImportListQualityStatus {
|
|
6
|
+
type Raw = "needs_cleaning";
|
|
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.SubscriberImportListQualityStatus = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SubscriberImportListQualityStatus = core.serialization.enum_(["needs_cleaning"]);
|
|
@@ -774,6 +774,9 @@ export * from "./SequenceGraphEditInput.js";
|
|
|
774
774
|
export * from "./SequenceGraphEditInputAction.js";
|
|
775
775
|
export * from "./SequenceInboundWebhook.js";
|
|
776
776
|
export * from "./SequenceInboundWebhookFieldMapping.js";
|
|
777
|
+
export * from "./SequenceInboundWebhookMappingCheck.js";
|
|
778
|
+
export * from "./SequenceInboundWebhookMappingCheckMissingFieldsItem.js";
|
|
779
|
+
export * from "./SequenceInboundWebhookMappingCheckStatus.js";
|
|
777
780
|
export * from "./SequenceInboundWebhookStatus.js";
|
|
778
781
|
export * from "./SequenceKeyDate.js";
|
|
779
782
|
export * from "./SequenceKeyDates.js";
|
|
@@ -883,6 +886,10 @@ export * from "./SubscriberActivityEvent.js";
|
|
|
883
886
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
|
884
887
|
export * from "./SubscriberEmailStats.js";
|
|
885
888
|
export * from "./SubscriberImport.js";
|
|
889
|
+
export * from "./SubscriberImportListQuality.js";
|
|
890
|
+
export * from "./SubscriberImportListQualityIssuesItem.js";
|
|
891
|
+
export * from "./SubscriberImportListQualityIssuesItemKind.js";
|
|
892
|
+
export * from "./SubscriberImportListQualityStatus.js";
|
|
886
893
|
export * from "./SubscriberImportRecord.js";
|
|
887
894
|
export * from "./SubscriberImportRecordCustomAttributesValue.js";
|
|
888
895
|
export * from "./SubscriberImportRecordCustomAttributesValueThreeItem.js";
|
|
@@ -790,6 +790,9 @@ __exportStar(require("./SequenceGraphEditInput.js"), exports);
|
|
|
790
790
|
__exportStar(require("./SequenceGraphEditInputAction.js"), exports);
|
|
791
791
|
__exportStar(require("./SequenceInboundWebhook.js"), exports);
|
|
792
792
|
__exportStar(require("./SequenceInboundWebhookFieldMapping.js"), exports);
|
|
793
|
+
__exportStar(require("./SequenceInboundWebhookMappingCheck.js"), exports);
|
|
794
|
+
__exportStar(require("./SequenceInboundWebhookMappingCheckMissingFieldsItem.js"), exports);
|
|
795
|
+
__exportStar(require("./SequenceInboundWebhookMappingCheckStatus.js"), exports);
|
|
793
796
|
__exportStar(require("./SequenceInboundWebhookStatus.js"), exports);
|
|
794
797
|
__exportStar(require("./SequenceKeyDate.js"), exports);
|
|
795
798
|
__exportStar(require("./SequenceKeyDates.js"), exports);
|
|
@@ -899,6 +902,10 @@ __exportStar(require("./SubscriberActivityEvent.js"), exports);
|
|
|
899
902
|
__exportStar(require("./SubscriberActivityEventEngagementQuality.js"), exports);
|
|
900
903
|
__exportStar(require("./SubscriberEmailStats.js"), exports);
|
|
901
904
|
__exportStar(require("./SubscriberImport.js"), exports);
|
|
905
|
+
__exportStar(require("./SubscriberImportListQuality.js"), exports);
|
|
906
|
+
__exportStar(require("./SubscriberImportListQualityIssuesItem.js"), exports);
|
|
907
|
+
__exportStar(require("./SubscriberImportListQualityIssuesItemKind.js"), exports);
|
|
908
|
+
__exportStar(require("./SubscriberImportListQualityStatus.js"), exports);
|
|
902
909
|
__exportStar(require("./SubscriberImportRecord.js"), exports);
|
|
903
910
|
__exportStar(require("./SubscriberImportRecordCustomAttributesValue.js"), exports);
|
|
904
911
|
__exportStar(require("./SubscriberImportRecordCustomAttributesValueThreeItem.js"), exports);
|
|
@@ -124,7 +124,7 @@ export declare class SubscribersClient {
|
|
|
124
124
|
create(request?: Sequenzy.CreateSubscribersRequest, requestOptions?: SubscribersClient.RequestOptions): core.HttpResponsePromise<Sequenzy.CreateSubscribersResponse>;
|
|
125
125
|
private __create;
|
|
126
126
|
/**
|
|
127
|
-
* Queues an asynchronous full-record subscriber import of up to 5,000 contacts.
|
|
127
|
+
* Queues an asynchronous full-record subscriber import of up to 5,000 contacts. If the list has too many addresses that don't exist, the import gets a listQuality recommendation to clean it.
|
|
128
128
|
*
|
|
129
129
|
* @param {Sequenzy.CreateImportSubscribersRequest} request
|
|
130
130
|
* @param {SubscribersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -392,7 +392,7 @@ export class SubscribersClient {
|
|
|
392
392
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/subscribers");
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
395
|
-
* Queues an asynchronous full-record subscriber import of up to 5,000 contacts.
|
|
395
|
+
* Queues an asynchronous full-record subscriber import of up to 5,000 contacts. If the list has too many addresses that don't exist, the import gets a listQuality recommendation to clean it.
|
|
396
396
|
*
|
|
397
397
|
* @param {Sequenzy.CreateImportSubscribersRequest} request
|
|
398
398
|
* @param {SubscribersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -7,7 +7,7 @@ export interface FilterLeaf {
|
|
|
7
7
|
id: string;
|
|
8
8
|
/** Required when the filter is inside a v2 root group. */
|
|
9
9
|
kind?: Sequenzy.FilterLeafKind;
|
|
10
|
-
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value). tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
10
|
+
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value), or starts_with, not_starts_with, contains, not_contains with digits matched against the stored E.164 number (for example +44 or +1 415; negative operators only match contacts with a phone). phoneCountry: is, is_not with ISO 3166-1 alpha-2 codes, comma-separated for several (for example GB or US,CA); only contacts with a phone match. tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
11
11
|
operator: Sequenzy.FilterLeafOperator;
|
|
12
12
|
/** Event filters use `eventName:30d` or `eventName:5:30d`. Segment filters use a segment ID. Email engagement fields use a rolling time window (`24h`, `7d`, `30d`, `90d`, `180d`, `all`; whole hours from `1h` to `8760h` are measured to the exact hour; count filters are exact up to `168h`), a specific campaign via `campaign:<campaign_id>`, an email-type scope via `marketing:<timeRange>` (marketing-policy campaign, automation, and Send API traffic) or `transactional:<timeRange>` (transactional-policy sends; with is/is_not or the emailBounced subtype operators; scopes require a send-time policy snapshot, so ambiguous older events remain unscoped), or `count:timeRange` (such as `10:30d` or `10:all`) with at_least/less_than_count. Stripe product filters use `prod_123` for bought/current/trialing checks, `prod_123:3` for payment thresholds, and product-scoped values such as `prod_123:is_canceled`, `prod_123:cancels_at:2026-05-26`, `prod_123:end_at:2026-05-26`, or `prod_123:start_at:7 days ago`. Commerce product filters use `provider:productId` (provider one of `shopify`, `woocommerce`, `api`), optionally with an order-count threshold (`shopify:42:2`); a bare product ID matches the ID on any provider. Commerce collection filters use a collection ID or handle (`skincare`), optionally provider-prefixed and/or with an order-count threshold (`shopify:skincare:2`), and match anyone whose orders contain any product currently in that collection. Push device filters use `any`, `web`, `ios`, or `android`. Push sent, delivered, and clicked filters use a time range (`7d`, `30d`, `all`). */
|
|
13
13
|
value: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value). tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
1
|
+
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value), or starts_with, not_starts_with, contains, not_contains with digits matched against the stored E.164 number (for example +44 or +1 415; negative operators only match contacts with a phone). phoneCountry: is, is_not with ISO 3166-1 alpha-2 codes, comma-separated for several (for example GB or US,CA); only contacts with a phone match. tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
2
2
|
export declare const FilterLeafOperator: {
|
|
3
3
|
readonly Is: "is";
|
|
4
4
|
readonly IsNot: "is_not";
|
|
@@ -6,6 +6,8 @@ export declare const FilterLeafOperator: {
|
|
|
6
6
|
readonly IsNotEmpty: "is_not_empty";
|
|
7
7
|
readonly Contains: "contains";
|
|
8
8
|
readonly NotContains: "not_contains";
|
|
9
|
+
readonly StartsWith: "starts_with";
|
|
10
|
+
readonly NotStartsWith: "not_starts_with";
|
|
9
11
|
readonly LessThan: "less_than";
|
|
10
12
|
readonly MoreThan: "more_than";
|
|
11
13
|
readonly IsTemporaryBounce: "is_temporary_bounce";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value). tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
2
|
+
/** Valid operators depend on the field. status/segment: is, is_not. smsStatus: is, is_not (values: subscribed, unsubscribed, not_subscribed). phone: is_not_empty, is_empty (empty value), or starts_with, not_starts_with, contains, not_contains with digits matched against the stored E.164 number (for example +44 or +1 415; negative operators only match contacts with a phone). phoneCountry: is, is_not with ISO 3166-1 alpha-2 codes, comma-separated for several (for example GB or US,CA); only contacts with a phone match. tag: contains, not_contains, is_empty, is_not_empty. email: contains, not_contains for domain or substring matching, is, is_not for an exact case-insensitive address. emailProvider/list: is, is_not, is_empty, is_not_empty. firstName/lastName: contains, not_contains, is_empty, is_not_empty. added: less_than, more_than. attribute: is, is_not, is_empty, is_not_empty, gte, lte, gt, lt, contains, not_contains. event and email engagement fields: is, is_not, at_least, less_than_count. emailBounced also supports is_temporary_bounce and is_permanent_bounce. stripeProduct: is, is_not, at_least, less_than_count. stripeCurrentProduct/stripeTrialProduct: is, is_not, gte, lte, gt, lt. commerceProduct/commerceCollection: is, is_not, at_least, less_than_count. pushDevice: is, is_not (values: any, web, ios, android; matches active push devices). pushSent/pushDelivered/pushClicked: is, is_not with a time range such as 30d or all (test sends are ignored). */
|
|
3
3
|
export const FilterLeafOperator = {
|
|
4
4
|
Is: "is",
|
|
5
5
|
IsNot: "is_not",
|
|
@@ -7,6 +7,8 @@ export const FilterLeafOperator = {
|
|
|
7
7
|
IsNotEmpty: "is_not_empty",
|
|
8
8
|
Contains: "contains",
|
|
9
9
|
NotContains: "not_contains",
|
|
10
|
+
StartsWith: "starts_with",
|
|
11
|
+
NotStartsWith: "not_starts_with",
|
|
10
12
|
LessThan: "less_than",
|
|
11
13
|
MoreThan: "more_than",
|
|
12
14
|
IsTemporaryBounce: "is_temporary_bounce",
|
|
@@ -4,6 +4,8 @@ export interface SequenceInboundWebhook {
|
|
|
4
4
|
eventName?: string;
|
|
5
5
|
fieldMapping?: Sequenzy.SequenceInboundWebhookFieldMapping | null;
|
|
6
6
|
id?: string;
|
|
7
|
+
/** Whether the field mapping finds an email in the last payload received, or in a sample saved through this endpoint. An example sample applied from the integration catalog on first setup is not checked. The endpoint answers 200 to every payload it can parse, but skips one without a valid email and creates no subscriber, so a mapping with status email_not_found means received webhooks are being skipped. Null when no mapping is saved. */
|
|
8
|
+
mappingCheck?: Sequenzy.SequenceInboundWebhookMappingCheck | null;
|
|
7
9
|
sampleCapturedAt?: Date | null;
|
|
8
10
|
samplePayload?: Record<string, unknown> | null;
|
|
9
11
|
/** Secret URL token. Treat it as a credential. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface SequenceInboundWebhookFieldMapping {
|
|
2
|
-
/** Dot path to the subscriber email in the webhook payload. */
|
|
2
|
+
/** Dot path to the subscriber email in the webhook payload. A key that itself contains dots, such as `data.user_email`, is matched as one key, so `properties.data.user_email` reads `{"properties": {"data.user_email": "..."}}`. */
|
|
3
3
|
email: string;
|
|
4
4
|
firstName?: string;
|
|
5
5
|
lastName?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../index.js";
|
|
2
|
+
export interface SequenceInboundWebhookMappingCheck {
|
|
3
|
+
/** Mapped fields whose path does not exist in the saved sample. */
|
|
4
|
+
missingFields: Sequenzy.SequenceInboundWebhookMappingCheckMissingFieldsItem[];
|
|
5
|
+
/** `ok`: the email path holds a valid address. `email_not_found`: it is missing or not a valid address. `no_sample`: no payload has been received or saved yet. */
|
|
6
|
+
status: Sequenzy.SequenceInboundWebhookMappingCheckStatus;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** `ok`: the email path holds a valid address. `email_not_found`: it is missing or not a valid address. `no_sample`: no payload has been received or saved yet. */
|
|
2
|
+
export declare const SequenceInboundWebhookMappingCheckStatus: {
|
|
3
|
+
readonly Ok: "ok";
|
|
4
|
+
readonly EmailNotFound: "email_not_found";
|
|
5
|
+
readonly NoSample: "no_sample";
|
|
6
|
+
};
|
|
7
|
+
export type SequenceInboundWebhookMappingCheckStatus = (typeof SequenceInboundWebhookMappingCheckStatus)[keyof typeof SequenceInboundWebhookMappingCheckStatus];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** `ok`: the email path holds a valid address. `email_not_found`: it is missing or not a valid address. `no_sample`: no payload has been received or saved yet. */
|
|
3
|
+
export const SequenceInboundWebhookMappingCheckStatus = {
|
|
4
|
+
Ok: "ok",
|
|
5
|
+
EmailNotFound: "email_not_found",
|
|
6
|
+
NoSample: "no_sample",
|
|
7
|
+
};
|
|
@@ -13,6 +13,7 @@ export interface SubscriberImport {
|
|
|
13
13
|
failedReasons?: Record<string, number>;
|
|
14
14
|
fileName?: string;
|
|
15
15
|
id?: string;
|
|
16
|
+
listQuality?: Sequenzy.SubscriberImportListQuality | null;
|
|
16
17
|
processedCount?: number;
|
|
17
18
|
skippedCount?: number;
|
|
18
19
|
/** Count per reason a row was skipped. The values sum to skippedCount. */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Sequenzy from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Set when the list has too many addresses that don't exist or look risky; null otherwise. None of its contacts are imported (every row is skipped as list_needs_cleaning). An import stays running, with nothing processed, until its list check is done.
|
|
4
|
+
*/
|
|
5
|
+
export interface SubscriberImportListQuality {
|
|
6
|
+
checkedAt?: Date | null;
|
|
7
|
+
/** A list-cleaning service to clean the list with. */
|
|
8
|
+
cleaningUrl?: string;
|
|
9
|
+
/** What needs cleaning, as estimated shares of the list. A list can need cleaning for any of them, not only for addresses that don't exist. */
|
|
10
|
+
issues?: Sequenzy.SubscriberImportListQualityIssuesItem[];
|
|
11
|
+
/** Customer-facing explanation and recommendation. */
|
|
12
|
+
message?: string;
|
|
13
|
+
/** Addresses in the checked sample. */
|
|
14
|
+
sampleSize?: number;
|
|
15
|
+
status?: Sequenzy.SubscriberImportListQualityStatus;
|
|
16
|
+
/** Addresses in the sample that don't exist. */
|
|
17
|
+
undeliverableCount?: number;
|
|
18
|
+
/** Estimated share of the list's addresses that don't exist, from 0 to 1. */
|
|
19
|
+
undeliverableRate?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../index.js";
|
|
2
|
+
export interface SubscriberImportListQualityIssuesItem {
|
|
3
|
+
/** undeliverable: addresses that don't exist. disposable: temporary inboxes. role: shared addresses like info@ or sales@. */
|
|
4
|
+
kind: Sequenzy.SubscriberImportListQualityIssuesItemKind;
|
|
5
|
+
/** Share of the list, from 0 to 1. */
|
|
6
|
+
rate: number;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** undeliverable: addresses that don't exist. disposable: temporary inboxes. role: shared addresses like info@ or sales@. */
|
|
2
|
+
export declare const SubscriberImportListQualityIssuesItemKind: {
|
|
3
|
+
readonly Undeliverable: "undeliverable";
|
|
4
|
+
readonly Disposable: "disposable";
|
|
5
|
+
readonly Role: "role";
|
|
6
|
+
};
|
|
7
|
+
export type SubscriberImportListQualityIssuesItemKind = (typeof SubscriberImportListQualityIssuesItemKind)[keyof typeof SubscriberImportListQualityIssuesItemKind];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** undeliverable: addresses that don't exist. disposable: temporary inboxes. role: shared addresses like info@ or sales@. */
|
|
3
|
+
export const SubscriberImportListQualityIssuesItemKind = {
|
|
4
|
+
Undeliverable: "undeliverable",
|
|
5
|
+
Disposable: "disposable",
|
|
6
|
+
Role: "role",
|
|
7
|
+
};
|
|
@@ -774,6 +774,9 @@ export * from "./SequenceGraphEditInput.js";
|
|
|
774
774
|
export * from "./SequenceGraphEditInputAction.js";
|
|
775
775
|
export * from "./SequenceInboundWebhook.js";
|
|
776
776
|
export * from "./SequenceInboundWebhookFieldMapping.js";
|
|
777
|
+
export * from "./SequenceInboundWebhookMappingCheck.js";
|
|
778
|
+
export * from "./SequenceInboundWebhookMappingCheckMissingFieldsItem.js";
|
|
779
|
+
export * from "./SequenceInboundWebhookMappingCheckStatus.js";
|
|
777
780
|
export * from "./SequenceInboundWebhookStatus.js";
|
|
778
781
|
export * from "./SequenceKeyDate.js";
|
|
779
782
|
export * from "./SequenceKeyDates.js";
|
|
@@ -883,6 +886,10 @@ export * from "./SubscriberActivityEvent.js";
|
|
|
883
886
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
|
884
887
|
export * from "./SubscriberEmailStats.js";
|
|
885
888
|
export * from "./SubscriberImport.js";
|
|
889
|
+
export * from "./SubscriberImportListQuality.js";
|
|
890
|
+
export * from "./SubscriberImportListQualityIssuesItem.js";
|
|
891
|
+
export * from "./SubscriberImportListQualityIssuesItemKind.js";
|
|
892
|
+
export * from "./SubscriberImportListQualityStatus.js";
|
|
886
893
|
export * from "./SubscriberImportRecord.js";
|
|
887
894
|
export * from "./SubscriberImportRecordCustomAttributesValue.js";
|
|
888
895
|
export * from "./SubscriberImportRecordCustomAttributesValueThreeItem.js";
|
|
@@ -774,6 +774,9 @@ export * from "./SequenceGraphEditInput.js";
|
|
|
774
774
|
export * from "./SequenceGraphEditInputAction.js";
|
|
775
775
|
export * from "./SequenceInboundWebhook.js";
|
|
776
776
|
export * from "./SequenceInboundWebhookFieldMapping.js";
|
|
777
|
+
export * from "./SequenceInboundWebhookMappingCheck.js";
|
|
778
|
+
export * from "./SequenceInboundWebhookMappingCheckMissingFieldsItem.js";
|
|
779
|
+
export * from "./SequenceInboundWebhookMappingCheckStatus.js";
|
|
777
780
|
export * from "./SequenceInboundWebhookStatus.js";
|
|
778
781
|
export * from "./SequenceKeyDate.js";
|
|
779
782
|
export * from "./SequenceKeyDates.js";
|
|
@@ -883,6 +886,10 @@ export * from "./SubscriberActivityEvent.js";
|
|
|
883
886
|
export * from "./SubscriberActivityEventEngagementQuality.js";
|
|
884
887
|
export * from "./SubscriberEmailStats.js";
|
|
885
888
|
export * from "./SubscriberImport.js";
|
|
889
|
+
export * from "./SubscriberImportListQuality.js";
|
|
890
|
+
export * from "./SubscriberImportListQualityIssuesItem.js";
|
|
891
|
+
export * from "./SubscriberImportListQualityIssuesItemKind.js";
|
|
892
|
+
export * from "./SubscriberImportListQualityStatus.js";
|
|
886
893
|
export * from "./SubscriberImportRecord.js";
|
|
887
894
|
export * from "./SubscriberImportRecordCustomAttributesValue.js";
|
|
888
895
|
export * from "./SubscriberImportRecordCustomAttributesValueThreeItem.js";
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const FilterLeafField: core.serialization.Schema<serializers.FilterLeafField.Raw, Sequenzy.FilterLeafField>;
|
|
5
5
|
export declare namespace FilterLeafField {
|
|
6
|
-
type Raw = "status" | "phone" | "smsStatus" | "tag" | "email" | "emailProvider" | "added" | "firstName" | "lastName" | "list" | "attribute" | "event" | "segment" | "stripeProduct" | "stripeCurrentProduct" | "stripeTrialProduct" | "commerceProduct" | "commerceCollection" | "emailSent" | "emailDelivered" | "emailOpened" | "emailClicked" | "emailBounced" | "emailComplained" | "pushDevice" | "pushSent" | "pushDelivered" | "pushClicked";
|
|
6
|
+
type Raw = "status" | "phone" | "phoneCountry" | "smsStatus" | "tag" | "email" | "emailProvider" | "added" | "firstName" | "lastName" | "list" | "attribute" | "event" | "segment" | "stripeProduct" | "stripeCurrentProduct" | "stripeTrialProduct" | "commerceProduct" | "commerceCollection" | "emailSent" | "emailDelivered" | "emailOpened" | "emailClicked" | "emailBounced" | "emailComplained" | "pushDevice" | "pushSent" | "pushDelivered" | "pushClicked";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const FilterLeafOperator: core.serialization.Schema<serializers.FilterLeafOperator.Raw, Sequenzy.FilterLeafOperator>;
|
|
5
5
|
export declare namespace FilterLeafOperator {
|
|
6
|
-
type Raw = "is" | "is_not" | "is_empty" | "is_not_empty" | "contains" | "not_contains" | "less_than" | "more_than" | "is_temporary_bounce" | "is_permanent_bounce" | "at_least" | "less_than_count" | "gte" | "lte" | "gt" | "lt";
|
|
6
|
+
type Raw = "is" | "is_not" | "is_empty" | "is_not_empty" | "contains" | "not_contains" | "starts_with" | "not_starts_with" | "less_than" | "more_than" | "is_temporary_bounce" | "is_permanent_bounce" | "at_least" | "less_than_count" | "gte" | "lte" | "gt" | "lt";
|
|
7
7
|
}
|
|
@@ -2,6 +2,7 @@ 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 { SequenceInboundWebhookFieldMapping } from "./SequenceInboundWebhookFieldMapping.js";
|
|
5
|
+
import { SequenceInboundWebhookMappingCheck } from "./SequenceInboundWebhookMappingCheck.js";
|
|
5
6
|
import { SequenceInboundWebhookStatus } from "./SequenceInboundWebhookStatus.js";
|
|
6
7
|
export declare const SequenceInboundWebhook: core.serialization.ObjectSchema<serializers.SequenceInboundWebhook.Raw, Sequenzy.SequenceInboundWebhook>;
|
|
7
8
|
export declare namespace SequenceInboundWebhook {
|
|
@@ -10,6 +11,7 @@ export declare namespace SequenceInboundWebhook {
|
|
|
10
11
|
eventName?: string | null;
|
|
11
12
|
fieldMapping?: (SequenceInboundWebhookFieldMapping.Raw | null | undefined) | null;
|
|
12
13
|
id?: string | null;
|
|
14
|
+
mappingCheck?: (SequenceInboundWebhookMappingCheck.Raw | null | undefined) | null;
|
|
13
15
|
sampleCapturedAt?: (string | null | undefined) | null;
|
|
14
16
|
samplePayload?: (Record<string, unknown> | null | undefined) | null;
|
|
15
17
|
secret?: string | null;
|
|
@@ -1,12 +1,14 @@
|
|
|
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 { SequenceInboundWebhookFieldMapping } from "./SequenceInboundWebhookFieldMapping.js";
|
|
4
|
+
import { SequenceInboundWebhookMappingCheck } from "./SequenceInboundWebhookMappingCheck.js";
|
|
4
5
|
import { SequenceInboundWebhookStatus } from "./SequenceInboundWebhookStatus.js";
|
|
5
6
|
export const SequenceInboundWebhook = core.serialization.object({
|
|
6
7
|
createdAt: core.serialization.date().optional(),
|
|
7
8
|
eventName: core.serialization.string().optional(),
|
|
8
9
|
fieldMapping: SequenceInboundWebhookFieldMapping.optionalNullable(),
|
|
9
10
|
id: core.serialization.string().optional(),
|
|
11
|
+
mappingCheck: SequenceInboundWebhookMappingCheck.optionalNullable(),
|
|
10
12
|
sampleCapturedAt: core.serialization.date().optionalNullable(),
|
|
11
13
|
samplePayload: core.serialization
|
|
12
14
|
.record(core.serialization.string(), core.serialization.unknown())
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { SequenceInboundWebhookMappingCheckMissingFieldsItem } from "./SequenceInboundWebhookMappingCheckMissingFieldsItem.js";
|
|
5
|
+
import { SequenceInboundWebhookMappingCheckStatus } from "./SequenceInboundWebhookMappingCheckStatus.js";
|
|
6
|
+
export declare const SequenceInboundWebhookMappingCheck: core.serialization.ObjectSchema<serializers.SequenceInboundWebhookMappingCheck.Raw, Sequenzy.SequenceInboundWebhookMappingCheck>;
|
|
7
|
+
export declare namespace SequenceInboundWebhookMappingCheck {
|
|
8
|
+
interface Raw {
|
|
9
|
+
missingFields: SequenceInboundWebhookMappingCheckMissingFieldsItem.Raw[];
|
|
10
|
+
status: SequenceInboundWebhookMappingCheckStatus.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import { SequenceInboundWebhookMappingCheckMissingFieldsItem } from "./SequenceInboundWebhookMappingCheckMissingFieldsItem.js";
|
|
4
|
+
import { SequenceInboundWebhookMappingCheckStatus } from "./SequenceInboundWebhookMappingCheckStatus.js";
|
|
5
|
+
export const SequenceInboundWebhookMappingCheck = core.serialization.object({
|
|
6
|
+
missingFields: core.serialization.list(SequenceInboundWebhookMappingCheckMissingFieldsItem),
|
|
7
|
+
status: SequenceInboundWebhookMappingCheckStatus,
|
|
8
|
+
});
|
|
@@ -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 SequenceInboundWebhookMappingCheckMissingFieldsItem: core.serialization.ObjectSchema<serializers.SequenceInboundWebhookMappingCheckMissingFieldsItem.Raw, Sequenzy.SequenceInboundWebhookMappingCheckMissingFieldsItem>;
|
|
5
|
+
export declare namespace SequenceInboundWebhookMappingCheckMissingFieldsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
field: string;
|
|
8
|
+
path: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
export const SequenceInboundWebhookMappingCheckMissingFieldsItem = core.serialization.object({
|
|
4
|
+
field: core.serialization.string(),
|
|
5
|
+
path: core.serialization.string(),
|
|
6
|
+
});
|
|
@@ -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 SequenceInboundWebhookMappingCheckStatus: core.serialization.Schema<serializers.SequenceInboundWebhookMappingCheckStatus.Raw, Sequenzy.SequenceInboundWebhookMappingCheckStatus>;
|
|
5
|
+
export declare namespace SequenceInboundWebhookMappingCheckStatus {
|
|
6
|
+
type Raw = "ok" | "email_not_found" | "no_sample";
|
|
7
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
+
import { SubscriberImportListQuality } from "./SubscriberImportListQuality.js";
|
|
4
5
|
import { SubscriberImportStatus } from "./SubscriberImportStatus.js";
|
|
5
6
|
export declare const SubscriberImport: core.serialization.ObjectSchema<serializers.SubscriberImport.Raw, Sequenzy.SubscriberImport>;
|
|
6
7
|
export declare namespace SubscriberImport {
|
|
@@ -18,6 +19,7 @@ export declare namespace SubscriberImport {
|
|
|
18
19
|
failedReasons?: Record<string, number> | null;
|
|
19
20
|
fileName?: string | null;
|
|
20
21
|
id?: string | null;
|
|
22
|
+
listQuality?: (SubscriberImportListQuality.Raw | null | undefined) | null;
|
|
21
23
|
processedCount?: number | null;
|
|
22
24
|
skippedCount?: number | null;
|
|
23
25
|
skippedReasons?: Record<string, number> | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
|
+
import { SubscriberImportListQuality } from "./SubscriberImportListQuality.js";
|
|
3
4
|
import { SubscriberImportStatus } from "./SubscriberImportStatus.js";
|
|
4
5
|
export const SubscriberImport = core.serialization.object({
|
|
5
6
|
addedCount: core.serialization.number().optional(),
|
|
@@ -15,6 +16,7 @@ export const SubscriberImport = core.serialization.object({
|
|
|
15
16
|
failedReasons: core.serialization.record(core.serialization.string(), core.serialization.number()).optional(),
|
|
16
17
|
fileName: core.serialization.string().optional(),
|
|
17
18
|
id: core.serialization.string().optional(),
|
|
19
|
+
listQuality: SubscriberImportListQuality.optionalNullable(),
|
|
18
20
|
processedCount: core.serialization.number().optional(),
|
|
19
21
|
skippedCount: core.serialization.number().optional(),
|
|
20
22
|
skippedReasons: core.serialization.record(core.serialization.string(), core.serialization.number()).optional(),
|