files.com 1.0.54 → 1.0.59
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 +4 -4
 - data/_VERSION +1 -1
 - data/docs/bundle.md +54 -5
 - data/docs/remote_server.md +8 -0
 - data/docs/site.md +2 -2
 - data/docs/sso_strategy.md +4 -0
 - data/lib/files.com/models/api_key.rb +5 -5
 - data/lib/files.com/models/as2_key.rb +5 -5
 - data/lib/files.com/models/automation.rb +3 -3
 - data/lib/files.com/models/behavior.rb +5 -5
 - data/lib/files.com/models/bundle.rb +54 -12
 - data/lib/files.com/models/dns_record.rb +2 -2
 - data/lib/files.com/models/file.rb +9 -9
 - data/lib/files.com/models/file_action.rb +6 -6
 - data/lib/files.com/models/file_comment.rb +2 -2
 - data/lib/files.com/models/file_comment_reaction.rb +2 -2
 - data/lib/files.com/models/folder.rb +2 -2
 - data/lib/files.com/models/group.rb +3 -3
 - data/lib/files.com/models/group_user.rb +8 -8
 - data/lib/files.com/models/history.rb +11 -11
 - data/lib/files.com/models/history_export.rb +10 -10
 - data/lib/files.com/models/invoice.rb +3 -3
 - data/lib/files.com/models/ip_address.rb +2 -2
 - data/lib/files.com/models/lock.rb +3 -3
 - data/lib/files.com/models/message.rb +9 -9
 - data/lib/files.com/models/message_comment.rb +6 -6
 - data/lib/files.com/models/message_comment_reaction.rb +6 -6
 - data/lib/files.com/models/message_reaction.rb +6 -6
 - data/lib/files.com/models/notification.rb +7 -7
 - data/lib/files.com/models/payment.rb +3 -3
 - data/lib/files.com/models/permission.rb +5 -5
 - data/lib/files.com/models/project.rb +3 -3
 - data/lib/files.com/models/public_key.rb +5 -5
 - data/lib/files.com/models/remote_server.rb +24 -9
 - data/lib/files.com/models/request.rb +7 -7
 - data/lib/files.com/models/site.rb +13 -13
 - data/lib/files.com/models/sso_strategy.rb +13 -3
 - data/lib/files.com/models/usage_daily_snapshot.rb +2 -2
 - data/lib/files.com/models/usage_snapshot.rb +2 -2
 - data/lib/files.com/models/user.rb +15 -15
 - data/lib/files.com/models/user_cipher_use.rb +3 -3
 - metadata +2 -2
 
| 
         @@ -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 -  
     | 
| 
       49 
     | 
    
         
            -
                #   parts -  
     | 
| 
      
 48 
     | 
    
         
            +
                #   part - int64 - Part if uploading a part.
         
     | 
| 
      
 49 
     | 
    
         
            +
                #   parts - int64 - How many parts to fetch?
         
     | 
| 
       50 
50 
     | 
    
         
             
                #   ref - string -
         
     | 
| 
       51 
     | 
    
         
            -
                #   restart -  
     | 
| 
      
 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 -  
     | 
| 
       104 
     | 
    
         
            -
                #   parts -  
     | 
| 
      
 103 
     | 
    
         
            +
                #   part - int64 - Part if uploading a part.
         
     | 
| 
      
 104 
     | 
    
         
            +
                #   parts - int64 - How many parts to fetch?
         
     | 
| 
       105 
105 
     | 
    
         
             
                #   ref - string -
         
     | 
| 
       106 
     | 
    
         
            -
                #   restart -  
     | 
| 
      
 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 -  
     | 
| 
       87 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 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 -  
     | 
| 
       73 
     | 
    
         
            -
                #   file_comment_id (required) -  
     | 
| 
      
 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 -  
     | 
| 
       316 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 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 -  
     | 
| 
       110 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 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) -  
     | 
| 
      
 127 
     | 
    
         
            +
                #   id (required) - int64 - Group ID.
         
     | 
| 
       128 
128 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       129 
129 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       130 
130 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -64,8 +64,8 @@ module Files 
     | 
|
| 
       64 
64 
     | 
    
         
             
                end
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       67 
     | 
    
         
            -
                #   group_id (required) -  
     | 
| 
       68 
     | 
    
         
            -
                #   user_id (required) -  
     | 
| 
      
 67 
     | 
    
         
            +
                #   group_id (required) - int64 - Group ID to add user to.
         
     | 
| 
      
 68 
     | 
    
         
            +
                #   user_id (required) - int64 - User ID to add to group.
         
     | 
| 
       69 
69 
     | 
    
         
             
                #   admin - boolean - Is the user a group administrator?
         
     | 
| 
       70 
70 
     | 
    
         
             
                def update(params = {})
         
     | 
| 
       71 
71 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
         @@ -100,11 +100,11 @@ module Files 
     | 
|
| 
       100 
100 
     | 
    
         
             
                end
         
     | 
| 
       101 
101 
     | 
    
         | 
| 
       102 
102 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       103 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       104 
     | 
    
         
            -
                #   page -  
     | 
| 
       105 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 103 
     | 
    
         
            +
                #   user_id - int64 - User ID.  If provided, will return groups of which this user is a member.
         
     | 
| 
      
 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 
     | 
    
         
            -
                #   group_id -  
     | 
| 
      
 107 
     | 
    
         
            +
                #   group_id - int64 - Group ID.  If provided, will return members of this group.
         
     | 
| 
       108 
108 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       109 
109 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       110 
110 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -120,8 +120,8 @@ module Files 
     | 
|
| 
       120 
120 
     | 
    
         
             
                end
         
     | 
| 
       121 
121 
     | 
    
         | 
| 
       122 
122 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       123 
     | 
    
         
            -
                #   group_id (required) -  
     | 
| 
       124 
     | 
    
         
            -
                #   user_id (required) -  
     | 
| 
      
 123 
     | 
    
         
            +
                #   group_id (required) - int64 - Group ID to add user to.
         
     | 
| 
      
 124 
     | 
    
         
            +
                #   user_id (required) - int64 - User ID to add to group.
         
     | 
| 
       125 
125 
     | 
    
         
             
                #   admin - boolean - Is the user a group administrator?
         
     | 
| 
       126 
126 
     | 
    
         
             
                def self.update(id, params = {}, options = {})
         
     | 
| 
       127 
127 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
         @@ -78,8 +78,8 @@ module Files 
     | 
|
| 
       78 
78 
     | 
    
         
             
                #   start_at - string - Leave blank or set to a date/time to filter earlier entries.
         
     | 
| 
       79 
79 
     | 
    
         
             
                #   end_at - string - Leave blank or set to a date/time to filter later entries.
         
     | 
| 
       80 
80 
     | 
    
         
             
                #   display - string - Display format. Leave blank or set to `full` or `parent`.
         
     | 
| 
       81 
     | 
    
         
            -
                #   page -  
     | 
| 
       82 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 81 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 82 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       83 
83 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       84 
84 
     | 
    
         
             
                #   path (required) - string - Path to operate on.
         
     | 
| 
       85 
85 
     | 
    
         
             
                def self.list_for_file(path, params = {}, options = {})
         
     | 
| 
         @@ -101,8 +101,8 @@ module Files 
     | 
|
| 
       101 
101 
     | 
    
         
             
                #   start_at - string - Leave blank or set to a date/time to filter earlier entries.
         
     | 
| 
       102 
102 
     | 
    
         
             
                #   end_at - string - Leave blank or set to a date/time to filter later entries.
         
     | 
| 
       103 
103 
     | 
    
         
             
                #   display - string - Display format. Leave blank or set to `full` or `parent`.
         
     | 
| 
       104 
     | 
    
         
            -
                #   page -  
     | 
| 
       105 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 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 
     | 
    
         
             
                #   path (required) - string - Path to operate on.
         
     | 
| 
       108 
108 
     | 
    
         
             
                def self.list_for_folder(path, params = {}, options = {})
         
     | 
| 
         @@ -124,10 +124,10 @@ module Files 
     | 
|
| 
       124 
124 
     | 
    
         
             
                #   start_at - string - Leave blank or set to a date/time to filter earlier entries.
         
     | 
| 
       125 
125 
     | 
    
         
             
                #   end_at - string - Leave blank or set to a date/time to filter later entries.
         
     | 
| 
       126 
126 
     | 
    
         
             
                #   display - string - Display format. Leave blank or set to `full` or `parent`.
         
     | 
| 
       127 
     | 
    
         
            -
                #   page -  
     | 
| 
       128 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 127 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 128 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       129 
129 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       130 
     | 
    
         
            -
                #   user_id (required) -  
     | 
| 
      
 130 
     | 
    
         
            +
                #   user_id (required) - int64 - User ID.
         
     | 
| 
       131 
131 
     | 
    
         
             
                def self.list_for_user(user_id, params = {}, options = {})
         
     | 
| 
       132 
132 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       133 
133 
     | 
    
         
             
                  params[:user_id] = user_id
         
     | 
| 
         @@ -147,8 +147,8 @@ module Files 
     | 
|
| 
       147 
147 
     | 
    
         
             
                #   start_at - string - Leave blank or set to a date/time to filter earlier entries.
         
     | 
| 
       148 
148 
     | 
    
         
             
                #   end_at - string - Leave blank or set to a date/time to filter later entries.
         
     | 
| 
       149 
149 
     | 
    
         
             
                #   display - string - Display format. Leave blank or set to `full` or `parent`.
         
     | 
| 
       150 
     | 
    
         
            -
                #   page -  
     | 
| 
       151 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 150 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 151 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       152 
152 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       153 
153 
     | 
    
         
             
                def self.list_logins(params = {}, options = {})
         
     | 
| 
       154 
154 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params.dig(:start_at) and !params.dig(:start_at).is_a?(String)
         
     | 
| 
         @@ -165,8 +165,8 @@ module Files 
     | 
|
| 
       165 
165 
     | 
    
         
             
                #   start_at - string - Leave blank or set to a date/time to filter earlier entries.
         
     | 
| 
       166 
166 
     | 
    
         
             
                #   end_at - string - Leave blank or set to a date/time to filter later entries.
         
     | 
| 
       167 
167 
     | 
    
         
             
                #   display - string - Display format. Leave blank or set to `full` or `parent`.
         
     | 
| 
       168 
     | 
    
         
            -
                #   page -  
     | 
| 
       169 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 168 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 169 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       170 
170 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       171 
171 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       172 
172 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params.dig(:start_at) and !params.dig(:start_at).is_a?(String)
         
     | 
| 
         @@ -249,9 +249,9 @@ module Files 
     | 
|
| 
       249 
249 
     | 
    
         
             
                end
         
     | 
| 
       250 
250 
     | 
    
         | 
| 
       251 
251 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       252 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       253 
     | 
    
         
            -
                #   page -  
     | 
| 
       254 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 252 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 253 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 254 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       255 
255 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       256 
256 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       257 
257 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
         @@ -267,7 +267,7 @@ module Files 
     | 
|
| 
       267 
267 
     | 
    
         
             
                end
         
     | 
| 
       268 
268 
     | 
    
         | 
| 
       269 
269 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       270 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 270 
     | 
    
         
            +
                #   id (required) - int64 - History Export ID.
         
     | 
| 
       271 
271 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       272 
272 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       273 
273 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -283,14 +283,14 @@ module Files 
     | 
|
| 
       283 
283 
     | 
    
         
             
                end
         
     | 
| 
       284 
284 
     | 
    
         | 
| 
       285 
285 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       286 
     | 
    
         
            -
                #   user_id -  
     | 
| 
      
 286 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
       287 
287 
     | 
    
         
             
                #   start_at - string - Start date/time of export range.
         
     | 
| 
       288 
288 
     | 
    
         
             
                #   end_at - string - End date/time of export range.
         
     | 
| 
       289 
289 
     | 
    
         
             
                #   query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
         
     | 
| 
       290 
290 
     | 
    
         
             
                #   query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`
         
     | 
| 
       291 
     | 
    
         
            -
                #   query_user_id -  
     | 
| 
       292 
     | 
    
         
            -
                #   query_file_id -  
     | 
| 
       293 
     | 
    
         
            -
                #   query_parent_id -  
     | 
| 
      
 291 
     | 
    
         
            +
                #   query_user_id - int64 - Return results that are actions performed by the user indiciated by this User ID
         
     | 
| 
      
 292 
     | 
    
         
            +
                #   query_file_id - int64 - Return results that are file actions related to the file indicated by this File ID
         
     | 
| 
      
 293 
     | 
    
         
            +
                #   query_parent_id - int64 - Return results that are file actions inside the parent folder specified by this folder ID
         
     | 
| 
       294 
294 
     | 
    
         
             
                #   query_path - string - Return results that are file actions related to this path.
         
     | 
| 
       295 
295 
     | 
    
         
             
                #   query_folder - string - Return results that are file actions related to files or folders inside this folder path.
         
     | 
| 
       296 
296 
     | 
    
         
             
                #   query_src - string - Return results that are file moves originating from this path.
         
     | 
| 
         @@ -298,10 +298,10 @@ module Files 
     | 
|
| 
       298 
298 
     | 
    
         
             
                #   query_ip - string - Filter results by this IP address.
         
     | 
| 
       299 
299 
     | 
    
         
             
                #   query_username - string - Filter results by this username.
         
     | 
| 
       300 
300 
     | 
    
         
             
                #   query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type.  Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`
         
     | 
| 
       301 
     | 
    
         
            -
                #   query_target_id -  
     | 
| 
      
 301 
     | 
    
         
            +
                #   query_target_id - int64 - If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
         
     | 
| 
       302 
302 
     | 
    
         
             
                #   query_target_name - string - If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
         
     | 
| 
       303 
303 
     | 
    
         
             
                #   query_target_permission - string - If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
         
     | 
| 
       304 
     | 
    
         
            -
                #   query_target_user_id -  
     | 
| 
      
 304 
     | 
    
         
            +
                #   query_target_user_id - int64 - If searching for Histories about API keys, this parameter restricts results to API keys created by/for this user ID.
         
     | 
| 
       305 
305 
     | 
    
         
             
                #   query_target_username - string - If searching for Histories about API keys, this parameter restricts results to API keys created by/for this username.
         
     | 
| 
       306 
306 
     | 
    
         
             
                #   query_target_platform - string - If searching for Histories about API keys, this parameter restricts results to API keys associated with this platform.
         
     | 
| 
       307 
307 
     | 
    
         
             
                #   query_target_permission_set - string - If searching for Histories about API keys, this parameter restricts results to API keys with this permission set.
         
     | 
| 
         @@ -80,8 +80,8 @@ module Files 
     | 
|
| 
       80 
80 
     | 
    
         
             
                end
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
82 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       83 
     | 
    
         
            -
                #   page -  
     | 
| 
       84 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 83 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 84 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       85 
85 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       86 
86 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       87 
87 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -96,7 +96,7 @@ module Files 
     | 
|
| 
       96 
96 
     | 
    
         
             
                end
         
     | 
| 
       97 
97 
     | 
    
         | 
| 
       98 
98 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       99 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 99 
     | 
    
         
            +
                #   id (required) - int64 - Invoice ID.
         
     | 
| 
       100 
100 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       101 
101 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       102 
102 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -30,8 +30,8 @@ module Files 
     | 
|
| 
       30 
30 
     | 
    
         
             
                end
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       33 
     | 
    
         
            -
                #   page -  
     | 
| 
       34 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 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)
         
     | 
| 
         @@ -118,8 +118,8 @@ module Files 
     | 
|
| 
       118 
118 
     | 
    
         
             
                end
         
     | 
| 
       119 
119 
     | 
    
         | 
| 
       120 
120 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       121 
     | 
    
         
            -
                #   page -  
     | 
| 
       122 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 121 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 122 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       123 
123 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       124 
124 
     | 
    
         
             
                #   path (required) - string - Path to operate on.
         
     | 
| 
       125 
125 
     | 
    
         
             
                #   include_children - boolean - Include locks from children objects?
         
     | 
| 
         @@ -137,7 +137,7 @@ module Files 
     | 
|
| 
       137 
137 
     | 
    
         | 
| 
       138 
138 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       139 
139 
     | 
    
         
             
                #   path (required) - string - Path
         
     | 
| 
       140 
     | 
    
         
            -
                #   timeout -  
     | 
| 
      
 140 
     | 
    
         
            +
                #   timeout - int64 - Lock timeout length
         
     | 
| 
       141 
141 
     | 
    
         
             
                def self.create(path, params = {}, options = {})
         
     | 
| 
       142 
142 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       143 
143 
     | 
    
         
             
                  params[:path] = path
         
     | 
| 
         @@ -64,7 +64,7 @@ module Files 
     | 
|
| 
       64 
64 
     | 
    
         
             
                end
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       67 
     | 
    
         
            -
                #   project_id (required) -  
     | 
| 
      
 67 
     | 
    
         
            +
                #   project_id (required) - int64 - Project to attach the message to.
         
     | 
| 
       68 
68 
     | 
    
         
             
                #   subject (required) - string - Message subject.
         
     | 
| 
       69 
69 
     | 
    
         
             
                #   body (required) - string - Message body.
         
     | 
| 
       70 
70 
     | 
    
         
             
                def update(params = {})
         
     | 
| 
         @@ -107,11 +107,11 @@ module Files 
     | 
|
| 
       107 
107 
     | 
    
         
             
                end
         
     | 
| 
       108 
108 
     | 
    
         | 
| 
       109 
109 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       110 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       111 
     | 
    
         
            -
                #   page -  
     | 
| 
       112 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 110 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 111 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 112 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       113 
113 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       114 
     | 
    
         
            -
                #   project_id (required) -  
     | 
| 
      
 114 
     | 
    
         
            +
                #   project_id (required) - int64 - Project to return messages for.
         
     | 
| 
       115 
115 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       116 
116 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       117 
117 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -128,7 +128,7 @@ module Files 
     | 
|
| 
       128 
128 
     | 
    
         
             
                end
         
     | 
| 
       129 
129 
     | 
    
         | 
| 
       130 
130 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       131 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 131 
     | 
    
         
            +
                #   id (required) - int64 - Message ID.
         
     | 
| 
       132 
132 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       133 
133 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       134 
134 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -144,8 +144,8 @@ module Files 
     | 
|
| 
       144 
144 
     | 
    
         
             
                end
         
     | 
| 
       145 
145 
     | 
    
         | 
| 
       146 
146 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       147 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       148 
     | 
    
         
            -
                #   project_id (required) -  
     | 
| 
      
 147 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 148 
     | 
    
         
            +
                #   project_id (required) - int64 - Project to attach the message to.
         
     | 
| 
       149 
149 
     | 
    
         
             
                #   subject (required) - string - Message subject.
         
     | 
| 
       150 
150 
     | 
    
         
             
                #   body (required) - string - Message body.
         
     | 
| 
       151 
151 
     | 
    
         
             
                def self.create(params = {}, options = {})
         
     | 
| 
         @@ -162,7 +162,7 @@ module Files 
     | 
|
| 
       162 
162 
     | 
    
         
             
                end
         
     | 
| 
       163 
163 
     | 
    
         | 
| 
       164 
164 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       165 
     | 
    
         
            -
                #   project_id (required) -  
     | 
| 
      
 165 
     | 
    
         
            +
                #   project_id (required) - int64 - Project to attach the message to.
         
     | 
| 
       166 
166 
     | 
    
         
             
                #   subject (required) - string - Message subject.
         
     | 
| 
       167 
167 
     | 
    
         
             
                #   body (required) - string - Message body.
         
     | 
| 
       168 
168 
     | 
    
         
             
                def self.update(id, params = {}, options = {})
         
     | 
| 
         @@ -83,11 +83,11 @@ module Files 
     | 
|
| 
       83 
83 
     | 
    
         
             
                end
         
     | 
| 
       84 
84 
     | 
    
         | 
| 
       85 
85 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       86 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       87 
     | 
    
         
            -
                #   page -  
     | 
| 
       88 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 86 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 87 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 88 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       89 
89 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       90 
     | 
    
         
            -
                #   message_id (required) -  
     | 
| 
      
 90 
     | 
    
         
            +
                #   message_id (required) - int64 - Message comment to return comments for.
         
     | 
| 
       91 
91 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       92 
92 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       93 
93 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -104,7 +104,7 @@ module Files 
     | 
|
| 
       104 
104 
     | 
    
         
             
                end
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
       106 
106 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       107 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 107 
     | 
    
         
            +
                #   id (required) - int64 - Message Comment ID.
         
     | 
| 
       108 
108 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       109 
109 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       110 
110 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -120,7 +120,7 @@ module Files 
     | 
|
| 
       120 
120 
     | 
    
         
             
                end
         
     | 
| 
       121 
121 
     | 
    
         | 
| 
       122 
122 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       123 
     | 
    
         
            -
                #   user_id -  
     | 
| 
      
 123 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
       124 
124 
     | 
    
         
             
                #   body (required) - string - Comment body.
         
     | 
| 
       125 
125 
     | 
    
         
             
                def self.create(params = {}, options = {})
         
     | 
| 
       126 
126 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
         @@ -60,11 +60,11 @@ module Files 
     | 
|
| 
       60 
60 
     | 
    
         
             
                end
         
     | 
| 
       61 
61 
     | 
    
         | 
| 
       62 
62 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       63 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       64 
     | 
    
         
            -
                #   page -  
     | 
| 
       65 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 63 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 64 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 65 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       66 
66 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       67 
     | 
    
         
            -
                #   message_comment_id (required) -  
     | 
| 
      
 67 
     | 
    
         
            +
                #   message_comment_id (required) - int64 - Message comment to return reactions for.
         
     | 
| 
       68 
68 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       69 
69 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       70 
70 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -81,7 +81,7 @@ module Files 
     | 
|
| 
       81 
81 
     | 
    
         
             
                end
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       84 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 84 
     | 
    
         
            +
                #   id (required) - int64 - Message Comment Reaction ID.
         
     | 
| 
       85 
85 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       86 
86 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       87 
87 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -97,7 +97,7 @@ module Files 
     | 
|
| 
       97 
97 
     | 
    
         
             
                end
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
       99 
99 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       100 
     | 
    
         
            -
                #   user_id -  
     | 
| 
      
 100 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
       101 
101 
     | 
    
         
             
                #   emoji (required) - string - Emoji to react with.
         
     | 
| 
       102 
102 
     | 
    
         
             
                def self.create(params = {}, options = {})
         
     | 
| 
       103 
103 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
         @@ -60,11 +60,11 @@ module Files 
     | 
|
| 
       60 
60 
     | 
    
         
             
                end
         
     | 
| 
       61 
61 
     | 
    
         | 
| 
       62 
62 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       63 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       64 
     | 
    
         
            -
                #   page -  
     | 
| 
       65 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 63 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
      
 64 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 65 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       66 
66 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       67 
     | 
    
         
            -
                #   message_id (required) -  
     | 
| 
      
 67 
     | 
    
         
            +
                #   message_id (required) - int64 - Message to return reactions for.
         
     | 
| 
       68 
68 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       69 
69 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       70 
70 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -81,7 +81,7 @@ module Files 
     | 
|
| 
       81 
81 
     | 
    
         
             
                end
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       84 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 84 
     | 
    
         
            +
                #   id (required) - int64 - Message Reaction ID.
         
     | 
| 
       85 
85 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       86 
86 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       87 
87 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -97,7 +97,7 @@ module Files 
     | 
|
| 
       97 
97 
     | 
    
         
             
                end
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
       99 
99 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       100 
     | 
    
         
            -
                #   user_id -  
     | 
| 
      
 100 
     | 
    
         
            +
                #   user_id - int64 - User ID.  Provide a value of `0` to operate the current session's user.
         
     | 
| 
       101 
101 
     | 
    
         
             
                #   emoji (required) - string - Emoji to react with.
         
     | 
| 
       102 
102 
     | 
    
         
             
                def self.create(params = {}, options = {})
         
     | 
| 
       103 
103 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
         @@ -156,11 +156,11 @@ module Files 
     | 
|
| 
       156 
156 
     | 
    
         
             
                end
         
     | 
| 
       157 
157 
     | 
    
         | 
| 
       158 
158 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       159 
     | 
    
         
            -
                #   user_id -  
     | 
| 
       160 
     | 
    
         
            -
                #   page -  
     | 
| 
       161 
     | 
    
         
            -
                #   per_page -  
     | 
| 
      
 159 
     | 
    
         
            +
                #   user_id - int64 - Show notifications for this User ID.
         
     | 
| 
      
 160 
     | 
    
         
            +
                #   page - int64 - Current page number.
         
     | 
| 
      
 161 
     | 
    
         
            +
                #   per_page - int64 - Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
         
     | 
| 
       162 
162 
     | 
    
         
             
                #   action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
         
     | 
| 
       163 
     | 
    
         
            -
                #   group_id -  
     | 
| 
      
 163 
     | 
    
         
            +
                #   group_id - int64 - Show notifications for this Group ID.
         
     | 
| 
       164 
164 
     | 
    
         
             
                def self.list(params = {}, options = {})
         
     | 
| 
       165 
165 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
         
     | 
| 
       166 
166 
     | 
    
         
             
                  raise InvalidParameterError.new("Bad parameter: page must be an Integer") if params.dig(:page) and !params.dig(:page).is_a?(Integer)
         
     | 
| 
         @@ -176,7 +176,7 @@ module Files 
     | 
|
| 
       176 
176 
     | 
    
         
             
                end
         
     | 
| 
       177 
177 
     | 
    
         | 
| 
       178 
178 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       179 
     | 
    
         
            -
                #   id (required) -  
     | 
| 
      
 179 
     | 
    
         
            +
                #   id (required) - int64 - Notification ID.
         
     | 
| 
       180 
180 
     | 
    
         
             
                def self.find(id, params = {}, options = {})
         
     | 
| 
       181 
181 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       182 
182 
     | 
    
         
             
                  params[:id] = id
         
     | 
| 
         @@ -192,11 +192,11 @@ module Files 
     | 
|
| 
       192 
192 
     | 
    
         
             
                end
         
     | 
| 
       193 
193 
     | 
    
         | 
| 
       194 
194 
     | 
    
         
             
                # Parameters:
         
     | 
| 
       195 
     | 
    
         
            -
                #   user_id -  
     | 
| 
      
 195 
     | 
    
         
            +
                #   user_id - int64 - The id of the user to notify. Provide `user_id`, `username` or `group_id`.
         
     | 
| 
       196 
196 
     | 
    
         
             
                #   notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
         
     | 
| 
       197 
197 
     | 
    
         
             
                #   notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
         
     | 
| 
       198 
198 
     | 
    
         
             
                #   send_interval - string - The time interval that notifications are aggregated by.  Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
         
     | 
| 
       199 
     | 
    
         
            -
                #   group_id -  
     | 
| 
      
 199 
     | 
    
         
            +
                #   group_id - int64 - The ID of the group to notify.  Provide `user_id`, `username` or `group_id`.
         
     | 
| 
       200 
200 
     | 
    
         
             
                #   path - string - Path
         
     | 
| 
       201 
201 
     | 
    
         
             
                #   username - string - The username of the user to notify.  Provide `user_id`, `username` or `group_id`.
         
     | 
| 
       202 
202 
     | 
    
         
             
                def self.create(params = {}, options = {})
         
     |