files.com 1.1.657 → 1.1.658

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: 33d6021288e5f1b7a63d026dbbca8d4b8020597ec938c23b9c09419c31d27f88
4
- data.tar.gz: 935f197466beed0eeccec1bf0a58cb87e4e4da954d89df2b4ba92ecf180b3ec7
3
+ metadata.gz: 817a3ee68b975896e3d38bc5d9fe93e895f2dec303a81c4bfd03efcf4a9fb47b
4
+ data.tar.gz: 5fd6014863c9a27513bf993f040301afb3c7fd49cca2090099cc043ffb093009
5
5
  SHA512:
6
- metadata.gz: 85a4cca8ca8fd3a1a1ac63a37635fd37c730aadf5643d9c23b02e6b2cbd11fc6b8e617b41c8c2a8b28b5fb5b0cb1105a45a36452e3b143c2c0dcca88b7145f65
7
- data.tar.gz: e62c0c1579fc6b5788a086c9bd00d44171f82dbf9c4eff7f5839b194e371a0c3ecd01d1327a6fb5df4074960b2217fc642c0400a7ed412b8774d853ca17450c6
6
+ metadata.gz: 50c38a117388f27629f90559750f6a935bfe4c5c73be92ddb98fed204449982f1e97a4148689a4e728462bacd53a191895585aa20af4aafd0fdca6d49855dc68
7
+ data.tar.gz: e5e103105b5ecefdfe7bbfc331cba66a1ceee61f7258c967092bd86d12b235893fc433c78a3cf65cd72d5f82a85aedf21100d1daf9232db094eef3d652cb6f49
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.657
1
+ 1.1.658
data/docs/chat_session.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```
6
6
  {
7
- "id": 1,
7
+ "id": "example",
8
8
  "user_id": 1,
9
9
  "workspace_id": 1,
10
10
  "last_active_at": "2000-01-01T01:00:00Z",
@@ -20,7 +20,7 @@
20
20
  }
21
21
  ```
22
22
 
23
- * `id` (int64): Chat Session ID.
23
+ * `id` (string): Chat Session ID.
24
24
  * `user_id` (int64): User ID.
25
25
  * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
26
26
  * `last_active_at` (date-time): Most recent chat activity date/time.
@@ -52,4 +52,4 @@ Files::ChatSession.find(id)
52
52
 
53
53
  ### Parameters
54
54
 
55
- * `id` (int64): Required - Chat Session ID.
55
+ * `id` (string): Required - Chat Session ID.
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # int64 - Chat Session ID.
12
+ # string - Chat Session ID.
13
13
  def id
14
14
  @attributes[:id]
15
15
  end
@@ -56,11 +56,11 @@ module Files
56
56
  end
57
57
 
58
58
  # Parameters:
59
- # id (required) - int64 - Chat Session ID.
59
+ # id (required) - string - Chat Session ID.
60
60
  def self.find(id, params = {}, options = {})
61
61
  params ||= {}
62
62
  params[:id] = id
63
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
63
+ raise InvalidParameterError.new("Bad parameter: id must be an String") if params[:id] and !params[:id].is_a?(String)
64
64
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
65
65
 
66
66
  response, options = Api.send_request("/chat_sessions/#{params[:id]}", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.657"
4
+ VERSION = "1.1.658"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.657
4
+ version: 1.1.658
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com