@masters-union/outbound-sdk 0.4.8 → 0.4.10

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/index.d.mts CHANGED
@@ -798,6 +798,12 @@ interface CampaignTotals {
798
798
  clicked: number;
799
799
  bounced: number;
800
800
  complained: number;
801
+ /**
802
+ * Accepted from the caller but never handed to the provider, because the address was
803
+ * suppressed (prior bounce/complaint/unsubscribe) or failed validation. Not counted in
804
+ * `sent`, and the reason `sent` can read lower than `recipients`.
805
+ */
806
+ dropped: number;
801
807
  failed: number;
802
808
  queued: number;
803
809
  processing: number;
@@ -807,8 +813,12 @@ interface CampaignRates {
807
813
  deliveryRate: string;
808
814
  openRate: string;
809
815
  clickRate: string;
816
+ /** Against `sent`. */
810
817
  bounceRate: string;
818
+ /** Against `sent`. */
811
819
  complaintRate: string;
820
+ /** Against `recipients`, not `sent`: dropped rows never reached the provider. */
821
+ dropRate: string;
812
822
  }
813
823
  interface CampaignTimeseriesPoint {
814
824
  /** ISO bucket start (UTC instant of the local bucket). */
@@ -1027,8 +1037,16 @@ interface ContactListFieldsResponse {
1027
1037
  name: string;
1028
1038
  sample: string | null;
1029
1039
  }>;
1030
- /** Mappable alongside `fields`, but not attributes. */
1031
- reservedFields: string[];
1040
+ /**
1041
+ * Mappable alongside `fields`, but stored on the contact rather than in its
1042
+ * attributes. Carries a sample for the same reason `fields` does: a mapping UI
1043
+ * that shows a column name with no example value gives the user nothing to
1044
+ * judge it by.
1045
+ */
1046
+ reservedFields: Array<{
1047
+ name: string;
1048
+ sample: string | null;
1049
+ }>;
1032
1050
  }
1033
1051
  interface RecountContactListResponse {
1034
1052
  contactCount: number;
package/dist/index.d.ts CHANGED
@@ -798,6 +798,12 @@ interface CampaignTotals {
798
798
  clicked: number;
799
799
  bounced: number;
800
800
  complained: number;
801
+ /**
802
+ * Accepted from the caller but never handed to the provider, because the address was
803
+ * suppressed (prior bounce/complaint/unsubscribe) or failed validation. Not counted in
804
+ * `sent`, and the reason `sent` can read lower than `recipients`.
805
+ */
806
+ dropped: number;
801
807
  failed: number;
802
808
  queued: number;
803
809
  processing: number;
@@ -807,8 +813,12 @@ interface CampaignRates {
807
813
  deliveryRate: string;
808
814
  openRate: string;
809
815
  clickRate: string;
816
+ /** Against `sent`. */
810
817
  bounceRate: string;
818
+ /** Against `sent`. */
811
819
  complaintRate: string;
820
+ /** Against `recipients`, not `sent`: dropped rows never reached the provider. */
821
+ dropRate: string;
812
822
  }
813
823
  interface CampaignTimeseriesPoint {
814
824
  /** ISO bucket start (UTC instant of the local bucket). */
@@ -1027,8 +1037,16 @@ interface ContactListFieldsResponse {
1027
1037
  name: string;
1028
1038
  sample: string | null;
1029
1039
  }>;
1030
- /** Mappable alongside `fields`, but not attributes. */
1031
- reservedFields: string[];
1040
+ /**
1041
+ * Mappable alongside `fields`, but stored on the contact rather than in its
1042
+ * attributes. Carries a sample for the same reason `fields` does: a mapping UI
1043
+ * that shows a column name with no example value gives the user nothing to
1044
+ * judge it by.
1045
+ */
1046
+ reservedFields: Array<{
1047
+ name: string;
1048
+ sample: string | null;
1049
+ }>;
1032
1050
  }
1033
1051
  interface RecountContactListResponse {
1034
1052
  contactCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masters-union/outbound-sdk",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Official Node.js SDK for the Outbound Email SaaS platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",