files.com 1.1.570 → 1.1.572
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/automation.md +4 -4
- data/docs/partner.md +8 -8
- data/lib/files.com/models/automation.rb +4 -4
- data/lib/files.com/models/partner.rb +7 -6
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fae52313f8c59741e02bf5251f55c73dc92150721cef24360e0b1f0335c1449d
|
|
4
|
+
data.tar.gz: 5ba04a1a1e7ba06c418799813add8cfd09cd098aea0cc9d31bf6273d6cd37598
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f827adda11c84316350562698311b039bc5bf18321add1d8f518cf8253a5c371ea14b062a957bd83d338b883e4e6d45d6660dffd171384102f36c4c629a76ec5
|
|
7
|
+
data.tar.gz: f4ae5886a1ecb17aa912d2319360d5341f366da816de657fab5dfc37f55d062c855a45c4ec3175ba678ba8af9dcf6fe1f5c3b7d512061028e5c2107dbc80f629
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.572
|
data/docs/automation.md
CHANGED
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
|
131
131
|
* `legacy_sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
|
|
132
132
|
* `sync_ids` (array(int64)): IDs of syncs to run by this Automation. This is the new way to specify syncs, and it is recommended to use this instead of `legacy_sync_ids`.
|
|
133
|
-
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
133
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
134
134
|
* `trigger` (string): How this automation is triggered to run.
|
|
135
135
|
* `user_id` (int64): User ID of the Automation's creator.
|
|
136
136
|
* `user_ids` (array(int64)): IDs of Users for the Automation (i.e. who to Request File from)
|
|
@@ -246,7 +246,7 @@ Files::Automation.create(
|
|
|
246
246
|
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
247
247
|
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
248
248
|
* `trigger` (string): How this automation is triggered to run.
|
|
249
|
-
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
249
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
250
250
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
251
251
|
* `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`.
|
|
252
252
|
* `automation` (string): Required - Automation type
|
|
@@ -340,7 +340,7 @@ Files::Automation.update(id,
|
|
|
340
340
|
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
341
341
|
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
342
342
|
* `trigger` (string): How this automation is triggered to run.
|
|
343
|
-
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
343
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
344
344
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
345
345
|
* `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`.
|
|
346
346
|
* `automation` (string): Automation type
|
|
@@ -450,7 +450,7 @@ automation.update(
|
|
|
450
450
|
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
451
451
|
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
452
452
|
* `trigger` (string): How this automation is triggered to run.
|
|
453
|
-
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
453
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
454
454
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
455
455
|
* `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`.
|
|
456
456
|
* `automation` (string): Automation type
|
data/docs/partner.md
CHANGED
|
@@ -81,9 +81,9 @@ Files::Partner.create(
|
|
|
81
81
|
allow_providing_gpg_keys: false,
|
|
82
82
|
allow_user_creation: false,
|
|
83
83
|
notes: "This is a note about the partner.",
|
|
84
|
-
root_folder: "/AcmeCorp",
|
|
85
84
|
tags: "example",
|
|
86
85
|
name: "Acme Corp",
|
|
86
|
+
root_folder: "/AcmeCorp",
|
|
87
87
|
workspace_id: 1
|
|
88
88
|
)
|
|
89
89
|
```
|
|
@@ -95,9 +95,9 @@ Files::Partner.create(
|
|
|
95
95
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
96
96
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
97
97
|
* `notes` (string): Notes about this Partner.
|
|
98
|
-
* `root_folder` (string): The root folder path for this Partner.
|
|
99
98
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
100
99
|
* `name` (string): Required - The name of the Partner.
|
|
100
|
+
* `root_folder` (string): Required - The root folder path for this Partner.
|
|
101
101
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner.
|
|
102
102
|
|
|
103
103
|
|
|
@@ -112,9 +112,9 @@ Files::Partner.update(id,
|
|
|
112
112
|
allow_providing_gpg_keys: false,
|
|
113
113
|
allow_user_creation: false,
|
|
114
114
|
notes: "This is a note about the partner.",
|
|
115
|
-
root_folder: "/AcmeCorp",
|
|
116
115
|
tags: "example",
|
|
117
|
-
name: "Acme Corp"
|
|
116
|
+
name: "Acme Corp",
|
|
117
|
+
root_folder: "/AcmeCorp"
|
|
118
118
|
)
|
|
119
119
|
```
|
|
120
120
|
|
|
@@ -126,9 +126,9 @@ Files::Partner.update(id,
|
|
|
126
126
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
127
127
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
128
128
|
* `notes` (string): Notes about this Partner.
|
|
129
|
-
* `root_folder` (string): The root folder path for this Partner.
|
|
130
129
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
131
130
|
* `name` (string): The name of the Partner.
|
|
131
|
+
* `root_folder` (string): The root folder path for this Partner.
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
---
|
|
@@ -157,9 +157,9 @@ partner.update(
|
|
|
157
157
|
allow_providing_gpg_keys: false,
|
|
158
158
|
allow_user_creation: false,
|
|
159
159
|
notes: "This is a note about the partner.",
|
|
160
|
-
root_folder: "/AcmeCorp",
|
|
161
160
|
tags: "example",
|
|
162
|
-
name: "Acme Corp"
|
|
161
|
+
name: "Acme Corp",
|
|
162
|
+
root_folder: "/AcmeCorp"
|
|
163
163
|
)
|
|
164
164
|
```
|
|
165
165
|
|
|
@@ -171,9 +171,9 @@ partner.update(
|
|
|
171
171
|
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
172
172
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
173
173
|
* `notes` (string): Notes about this Partner.
|
|
174
|
-
* `root_folder` (string): The root folder path for this Partner.
|
|
175
174
|
* `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
176
175
|
* `name` (string): The name of the Partner.
|
|
176
|
+
* `root_folder` (string): The root folder path for this Partner.
|
|
177
177
|
|
|
178
178
|
|
|
179
179
|
---
|
|
@@ -315,7 +315,7 @@ module Files
|
|
|
315
315
|
@attributes[:sync_ids] = value
|
|
316
316
|
end
|
|
317
317
|
|
|
318
|
-
# array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
318
|
+
# array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
319
319
|
def trigger_actions
|
|
320
320
|
@attributes[:trigger_actions]
|
|
321
321
|
end
|
|
@@ -419,7 +419,7 @@ module Files
|
|
|
419
419
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
420
420
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
421
421
|
# trigger - string - How this automation is triggered to run.
|
|
422
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
422
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
423
423
|
# value - object - A Hash of attributes specific to the automation type.
|
|
424
424
|
# 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`.
|
|
425
425
|
# automation - string - Automation type
|
|
@@ -558,7 +558,7 @@ module Files
|
|
|
558
558
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
559
559
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
560
560
|
# trigger - string - How this automation is triggered to run.
|
|
561
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
561
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
562
562
|
# value - object - A Hash of attributes specific to the automation type.
|
|
563
563
|
# 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`.
|
|
564
564
|
# automation (required) - string - Automation type
|
|
@@ -638,7 +638,7 @@ module Files
|
|
|
638
638
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
639
639
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
640
640
|
# trigger - string - How this automation is triggered to run.
|
|
641
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create,
|
|
641
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
642
642
|
# value - object - A Hash of attributes specific to the automation type.
|
|
643
643
|
# 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`.
|
|
644
644
|
# automation - string - Automation type
|
|
@@ -123,18 +123,18 @@ module Files
|
|
|
123
123
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
124
124
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
125
125
|
# notes - string - Notes about this Partner.
|
|
126
|
-
# root_folder - string - The root folder path for this Partner.
|
|
127
126
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
128
127
|
# name - string - The name of the Partner.
|
|
128
|
+
# root_folder - string - The root folder path for this Partner.
|
|
129
129
|
def update(params = {})
|
|
130
130
|
params ||= {}
|
|
131
131
|
params[:id] = @attributes[:id]
|
|
132
132
|
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
133
133
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
134
134
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
135
|
-
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
136
135
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
137
136
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
137
|
+
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
138
138
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
139
139
|
|
|
140
140
|
Api.send_request("/partners/#{@attributes[:id]}", :patch, params, @options)
|
|
@@ -208,17 +208,18 @@ module Files
|
|
|
208
208
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
209
209
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
210
210
|
# notes - string - Notes about this Partner.
|
|
211
|
-
# root_folder - string - The root folder path for this Partner.
|
|
212
211
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
213
212
|
# name (required) - string - The name of the Partner.
|
|
213
|
+
# root_folder (required) - string - The root folder path for this Partner.
|
|
214
214
|
# workspace_id - int64 - ID of the Workspace associated with this Partner.
|
|
215
215
|
def self.create(params = {}, options = {})
|
|
216
216
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
217
|
-
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
218
217
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
219
218
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
219
|
+
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
220
220
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
221
221
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
222
|
+
raise MissingParameterError.new("Parameter missing: root_folder") unless params[:root_folder]
|
|
222
223
|
|
|
223
224
|
response, options = Api.send_request("/partners", :post, params, options)
|
|
224
225
|
Partner.new(response.data, options)
|
|
@@ -230,17 +231,17 @@ module Files
|
|
|
230
231
|
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
231
232
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
232
233
|
# notes - string - Notes about this Partner.
|
|
233
|
-
# root_folder - string - The root folder path for this Partner.
|
|
234
234
|
# tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
235
235
|
# name - string - The name of the Partner.
|
|
236
|
+
# root_folder - string - The root folder path for this Partner.
|
|
236
237
|
def self.update(id, params = {}, options = {})
|
|
237
238
|
params ||= {}
|
|
238
239
|
params[:id] = id
|
|
239
240
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
240
241
|
raise InvalidParameterError.new("Bad parameter: notes must be an String") if params[:notes] and !params[:notes].is_a?(String)
|
|
241
|
-
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
242
242
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
|
|
243
243
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
244
|
+
raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
|
|
244
245
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
245
246
|
|
|
246
247
|
response, options = Api.send_request("/partners/#{params[:id]}", :patch, params, options)
|
data/lib/files.com/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.572
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|