files.com 1.1.657 → 1.1.659

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: b36753869a0e4f64a0feb2ff8e58d04ce3310b76925b0f035373d5d355d35052
4
+ data.tar.gz: aa9037ee2eedf8c928b2389859faea3615c91ce341e4715a5ffee06ec0c921a1
5
5
  SHA512:
6
- metadata.gz: 85a4cca8ca8fd3a1a1ac63a37635fd37c730aadf5643d9c23b02e6b2cbd11fc6b8e617b41c8c2a8b28b5fb5b0cb1105a45a36452e3b143c2c0dcca88b7145f65
7
- data.tar.gz: e62c0c1579fc6b5788a086c9bd00d44171f82dbf9c4eff7f5839b194e371a0c3ecd01d1327a6fb5df4074960b2217fc642c0400a7ed412b8774d853ca17450c6
6
+ metadata.gz: 61e797a9c2f9beab60fe3f55223f2ab673d78af23710245ea369702b2924235ae997917714cca4f3eb8bf8f1b7951e27d7aae388510c0878dc506be95f8d0073
7
+ data.tar.gz: 4775a3a6d5d9ebd9dcba86c2a9f89b64b8583c7135d7c42483da7d9cd90b052e602ada496ff0963487e935598ad20ad828ae7b14a758458a7a50829f7d75cb05
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.657
1
+ 1.1.659
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.
@@ -8,15 +8,15 @@
8
8
  "workspace_id": 1,
9
9
  "partner_id": 1,
10
10
  "path": "claims/medical",
11
- "to_partner_folder_name": "incoming",
12
- "from_partner_folder_name": "outgoing",
11
+ "to_partner_folder_name": "outgoing",
12
+ "from_partner_folder_name": "incoming",
13
13
  "from_partner_route_path": "processing/from-partner",
14
14
  "to_partner_route_path": "delivery/to-partner",
15
- "effective_to_partner_folder_name": "incoming",
16
- "effective_from_partner_folder_name": "outgoing",
15
+ "effective_to_partner_folder_name": "outgoing",
16
+ "effective_from_partner_folder_name": "incoming",
17
17
  "channel_path": "partners/acme/claims/medical",
18
- "to_partner_folder_path": "partners/acme/claims/medical/incoming",
19
- "from_partner_folder_path": "partners/acme/claims/medical/outgoing"
18
+ "to_partner_folder_path": "partners/acme/claims/medical/outgoing",
19
+ "from_partner_folder_path": "partners/acme/claims/medical/incoming"
20
20
  }
21
21
  ```
22
22
 
@@ -70,9 +70,9 @@ Files::PartnerChannel.find(id)
70
70
 
71
71
  ```
72
72
  Files::PartnerChannel.create(
73
- from_partner_folder_name: "outgoing",
73
+ from_partner_folder_name: "incoming",
74
74
  from_partner_route_path: "processing/from-partner",
75
- to_partner_folder_name: "incoming",
75
+ to_partner_folder_name: "outgoing",
76
76
  to_partner_route_path: "delivery/to-partner",
77
77
  partner_id: 1,
78
78
  path: "claims/medical",
@@ -97,9 +97,9 @@ Files::PartnerChannel.create(
97
97
 
98
98
  ```
99
99
  Files::PartnerChannel.update(id,
100
- from_partner_folder_name: "outgoing",
100
+ from_partner_folder_name: "incoming",
101
101
  from_partner_route_path: "processing/from-partner",
102
- to_partner_folder_name: "incoming",
102
+ to_partner_folder_name: "outgoing",
103
103
  to_partner_route_path: "delivery/to-partner",
104
104
  path: "claims/medical"
105
105
  )
@@ -136,9 +136,9 @@ Files::PartnerChannel.delete(id)
136
136
  partner_channel = Files::PartnerChannel.find(id)
137
137
 
138
138
  partner_channel.update(
139
- from_partner_folder_name: "outgoing",
139
+ from_partner_folder_name: "incoming",
140
140
  from_partner_route_path: "processing/from-partner",
141
- to_partner_folder_name: "incoming",
141
+ to_partner_folder_name: "outgoing",
142
142
  to_partner_route_path: "delivery/to-partner",
143
143
  path: "claims/medical"
144
144
  )
@@ -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.659"
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.659
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com