files.com 1.1.248 → 1.1.249

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: a7a0d4ae2ef14b51cbaa2db633936546e2aad83ef4f3f9c7d3a954f00137d5eb
4
- data.tar.gz: b6eaeeef6c8b9591b1e08efd65a153fb4954481a0b59199aca714cf5c9fd1f51
3
+ metadata.gz: 9c8a8fbeaf6eb6b2dba5c4e2e68b51ab04b2baee133313e41875b27f49a59116
4
+ data.tar.gz: 279bde364ccccc3d154593586776399866a7b19dfb2981ee37daa807ca62a080
5
5
  SHA512:
6
- metadata.gz: a3ebd733d8ff359f4253ebcf4b863f8a9d268ea53c92f6e9fe39aa09d21ce2a38a27971e36e56a66d7a2fa0176a4a5ed22c24db7b71a64fcfa17aced9d546d06
7
- data.tar.gz: d9b953f723438554603319812a47518870878401ad03540055046f2e1aba46db0a3fd56c1ff50c4b911f14686513a1b4614e8b5612bcaea2d0177d02620913f2
6
+ metadata.gz: 0c031988b53cd7aa7e53379c860c8b491147b6a62ef779187dde555c2f19c9ca158e95a98efd05c86f9c8fb75d32c21b912efc2035e2115841bc69227091bcac
7
+ data.tar.gz: 149fe93180d342471a59d58236e06e803e70d73725dc756e7a00615b7b189f6cc8503af9b82c90c372cac48496b7dfd83f51bc536edaa4d73a1def1f9dbe1eca
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.248
1
+ 1.1.249
@@ -41,12 +41,14 @@
41
41
 
42
42
  ```
43
43
  Files::AutomationRun.list(
44
+ user_id: 1,
44
45
  automation_id: 1
45
46
  )
46
47
  ```
47
48
 
48
49
  ### Parameters
49
50
 
51
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
50
52
  * `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.
51
53
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
54
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
@@ -42,11 +42,14 @@
42
42
  ## List Bundle Actions
43
43
 
44
44
  ```
45
- Files::BundleAction.list
45
+ Files::BundleAction.list(
46
+ user_id: 1
47
+ )
46
48
  ```
47
49
 
48
50
  ### Parameters
49
51
 
52
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
50
53
  * `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.
51
54
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
55
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -43,12 +43,14 @@
43
43
 
44
44
  ```
45
45
  Files::BundleRegistration.list(
46
+ user_id: 1,
46
47
  bundle_id: 1
47
48
  )
48
49
  ```
49
50
 
50
51
  ### Parameters
51
52
 
53
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
52
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.
53
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
@@ -35,6 +35,6 @@ Files::UserCipherUse.list(
35
35
 
36
36
  ### Parameters
37
37
 
38
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
38
+ * `user_id` (int64): User ID. If provided, will return uses for this user.
39
39
  * `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.
40
40
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -31,6 +31,6 @@ Files::UserSftpClientUse.list(
31
31
 
32
32
  ### Parameters
33
33
 
34
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
34
+ * `user_id` (int64): User ID. If provided, will return uses for this user.
35
35
  * `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.
36
36
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -75,12 +75,14 @@ module Files
75
75
  end
76
76
 
77
77
  # Parameters:
78
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
78
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.
79
80
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
81
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
81
82
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
82
83
  # automation_id (required) - int64 - ID of the associated Automation.
83
84
  def self.list(params = {}, options = {})
85
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
84
86
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
85
87
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
86
88
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -40,6 +40,7 @@ module Files
40
40
  end
41
41
 
42
42
  # Parameters:
43
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
43
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.
44
45
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
46
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -49,6 +50,7 @@ module Files
49
50
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
50
51
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
51
52
  def self.list(params = {}, options = {})
53
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
52
54
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
55
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
54
56
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -75,11 +75,13 @@ module Files
75
75
  end
76
76
 
77
77
  # Parameters:
78
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
78
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.
79
80
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
81
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
81
82
  # bundle_id - int64 - ID of the associated Bundle
82
83
  def self.list(params = {}, options = {})
84
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
83
85
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
84
86
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
85
87
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -45,7 +45,7 @@ module Files
45
45
  end
46
46
 
47
47
  # Parameters:
48
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
48
+ # user_id - int64 - User ID. If provided, will return uses for this user.
49
49
  # 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.
50
50
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
51
51
  def self.list(params = {}, options = {})
@@ -35,7 +35,7 @@ module Files
35
35
  end
36
36
 
37
37
  # Parameters:
38
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
38
+ # user_id - int64 - User ID. If provided, will return uses for this user.
39
39
  # 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.
40
40
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  def self.list(params = {}, options = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.248"
4
+ VERSION = "1.1.249"
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.248
4
+ version: 1.1.249
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-05-05 00:00:00.000000000 Z
11
+ date: 2025-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable