files.com 1.1.664 → 1.1.665

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: 2031a630da776d25ddfe3b53bf21cf7dc8f858ea7c1b05efa218a34b1716c8a2
4
- data.tar.gz: 4c70ff321e604fbdd8c59bb604347afd9ee6232d364c1983bd0a4bbb0c6f346e
3
+ metadata.gz: 6e3727d564089b8d1ae773b807d73192b90ec4e36a326c947926780345fbb698
4
+ data.tar.gz: a2a522046ce1f647ecb5bed78eba78f750e19a04e52b9d8049e42f61d59b3d87
5
5
  SHA512:
6
- metadata.gz: 03ada75268d6f5c521069daef6ca274249c09afa870e9d21ce0429f0de776b738f577d44aedf5b12f2037c44268d94705f868593d66d3dac21fabb081dad7c14
7
- data.tar.gz: b0340d3227da23ba8be2474924ad58ec382643f1d33ac0b21ad0524278a835cded2a878e5245a86abd0550684d657f9a5fa8bdf0eb51988dbef19757f3012c8b
6
+ metadata.gz: c58eda792cef4b533fe9f63c3bd5c1e3ee13a6d2a1db1287c582f53800d2edc66d98b2cb87159d1e9282a0ccf76f6cc84deec031f9e240ffd191b4e6f8fe39f2
7
+ data.tar.gz: fb0ce7944ebb3b4e3f485932f54e1350ef61685a0228382980a26f99c4b43082495f08089be166f0082356e541286d6134e9b8a281343caacc4dc0df6120adb2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.664
1
+ 1.1.665
data/docs/chat_session.md CHANGED
@@ -42,7 +42,8 @@ Files::ChatSession.list
42
42
 
43
43
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
44
44
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
45
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`.
45
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id` and `workspace_id`.
46
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`, `user_id` or `workspace_id`. Valid field combinations are `[ workspace_id, ai_task_id ]` and `[ workspace_id, user_id ]`.
46
47
 
47
48
 
48
49
  ---
@@ -47,10 +47,12 @@ module Files
47
47
  # Parameters:
48
48
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
49
49
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
50
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`.
50
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id` and `workspace_id`.
51
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`, `user_id` or `workspace_id`. Valid field combinations are `[ workspace_id, ai_task_id ]` and `[ workspace_id, user_id ]`.
51
52
  def self.list(params = {}, options = {})
52
53
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
54
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
55
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
54
56
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
55
57
 
56
58
  List.new(ChatSession, params) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.664"
4
+ VERSION = "1.1.665"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.664
4
+ version: 1.1.665
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-28 00:00:00.000000000 Z
11
+ date: 2026-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable