files.com 1.1.340 → 1.1.341

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: 61e01471e2c6277f23438f082c9dae59306ca9fa9ca180fc1310eda60aa28dee
4
- data.tar.gz: 1e8f5995141b934415f2be6be6ac82503f2ad1b2ad6159f256fc550380644617
3
+ metadata.gz: c70b276ef24e438260232b0fcb416ab4b89634ab7846fb0fbf4e0f3da76e2935
4
+ data.tar.gz: bc7365a3559beeb0e4e37b5b8bae1cf71aceccb82d2129fa7f7ec93d95c1c5ef
5
5
  SHA512:
6
- metadata.gz: efe17072a26e1747506dfa491e4b0e7a204a12c267105a212ebeb1e1f27fa21f0ef1e7696da22f038bed06df62e32fa73f75d145ddeecc9fb18c9b6f7387ac6a
7
- data.tar.gz: f36cc93bb9ff3a186de6cbe65b96e45f62b00022dd5b9c3c3cfe9f7a823ab13c2fc9142acb8b4ad87650f40fec675462273e4db8440ce97cada8bd650e271b9c
6
+ metadata.gz: e4559efc9ad524248fd8962dfe92910fe74b150d28164c3f8181c74507d09fb3d0494c18fbddc33dbf53e09ac901117c22cc712136b3d3bb77ba94354f38cc3e
7
+ data.tar.gz: 2a901dbe1096ed285e9a273e978f1525b9c4632c954d8f7cb30778906ba2b87d0e77afcd4414c3c7accfee4a001c51d32e13e031fbf62d4c9ebbfb86f2895b5b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.340
1
+ 1.1.341
data/docs/bundle.md CHANGED
@@ -138,7 +138,7 @@
138
138
 
139
139
  ---
140
140
 
141
- ## List Bundles
141
+ ## List Share Links
142
142
 
143
143
  ```
144
144
  Files::Bundle.list(
@@ -162,7 +162,7 @@ Files::Bundle.list(
162
162
 
163
163
  ---
164
164
 
165
- ## Show Bundle
165
+ ## Show Share Link
166
166
 
167
167
  ```
168
168
  Files::Bundle.find(id)
@@ -175,7 +175,7 @@ Files::Bundle.find(id)
175
175
 
176
176
  ---
177
177
 
178
- ## Create Bundle
178
+ ## Create Share Link
179
179
 
180
180
  ```
181
181
  Files::Bundle.create(
@@ -259,7 +259,7 @@ Files::Bundle.share(id,
259
259
 
260
260
  ---
261
261
 
262
- ## Update Bundle
262
+ ## Update Share Link
263
263
 
264
264
  ```
265
265
  Files::Bundle.update(id,
@@ -322,7 +322,7 @@ Files::Bundle.update(id,
322
322
 
323
323
  ---
324
324
 
325
- ## Delete Bundle
325
+ ## Delete Share Link
326
326
 
327
327
  ```
328
328
  Files::Bundle.delete(id)
@@ -357,7 +357,7 @@ bundle.share(
357
357
 
358
358
  ---
359
359
 
360
- ## Update Bundle
360
+ ## Update Share Link
361
361
 
362
362
  ```
363
363
  bundle = Files::Bundle.find(id)
@@ -422,7 +422,7 @@ bundle.update(
422
422
 
423
423
  ---
424
424
 
425
- ## Delete Bundle
425
+ ## Delete Share Link
426
426
 
427
427
  ```
428
428
  bundle = Files::Bundle.find(id)
@@ -35,7 +35,7 @@
35
35
 
36
36
  ---
37
37
 
38
- ## List Bundle Downloads
38
+ ## List Share Link Downloads
39
39
 
40
40
  ```
41
41
  Files::BundleDownload.list(
@@ -22,7 +22,7 @@
22
22
 
23
23
  ---
24
24
 
25
- ## List Bundle Notifications
25
+ ## List Share Link Notifications
26
26
 
27
27
  ```
28
28
  Files::BundleNotification.list(
@@ -41,7 +41,7 @@ Files::BundleNotification.list(
41
41
 
42
42
  ---
43
43
 
44
- ## Show Bundle Notification
44
+ ## Show Share Link Notification
45
45
 
46
46
  ```
47
47
  Files::BundleNotification.find(id)
@@ -54,7 +54,7 @@ Files::BundleNotification.find(id)
54
54
 
55
55
  ---
56
56
 
57
- ## Create Bundle Notification
57
+ ## Create Share Link Notification
58
58
 
59
59
  ```
60
60
  Files::BundleNotification.create(
@@ -77,7 +77,7 @@ Files::BundleNotification.create(
77
77
 
78
78
  ---
79
79
 
80
- ## Update Bundle Notification
80
+ ## Update Share Link Notification
81
81
 
82
82
  ```
83
83
  Files::BundleNotification.update(id,
@@ -95,7 +95,7 @@ Files::BundleNotification.update(id,
95
95
 
96
96
  ---
97
97
 
98
- ## Delete Bundle Notification
98
+ ## Delete Share Link Notification
99
99
 
100
100
  ```
101
101
  Files::BundleNotification.delete(id)
@@ -108,7 +108,7 @@ Files::BundleNotification.delete(id)
108
108
 
109
109
  ---
110
110
 
111
- ## Update Bundle Notification
111
+ ## Update Share Link Notification
112
112
 
113
113
  ```
114
114
  bundle_notification = Files::BundleNotification.find(id)
@@ -128,7 +128,7 @@ bundle_notification.update(
128
128
 
129
129
  ---
130
130
 
131
- ## Delete Bundle Notification
131
+ ## Delete Share Link Notification
132
132
 
133
133
  ```
134
134
  bundle_notification = Files::BundleNotification.find(id)
@@ -24,7 +24,7 @@
24
24
 
25
25
  ---
26
26
 
27
- ## List Bundle Recipients
27
+ ## List Share Link Recipients
28
28
 
29
29
  ```
30
30
  Files::BundleRecipient.list(
@@ -45,7 +45,7 @@ Files::BundleRecipient.list(
45
45
 
46
46
  ---
47
47
 
48
- ## Create Bundle Recipient
48
+ ## Create Share Link Recipient
49
49
 
50
50
  ```
51
51
  Files::BundleRecipient.create(
@@ -39,7 +39,7 @@
39
39
 
40
40
  ---
41
41
 
42
- ## List Bundle Registrations
42
+ ## List Share Link Registrations
43
43
 
44
44
  ```
45
45
  Files::BundleRegistration.list(
data/docs/user.md CHANGED
@@ -160,6 +160,7 @@
160
160
  * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
161
161
  * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
162
162
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
163
+ * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
163
164
 
164
165
 
165
166
  ---
@@ -398,7 +399,8 @@ Files::User.update(id,
398
399
  user_root: "example",
399
400
  user_home: "example",
400
401
  username: "user",
401
- clear_2fa: false
402
+ clear_2fa: false,
403
+ convert_to_partner_user: false
402
404
  )
403
405
  ```
404
406
 
@@ -457,6 +459,7 @@ Files::User.update(id,
457
459
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
458
460
  * `username` (string): User's username
459
461
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
462
+ * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
460
463
 
461
464
 
462
465
  ---
@@ -572,7 +575,8 @@ user.update(
572
575
  user_root: "example",
573
576
  user_home: "example",
574
577
  username: "user",
575
- clear_2fa: false
578
+ clear_2fa: false,
579
+ convert_to_partner_user: false
576
580
  )
577
581
  ```
578
582
 
@@ -631,6 +635,7 @@ user.update(
631
635
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
632
636
  * `username` (string): User's username
633
637
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
638
+ * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
634
639
 
635
640
 
636
641
  ---
@@ -734,6 +734,15 @@ module Files
734
734
  @attributes[:clear_2fa] = value
735
735
  end
736
736
 
737
+ # boolean - If true, convert this user to a partner user by assigning the partner_id provided.
738
+ def convert_to_partner_user
739
+ @attributes[:convert_to_partner_user]
740
+ end
741
+
742
+ def convert_to_partner_user=(value)
743
+ @attributes[:convert_to_partner_user] = value
744
+ end
745
+
737
746
  # Unlock user who has been locked out due to failed logins
738
747
  def unlock(params = {})
739
748
  params ||= {}
@@ -820,6 +829,7 @@ module Files
820
829
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
821
830
  # username - string - User's username
822
831
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
832
+ # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
823
833
  def update(params = {})
824
834
  params ||= {}
825
835
  params[:id] = @attributes[:id]
@@ -1115,6 +1125,7 @@ module Files
1115
1125
  # user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
1116
1126
  # username - string - User's username
1117
1127
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1128
+ # convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
1118
1129
  def self.update(id, params = {}, options = {})
1119
1130
  params ||= {}
1120
1131
  params[:id] = id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.340"
4
+ VERSION = "1.1.341"
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.340
4
+ version: 1.1.341
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-17 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable