files.com 1.0.57 → 1.0.62

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.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/api_key.md +4 -2
  4. data/docs/as2_key.md +4 -2
  5. data/docs/automation.md +4 -2
  6. data/docs/behavior.md +4 -2
  7. data/docs/bundle.md +6 -3
  8. data/docs/file.md +6 -3
  9. data/docs/file_action.md +6 -3
  10. data/docs/file_comment.md +4 -2
  11. data/docs/file_comment_reaction.md +2 -1
  12. data/docs/group.md +4 -2
  13. data/docs/group_user.md +4 -2
  14. data/docs/history_export.md +2 -1
  15. data/docs/lock.md +2 -1
  16. data/docs/message.md +4 -2
  17. data/docs/message_comment.md +4 -2
  18. data/docs/message_comment_reaction.md +2 -1
  19. data/docs/message_reaction.md +2 -1
  20. data/docs/notification.md +4 -2
  21. data/docs/project.md +4 -2
  22. data/docs/public_key.md +4 -2
  23. data/docs/remote_server.md +12 -2
  24. data/docs/request.md +2 -1
  25. data/docs/site.md +2 -2
  26. data/docs/sso_strategy.md +27 -1
  27. data/docs/style.md +4 -2
  28. data/docs/user.md +10 -5
  29. data/lib/files.com/models/api_key.rb +5 -5
  30. data/lib/files.com/models/as2_key.rb +5 -5
  31. data/lib/files.com/models/automation.rb +3 -3
  32. data/lib/files.com/models/behavior.rb +7 -6
  33. data/lib/files.com/models/bundle.rb +8 -8
  34. data/lib/files.com/models/dns_record.rb +2 -2
  35. data/lib/files.com/models/file.rb +9 -9
  36. data/lib/files.com/models/file_action.rb +6 -6
  37. data/lib/files.com/models/file_comment.rb +2 -2
  38. data/lib/files.com/models/file_comment_reaction.rb +2 -2
  39. data/lib/files.com/models/folder.rb +2 -2
  40. data/lib/files.com/models/group.rb +3 -3
  41. data/lib/files.com/models/group_user.rb +8 -8
  42. data/lib/files.com/models/history.rb +11 -11
  43. data/lib/files.com/models/history_export.rb +10 -10
  44. data/lib/files.com/models/invoice.rb +3 -3
  45. data/lib/files.com/models/ip_address.rb +2 -2
  46. data/lib/files.com/models/lock.rb +3 -3
  47. data/lib/files.com/models/message.rb +9 -9
  48. data/lib/files.com/models/message_comment.rb +6 -6
  49. data/lib/files.com/models/message_comment_reaction.rb +6 -6
  50. data/lib/files.com/models/message_reaction.rb +6 -6
  51. data/lib/files.com/models/notification.rb +7 -7
  52. data/lib/files.com/models/payment.rb +3 -3
  53. data/lib/files.com/models/permission.rb +5 -5
  54. data/lib/files.com/models/project.rb +3 -3
  55. data/lib/files.com/models/public_key.rb +5 -5
  56. data/lib/files.com/models/remote_server.rb +24 -9
  57. data/lib/files.com/models/request.rb +7 -7
  58. data/lib/files.com/models/site.rb +13 -13
  59. data/lib/files.com/models/sso_strategy.rb +68 -3
  60. data/lib/files.com/models/usage_daily_snapshot.rb +2 -2
  61. data/lib/files.com/models/usage_snapshot.rb +2 -2
  62. data/lib/files.com/models/user.rb +15 -15
  63. data/lib/files.com/models/user_cipher_use.rb +3 -3
  64. metadata +2 -2
@@ -101,7 +101,8 @@ Files::Request.delete(id)
101
101
  ## List Requests
102
102
 
103
103
  ```
104
- request = Files::Request.find(1)
104
+ request = Files::Request.list_for(path).first
105
+
105
106
  request.folders(
106
107
  page: 1,
107
108
  per_page: 1,
@@ -262,7 +262,7 @@ Files::Site.update(
262
262
  desktop_app_session_lifetime: 1,
263
263
  folder_permissions_groups_only: true,
264
264
  welcome_screen: "user_controlled",
265
- session_expiry: 6.0,
265
+ session_expiry: 1.0,
266
266
  ssl_required: true,
267
267
  tls_disabled: true,
268
268
  user_lockout: true,
@@ -349,7 +349,7 @@ Files::Site.update(
349
349
  * `desktop_app_session_lifetime` (int64): Desktop app session lifetime (in hours)
350
350
  * `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
351
351
  * `welcome_screen` (string): Does the welcome screen appear?
352
- * `session_expiry` (number): Session expiry in hours
352
+ * `session_expiry` (double): Session expiry in hours
353
353
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
354
354
  * `tls_disabled` (boolean): Is TLS disabled(site setting)?
355
355
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
@@ -26,8 +26,21 @@
26
26
  "provision_attachments_permission": true,
27
27
  "provision_dav_permission": true,
28
28
  "provision_ftp_permission": true,
29
+ "provision_group_action": "disabled",
29
30
  "provision_sftp_permission": true,
30
- "provision_time_zone": "Eastern Time (US & Canada)"
31
+ "provision_time_zone": "Eastern Time (US & Canada)",
32
+ "provision_user_action": "disabled",
33
+ "ldap_base_dn": "",
34
+ "ldap_domain": "mysite.com",
35
+ "enabled": true,
36
+ "ldap_host": "ldap.site.com",
37
+ "ldap_host_2": "ldap2.site.com",
38
+ "ldap_host_3": "ldap3.site.com",
39
+ "ldap_port": 1,
40
+ "ldap_secure": true,
41
+ "ldap_user_include_groups": "",
42
+ "ldap_username": "[ldap username]",
43
+ "ldap_username_field": "sAMAccountName"
31
44
  }
32
45
  ```
33
46
 
@@ -53,8 +66,21 @@
53
66
  * `provision_attachments_permission` (boolean): Auto-provisioned users get Sharing permission?
54
67
  * `provision_dav_permission` (boolean): Auto-provisioned users get WebDAV permission?
55
68
  * `provision_ftp_permission` (boolean): Auto-provisioned users get FTP permission?
69
+ * `provision_group_action` (string): Should we sync groups from this strategy?
56
70
  * `provision_sftp_permission` (boolean): Auto-provisioned users get SFTP permission?
57
71
  * `provision_time_zone` (string): Default time zone for auto provisioned users.
72
+ * `provision_user_action` (string): Should we sync users from this strategy?
73
+ * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
74
+ * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
75
+ * `enabled` (boolean): Is strategy enabled?
76
+ * `ldap_host` (string): LDAP host
77
+ * `ldap_host_2` (string): LDAP backup host
78
+ * `ldap_host_3` (string): LDAP backup host
79
+ * `ldap_port` (int64): LDAP port
80
+ * `ldap_secure` (boolean): Use secure LDAP?
81
+ * `ldap_user_include_groups` (string): Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
82
+ * `ldap_username` (string): Username for signing in to LDAP server.
83
+ * `ldap_username_field` (string): LDAP username field
58
84
 
59
85
 
60
86
  ---
@@ -65,7 +65,8 @@ Files::Style.delete(path)
65
65
  ## Update Style
66
66
 
67
67
  ```
68
- style = Files::Style.find(1)
68
+ style = Files::Style.list_for(path).first
69
+
69
70
  style.update(
70
71
  file: "file"
71
72
  )
@@ -82,7 +83,8 @@ style.update(
82
83
  ## Delete Style
83
84
 
84
85
  ```
85
- style = Files::Style.find(1)
86
+ style = Files::Style.list_for(path).first
87
+
86
88
  style.delete
87
89
  ```
88
90
 
@@ -371,7 +371,8 @@ Files::User.delete(id)
371
371
  ## Unlock user who has been locked out due to failed logins
372
372
 
373
373
  ```
374
- user = Files::User.find(1)
374
+ user = Files::User.list_for(path).first
375
+
375
376
  user.unlock
376
377
  ```
377
378
 
@@ -385,7 +386,8 @@ user.unlock
385
386
  ## Resend user welcome email
386
387
 
387
388
  ```
388
- user = Files::User.find(1)
389
+ user = Files::User.list_for(path).first
390
+
389
391
  user.resend_welcome_email
390
392
  ```
391
393
 
@@ -399,7 +401,8 @@ user.resend_welcome_email
399
401
  ## Trigger 2FA Reset process for user who has lost access to their existing 2FA methods
400
402
 
401
403
  ```
402
- user = Files::User.find(1)
404
+ user = Files::User.list_for(path).first
405
+
403
406
  user.user_2fa_reset
404
407
  ```
405
408
 
@@ -413,7 +416,8 @@ user.user_2fa_reset
413
416
  ## Update User
414
417
 
415
418
  ```
416
- user = Files::User.find(1)
419
+ user = Files::User.list_for(path).first
420
+
417
421
  user.update(
418
422
  avatar_delete: true,
419
423
  email: "john.doe@files.com",
@@ -498,7 +502,8 @@ user.update(
498
502
  ## Delete User
499
503
 
500
504
  ```
501
- user = Files::User.find(1)
505
+ user = Files::User.list_for(path).first
506
+
502
507
  user.delete
503
508
  ```
504
509
 
@@ -136,9 +136,9 @@ module Files
136
136
  end
137
137
 
138
138
  # Parameters:
139
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
140
- # page - integer - Current page number.
141
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
139
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
140
+ # page - int64 - Current page number.
141
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
142
142
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
143
143
  def self.list(params = {}, options = {})
144
144
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -159,7 +159,7 @@ module Files
159
159
  end
160
160
 
161
161
  # Parameters:
162
- # id (required) - integer - Api Key ID.
162
+ # id (required) - int64 - Api Key ID.
163
163
  def self.find(id, params = {}, options = {})
164
164
  params ||= {}
165
165
  params[:id] = id
@@ -175,7 +175,7 @@ module Files
175
175
  end
176
176
 
177
177
  # Parameters:
178
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
178
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
179
179
  # name - string - Internal name for key. For your reference only.
180
180
  # permission_set - string - Leave blank, or set to 'desktop_app' to restrict the key to only desktop app functions.
181
181
  # expires_at - string - Have the key expire at this date/time.
@@ -97,9 +97,9 @@ module Files
97
97
  end
98
98
 
99
99
  # Parameters:
100
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
101
- # page - integer - Current page number.
102
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
100
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
101
+ # page - int64 - Current page number.
102
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
103
103
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
104
104
  def self.list(params = {}, options = {})
105
105
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -115,7 +115,7 @@ module Files
115
115
  end
116
116
 
117
117
  # Parameters:
118
- # id (required) - integer - As2 Key ID.
118
+ # id (required) - int64 - As2 Key ID.
119
119
  def self.find(id, params = {}, options = {})
120
120
  params ||= {}
121
121
  params[:id] = id
@@ -131,7 +131,7 @@ module Files
131
131
  end
132
132
 
133
133
  # Parameters:
134
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
134
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
135
135
  # as2_partnership_name (required) - string - AS2 Partnership Name
136
136
  # public_key (required) - string - Actual contents of Public key.
137
137
  def self.create(params = {}, options = {})
@@ -180,8 +180,8 @@ module Files
180
180
  end
181
181
 
182
182
  # Parameters:
183
- # page - integer - Current page number.
184
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
183
+ # page - int64 - Current page number.
184
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
185
185
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
186
186
  # automation - string - Type of automation to filter by.
187
187
  def self.list(params = {}, options = {})
@@ -198,7 +198,7 @@ module Files
198
198
  end
199
199
 
200
200
  # Parameters:
201
- # id (required) - integer - Automation ID.
201
+ # id (required) - int64 - Automation ID.
202
202
  def self.find(id, params = {}, options = {})
203
203
  params ||= {}
204
204
  params[:id] = id
@@ -101,8 +101,8 @@ module Files
101
101
  end
102
102
 
103
103
  # Parameters:
104
- # page - integer - Current page number.
105
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
104
+ # page - int64 - Current page number.
105
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
106
106
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
107
107
  # behavior - string - If set, only shows folder behaviors matching this behavior type.
108
108
  def self.list(params = {}, options = {})
@@ -119,8 +119,8 @@ module Files
119
119
  end
120
120
 
121
121
  # Parameters:
122
- # page - integer - Current page number.
123
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
122
+ # page - int64 - Current page number.
123
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
124
124
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
125
125
  # path (required) - string - Path to operate on.
126
126
  # recursive - string - Show behaviors below this path?
@@ -140,7 +140,7 @@ module Files
140
140
  end
141
141
 
142
142
  # Parameters:
143
- # id (required) - integer - Behavior ID.
143
+ # id (required) - int64 - Behavior ID.
144
144
  def self.find(id, params = {}, options = {})
145
145
  params ||= {}
146
146
  params[:id] = id
@@ -191,8 +191,9 @@ module Files
191
191
  def self.update(id, params = {}, options = {})
192
192
  params ||= {}
193
193
  params[:id] = id
194
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
194
+ raise InvalidParameterError.new("Bad parameter: id must be one of String, Integer, Hash") if params.dig(:id) and [String, Integer, Hash].none? { |klass| params.dig(:id).is_a?(klass) }
195
195
  raise InvalidParameterError.new("Bad parameter: value must be an String") if params.dig(:value) and !params.dig(:value).is_a?(String)
196
+ raise InvalidParameterError.new("Bad parameter: attachment_file must be one of String, Integer, Hash") if params.dig(:attachment_file) and [String, Integer, Hash].none? { |klass| params.dig(:attachment_file).is_a?(klass) }
196
197
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
197
198
 
198
199
  response, options = Api.send_request("/behaviors/#{params[:id]}", :patch, params, options)
@@ -116,7 +116,7 @@ module Files
116
116
  # Send email(s) with a link to bundle
117
117
  #
118
118
  # Parameters:
119
- # to (required) - array - A list of email addresses to share this bundle with.
119
+ # to (required) - array(string) - A list of email addresses to share this bundle with.
120
120
  # note - string - Note to include in email.
121
121
  def share(params = {})
122
122
  params ||= {}
@@ -176,9 +176,9 @@ module Files
176
176
  end
177
177
 
178
178
  # Parameters:
179
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
180
- # page - integer - Current page number.
181
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
179
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
180
+ # page - int64 - Current page number.
181
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
182
182
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
183
183
  def self.list(params = {}, options = {})
184
184
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -194,7 +194,7 @@ module Files
194
194
  end
195
195
 
196
196
  # Parameters:
197
- # id (required) - integer - Bundle ID.
197
+ # id (required) - int64 - Bundle ID.
198
198
  def self.find(id, params = {}, options = {})
199
199
  params ||= {}
200
200
  params[:id] = id
@@ -210,8 +210,8 @@ module Files
210
210
  end
211
211
 
212
212
  # Parameters:
213
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
214
- # paths (required) - array - A list of paths to include in this bundle.
213
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
214
+ # paths (required) - array(string) - A list of paths to include in this bundle.
215
215
  # password - string - Password for this bundle.
216
216
  # expires_at - string - Bundle expiration date/time
217
217
  # description - string - Public description
@@ -234,7 +234,7 @@ module Files
234
234
  # Send email(s) with a link to bundle
235
235
  #
236
236
  # Parameters:
237
- # to (required) - array - A list of email addresses to share this bundle with.
237
+ # to (required) - array(string) - A list of email addresses to share this bundle with.
238
238
  # note - string - Note to include in email.
239
239
  def self.share(id, params = {}, options = {})
240
240
  params ||= {}
@@ -30,8 +30,8 @@ module Files
30
30
  end
31
31
 
32
32
  # Parameters:
33
- # page - integer - Current page number.
34
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
33
+ # page - int64 - Current page number.
34
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
35
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
36
36
  def self.list(params = {}, options = {})
37
37
  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
@@ -825,7 +825,7 @@ module Files
825
825
  #
826
826
  # Parameters:
827
827
  # action - string - Can be blank, `redirect` or `stat`. If set to `stat`, we will return file information but without a download URL, and without logging a download. If set to `redirect` we will serve a 302 redirect directly to the file. This is used for integrations with Zapier, and is not recommended for most integrations.
828
- # id - integer - If provided, lookup the file by id instead of path.
828
+ # id - int64 - If provided, lookup the file by id instead of path.
829
829
  # with_previews - boolean - Include file preview information?
830
830
  # with_priority_color - boolean - Include file priority color information?
831
831
  def download(params = {})
@@ -884,7 +884,7 @@ module Files
884
884
  #
885
885
  # Parameters:
886
886
  # action - string - Can be blank, `redirect` or `stat`. If set to `stat`, we will return file information but without a download URL, and without logging a download. If set to `redirect` we will serve a 302 redirect directly to the file. This is used for integrations with Zapier, and is not recommended for most integrations.
887
- # id - integer - If provided, lookup the file by id instead of path.
887
+ # id - int64 - If provided, lookup the file by id instead of path.
888
888
  # with_previews - boolean - Include file preview information?
889
889
  # with_priority_color - boolean - Include file priority color information?
890
890
  def self.download(path, params = {}, options = {})
@@ -902,16 +902,16 @@ module Files
902
902
  # Parameters:
903
903
  # path (required) - string - Path to operate on.
904
904
  # action - string - The action to perform. Can be `append`, `attachment`, `end`, `upload`, `put`, or may not exist
905
- # etags[etag] (required) - array - etag identifier.
906
- # etags[part] (required) - array - Part number.
907
- # length - integer - Length of file.
905
+ # etags[etag] (required) - array(string) - etag identifier.
906
+ # etags[part] (required) - array(int64) - Part number.
907
+ # length - int64 - Length of file.
908
908
  # mkdir_parents - boolean - Create parent directories if they do not exist?
909
- # part - integer - Part if uploading a part.
910
- # parts - integer - How many parts to fetch?
909
+ # part - int64 - Part if uploading a part.
910
+ # parts - int64 - How many parts to fetch?
911
911
  # provided_mtime - string - User provided modification time.
912
912
  # ref - string -
913
- # restart - integer - File byte offset to restart from.
914
- # size - integer - Size of file.
913
+ # restart - int64 - File byte offset to restart from.
914
+ # size - int64 - Size of file.
915
915
  # structure - string - If copying folder, copy just the structure?
916
916
  # with_rename - boolean - Allow file rename instead of overwrite?
917
917
  def self.create(path, params = {}, options = {})
@@ -45,10 +45,10 @@ module Files
45
45
  #
46
46
  # Parameters:
47
47
  # mkdir_parents - boolean - Create parent directories if they do not exist?
48
- # part - integer - Part if uploading a part.
49
- # parts - integer - How many parts to fetch?
48
+ # part - int64 - Part if uploading a part.
49
+ # parts - int64 - How many parts to fetch?
50
50
  # ref - string -
51
- # restart - integer - File byte offset to restart from.
51
+ # restart - int64 - File byte offset to restart from.
52
52
  # with_rename - boolean - Allow file rename instead of overwrite?
53
53
  def begin_upload(params = {})
54
54
  params ||= {}
@@ -100,10 +100,10 @@ module Files
100
100
  #
101
101
  # Parameters:
102
102
  # mkdir_parents - boolean - Create parent directories if they do not exist?
103
- # part - integer - Part if uploading a part.
104
- # parts - integer - How many parts to fetch?
103
+ # part - int64 - Part if uploading a part.
104
+ # parts - int64 - How many parts to fetch?
105
105
  # ref - string -
106
- # restart - integer - File byte offset to restart from.
106
+ # restart - int64 - File byte offset to restart from.
107
107
  # with_rename - boolean - Allow file rename instead of overwrite?
108
108
  def self.begin_upload(path, params = {}, options = {})
109
109
  params ||= {}
@@ -83,8 +83,8 @@ module Files
83
83
  end
84
84
 
85
85
  # Parameters:
86
- # page - integer - Current page number.
87
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
86
+ # page - int64 - Current page number.
87
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
88
88
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
89
89
  # path (required) - string - Path to operate on.
90
90
  def self.list_for(path, params = {}, options = {})
@@ -69,8 +69,8 @@ module Files
69
69
  end
70
70
 
71
71
  # Parameters:
72
- # user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
73
- # file_comment_id (required) - integer - ID of file comment to attach reaction to.
72
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
73
+ # file_comment_id (required) - int64 - ID of file comment to attach reaction to.
74
74
  # emoji (required) - string - Emoji to react with.
75
75
  def self.create(params = {}, options = {})
76
76
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -312,8 +312,8 @@ module Files
312
312
  end
313
313
 
314
314
  # Parameters:
315
- # page - integer - Current page number.
316
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
315
+ # page - int64 - Current page number.
316
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
317
317
  # action - string - Action to take. Can be `count`, `count_nrs` (non recursive), `size`, `permissions`, or blank.
318
318
  # path (required) - string - Path to operate on.
319
319
  # cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
@@ -106,8 +106,8 @@ module Files
106
106
  end
107
107
 
108
108
  # Parameters:
109
- # page - integer - Current page number.
110
- # per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
109
+ # page - int64 - Current page number.
110
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
111
111
  # action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
112
112
  # ids - string - Comma-separated list of group ids to include in results.
113
113
  def self.list(params = {}, options = {})
@@ -124,7 +124,7 @@ module Files
124
124
  end
125
125
 
126
126
  # Parameters:
127
- # id (required) - integer - Group ID.
127
+ # id (required) - int64 - Group ID.
128
128
  def self.find(id, params = {}, options = {})
129
129
  params ||= {}
130
130
  params[:id] = id