crisp-api 1.1.15 → 1.1.16
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/EXAMPLES.md +1 -0
- data/README.md +6 -1
- data/crisp-api.gemspec +1 -1
- data/lib/crisp-api.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9dade31f62a550aecf4414e51b7cf50d8bb31040017a245666e665ce9691cdda
|
|
4
|
+
data.tar.gz: 323a746332b1381ccfab00814f19626f5ca2ed3d7660155e2891ea8c15c221a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e9d4b36ed455b78e79663f569ac2bd9ee4a995e577ebb6457981cb4b2117bcbbbb6c7e752518228e0545c924c6b667db497c1e15441b43eaa37bb976cc2af85
|
|
7
|
+
data.tar.gz: 6f87f1f225daf8faeb74a34a1a471ac6ffec2bdec701244acb9cd27701a4dd7443b3b6fee612d50af76774cfe4cd161e6878344921eadc93a74fa8c30be871f0
|
data/EXAMPLES.md
CHANGED
|
@@ -65,6 +65,7 @@ https://docs.crisp.chat/references/rest-api/v1/#get-messages-in-conversation
|
|
|
65
65
|
website_id = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc"
|
|
66
66
|
session_id = "session_700c65e1-85e2-465a-b9ac-ecb5ec2c9881"
|
|
67
67
|
|
|
68
|
+
# Either 'timestamp_before', 'timestamp_after' or 'timestamp_around'
|
|
68
69
|
query = {
|
|
69
70
|
"timestamp_before" => "1687314763164"
|
|
70
71
|
}
|
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ You may follow the [REST API Quickstart](https://docs.crisp.chat/guides/rest-api
|
|
|
16
16
|
Add the library to your `Gemfile`:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
gem "crisp-api", "~> 1.1.
|
|
19
|
+
gem "crisp-api", "~> 1.1.16"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
Then, import it:
|
|
@@ -187,6 +187,11 @@ client.website.send_message_in_conversation(
|
|
|
187
187
|
website_id = "8c842203-7ed8-4e29-a608-7cf78a7d2fcc"
|
|
188
188
|
session_id = "session_700c65e1-85e2-465a-b9ac-ecb5ec2c9881"
|
|
189
189
|
|
|
190
|
+
# Either 'timestamp_before', 'timestamp_after' or 'timestamp_around'
|
|
191
|
+
query = {
|
|
192
|
+
"timestamp_before" => "1687314763164"
|
|
193
|
+
}
|
|
194
|
+
|
|
190
195
|
client.website.get_messages_in_conversation(website_id, session_id, query);
|
|
191
196
|
```
|
|
192
197
|
</details>
|
data/crisp-api.gemspec
CHANGED
data/lib/crisp-api.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crisp-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Valerian Saliou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|