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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ea957d41f04a13f55e6b8c731557315638c7577e74d91a1d67a22f0ccbda321
4
- data.tar.gz: 6a38da7abf1935d09b6b869c6c283eab35a3b01959d8691095c3e61ccdf819fd
3
+ metadata.gz: 9dade31f62a550aecf4414e51b7cf50d8bb31040017a245666e665ce9691cdda
4
+ data.tar.gz: 323a746332b1381ccfab00814f19626f5ca2ed3d7660155e2891ea8c15c221a4
5
5
  SHA512:
6
- metadata.gz: '09087cb53e56fec2f6d31ef8d8cc75c3162d223c5e2a37ad069d9c1d46fd3a27e8976ff77de9823ded58368bd799a0af812a521616adcd105f2c794f0b9e4e21'
7
- data.tar.gz: 181c79e98278976708742ba5f2cf13606968a7d129372dc2e194b252dd1451162fe9d4d737a23d01bc0e3a7ae9a57a678d8fd4cb377bb6118cbcbce8540e6acd
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.15"
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
@@ -3,7 +3,7 @@ require "date"
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "crisp-api"
6
- s.version = "1.1.15"
6
+ s.version = "1.1.16"
7
7
  s.date = Date.today
8
8
  s.summary = "Crisp API Ruby"
9
9
  s.description = "Crisp API Ruby"
data/lib/crisp-api.rb CHANGED
@@ -91,7 +91,7 @@ module Crisp
91
91
  :payload => (data ? data.to_json : nil),
92
92
 
93
93
  :headers => {
94
- :user_agent => "ruby-crisp-api/1.1.15",
94
+ :user_agent => "ruby-crisp-api/1.1.16",
95
95
  :accept => :json,
96
96
  :content_type => :json,
97
97
  "X-Crisp-Tier" => @tier,
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.15
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-05-29 00:00:00.000000000 Z
11
+ date: 2026-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client