close 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b96218de9d48b51d11b6da08cd20976747d77bcc2e0d9e48ef1bfa875087db5
4
- data.tar.gz: ab0ae2ae9463f006452b0872b8147d778dd7538469ff65e42a5295b2b62c00dd
3
+ metadata.gz: c7ab319bfb4b06f727c09ccbc65fe5a7d82a6c8f6e6c3d30caefe5b2115d96ed
4
+ data.tar.gz: c57919f127915f52275140453faabdfe2b523a1d42c80651433a3e8959f4e7a6
5
5
  SHA512:
6
- metadata.gz: 503f1df9634a4a348dd4d7f96b447499ea22961a2e3870c5ad46bf7e8912a6992d15ee144bbda8e9f7b5c40cf1cf4c1f9226f2c34ef2507734fa6d2682c48866
7
- data.tar.gz: 1ca33c0d03a6cbf89ef0b4a050553cdacf52a585a6653ef6375af0e0b4cb44086332f04eb16af411dff6d7f098fcc945df42d45c2a4b7086df09fe25a3bff9dc
6
+ metadata.gz: e9ef5847c82667d30a4edfd95c473b00b101e5ebd1094bf110df40879f03656a0ce2a1434a8e241717742ffe6022ec8e5736df83969fd6128297676b39d54939
7
+ data.tar.gz: 5a8f2dd395b7026af92d6e70987197cfd8c66d59ee4cb1679e84c0b526cb1d1288ddec52d1ad1f852dcd2fb72577bc622224d3f491f0284d6d351958b218fd3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### [0.3.1](https://www.github.com/joynerd/close/compare/v0.3.0...v0.3.1) (2022-12-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Added a find lead by contact email or phone number ([2d03bd7](https://www.github.com/joynerd/close/commit/2d03bd7811fb52ce05c7160f48ab113f8931f591))
9
+
3
10
  ## [0.3.0](https://www.github.com/joynerd/close/compare/v0.2.0...v0.3.0) (2022-10-20)
4
11
 
5
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- close (0.3.0)
4
+ close (0.3.1)
5
5
  faraday (>= 2.0.0)
6
6
  ostruct
7
7
 
@@ -0,0 +1,86 @@
1
+ {
2
+ "limit": null,
3
+ "query": {
4
+ "negate": false,
5
+ "queries": [
6
+ {
7
+ "negate": false,
8
+ "object_type": "lead",
9
+ "type": "object_type"
10
+ },
11
+ {
12
+ "negate": false,
13
+ "queries": [
14
+ {
15
+ "negate": false,
16
+ "related_object_type": "contact",
17
+ "related_query": {
18
+ "negate": false,
19
+ "queries": [
20
+ {
21
+ "negate": false,
22
+ "related_object_type": "contact_email",
23
+ "related_query": {
24
+ "negate": false,
25
+ "queries": [
26
+ {
27
+ "condition": {
28
+ "mode": "full_words",
29
+ "type": "text",
30
+ "value": "%EMAIL%"
31
+ },
32
+ "field": {
33
+ "field_name": "email",
34
+ "object_type": "contact_email",
35
+ "type": "regular_field"
36
+ },
37
+ "negate": false,
38
+ "type": "field_condition"
39
+ }
40
+ ],
41
+ "type": "and"
42
+ },
43
+ "this_object_type": "contact",
44
+ "type": "has_related"
45
+ },
46
+ {
47
+ "negate": false,
48
+ "related_object_type": "contact_phone",
49
+ "related_query": {
50
+ "negate": false,
51
+ "queries": [
52
+ {
53
+ "condition": {
54
+ "mode": "full_words",
55
+ "type": "text",
56
+ "value": "%PHONE_NUMBER%"
57
+ },
58
+ "field": {
59
+ "field_name": "phone",
60
+ "object_type": "contact_phone",
61
+ "type": "regular_field"
62
+ },
63
+ "negate": false,
64
+ "type": "field_condition"
65
+ }
66
+ ],
67
+ "type": "and"
68
+ },
69
+ "this_object_type": "contact",
70
+ "type": "has_related"
71
+ }
72
+ ],
73
+ "type": "or"
74
+ },
75
+ "this_object_type": "lead",
76
+ "type": "has_related"
77
+ }
78
+ ],
79
+ "type": "and"
80
+ }
81
+ ],
82
+ "type": "and"
83
+ },
84
+ "results_limit": null,
85
+ "sort": []
86
+ }
data/lib/close/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Close
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: close
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JoyNerd LLC
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-20 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ostruct
@@ -59,6 +59,7 @@ files:
59
59
  - lib/close/api_resource.rb
60
60
  - lib/close/close_object.rb
61
61
  - lib/close/data/filters/find_lead_by_contact_email.json
62
+ - lib/close/data/filters/find_lead_by_contact_email_or_phone.json
62
63
  - lib/close/errors.rb
63
64
  - lib/close/filter.rb
64
65
  - lib/close/resource/activity.rb