@trycourier/courier
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -8,2 +8,6 @@ # Change Log | ||
## [v3.5.0] - 2022-02-10 | ||
- adds type for unroutable status | ||
## [v3.4.0] - 2022-01-25 | ||
@@ -201,3 +205,4 @@ | ||
[unreleased]: https://github.com/trycourier/courier-node/compare/v3.4.0...HEAD | ||
[unreleased]: https://github.com/trycourier/courier-node/compare/v3.5.0...HEAD | ||
[v3.5.0]: https://github.com/trycourier/courier-node/compare/v3.4.0...v3.5.0 | ||
[v3.4.0]: https://github.com/trycourier/courier-node/compare/v3.3.0...v3.4.0 | ||
@@ -204,0 +209,0 @@ [v3.3.0]: https://github.com/trycourier/courier-node/compare/v3.2.1...v3.3.0 |
@@ -148,3 +148,3 @@ import { AxiosRequestConfig } from "axios"; | ||
} | ||
export declare type MessageStatus = "CLICKED" | "DELIVERED" | "ENQUEUED" | "FILTERED" | "OPENED" | "SENT" | "SIMULATED" | "UNDELIVERABLE" | "UNMAPPED"; | ||
export declare type MessageStatus = "CLICKED" | "DELIVERED" | "ENQUEUED" | "FILTERED" | "OPENED" | "SENT" | "SIMULATED" | "UNDELIVERABLE" | "UNMAPPED" | "UNROUTABLE"; | ||
export declare type MessageHistoryType = MessageStatus | "DELIVERING" | "FILTERED" | "MAPPED" | "PROFILE_LOADED" | "RENDERED"; | ||
@@ -190,2 +190,5 @@ export declare type MessageStatusReason = "BOUNCED" | "FAILED" | "FILTERED" | "NO_CHANNELS" | "NO_PROVIDERS" | "OPT_IN_REQUIRED" | "PROVIDER_ERROR" | "UNPUBLISHED" | "UNSUBSCRIBED"; | ||
} | ||
export interface IUnroutableMessageHistory extends IMessageHistory<"UNROUTABLE"> { | ||
reason: MessageStatusReason; | ||
} | ||
export interface IUndeliverableMessageHistory extends IMessageHistory<"UNDELIVERABLE">, Partial<Omit<IRoutedMessageHistory<"UNDELIVERABLE">, "ts" | "type">> { | ||
@@ -215,3 +218,3 @@ reason: MessageStatusReason; | ||
export interface ICourierMessageGetHistoryResponse { | ||
results: Array<IEnqueuedMessageHistory | IMappedMessageHistory | IProfileLoadedMessageHistory | IRenderedMessageHistory | IRoutedMessageHistory<RoutedMessageHistoryTypes> | IDeliveredMessageHistory | IProviderErrorMessageHistory | IUndeliverableMessageHistory>; | ||
results: Array<IEnqueuedMessageHistory | IMappedMessageHistory | IProfileLoadedMessageHistory | IRenderedMessageHistory | IRoutedMessageHistory<RoutedMessageHistoryTypes> | IDeliveredMessageHistory | IProviderErrorMessageHistory | IUndeliverableMessageHistory | IUnroutableMessageHistory>; | ||
} | ||
@@ -218,0 +221,0 @@ export interface IApiMessageOutputItem { |
{ | ||
"name": "@trycourier/courier", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "A node.js module for communicating with the Courier REST API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117681
2268