files.com 1.1.317 → 1.1.319

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: 3a1ce1b74cbc14695daacd10ec6b9160d54559a5e12d6f4dd25478257ba0b9f6
4
- data.tar.gz: 3af055495f8490b80ce292ca65da3ef3846fd732cdf7fdb87bf7ce2faa3adbd4
3
+ metadata.gz: 3e44642276ef2eb81c7c4370de945bde366a49a412ab4b2d6269285651e59c20
4
+ data.tar.gz: 102447aa8e59131bf07842ac56542e996ed4a956bc47f6c7226b847ee84d22ee
5
5
  SHA512:
6
- metadata.gz: 23f80b207e037518c5fb7129afffd6be226359d8579d70a1d7c33ae48beeb198bbdbf5923c15d6eb27c88b8e2224d4a564be739794f2f2605bb61dfd93a37534
7
- data.tar.gz: e5823ad38d322d682eb66ca7f8c1645acc4972de3de93752b1fdadc126d3a627810eab0332f85301daa3f623f252af9c7f5eb521dcdbea8113d946a6bcb9176e
6
+ metadata.gz: f7bde50a1eef60a79264355ac0716ef9967cfe5f0ccac623e482047d31ea512006d426fa45fced859fbf1b86494bd63c9e1233e6628bf9d556fb0ebc1662daaf
7
+ data.tar.gz: 11a186c5c79fc12c7c64bace8718b55d5a6f721b41179f80eeece6d696eee905875a6369478308e68048108e2c88a9dd19a64cb7ecf06240d8727f7da14db51b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.317
1
+ 1.1.319
data/docs/behavior.md CHANGED
@@ -44,7 +44,7 @@ Files::Behavior.list
44
44
  * `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.
45
45
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
46
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
47
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
47
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
48
48
 
49
49
 
50
50
  ---
@@ -75,7 +75,7 @@ Files::Behavior.list_for(path,
75
75
  * `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.
76
76
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
77
77
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
78
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
78
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
79
79
  * `path` (string): Required - Path to operate on.
80
80
  * `ancestor_behaviors` (boolean): If `true`, behaviors above this path are shown.
81
81
 
@@ -53,5 +53,5 @@ Files::BundleRegistration.list(
53
53
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
54
54
  * `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.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
56
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
57
57
  * `bundle_id` (int64): ID of the associated Bundle
data/docs/sync.md CHANGED
@@ -137,7 +137,6 @@ Files::Sync.create(
137
137
  dest_path: "example",
138
138
  src_remote_server_id: 1,
139
139
  dest_remote_server_id: 1,
140
- two_way: false,
141
140
  keep_after_copy: false,
142
141
  delete_empty_folders: false,
143
142
  disabled: false,
@@ -161,7 +160,6 @@ Files::Sync.create(
161
160
  * `dest_path` (string): Absolute destination path
162
161
  * `src_remote_server_id` (int64): Remote server ID for the source
163
162
  * `dest_remote_server_id` (int64): Remote server ID for the destination
164
- * `two_way` (boolean): Is this a two-way sync?
165
163
  * `keep_after_copy` (boolean): Keep files after copying?
166
164
  * `delete_empty_folders` (boolean): Delete empty folders after sync?
167
165
  * `disabled` (boolean): Is this sync disabled?
@@ -214,7 +212,6 @@ Files::Sync.update(id,
214
212
  dest_path: "example",
215
213
  src_remote_server_id: 1,
216
214
  dest_remote_server_id: 1,
217
- two_way: false,
218
215
  keep_after_copy: false,
219
216
  delete_empty_folders: false,
220
217
  disabled: false,
@@ -239,7 +236,6 @@ Files::Sync.update(id,
239
236
  * `dest_path` (string): Absolute destination path
240
237
  * `src_remote_server_id` (int64): Remote server ID for the source
241
238
  * `dest_remote_server_id` (int64): Remote server ID for the destination
242
- * `two_way` (boolean): Is this a two-way sync?
243
239
  * `keep_after_copy` (boolean): Keep files after copying?
244
240
  * `delete_empty_folders` (boolean): Delete empty folders after sync?
245
241
  * `disabled` (boolean): Is this sync disabled?
@@ -311,7 +307,6 @@ sync.update(
311
307
  dest_path: "example",
312
308
  src_remote_server_id: 1,
313
309
  dest_remote_server_id: 1,
314
- two_way: false,
315
310
  keep_after_copy: false,
316
311
  delete_empty_folders: false,
317
312
  disabled: false,
@@ -336,7 +331,6 @@ sync.update(
336
331
  * `dest_path` (string): Absolute destination path
337
332
  * `src_remote_server_id` (int64): Remote server ID for the source
338
333
  * `dest_remote_server_id` (int64): Remote server ID for the destination
339
- * `two_way` (boolean): Is this a two-way sync?
340
334
  * `keep_after_copy` (boolean): Keep files after copying?
341
335
  * `delete_empty_folders` (boolean): Delete empty folders after sync?
342
336
  * `disabled` (boolean): Is this sync disabled?
@@ -159,7 +159,7 @@ module Files
159
159
  # 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.
160
160
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
161
161
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
162
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
162
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
163
163
  def self.list(params = {}, options = {})
164
164
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
165
165
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -195,7 +195,7 @@ module Files
195
195
  # 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.
196
196
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
197
197
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
198
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
198
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
199
199
  # path (required) - string - Path to operate on.
200
200
  # ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
201
201
  def self.list_for(path, params = {}, options = {})
@@ -78,7 +78,7 @@ module Files
78
78
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
79
79
  # 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.
80
80
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
81
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
81
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
82
82
  # bundle_id - int64 - ID of the associated Bundle
83
83
  def self.list(params = {}, options = {})
84
84
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -273,7 +273,6 @@ module Files
273
273
  # dest_path - string - Absolute destination path
274
274
  # src_remote_server_id - int64 - Remote server ID for the source
275
275
  # dest_remote_server_id - int64 - Remote server ID for the destination
276
- # two_way - boolean - Is this a two-way sync?
277
276
  # keep_after_copy - boolean - Keep files after copying?
278
277
  # delete_empty_folders - boolean - Delete empty folders after sync?
279
278
  # disabled - boolean - Is this sync disabled?
@@ -376,7 +375,6 @@ module Files
376
375
  # dest_path - string - Absolute destination path
377
376
  # src_remote_server_id - int64 - Remote server ID for the source
378
377
  # dest_remote_server_id - int64 - Remote server ID for the destination
379
- # two_way - boolean - Is this a two-way sync?
380
378
  # keep_after_copy - boolean - Keep files after copying?
381
379
  # delete_empty_folders - boolean - Delete empty folders after sync?
382
380
  # disabled - boolean - Is this sync disabled?
@@ -439,7 +437,6 @@ module Files
439
437
  # dest_path - string - Absolute destination path
440
438
  # src_remote_server_id - int64 - Remote server ID for the source
441
439
  # dest_remote_server_id - int64 - Remote server ID for the destination
442
- # two_way - boolean - Is this a two-way sync?
443
440
  # keep_after_copy - boolean - Keep files after copying?
444
441
  # delete_empty_folders - boolean - Delete empty folders after sync?
445
442
  # disabled - boolean - Is this sync disabled?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.317"
4
+ VERSION = "1.1.319"
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.317
4
+ version: 1.1.319
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-13 00:00:00.000000000 Z
11
+ date: 2025-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable