files.com 1.1.614 → 1.1.616

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: 9fe3c25fb2e54ac1a0848189fc6a0aa18add7043bd0580cfc33d911876b9af54
4
- data.tar.gz: 8de8ea19756e9cde05ee7fdc9f950e342d97d84e909db0589e7eee3c5f5da022
3
+ metadata.gz: a0c89fedade4611f4b13190a4c84791e024f5eb1b7604ad1e7789d69e5675505
4
+ data.tar.gz: fa1eaaacf01cbbf25fd0d6a6a3da62c199ebf920c0ac657e73f459fc8a58a700
5
5
  SHA512:
6
- metadata.gz: de8127575b344f21fb5e21292e16ef5147676900450a7f0fb313d36d7152b5ea3c1573ac3ec595385273a4344bf90e58515270cae1ec3dbb7a040fd408f3ae96
7
- data.tar.gz: 5c04e3b18b9da018208fd55d67582a233697188ec719a986d31b7082e5abeb769f3b30b08647423ed40a1d9ea6f2ce29982ac0e77c104b25b97a722b792660a3
6
+ metadata.gz: d8c506820d509c292ec12818569fef92c16a7d0cc52c97c947f2b60a81e94a869b71e5985edd0030329d4fe4b4687423faf45fd2f380c649b05e630b5e1b3590
7
+ data.tar.gz: 8906ec8ae902d899d7b813559a748110cd185a01854e7dc2212517924fcad2ee53b24b5b0cadff9b9f450a72260812a50113ce29a1229f756f13f298c20f6c3b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.614
1
+ 1.1.616
@@ -31,7 +31,11 @@
31
31
  "workspace_id": 1,
32
32
  "bundle_registration_name": "John Doe",
33
33
  "bundle_registration_email": "john@example.com",
34
- "bundle_registration_ip": "127.0.0.1"
34
+ "bundle_registration_ip": "127.0.0.1",
35
+ "form_field_set_id": 1,
36
+ "form_field_data": {
37
+ "key": "example value"
38
+ }
35
39
  }
36
40
  ```
37
41
 
@@ -46,6 +50,8 @@
46
50
  * `bundle_registration_name` (string): Name of the registrant who performed the action
47
51
  * `bundle_registration_email` (string): Email of the registrant
48
52
  * `bundle_registration_ip` (string): IP address of the registrant
53
+ * `form_field_set_id` (int64): Id of associated form field set
54
+ * `form_field_data` (object): Data for form field set with form field ids as keys and user data as values
49
55
 
50
56
 
51
57
  ---
@@ -8,6 +8,7 @@
8
8
  "name": "North America Desktop Profile",
9
9
  "workspace_id": 1,
10
10
  "use_for_all_users": true,
11
+ "disable_drive_mounting": true,
11
12
  "mount_mappings": {
12
13
  "key": "example value"
13
14
  }
@@ -18,6 +19,7 @@
18
19
  * `name` (string): Profile name
19
20
  * `workspace_id` (int64): Workspace ID
20
21
  * `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
22
+ * `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
21
23
  * `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
22
24
 
23
25
 
@@ -59,7 +61,8 @@ Files::DesktopConfigurationProfile.create(
59
61
  name: "North America Desktop Profile",
60
62
  mount_mappings: {"key":"example value"},
61
63
  workspace_id: 1,
62
- use_for_all_users: false
64
+ use_for_all_users: false,
65
+ disable_drive_mounting: false
63
66
  )
64
67
  ```
65
68
 
@@ -69,6 +72,7 @@ Files::DesktopConfigurationProfile.create(
69
72
  * `mount_mappings` (object): Required - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
70
73
  * `workspace_id` (int64): Workspace ID
71
74
  * `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
75
+ * `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
72
76
 
73
77
 
74
78
  ---
@@ -80,7 +84,8 @@ Files::DesktopConfigurationProfile.update(id,
80
84
  name: "North America Desktop Profile",
81
85
  workspace_id: 1,
82
86
  mount_mappings: {"key":"example value"},
83
- use_for_all_users: false
87
+ use_for_all_users: false,
88
+ disable_drive_mounting: false
84
89
  )
85
90
  ```
86
91
 
@@ -91,6 +96,7 @@ Files::DesktopConfigurationProfile.update(id,
91
96
  * `workspace_id` (int64): Workspace ID
92
97
  * `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
93
98
  * `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
99
+ * `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
94
100
 
95
101
 
96
102
  ---
@@ -117,7 +123,8 @@ desktop_configuration_profile.update(
117
123
  name: "North America Desktop Profile",
118
124
  workspace_id: 1,
119
125
  mount_mappings: {"key":"example value"},
120
- use_for_all_users: false
126
+ use_for_all_users: false,
127
+ disable_drive_mounting: false
121
128
  )
122
129
  ```
123
130
 
@@ -128,6 +135,7 @@ desktop_configuration_profile.update(
128
135
  * `workspace_id` (int64): Workspace ID
129
136
  * `mount_mappings` (object): Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
130
137
  * `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
138
+ * `disable_drive_mounting` (boolean): Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
131
139
 
132
140
 
133
141
  ---
@@ -64,6 +64,16 @@ module Files
64
64
  @attributes[:bundle_registration_ip]
65
65
  end
66
66
 
67
+ # int64 - Id of associated form field set
68
+ def form_field_set_id
69
+ @attributes[:form_field_set_id]
70
+ end
71
+
72
+ # object - Data for form field set with form field ids as keys and user data as values
73
+ def form_field_data
74
+ @attributes[:form_field_data]
75
+ end
76
+
67
77
  # Parameters:
68
78
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
69
79
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
@@ -45,6 +45,15 @@ module Files
45
45
  @attributes[:use_for_all_users] = value
46
46
  end
47
47
 
48
+ # boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
49
+ def disable_drive_mounting
50
+ @attributes[:disable_drive_mounting]
51
+ end
52
+
53
+ def disable_drive_mounting=(value)
54
+ @attributes[:disable_drive_mounting] = value
55
+ end
56
+
48
57
  # object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
49
58
  def mount_mappings
50
59
  @attributes[:mount_mappings]
@@ -59,6 +68,7 @@ module Files
59
68
  # workspace_id - int64 - Workspace ID
60
69
  # mount_mappings - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
61
70
  # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
71
+ # disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
62
72
  def update(params = {})
63
73
  params ||= {}
64
74
  params[:id] = @attributes[:id]
@@ -138,6 +148,7 @@ module Files
138
148
  # mount_mappings (required) - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
139
149
  # workspace_id - int64 - Workspace ID
140
150
  # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
151
+ # disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
141
152
  def self.create(params = {}, options = {})
142
153
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
143
154
  raise InvalidParameterError.new("Bad parameter: mount_mappings must be an Hash") if params[:mount_mappings] and !params[:mount_mappings].is_a?(Hash)
@@ -154,6 +165,7 @@ module Files
154
165
  # workspace_id - int64 - Workspace ID
155
166
  # mount_mappings - object - Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
156
167
  # use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
168
+ # disable_drive_mounting - boolean - Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
157
169
  def self.update(id, params = {}, options = {})
158
170
  params ||= {}
159
171
  params[:id] = id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.614"
4
+ VERSION = "1.1.616"
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.614
4
+ version: 1.1.616
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-04-29 00:00:00.000000000 Z
11
+ date: 2026-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable