files.com 1.1.24 → 1.1.25

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: b4a8ab14002a853df19667487bca81d23dc17c893600dbde62d6c8c54d64166a
4
- data.tar.gz: 180d286169f069cf75ace91d425404afb442322f692561b83f4a1e7dcbc60f0d
3
+ metadata.gz: 17cbd968e01455dd6d12a000f314dbee85f90df4637905eefb78ef4f8f44532c
4
+ data.tar.gz: 435080165f9bd8c2e0345eb146214adad50c4eb6b5e12252bcfcc3af7699752f
5
5
  SHA512:
6
- metadata.gz: c189de27b7cb0127576256953b3681f5abfff426d9ed5bde2bcf344f7488a86bcc4f77d17fa77d313bd034c455ed4ccd0a4ce0af91ca2e28ad544fcd0489fa58
7
- data.tar.gz: bb77f97e2c824528732b01629228a4ce73c3a03b29917b0207bf42ac41283ddd8f46b40959e94de608012960a0b351f4ce89eddf2c76b8d4d4667c06270868c3
6
+ metadata.gz: d4582828ab49623b2886c8a378ad63b37738c36c43e6f355818be720722309712222fc0d8cd1e96b5ffff50c2a1f54bf0ed785d11ed3a04a8c9126fac6f42309
7
+ data.tar.gz: 6fd1167327f7e48addb3b33087295f1e3ca7616b6d86eca6682f7cad49cf412f3c637b2d1cb6384c2ed561945c7e2ceb2e5273611e6f1aece8ebd1c0d6651478
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.24
1
+ 1.1.25
data/docs/automation.md CHANGED
@@ -24,6 +24,8 @@
24
24
  "name": "example",
25
25
  "path": "example",
26
26
  "recurring_day": 25,
27
+ "schedule": "example",
28
+ "human_readable_schedule": "Triggered every Monday, Wednesday at 6:30 AM,\n 2:30 PM Eastern Time (US & Canada) TZ",
27
29
  "schedule_days_of_week": [
28
30
  0,
29
31
  2,
@@ -70,9 +72,11 @@
70
72
  * `name` (string): Name for this automation.
71
73
  * `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
72
74
  * `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
73
- * `schedule_days_of_week` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
74
- * `schedule_times_of_day` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
75
- * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
75
+ * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
76
+ * `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
77
+ * `schedule_days_of_week` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
78
+ * `schedule_times_of_day` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
79
+ * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
76
80
  * `source` (string): Source Path
77
81
  * `sync_ids` (array): IDs of remote sync folder behaviors to run by this Automation
78
82
  * `trigger_actions` (array): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
@@ -8,7 +8,11 @@
8
8
  "automation_id": 1,
9
9
  "completed_at": "2000-01-01T01:00:00Z",
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
+ "runtime": "2000-01-01T01:00:00Z",
11
12
  "status": "success",
13
+ "run_stage": "planning",
14
+ "successful_operations": 1,
15
+ "failed_operations": 1,
12
16
  "status_messages_url": "https://www.example.com/log_file.txt"
13
17
  }
14
18
  ```
@@ -17,7 +21,11 @@
17
21
  * `automation_id` (int64): ID of the associated Automation.
18
22
  * `completed_at` (date-time): Automation run completion/failure date/time.
19
23
  * `created_at` (date-time): Automation run start date/time.
24
+ * `runtime` (date-time): Automation run runtime.
20
25
  * `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
26
+ * `run_stage` (string): The stage currently being executed in the execution environment. One of `queued_for_planning`, `planning`, `queued_for_execution`, `executing`, or `finished`.
27
+ * `successful_operations` (int64): Count of successful operations.
28
+ * `failed_operations` (int64): Count of failed operations.
21
29
  * `status_messages_url` (string): Link to status messages log file.
22
30
 
23
31
 
data/docs/notification.md CHANGED
@@ -38,21 +38,21 @@
38
38
 
39
39
  * `id` (int64): Notification ID
40
40
  * `path` (string): Folder path to notify on This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
41
- * `group_id` (int64): Notification group id
42
- * `group_name` (string): Group name if applicable
43
- * `triggering_group_ids` (array): Only notify on actions made by a member of one of the specified groups
44
- * `triggering_user_ids` (array): Only notify on actions made one of the specified users
41
+ * `group_id` (int64): ID of Group to receive notifications
42
+ * `group_name` (string): Group name, if a Group ID is set
43
+ * `triggering_group_ids` (array): If set, will only notify on actions made by a member of one of the specified groups
44
+ * `triggering_user_ids` (array): If set, will onlynotify on actions made one of the specified users
45
45
  * `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
46
- * `notify_user_actions` (boolean): Trigger notification on notification user actions?
47
- * `notify_on_copy` (boolean): Triggers notification when copying files to this path
48
- * `notify_on_delete` (boolean): Triggers notification when deleting files from this path
49
- * `notify_on_download` (boolean): Triggers notification when downloading files from this path
50
- * `notify_on_move` (boolean): Triggers notification when moving files to this path
51
- * `notify_on_upload` (boolean): Triggers notification when uploading new files to this path
52
- * `recursive` (boolean): Enable notifications for each subfolder in this path
46
+ * `notify_user_actions` (boolean): If true, will send notifications about a user's own activity to that user. If false, only activity performed by other users (or anonymous users) will be sent in notifications.
47
+ * `notify_on_copy` (boolean): Trigger on files copied to this path?
48
+ * `notify_on_delete` (boolean): Trigger on files deleted in this path?
49
+ * `notify_on_download` (boolean): Trigger on files downloaded in this path?
50
+ * `notify_on_move` (boolean): Trigger on files moved to this path?
51
+ * `notify_on_upload` (boolean): Trigger on files created/uploaded/updated/changed in this path?
52
+ * `recursive` (boolean): Apply notification recursively? This will enable notifications for each subfolder.
53
53
  * `send_interval` (string): The time interval that notifications are aggregated to
54
- * `message` (string): Custom message to include in notification emails.
55
- * `triggering_filenames` (array): Array of filenames (possibly with wildcards) to match for action path
54
+ * `message` (string): Custom message to include in notification emails
55
+ * `triggering_filenames` (array): Array of filenames (possibly with wildcards) to scope trigger
56
56
  * `unsubscribed` (boolean): Is the user unsubscribed from this notification?
57
57
  * `unsubscribed_reason` (string): The reason that the user unsubscribed
58
58
  * `user_id` (int64): Notification user ID
@@ -128,17 +128,17 @@ Files::Notification.create(
128
128
 
129
129
  * `user_id` (int64): The id of the user to notify. Provide `user_id`, `username` or `group_id`.
130
130
  * `notify_on_copy` (boolean): If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
131
- * `notify_on_delete` (boolean): Triggers notification when deleting files from this path
132
- * `notify_on_download` (boolean): Triggers notification when downloading files from this path
133
- * `notify_on_move` (boolean): Triggers notification when moving files to this path
134
- * `notify_on_upload` (boolean): Triggers notification when uploading new files to this path
131
+ * `notify_on_delete` (boolean): Trigger on files deleted in this path?
132
+ * `notify_on_download` (boolean): Trigger on files downloaded in this path?
133
+ * `notify_on_move` (boolean): Trigger on files moved to this path?
134
+ * `notify_on_upload` (boolean): Trigger on files created/uploaded/updated/changed in this path?
135
135
  * `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
136
136
  * `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
137
137
  * `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
138
- * `message` (string): Custom message to include in notification emails.
139
- * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to match for action path
140
- * `triggering_group_ids` (array(int64)): Only notify on actions made by a member of one of the specified groups
141
- * `triggering_user_ids` (array(int64)): Only notify on actions made one of the specified users
138
+ * `message` (string): Custom message to include in notification emails
139
+ * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
140
+ * `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
141
+ * `triggering_user_ids` (array(int64)): If set, will onlynotify on actions made one of the specified users
142
142
  * `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
143
143
  * `group_id` (int64): The ID of the group to notify. Provide `user_id`, `username` or `group_id`.
144
144
  * `path` (string): Path
@@ -171,17 +171,17 @@ Files::Notification.update(id,
171
171
 
172
172
  * `id` (int64): Required - Notification ID.
173
173
  * `notify_on_copy` (boolean): If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
174
- * `notify_on_delete` (boolean): Triggers notification when deleting files from this path
175
- * `notify_on_download` (boolean): Triggers notification when downloading files from this path
176
- * `notify_on_move` (boolean): Triggers notification when moving files to this path
177
- * `notify_on_upload` (boolean): Triggers notification when uploading new files to this path
174
+ * `notify_on_delete` (boolean): Trigger on files deleted in this path?
175
+ * `notify_on_download` (boolean): Trigger on files downloaded in this path?
176
+ * `notify_on_move` (boolean): Trigger on files moved to this path?
177
+ * `notify_on_upload` (boolean): Trigger on files created/uploaded/updated/changed in this path?
178
178
  * `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
179
179
  * `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
180
180
  * `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
181
- * `message` (string): Custom message to include in notification emails.
182
- * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to match for action path
183
- * `triggering_group_ids` (array(int64)): Only notify on actions made by a member of one of the specified groups
184
- * `triggering_user_ids` (array(int64)): Only notify on actions made one of the specified users
181
+ * `message` (string): Custom message to include in notification emails
182
+ * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
183
+ * `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
184
+ * `triggering_user_ids` (array(int64)): If set, will onlynotify on actions made one of the specified users
185
185
  * `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
186
186
 
187
187
 
@@ -226,17 +226,17 @@ notification.update(
226
226
 
227
227
  * `id` (int64): Required - Notification ID.
228
228
  * `notify_on_copy` (boolean): If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
229
- * `notify_on_delete` (boolean): Triggers notification when deleting files from this path
230
- * `notify_on_download` (boolean): Triggers notification when downloading files from this path
231
- * `notify_on_move` (boolean): Triggers notification when moving files to this path
232
- * `notify_on_upload` (boolean): Triggers notification when uploading new files to this path
229
+ * `notify_on_delete` (boolean): Trigger on files deleted in this path?
230
+ * `notify_on_download` (boolean): Trigger on files downloaded in this path?
231
+ * `notify_on_move` (boolean): Trigger on files moved to this path?
232
+ * `notify_on_upload` (boolean): Trigger on files created/uploaded/updated/changed in this path?
233
233
  * `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
234
234
  * `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
235
235
  * `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
236
- * `message` (string): Custom message to include in notification emails.
237
- * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to match for action path
238
- * `triggering_group_ids` (array(int64)): Only notify on actions made by a member of one of the specified groups
239
- * `triggering_user_ids` (array(int64)): Only notify on actions made one of the specified users
236
+ * `message` (string): Custom message to include in notification emails
237
+ * `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
238
+ * `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
239
+ * `triggering_user_ids` (array(int64)): If set, will onlynotify on actions made one of the specified users
240
240
  * `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
241
241
 
242
242
 
@@ -144,7 +144,25 @@ module Files
144
144
  @attributes[:recurring_day] = value
145
145
  end
146
146
 
147
- # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
147
+ # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
148
+ def schedule
149
+ @attributes[:schedule]
150
+ end
151
+
152
+ def schedule=(value)
153
+ @attributes[:schedule] = value
154
+ end
155
+
156
+ # string - If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
157
+ def human_readable_schedule
158
+ @attributes[:human_readable_schedule]
159
+ end
160
+
161
+ def human_readable_schedule=(value)
162
+ @attributes[:human_readable_schedule] = value
163
+ end
164
+
165
+ # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
148
166
  def schedule_days_of_week
149
167
  @attributes[:schedule_days_of_week]
150
168
  end
@@ -153,7 +171,7 @@ module Files
153
171
  @attributes[:schedule_days_of_week] = value
154
172
  end
155
173
 
156
- # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
174
+ # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
157
175
  def schedule_times_of_day
158
176
  @attributes[:schedule_times_of_day]
159
177
  end
@@ -162,7 +180,7 @@ module Files
162
180
  @attributes[:schedule_times_of_day] = value
163
181
  end
164
182
 
165
- # string - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
183
+ # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
166
184
  def schedule_time_zone
167
185
  @attributes[:schedule_time_zone]
168
186
  end
@@ -29,11 +29,31 @@ module Files
29
29
  @attributes[:created_at]
30
30
  end
31
31
 
32
+ # date-time - Automation run runtime.
33
+ def runtime
34
+ @attributes[:runtime]
35
+ end
36
+
32
37
  # string - The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
33
38
  def status
34
39
  @attributes[:status]
35
40
  end
36
41
 
42
+ # string - The stage currently being executed in the execution environment. One of `queued_for_planning`, `planning`, `queued_for_execution`, `executing`, or `finished`.
43
+ def run_stage
44
+ @attributes[:run_stage]
45
+ end
46
+
47
+ # int64 - Count of successful operations.
48
+ def successful_operations
49
+ @attributes[:successful_operations]
50
+ end
51
+
52
+ # int64 - Count of failed operations.
53
+ def failed_operations
54
+ @attributes[:failed_operations]
55
+ end
56
+
37
57
  # string - Link to status messages log file.
38
58
  def status_messages_url
39
59
  @attributes[:status_messages_url]
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:path] = value
28
28
  end
29
29
 
30
- # int64 - Notification group id
30
+ # int64 - ID of Group to receive notifications
31
31
  def group_id
32
32
  @attributes[:group_id]
33
33
  end
@@ -36,7 +36,7 @@ module Files
36
36
  @attributes[:group_id] = value
37
37
  end
38
38
 
39
- # string - Group name if applicable
39
+ # string - Group name, if a Group ID is set
40
40
  def group_name
41
41
  @attributes[:group_name]
42
42
  end
@@ -45,7 +45,7 @@ module Files
45
45
  @attributes[:group_name] = value
46
46
  end
47
47
 
48
- # array - Only notify on actions made by a member of one of the specified groups
48
+ # array - If set, will only notify on actions made by a member of one of the specified groups
49
49
  def triggering_group_ids
50
50
  @attributes[:triggering_group_ids]
51
51
  end
@@ -54,7 +54,7 @@ module Files
54
54
  @attributes[:triggering_group_ids] = value
55
55
  end
56
56
 
57
- # array - Only notify on actions made one of the specified users
57
+ # array - If set, will onlynotify on actions made one of the specified users
58
58
  def triggering_user_ids
59
59
  @attributes[:triggering_user_ids]
60
60
  end
@@ -72,7 +72,7 @@ module Files
72
72
  @attributes[:trigger_by_share_recipients] = value
73
73
  end
74
74
 
75
- # boolean - Trigger notification on notification user actions?
75
+ # boolean - If true, will send notifications about a user's own activity to that user. If false, only activity performed by other users (or anonymous users) will be sent in notifications.
76
76
  def notify_user_actions
77
77
  @attributes[:notify_user_actions]
78
78
  end
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:notify_user_actions] = value
82
82
  end
83
83
 
84
- # boolean - Triggers notification when copying files to this path
84
+ # boolean - Trigger on files copied to this path?
85
85
  def notify_on_copy
86
86
  @attributes[:notify_on_copy]
87
87
  end
@@ -90,7 +90,7 @@ module Files
90
90
  @attributes[:notify_on_copy] = value
91
91
  end
92
92
 
93
- # boolean - Triggers notification when deleting files from this path
93
+ # boolean - Trigger on files deleted in this path?
94
94
  def notify_on_delete
95
95
  @attributes[:notify_on_delete]
96
96
  end
@@ -99,7 +99,7 @@ module Files
99
99
  @attributes[:notify_on_delete] = value
100
100
  end
101
101
 
102
- # boolean - Triggers notification when downloading files from this path
102
+ # boolean - Trigger on files downloaded in this path?
103
103
  def notify_on_download
104
104
  @attributes[:notify_on_download]
105
105
  end
@@ -108,7 +108,7 @@ module Files
108
108
  @attributes[:notify_on_download] = value
109
109
  end
110
110
 
111
- # boolean - Triggers notification when moving files to this path
111
+ # boolean - Trigger on files moved to this path?
112
112
  def notify_on_move
113
113
  @attributes[:notify_on_move]
114
114
  end
@@ -117,7 +117,7 @@ module Files
117
117
  @attributes[:notify_on_move] = value
118
118
  end
119
119
 
120
- # boolean - Triggers notification when uploading new files to this path
120
+ # boolean - Trigger on files created/uploaded/updated/changed in this path?
121
121
  def notify_on_upload
122
122
  @attributes[:notify_on_upload]
123
123
  end
@@ -126,7 +126,7 @@ module Files
126
126
  @attributes[:notify_on_upload] = value
127
127
  end
128
128
 
129
- # boolean - Enable notifications for each subfolder in this path
129
+ # boolean - Apply notification recursively? This will enable notifications for each subfolder.
130
130
  def recursive
131
131
  @attributes[:recursive]
132
132
  end
@@ -144,7 +144,7 @@ module Files
144
144
  @attributes[:send_interval] = value
145
145
  end
146
146
 
147
- # string - Custom message to include in notification emails.
147
+ # string - Custom message to include in notification emails
148
148
  def message
149
149
  @attributes[:message]
150
150
  end
@@ -153,7 +153,7 @@ module Files
153
153
  @attributes[:message] = value
154
154
  end
155
155
 
156
- # array - Array of filenames (possibly with wildcards) to match for action path
156
+ # array - Array of filenames (possibly with wildcards) to scope trigger
157
157
  def triggering_filenames
158
158
  @attributes[:triggering_filenames]
159
159
  end
@@ -209,17 +209,17 @@ module Files
209
209
 
210
210
  # Parameters:
211
211
  # notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
212
- # notify_on_delete - boolean - Triggers notification when deleting files from this path
213
- # notify_on_download - boolean - Triggers notification when downloading files from this path
214
- # notify_on_move - boolean - Triggers notification when moving files to this path
215
- # notify_on_upload - boolean - Triggers notification when uploading new files to this path
212
+ # notify_on_delete - boolean - Trigger on files deleted in this path?
213
+ # notify_on_download - boolean - Trigger on files downloaded in this path?
214
+ # notify_on_move - boolean - Trigger on files moved to this path?
215
+ # notify_on_upload - boolean - Trigger on files created/uploaded/updated/changed in this path?
216
216
  # notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
217
217
  # recursive - boolean - If `true`, enable notifications for each subfolder in this path
218
218
  # send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
219
- # message - string - Custom message to include in notification emails.
220
- # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to match for action path
221
- # triggering_group_ids - array(int64) - Only notify on actions made by a member of one of the specified groups
222
- # triggering_user_ids - array(int64) - Only notify on actions made one of the specified users
219
+ # message - string - Custom message to include in notification emails
220
+ # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
221
+ # triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
222
+ # triggering_user_ids - array(int64) - If set, will onlynotify on actions made one of the specified users
223
223
  # trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
224
224
  def update(params = {})
225
225
  params ||= {}
@@ -310,17 +310,17 @@ module Files
310
310
  # Parameters:
311
311
  # user_id - int64 - The id of the user to notify. Provide `user_id`, `username` or `group_id`.
312
312
  # notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
313
- # notify_on_delete - boolean - Triggers notification when deleting files from this path
314
- # notify_on_download - boolean - Triggers notification when downloading files from this path
315
- # notify_on_move - boolean - Triggers notification when moving files to this path
316
- # notify_on_upload - boolean - Triggers notification when uploading new files to this path
313
+ # notify_on_delete - boolean - Trigger on files deleted in this path?
314
+ # notify_on_download - boolean - Trigger on files downloaded in this path?
315
+ # notify_on_move - boolean - Trigger on files moved to this path?
316
+ # notify_on_upload - boolean - Trigger on files created/uploaded/updated/changed in this path?
317
317
  # notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
318
318
  # recursive - boolean - If `true`, enable notifications for each subfolder in this path
319
319
  # send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
320
- # message - string - Custom message to include in notification emails.
321
- # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to match for action path
322
- # triggering_group_ids - array(int64) - Only notify on actions made by a member of one of the specified groups
323
- # triggering_user_ids - array(int64) - Only notify on actions made one of the specified users
320
+ # message - string - Custom message to include in notification emails
321
+ # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
322
+ # triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
323
+ # triggering_user_ids - array(int64) - If set, will onlynotify on actions made one of the specified users
324
324
  # trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
325
325
  # group_id - int64 - The ID of the group to notify. Provide `user_id`, `username` or `group_id`.
326
326
  # path - string - Path
@@ -342,17 +342,17 @@ module Files
342
342
 
343
343
  # Parameters:
344
344
  # notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
345
- # notify_on_delete - boolean - Triggers notification when deleting files from this path
346
- # notify_on_download - boolean - Triggers notification when downloading files from this path
347
- # notify_on_move - boolean - Triggers notification when moving files to this path
348
- # notify_on_upload - boolean - Triggers notification when uploading new files to this path
345
+ # notify_on_delete - boolean - Trigger on files deleted in this path?
346
+ # notify_on_download - boolean - Trigger on files downloaded in this path?
347
+ # notify_on_move - boolean - Trigger on files moved to this path?
348
+ # notify_on_upload - boolean - Trigger on files created/uploaded/updated/changed in this path?
349
349
  # notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
350
350
  # recursive - boolean - If `true`, enable notifications for each subfolder in this path
351
351
  # send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
352
- # message - string - Custom message to include in notification emails.
353
- # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to match for action path
354
- # triggering_group_ids - array(int64) - Only notify on actions made by a member of one of the specified groups
355
- # triggering_user_ids - array(int64) - Only notify on actions made one of the specified users
352
+ # message - string - Custom message to include in notification emails
353
+ # triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
354
+ # triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
355
+ # triggering_user_ids - array(int64) - If set, will onlynotify on actions made one of the specified users
356
356
  # trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
357
357
  def self.update(id, params = {}, options = {})
358
358
  params ||= {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.24"
4
+ VERSION = "1.1.25"
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.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-14 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable