close 0.2.0 → 0.3.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +2 -1
- data/README.md +1 -1
- data/lib/close/data/filters/find_lead_by_contact_email_or_phone.json +86 -0
- data/lib/close/resource/activity.rb +9 -0
- data/lib/close/resources.rb +1 -0
- data/lib/close/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7ab319bfb4b06f727c09ccbc65fe5a7d82a6c8f6e6c3d30caefe5b2115d96ed
|
4
|
+
data.tar.gz: c57919f127915f52275140453faabdfe2b523a1d42c80651433a3e8959f4e7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ef5847c82667d30a4edfd95c473b00b101e5ebd1094bf110df40879f03656a0ce2a1434a8e241717742ffe6022ec8e5736df83969fd6128297676b39d54939
|
7
|
+
data.tar.gz: 5a8f2dd395b7026af92d6e70987197cfd8c66d59ee4cb1679e84c0b526cb1d1288ddec52d1ad1f852dcd2fb72577bc622224d3f491f0284d6d351958b218fd3d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
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
|
+
|
10
|
+
## [0.3.0](https://www.github.com/joynerd/close/compare/v0.2.0...v0.3.0) (2022-10-20)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* Added support for Activity endpoint ([32d01fc](https://www.github.com/joynerd/close/commit/32d01fc2a65e7ff30605e855cbea2693d2410848))
|
16
|
+
|
3
17
|
## [0.2.0](https://www.github.com/joynerd/close/compare/v0.1.5...v0.2.0) (2022-10-20)
|
4
18
|
|
5
19
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Close
|
2
2
|
|
3
|
-
[](https://badge.fury.io/rb/close) [](https://codeclimate.com/github/joynerd/close/test_coverage)
|
3
|
+
[](https://badge.fury.io/rb/close)  [](https://codeclimate.com/github/joynerd/close/test_coverage)
|
4
4
|
|
5
5
|
This a ruby gem that provides a robust way to interact with the Close
|
6
6
|
CRM API.
|
@@ -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/resources.rb
CHANGED
data/lib/close/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ostruct
|
@@ -59,8 +59,10 @@ 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
|
65
|
+
- lib/close/resource/activity.rb
|
64
66
|
- lib/close/resource/contact.rb
|
65
67
|
- lib/close/resource/custom_activity_type.rb
|
66
68
|
- lib/close/resource/lead.rb
|