files.com 1.1.676 → 1.1.678
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/group.md +8 -0
- data/docs/integration_centric_profile.md +145 -0
- data/docs/remote_server.md +7 -1
- data/docs/site.md +5 -0
- data/docs/user.md +8 -0
- data/lib/files.com/models/group.rb +15 -0
- data/lib/files.com/models/integration_centric_profile.rb +186 -0
- data/lib/files.com/models/remote_server.rb +13 -0
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com/models/user.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ef7bf9cde3f8d5da53a59f84147b250576de0cd29611b5c879ad1d4f09cf124
|
|
4
|
+
data.tar.gz: 211ea1233c6828c9db8c2e1ecc71858d992e5c1074218f22e5580eae75a60007
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7f54f058a1b201d599fc754fe7a0e68e48e15a96c092b8646d6cf8a27108306a1f496ba93c92cfef404e039fab060855b1c5416f7ad4c41e08f6b1b180bc477
|
|
7
|
+
data.tar.gz: 447a0a28591ab4dcb73261bdbaf5266c8700d02240c2e09f8fd5fd769cc73931fcddc9885a026dcdce81fa006e24f9a0b44280762ea5575a5d17e43ccc07a7da
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.678
|
data/docs/group.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"dav_permission": true,
|
|
18
18
|
"restapi_permission": true,
|
|
19
19
|
"desktop_configuration_profile_id": 1,
|
|
20
|
+
"integration_centric_profile_id": 1,
|
|
20
21
|
"site_id": 1,
|
|
21
22
|
"workspace_id": 1
|
|
22
23
|
}
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
36
37
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
37
38
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
39
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
38
40
|
* `site_id` (int64): Site ID
|
|
39
41
|
* `workspace_id` (int64): Workspace ID
|
|
40
42
|
|
|
@@ -88,6 +90,7 @@ Files::Group.create(
|
|
|
88
90
|
dav_permission: true,
|
|
89
91
|
restapi_permission: true,
|
|
90
92
|
desktop_configuration_profile_id: 1,
|
|
93
|
+
integration_centric_profile_id: 1,
|
|
91
94
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
92
95
|
name: "name",
|
|
93
96
|
workspace_id: 0
|
|
@@ -105,6 +108,7 @@ Files::Group.create(
|
|
|
105
108
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
106
109
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
107
110
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
111
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
108
112
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
109
113
|
* `name` (string): Required - Group name.
|
|
110
114
|
* `workspace_id` (int64): Workspace ID
|
|
@@ -125,6 +129,7 @@ Files::Group.update(id,
|
|
|
125
129
|
dav_permission: true,
|
|
126
130
|
restapi_permission: true,
|
|
127
131
|
desktop_configuration_profile_id: 1,
|
|
132
|
+
integration_centric_profile_id: 1,
|
|
128
133
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
129
134
|
name: "owners"
|
|
130
135
|
)
|
|
@@ -142,6 +147,7 @@ Files::Group.update(id,
|
|
|
142
147
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
143
148
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
144
149
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
150
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
145
151
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
146
152
|
* `name` (string): Group name.
|
|
147
153
|
|
|
@@ -176,6 +182,7 @@ group.update(
|
|
|
176
182
|
dav_permission: true,
|
|
177
183
|
restapi_permission: true,
|
|
178
184
|
desktop_configuration_profile_id: 1,
|
|
185
|
+
integration_centric_profile_id: 1,
|
|
179
186
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
180
187
|
name: "owners"
|
|
181
188
|
)
|
|
@@ -193,6 +200,7 @@ group.update(
|
|
|
193
200
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
194
201
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
195
202
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
203
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
196
204
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
197
205
|
* `name` (string): Group name.
|
|
198
206
|
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# IntegrationCentricProfile
|
|
2
|
+
|
|
3
|
+
## Example IntegrationCentricProfile Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"name": "Business Systems Onboarding",
|
|
9
|
+
"workspace_id": 1,
|
|
10
|
+
"use_for_all_users": true,
|
|
11
|
+
"expected_remote_servers": [
|
|
12
|
+
"example"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
* `id` (int64): Integration Centric Profile ID
|
|
18
|
+
* `name` (string): Profile name
|
|
19
|
+
* `workspace_id` (int64): Workspace ID
|
|
20
|
+
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
21
|
+
* `expected_remote_servers` (array(object)): Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## List Integration Centric Profiles
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
Files::IntegrationCentricProfile.list
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
* `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.
|
|
35
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
36
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
37
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Show Integration Centric Profile
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
Files::IntegrationCentricProfile.find(id)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Parameters
|
|
49
|
+
|
|
50
|
+
* `id` (int64): Required - Integration Centric Profile ID.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Create Integration Centric Profile
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Files::IntegrationCentricProfile.create(
|
|
59
|
+
name: "Business Systems Onboarding",
|
|
60
|
+
expected_remote_servers: ["example"],
|
|
61
|
+
workspace_id: 1,
|
|
62
|
+
use_for_all_users: false
|
|
63
|
+
)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Parameters
|
|
67
|
+
|
|
68
|
+
* `name` (string): Required - Profile name
|
|
69
|
+
* `expected_remote_servers` (array(object)): Required - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
70
|
+
* `workspace_id` (int64): Workspace ID
|
|
71
|
+
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Update Integration Centric Profile
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
Files::IntegrationCentricProfile.update(id,
|
|
80
|
+
name: "Business Systems Onboarding",
|
|
81
|
+
workspace_id: 1,
|
|
82
|
+
expected_remote_servers: ["example"],
|
|
83
|
+
use_for_all_users: false
|
|
84
|
+
)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
* `id` (int64): Required - Integration Centric Profile ID.
|
|
90
|
+
* `name` (string): Profile name
|
|
91
|
+
* `workspace_id` (int64): Workspace ID
|
|
92
|
+
* `expected_remote_servers` (array(object)): Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
93
|
+
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Delete Integration Centric Profile
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
Files::IntegrationCentricProfile.delete(id)
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
* `id` (int64): Required - Integration Centric Profile ID.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Update Integration Centric Profile
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
integration_centric_profile = Files::IntegrationCentricProfile.find(id)
|
|
115
|
+
|
|
116
|
+
integration_centric_profile.update(
|
|
117
|
+
name: "Business Systems Onboarding",
|
|
118
|
+
workspace_id: 1,
|
|
119
|
+
expected_remote_servers: ["example"],
|
|
120
|
+
use_for_all_users: false
|
|
121
|
+
)
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Parameters
|
|
125
|
+
|
|
126
|
+
* `id` (int64): Required - Integration Centric Profile ID.
|
|
127
|
+
* `name` (string): Profile name
|
|
128
|
+
* `workspace_id` (int64): Workspace ID
|
|
129
|
+
* `expected_remote_servers` (array(object)): Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
130
|
+
* `use_for_all_users` (boolean): Whether this profile applies to all users in the Workspace by default
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Delete Integration Centric Profile
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
integration_centric_profile = Files::IntegrationCentricProfile.find(id)
|
|
139
|
+
|
|
140
|
+
integration_centric_profile.delete
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
* `id` (int64): Required - Integration Centric Profile ID.
|
data/docs/remote_server.md
CHANGED
|
@@ -151,6 +151,7 @@
|
|
|
151
151
|
* `linode_access_key` (string): Linode: Access Key
|
|
152
152
|
* `linode_region` (string): Linode: region
|
|
153
153
|
* `supports_versioning` (boolean): If true, this remote server supports file versioning. This value is determined automatically by Files.com.
|
|
154
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
154
155
|
* `password` (string): Password, if needed.
|
|
155
156
|
* `private_key` (string): Private key, if needed.
|
|
156
157
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
@@ -178,11 +179,14 @@
|
|
|
178
179
|
## List Remote Servers
|
|
179
180
|
|
|
180
181
|
```
|
|
181
|
-
Files::RemoteServer.list
|
|
182
|
+
Files::RemoteServer.list(
|
|
183
|
+
user_id: 1
|
|
184
|
+
)
|
|
182
185
|
```
|
|
183
186
|
|
|
184
187
|
### Parameters
|
|
185
188
|
|
|
189
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
186
190
|
* `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.
|
|
187
191
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
188
192
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
|
@@ -222,6 +226,7 @@ Files::RemoteServer.find_configuration_file(id)
|
|
|
222
226
|
|
|
223
227
|
```
|
|
224
228
|
Files::RemoteServer.create(
|
|
229
|
+
user_id: 1,
|
|
225
230
|
reset_authentication: false,
|
|
226
231
|
allow_relative_paths: true,
|
|
227
232
|
aws_access_key: "example",
|
|
@@ -286,6 +291,7 @@ Files::RemoteServer.create(
|
|
|
286
291
|
|
|
287
292
|
### Parameters
|
|
288
293
|
|
|
294
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
289
295
|
* `password` (string): Password, if needed.
|
|
290
296
|
* `private_key` (string): Private key, if needed.
|
|
291
297
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
data/docs/site.md
CHANGED
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"non_sso_users_allowed": true,
|
|
101
101
|
"folder_permissions_groups_only": true,
|
|
102
102
|
"group_admins_can_add_users": true,
|
|
103
|
+
"group_admins_can_manage_group_memberships": true,
|
|
103
104
|
"group_admins_can_delete_users": true,
|
|
104
105
|
"group_admins_can_enable_disable_users": true,
|
|
105
106
|
"group_admins_can_modify_users": true,
|
|
@@ -266,6 +267,7 @@
|
|
|
266
267
|
"disabled_expired_or_inactive": true,
|
|
267
268
|
"ai_assistant_personality_id": 1,
|
|
268
269
|
"desktop_configuration_profile_id": 1,
|
|
270
|
+
"integration_centric_profile_id": 1,
|
|
269
271
|
"email": "john.doe@files.com",
|
|
270
272
|
"filesystem_layout": "site_root",
|
|
271
273
|
"first_login_at": "2000-01-01T01:00:00Z",
|
|
@@ -434,6 +436,7 @@
|
|
|
434
436
|
* `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
|
435
437
|
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user).
|
|
436
438
|
* `group_admins_can_add_users` (boolean): Allow group admins to create users in their groups
|
|
439
|
+
* `group_admins_can_manage_group_memberships` (boolean): Allow group admins to add or remove existing users in their groups
|
|
437
440
|
* `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
|
|
438
441
|
* `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
|
|
439
442
|
* `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
|
|
@@ -679,6 +682,7 @@ Files::Site.update(
|
|
|
679
682
|
revoke_bundle_access_on_disable_or_delete: false,
|
|
680
683
|
bundle_watermark_value: {"key":"example value"},
|
|
681
684
|
group_admins_can_add_users: false,
|
|
685
|
+
group_admins_can_manage_group_memberships: false,
|
|
682
686
|
group_admins_can_delete_users: false,
|
|
683
687
|
group_admins_can_enable_disable_users: false,
|
|
684
688
|
group_admins_can_modify_users: false,
|
|
@@ -857,6 +861,7 @@ Files::Site.update(
|
|
|
857
861
|
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
858
862
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
859
863
|
* `group_admins_can_add_users` (boolean): Allow group admins to create users in their groups
|
|
864
|
+
* `group_admins_can_manage_group_memberships` (boolean): Allow group admins to add or remove existing users in their groups
|
|
860
865
|
* `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
|
|
861
866
|
* `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
|
|
862
867
|
* `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
|
data/docs/user.md
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"disabled_expired_or_inactive": true,
|
|
26
26
|
"ai_assistant_personality_id": 1,
|
|
27
27
|
"desktop_configuration_profile_id": 1,
|
|
28
|
+
"integration_centric_profile_id": 1,
|
|
28
29
|
"email": "john.doe@files.com",
|
|
29
30
|
"filesystem_layout": "site_root",
|
|
30
31
|
"first_login_at": "2000-01-01T01:00:00Z",
|
|
@@ -113,6 +114,7 @@
|
|
|
113
114
|
* `disabled_expired_or_inactive` (boolean): Computed property that returns true if user disabled or expired or inactive.
|
|
114
115
|
* `ai_assistant_personality_id` (int64): AI Assistant Personality ID assigned directly to this user, if any.
|
|
115
116
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
117
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned directly to this user, if any.
|
|
116
118
|
* `email` (email): User email address
|
|
117
119
|
* `filesystem_layout` (string): File system layout
|
|
118
120
|
* `first_login_at` (date-time): User's first login time
|
|
@@ -258,6 +260,7 @@ Files::User.create(
|
|
|
258
260
|
filesystem_layout: "site_root",
|
|
259
261
|
ftp_permission: true,
|
|
260
262
|
header_text: "User-specific message.",
|
|
263
|
+
integration_centric_profile_id: 1,
|
|
261
264
|
language: "en",
|
|
262
265
|
notification_daily_send_time: 18,
|
|
263
266
|
name: "John Doe",
|
|
@@ -328,6 +331,7 @@ Files::User.create(
|
|
|
328
331
|
* `filesystem_layout` (string): File system layout
|
|
329
332
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
330
333
|
* `header_text` (string): Text to display to the user in the header of the UI
|
|
334
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned directly to this user, if any.
|
|
331
335
|
* `language` (string): Preferred language
|
|
332
336
|
* `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
333
337
|
* `name` (string): User's full name
|
|
@@ -433,6 +437,7 @@ Files::User.update(id,
|
|
|
433
437
|
filesystem_layout: "site_root",
|
|
434
438
|
ftp_permission: true,
|
|
435
439
|
header_text: "User-specific message.",
|
|
440
|
+
integration_centric_profile_id: 1,
|
|
436
441
|
language: "en",
|
|
437
442
|
notification_daily_send_time: 18,
|
|
438
443
|
name: "John Doe",
|
|
@@ -506,6 +511,7 @@ Files::User.update(id,
|
|
|
506
511
|
* `filesystem_layout` (string): File system layout
|
|
507
512
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
508
513
|
* `header_text` (string): Text to display to the user in the header of the UI
|
|
514
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned directly to this user, if any.
|
|
509
515
|
* `language` (string): Preferred language
|
|
510
516
|
* `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
511
517
|
* `name` (string): User's full name
|
|
@@ -637,6 +643,7 @@ user.update(
|
|
|
637
643
|
filesystem_layout: "site_root",
|
|
638
644
|
ftp_permission: true,
|
|
639
645
|
header_text: "User-specific message.",
|
|
646
|
+
integration_centric_profile_id: 1,
|
|
640
647
|
language: "en",
|
|
641
648
|
notification_daily_send_time: 18,
|
|
642
649
|
name: "John Doe",
|
|
@@ -710,6 +717,7 @@ user.update(
|
|
|
710
717
|
* `filesystem_layout` (string): File system layout
|
|
711
718
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
712
719
|
* `header_text` (string): Text to display to the user in the header of the UI
|
|
720
|
+
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned directly to this user, if any.
|
|
713
721
|
* `language` (string): Preferred language
|
|
714
722
|
* `notification_daily_send_time` (int64): Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
715
723
|
* `name` (string): User's full name
|
|
@@ -126,6 +126,15 @@ module Files
|
|
|
126
126
|
@attributes[:desktop_configuration_profile_id] = value
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
+
# int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
130
|
+
def integration_centric_profile_id
|
|
131
|
+
@attributes[:integration_centric_profile_id]
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
def integration_centric_profile_id=(value)
|
|
135
|
+
@attributes[:integration_centric_profile_id] = value
|
|
136
|
+
end
|
|
137
|
+
|
|
129
138
|
# int64 - Site ID
|
|
130
139
|
def site_id
|
|
131
140
|
@attributes[:site_id]
|
|
@@ -154,6 +163,7 @@ module Files
|
|
|
154
163
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
155
164
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
156
165
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
166
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
157
167
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
158
168
|
# name - string - Group name.
|
|
159
169
|
def update(params = {})
|
|
@@ -166,6 +176,7 @@ module Files
|
|
|
166
176
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
167
177
|
raise InvalidParameterError.new("Bad parameter: ai_assistant_personality_id must be an Integer") if params[:ai_assistant_personality_id] and !params[:ai_assistant_personality_id].is_a?(Integer)
|
|
168
178
|
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
179
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
169
180
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
170
181
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
171
182
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
@@ -250,6 +261,7 @@ module Files
|
|
|
250
261
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
251
262
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
252
263
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
264
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
253
265
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
254
266
|
# name (required) - string - Group name.
|
|
255
267
|
# workspace_id - int64 - Workspace ID
|
|
@@ -259,6 +271,7 @@ module Files
|
|
|
259
271
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
260
272
|
raise InvalidParameterError.new("Bad parameter: ai_assistant_personality_id must be an Integer") if params[:ai_assistant_personality_id] and !params[:ai_assistant_personality_id].is_a?(Integer)
|
|
261
273
|
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
274
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
262
275
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
263
276
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
264
277
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
@@ -278,6 +291,7 @@ module Files
|
|
|
278
291
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
279
292
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
280
293
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
294
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
281
295
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
282
296
|
# name - string - Group name.
|
|
283
297
|
def self.update(id, params = {}, options = {})
|
|
@@ -289,6 +303,7 @@ module Files
|
|
|
289
303
|
raise InvalidParameterError.new("Bad parameter: admin_ids must be an String") if params[:admin_ids] and !params[:admin_ids].is_a?(String)
|
|
290
304
|
raise InvalidParameterError.new("Bad parameter: ai_assistant_personality_id must be an Integer") if params[:ai_assistant_personality_id] and !params[:ai_assistant_personality_id].is_a?(Integer)
|
|
291
305
|
raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if params[:desktop_configuration_profile_id] and !params[:desktop_configuration_profile_id].is_a?(Integer)
|
|
306
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
292
307
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
|
293
308
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
294
309
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
class IntegrationCentricProfile
|
|
5
|
+
attr_reader :options, :attributes
|
|
6
|
+
|
|
7
|
+
def initialize(attributes = {}, options = {})
|
|
8
|
+
@attributes = attributes || {}
|
|
9
|
+
@options = options || {}
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# int64 - Integration Centric Profile ID
|
|
13
|
+
def id
|
|
14
|
+
@attributes[:id]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def id=(value)
|
|
18
|
+
@attributes[:id] = value
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# string - Profile name
|
|
22
|
+
def name
|
|
23
|
+
@attributes[:name]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def name=(value)
|
|
27
|
+
@attributes[:name] = value
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# int64 - Workspace ID
|
|
31
|
+
def workspace_id
|
|
32
|
+
@attributes[:workspace_id]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def workspace_id=(value)
|
|
36
|
+
@attributes[:workspace_id] = value
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# boolean - Whether this profile applies to all users in the Workspace by default
|
|
40
|
+
def use_for_all_users
|
|
41
|
+
@attributes[:use_for_all_users]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def use_for_all_users=(value)
|
|
45
|
+
@attributes[:use_for_all_users] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
49
|
+
def expected_remote_servers
|
|
50
|
+
@attributes[:expected_remote_servers]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def expected_remote_servers=(value)
|
|
54
|
+
@attributes[:expected_remote_servers] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Parameters:
|
|
58
|
+
# name - string - Profile name
|
|
59
|
+
# workspace_id - int64 - Workspace ID
|
|
60
|
+
# expected_remote_servers - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
61
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
62
|
+
def update(params = {})
|
|
63
|
+
params ||= {}
|
|
64
|
+
params[:id] = @attributes[:id]
|
|
65
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
66
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
67
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
68
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
69
|
+
raise InvalidParameterError.new("Bad parameter: expected_remote_servers must be an Array") if params[:expected_remote_servers] and !params[:expected_remote_servers].is_a?(Array)
|
|
70
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
71
|
+
|
|
72
|
+
Api.send_request("/integration_centric_profiles/#{@attributes[:id]}", :patch, params, @options)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def delete(params = {})
|
|
76
|
+
params ||= {}
|
|
77
|
+
params[:id] = @attributes[:id]
|
|
78
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
79
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
80
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
81
|
+
|
|
82
|
+
Api.send_request("/integration_centric_profiles/#{@attributes[:id]}", :delete, params, @options)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def destroy(params = {})
|
|
86
|
+
delete(params)
|
|
87
|
+
nil
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def save
|
|
91
|
+
if @attributes[:id]
|
|
92
|
+
new_obj = update(@attributes)
|
|
93
|
+
else
|
|
94
|
+
new_obj = IntegrationCentricProfile.create(@attributes, @options)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
@attributes = new_obj.attributes
|
|
98
|
+
true
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Parameters:
|
|
102
|
+
# 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.
|
|
103
|
+
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
104
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
105
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
106
|
+
def self.list(params = {}, options = {})
|
|
107
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
108
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
109
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
110
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
111
|
+
|
|
112
|
+
List.new(IntegrationCentricProfile, params) do
|
|
113
|
+
Api.send_request("/integration_centric_profiles", :get, params, options)
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def self.all(params = {}, options = {})
|
|
118
|
+
list(params, options)
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Parameters:
|
|
122
|
+
# id (required) - int64 - Integration Centric Profile ID.
|
|
123
|
+
def self.find(id, params = {}, options = {})
|
|
124
|
+
params ||= {}
|
|
125
|
+
params[:id] = id
|
|
126
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
127
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
128
|
+
|
|
129
|
+
response, options = Api.send_request("/integration_centric_profiles/#{params[:id]}", :get, params, options)
|
|
130
|
+
IntegrationCentricProfile.new(response.data, options)
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
def self.get(id, params = {}, options = {})
|
|
134
|
+
find(id, params, options)
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Parameters:
|
|
138
|
+
# name (required) - string - Profile name
|
|
139
|
+
# expected_remote_servers (required) - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
140
|
+
# workspace_id - int64 - Workspace ID
|
|
141
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
142
|
+
def self.create(params = {}, options = {})
|
|
143
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
144
|
+
raise InvalidParameterError.new("Bad parameter: expected_remote_servers must be an Array") if params[:expected_remote_servers] and !params[:expected_remote_servers].is_a?(Array)
|
|
145
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
146
|
+
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
147
|
+
raise MissingParameterError.new("Parameter missing: expected_remote_servers") unless params[:expected_remote_servers]
|
|
148
|
+
|
|
149
|
+
response, options = Api.send_request("/integration_centric_profiles", :post, params, options)
|
|
150
|
+
IntegrationCentricProfile.new(response.data, options)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Parameters:
|
|
154
|
+
# name - string - Profile name
|
|
155
|
+
# workspace_id - int64 - Workspace ID
|
|
156
|
+
# expected_remote_servers - array(object) - Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
|
|
157
|
+
# use_for_all_users - boolean - Whether this profile applies to all users in the Workspace by default
|
|
158
|
+
def self.update(id, params = {}, options = {})
|
|
159
|
+
params ||= {}
|
|
160
|
+
params[:id] = id
|
|
161
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
162
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
163
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
164
|
+
raise InvalidParameterError.new("Bad parameter: expected_remote_servers must be an Array") if params[:expected_remote_servers] and !params[:expected_remote_servers].is_a?(Array)
|
|
165
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
166
|
+
|
|
167
|
+
response, options = Api.send_request("/integration_centric_profiles/#{params[:id]}", :patch, params, options)
|
|
168
|
+
IntegrationCentricProfile.new(response.data, options)
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
def self.delete(id, params = {}, options = {})
|
|
172
|
+
params ||= {}
|
|
173
|
+
params[:id] = id
|
|
174
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
175
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
176
|
+
|
|
177
|
+
Api.send_request("/integration_centric_profiles/#{params[:id]}", :delete, params, options)
|
|
178
|
+
nil
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
def self.destroy(id, params = {}, options = {})
|
|
182
|
+
delete(id, params, options)
|
|
183
|
+
nil
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
@@ -657,6 +657,15 @@ module Files
|
|
|
657
657
|
@attributes[:supports_versioning] = value
|
|
658
658
|
end
|
|
659
659
|
|
|
660
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
661
|
+
def user_id
|
|
662
|
+
@attributes[:user_id]
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
def user_id=(value)
|
|
666
|
+
@attributes[:user_id] = value
|
|
667
|
+
end
|
|
668
|
+
|
|
660
669
|
# string - Password, if needed.
|
|
661
670
|
def password
|
|
662
671
|
@attributes[:password]
|
|
@@ -1068,12 +1077,14 @@ module Files
|
|
|
1068
1077
|
end
|
|
1069
1078
|
|
|
1070
1079
|
# Parameters:
|
|
1080
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
1071
1081
|
# 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.
|
|
1072
1082
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
1073
1083
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
|
1074
1084
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `workspace_id`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ workspace_id, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]`, `[ linode_bucket, name ]`, `[ workspace_id, server_type ]` or `[ workspace_id, server_type, name ]`.
|
|
1075
1085
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
|
|
1076
1086
|
def self.list(params = {}, options = {})
|
|
1087
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
1077
1088
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
1078
1089
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
1079
1090
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
@@ -1118,6 +1129,7 @@ module Files
|
|
|
1118
1129
|
end
|
|
1119
1130
|
|
|
1120
1131
|
# Parameters:
|
|
1132
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
1121
1133
|
# password - string - Password, if needed.
|
|
1122
1134
|
# private_key - string - Private key, if needed.
|
|
1123
1135
|
# private_key_passphrase - string - Passphrase for private key if needed.
|
|
@@ -1197,6 +1209,7 @@ module Files
|
|
|
1197
1209
|
# wasabi_region - string - Wasabi: Region
|
|
1198
1210
|
# workspace_id - int64 - Workspace ID (0 for default workspace)
|
|
1199
1211
|
def self.create(params = {}, options = {})
|
|
1212
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
1200
1213
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
1201
1214
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
1202
1215
|
raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
|
|
@@ -411,6 +411,11 @@ module Files
|
|
|
411
411
|
@attributes[:group_admins_can_add_users]
|
|
412
412
|
end
|
|
413
413
|
|
|
414
|
+
# boolean - Allow group admins to add or remove existing users in their groups
|
|
415
|
+
def group_admins_can_manage_group_memberships
|
|
416
|
+
@attributes[:group_admins_can_manage_group_memberships]
|
|
417
|
+
end
|
|
418
|
+
|
|
414
419
|
# boolean - Allow group admins to delete users in their groups
|
|
415
420
|
def group_admins_can_delete_users
|
|
416
421
|
@attributes[:group_admins_can_delete_users]
|
|
@@ -1081,6 +1086,7 @@ module Files
|
|
|
1081
1086
|
# revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
1082
1087
|
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
1083
1088
|
# group_admins_can_add_users - boolean - Allow group admins to create users in their groups
|
|
1089
|
+
# group_admins_can_manage_group_memberships - boolean - Allow group admins to add or remove existing users in their groups
|
|
1084
1090
|
# group_admins_can_delete_users - boolean - Allow group admins to delete users in their groups
|
|
1085
1091
|
# group_admins_can_enable_disable_users - boolean - Allow group admins to enable or disable users in their groups
|
|
1086
1092
|
# group_admins_can_modify_users - boolean - Allow group admins to modify users in their groups
|
|
@@ -176,6 +176,15 @@ module Files
|
|
|
176
176
|
@attributes[:desktop_configuration_profile_id] = value
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
+
# int64 - Integration Centric Profile ID assigned directly to this user, if any.
|
|
180
|
+
def integration_centric_profile_id
|
|
181
|
+
@attributes[:integration_centric_profile_id]
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
def integration_centric_profile_id=(value)
|
|
185
|
+
@attributes[:integration_centric_profile_id] = value
|
|
186
|
+
end
|
|
187
|
+
|
|
179
188
|
# email - User email address
|
|
180
189
|
def email
|
|
181
190
|
@attributes[:email]
|
|
@@ -939,6 +948,7 @@ module Files
|
|
|
939
948
|
# filesystem_layout - string - File system layout
|
|
940
949
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
941
950
|
# header_text - string - Text to display to the user in the header of the UI
|
|
951
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned directly to this user, if any.
|
|
942
952
|
# language - string - Preferred language
|
|
943
953
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
944
954
|
# name - string - User's full name
|
|
@@ -1001,6 +1011,7 @@ module Files
|
|
|
1001
1011
|
raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
|
|
1002
1012
|
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
|
1003
1013
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
|
1014
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
1004
1015
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
|
1005
1016
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
|
1006
1017
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -1132,6 +1143,7 @@ module Files
|
|
|
1132
1143
|
# filesystem_layout - string - File system layout
|
|
1133
1144
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
1134
1145
|
# header_text - string - Text to display to the user in the header of the UI
|
|
1146
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned directly to this user, if any.
|
|
1135
1147
|
# language - string - Preferred language
|
|
1136
1148
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
1137
1149
|
# name - string - User's full name
|
|
@@ -1188,6 +1200,7 @@ module Files
|
|
|
1188
1200
|
raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
|
|
1189
1201
|
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
|
1190
1202
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
|
1203
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
1191
1204
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
|
1192
1205
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
|
1193
1206
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
@@ -1273,6 +1286,7 @@ module Files
|
|
|
1273
1286
|
# filesystem_layout - string - File system layout
|
|
1274
1287
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
|
1275
1288
|
# header_text - string - Text to display to the user in the header of the UI
|
|
1289
|
+
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned directly to this user, if any.
|
|
1276
1290
|
# language - string - Preferred language
|
|
1277
1291
|
# notification_daily_send_time - int64 - Hour of the day at which daily notifications should be sent. Can be in range 0 to 23
|
|
1278
1292
|
# name - string - User's full name
|
|
@@ -1334,6 +1348,7 @@ module Files
|
|
|
1334
1348
|
raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if params[:default_workspace_id] and !params[:default_workspace_id].is_a?(Integer)
|
|
1335
1349
|
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
|
1336
1350
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
|
1351
|
+
raise InvalidParameterError.new("Bad parameter: integration_centric_profile_id must be an Integer") if params[:integration_centric_profile_id] and !params[:integration_centric_profile_id].is_a?(Integer)
|
|
1337
1352
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
|
1338
1353
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
|
1339
1354
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED
data/lib/files.com.rb
CHANGED
|
@@ -103,6 +103,7 @@ require "files.com/models/inbound_s3_log"
|
|
|
103
103
|
require "files.com/models/inbox_recipient"
|
|
104
104
|
require "files.com/models/inbox_registration"
|
|
105
105
|
require "files.com/models/inbox_upload"
|
|
106
|
+
require "files.com/models/integration_centric_profile"
|
|
106
107
|
require "files.com/models/invoice"
|
|
107
108
|
require "files.com/models/invoice_line_item"
|
|
108
109
|
require "files.com/models/ip_address"
|
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.678
|
|
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-07-
|
|
11
|
+
date: 2026-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -242,6 +242,7 @@ files:
|
|
|
242
242
|
- docs/inbox_recipient.md
|
|
243
243
|
- docs/inbox_registration.md
|
|
244
244
|
- docs/inbox_upload.md
|
|
245
|
+
- docs/integration_centric_profile.md
|
|
245
246
|
- docs/invoice.md
|
|
246
247
|
- docs/invoice_line_item.md
|
|
247
248
|
- docs/ip_address.md
|
|
@@ -389,6 +390,7 @@ files:
|
|
|
389
390
|
- lib/files.com/models/inbox_recipient.rb
|
|
390
391
|
- lib/files.com/models/inbox_registration.rb
|
|
391
392
|
- lib/files.com/models/inbox_upload.rb
|
|
393
|
+
- lib/files.com/models/integration_centric_profile.rb
|
|
392
394
|
- lib/files.com/models/invoice.rb
|
|
393
395
|
- lib/files.com/models/invoice_line_item.rb
|
|
394
396
|
- lib/files.com/models/ip_address.rb
|