files.com 1.1.716 → 1.1.718
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/behavior.md +11 -7
- data/docs/user.md +3 -3
- data/lib/files.com/models/behavior.rb +3 -3
- data/lib/files.com/models/user.rb +3 -3
- 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: 26440a1745afdb3b105e177175018054c6e19617630f118284df32363e8629cc
|
|
4
|
+
data.tar.gz: fa97f8cd9fa3dd61ac03018125e6694db4fce185080a635cb689272df3c4b564
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 672fcc247987c5fffc758d6459c96b8e9c27c0813d9bf6ad3e1730ddd249008fe451389db396d5d5a195e692c3c698fb134f665e3cb3f856015882dfb3104823
|
|
7
|
+
data.tar.gz: 0f1cf361030c0c2d994ff9921dd4eb0ea732df9aed6a9ddd5a3486a9e8a21bcc618c873682edb3fb72296470f614096766cb050a62826c046c4e09b913108b4a
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.718
|
data/docs/behavior.md
CHANGED
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"name": "example",
|
|
12
12
|
"description": "example",
|
|
13
13
|
"value": {
|
|
14
|
-
"
|
|
14
|
+
"urls": [
|
|
15
|
+
"https://example.com/webhook"
|
|
16
|
+
],
|
|
17
|
+
"method": "POST",
|
|
18
|
+
"encoding": "JSON"
|
|
15
19
|
},
|
|
16
20
|
"public_hosting_url": "example",
|
|
17
21
|
"disable_parent_folder_behavior": true,
|
|
@@ -94,7 +98,7 @@ Files::Behavior.list_for(path,
|
|
|
94
98
|
|
|
95
99
|
```
|
|
96
100
|
Files::Behavior.create(
|
|
97
|
-
value:
|
|
101
|
+
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
98
102
|
disable_parent_folder_behavior: false,
|
|
99
103
|
recursive: false,
|
|
100
104
|
name: "example",
|
|
@@ -106,7 +110,7 @@ Files::Behavior.create(
|
|
|
106
110
|
|
|
107
111
|
### Parameters
|
|
108
112
|
|
|
109
|
-
* `value` (object): This field stores
|
|
113
|
+
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
110
114
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
111
115
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
112
116
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
@@ -146,7 +150,7 @@ Files::Behavior.webhook_test(
|
|
|
146
150
|
|
|
147
151
|
```
|
|
148
152
|
Files::Behavior.update(id,
|
|
149
|
-
value:
|
|
153
|
+
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
150
154
|
disable_parent_folder_behavior: false,
|
|
151
155
|
recursive: false,
|
|
152
156
|
name: "example",
|
|
@@ -158,7 +162,7 @@ Files::Behavior.update(id,
|
|
|
158
162
|
### Parameters
|
|
159
163
|
|
|
160
164
|
* `id` (int64): Required - Behavior ID.
|
|
161
|
-
* `value` (object): This field stores
|
|
165
|
+
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
162
166
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
163
167
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
164
168
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
@@ -188,7 +192,7 @@ Files::Behavior.delete(id)
|
|
|
188
192
|
behavior = Files::Behavior.find(id)
|
|
189
193
|
|
|
190
194
|
behavior.update(
|
|
191
|
-
value:
|
|
195
|
+
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
192
196
|
disable_parent_folder_behavior: false,
|
|
193
197
|
recursive: false,
|
|
194
198
|
name: "example",
|
|
@@ -200,7 +204,7 @@ behavior.update(
|
|
|
200
204
|
### Parameters
|
|
201
205
|
|
|
202
206
|
* `id` (int64): Required - Behavior ID.
|
|
203
|
-
* `value` (object): This field stores
|
|
207
|
+
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
204
208
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
205
209
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
206
210
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
data/docs/user.md
CHANGED
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
|
197
197
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
|
198
198
|
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
199
|
-
* `convert_to_partner_user` (boolean):
|
|
199
|
+
* `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
---
|
|
@@ -563,7 +563,7 @@ Files::User.update(id,
|
|
|
563
563
|
* `username` (string): User's username
|
|
564
564
|
* `workspace_id` (int64): Workspace ID
|
|
565
565
|
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
566
|
-
* `convert_to_partner_user` (boolean):
|
|
566
|
+
* `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
567
567
|
|
|
568
568
|
|
|
569
569
|
---
|
|
@@ -773,7 +773,7 @@ user.update(
|
|
|
773
773
|
* `username` (string): User's username
|
|
774
774
|
* `workspace_id` (int64): Workspace ID
|
|
775
775
|
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
776
|
-
* `convert_to_partner_user` (boolean):
|
|
776
|
+
* `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
777
777
|
|
|
778
778
|
|
|
779
779
|
---
|
|
@@ -145,7 +145,7 @@ module Files
|
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
# Parameters:
|
|
148
|
-
# value - object - This field stores
|
|
148
|
+
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
149
149
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
150
150
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
151
151
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
@@ -249,7 +249,7 @@ module Files
|
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Parameters:
|
|
252
|
-
# value - object - This field stores
|
|
252
|
+
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
253
253
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
254
254
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
255
255
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
@@ -291,7 +291,7 @@ module Files
|
|
|
291
291
|
end
|
|
292
292
|
|
|
293
293
|
# Parameters:
|
|
294
|
-
# value - object - This field stores
|
|
294
|
+
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
295
295
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
296
296
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
297
297
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
@@ -896,7 +896,7 @@ module Files
|
|
|
896
896
|
@attributes[:clear_2fa] = value
|
|
897
897
|
end
|
|
898
898
|
|
|
899
|
-
# boolean -
|
|
899
|
+
# boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
900
900
|
def convert_to_partner_user
|
|
901
901
|
@attributes[:convert_to_partner_user]
|
|
902
902
|
end
|
|
@@ -1008,7 +1008,7 @@ module Files
|
|
|
1008
1008
|
# username - string - User's username
|
|
1009
1009
|
# workspace_id - int64 - Workspace ID
|
|
1010
1010
|
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
1011
|
-
# convert_to_partner_user - boolean -
|
|
1011
|
+
# convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
1012
1012
|
def update(params = {})
|
|
1013
1013
|
params ||= {}
|
|
1014
1014
|
params[:id] = @attributes[:id]
|
|
@@ -1354,7 +1354,7 @@ module Files
|
|
|
1354
1354
|
# username - string - User's username
|
|
1355
1355
|
# workspace_id - int64 - Workspace ID
|
|
1356
1356
|
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
|
1357
|
-
# convert_to_partner_user - boolean -
|
|
1357
|
+
# convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
|
|
1358
1358
|
def self.update(id, params = {}, options = {})
|
|
1359
1359
|
params ||= {}
|
|
1360
1360
|
params[:id] = id
|
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.718
|
|
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-
|
|
11
|
+
date: 2026-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|