From 8ec8a0af95a6ef53bf367df4a12c848d50c1b2e6 Mon Sep 17 00:00:00 2001 From: petefox Date: Mon, 24 Jun 2024 16:57:41 -0700 Subject: [PATCH] Added support for searching for new object types (contact, contact_phone, contact_email) --- src/Close/Close.csproj | 2 +- src/Close/Models/Condition.cs | 6 ++++++ src/Close/Models/Enums/ObjectType.cs | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Close/Close.csproj b/src/Close/Close.csproj index a9e6561..8c835e0 100644 --- a/src/Close/Close.csproj +++ b/src/Close/Close.csproj @@ -5,7 +5,7 @@ disable Close Close - 0.2.4 + 0.2.5 Peter Schroeder Telzio, Inc. © 2013-2024 Telzio, Inc. diff --git a/src/Close/Models/Condition.cs b/src/Close/Models/Condition.cs index 65df338..5f89a1e 100644 --- a/src/Close/Models/Condition.cs +++ b/src/Close/Models/Condition.cs @@ -10,9 +10,15 @@ public class Condition [JsonPropertyName("values")] public List Values { get; set; } + [JsonPropertyName("value")] + public string Value { get; set; } + [JsonPropertyName("gte")] public int? Gte { get; set; } [JsonPropertyName("lte")] public int? Lte { get; set; } + + [JsonPropertyName("mode")] + public string Mode { get; set; } } \ No newline at end of file diff --git a/src/Close/Models/Enums/ObjectType.cs b/src/Close/Models/Enums/ObjectType.cs index e688bd1..0a9645c 100644 --- a/src/Close/Models/Enums/ObjectType.cs +++ b/src/Close/Models/Enums/ObjectType.cs @@ -9,4 +9,7 @@ public enum ObjectType sms, taskcompleted, custom_object, + contact, + contact_email, + contact_phone } \ No newline at end of file