Skip to content

Commit

Permalink
Added support for searching for new object types (contact, contact_ph…
Browse files Browse the repository at this point in the history
…one, contact_email)
  • Loading branch information
petefox committed Jun 24, 2024
1 parent 4bcfcb5 commit 8ec8a0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Close/Close.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>disable</Nullable>
<AssemblyName>Close</AssemblyName>
<RootNamespace>Close</RootNamespace>
<Version>0.2.4</Version>
<Version>0.2.5</Version>
<Authors>Peter Schroeder</Authors>
<Company>Telzio, Inc.</Company>
<Copyright>© 2013-2024 Telzio, Inc.</Copyright>
Expand Down
6 changes: 6 additions & 0 deletions src/Close/Models/Condition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ public class Condition
[JsonPropertyName("values")]
public List<string> 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; }
}
3 changes: 3 additions & 0 deletions src/Close/Models/Enums/ObjectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ public enum ObjectType
sms,
taskcompleted,
custom_object,
contact,
contact_email,
contact_phone
}

0 comments on commit 8ec8a0a

Please sign in to comment.