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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05f4d47d080b45c7556a0e3b723323e3ee503146ce7493ef942024ba9fa662f7
4
- data.tar.gz: 33faa19358b36feecd4b77c8a83d14829c35f3c8bfc8420d7156652e10f936c9
3
+ metadata.gz: 26440a1745afdb3b105e177175018054c6e19617630f118284df32363e8629cc
4
+ data.tar.gz: fa97f8cd9fa3dd61ac03018125e6694db4fce185080a635cb689272df3c4b564
5
5
  SHA512:
6
- metadata.gz: 5922016fa4c1c9ef7e3cba40b15c6856571034dedbb3c6e2675394d349bf2a182e304be3283bd8706ee599887a03984164d5d94363687adc9ce2d57ea2f07e2f
7
- data.tar.gz: a672e7cd839a2c79f47c01abe996bbec39c075e6d84f36e4937d3db1c59ba8cd9d6ae02827c04dd1b03eff765ee442780777f08550303f009c31b6cea6fd7038
6
+ metadata.gz: 672fcc247987c5fffc758d6459c96b8e9c27c0813d9bf6ad3e1730ddd249008fe451389db396d5d5a195e692c3c698fb134f665e3cb3f856015882dfb3104823
7
+ data.tar.gz: 0f1cf361030c0c2d994ff9921dd4eb0ea732df9aed6a9ddd5a3486a9e8a21bcc618c873682edb3fb72296470f614096766cb050a62826c046c4e09b913108b4a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.716
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
- "method": "GET"
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: "{\"method\": \"GET\"}",
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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: "{\"method\": \"GET\"}",
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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: "{\"method\": \"GET\"}",
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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): If true, convert this user to a partner user by assigning the partner_id provided.
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): If true, convert this user to a partner user by assigning the partner_id provided.
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): If true, convert this user to a partner user by assigning the partner_id provided.
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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 a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
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 - If true, convert this user to a partner user by assigning the partner_id provided.
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 - If true, convert this user to a partner user by assigning the partner_id provided.
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 - If true, convert this user to a partner user by assigning the partner_id provided.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.716"
4
+ VERSION = "1.1.718"
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.716
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-08-30 00:00:00.000000000 Z
11
+ date: 2026-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable