files.com 1.0.337 → 1.0.339

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: 0524a69b766300097eded01d8a73553b87fac692e4bbe3a00e4cbca77d866b33
4
- data.tar.gz: db809958827706751dd1ccef70335723a812e9a2dd301ce326dd6da1932e9df6
3
+ metadata.gz: 0c9903f39779bdd4ee071f3e20bad03cc6f637658496651ad275fbf9f2e84294
4
+ data.tar.gz: f63f18f6335b363a7a146174362d867dd471963ed94ac7afc346e41b0de15451
5
5
  SHA512:
6
- metadata.gz: 7ce7026201ef4310437d4ecec858457cdbd060663dcc7750117b853b6de68c5d79e3caa0c12229d2ac43088d961b73e5c6feba776a93fd6c83016b42da7b0a98
7
- data.tar.gz: f25f3967b2782e8172046e677b67b3c5efba87416492520b80dd78a194c6047c0c11beb56804397d9b81b057d68e397ac2a1a4e2d4e118d8c4b97f7888c60e88
6
+ metadata.gz: 726f0afe2a22250d49f1755cf138f9df1cea98c712f7d37e47d2ded8580482fd39995b379c96c957c3b953daad61d73a9cb78b6a0c34012002d19d33abbee05f
7
+ data.tar.gz: 953ba4283f48d1ebf207ef2633d83703dbc8f7d1047047dc8ba653e370f2c990536ff2d51e6df6d26e2fb28f960ae7933cc4d7d86c552e78dd9cf386fada6d74
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.337
1
+ 1.0.339
data/docs/auto.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```
6
6
  {
7
- "dynamic": ""
7
+ "dynamic": null
8
8
  }
9
9
  ```
10
10
 
data/docs/bundle.md CHANGED
@@ -13,7 +13,22 @@
13
13
  "require_registration": true,
14
14
  "require_share_recipient": true,
15
15
  "clickwrap_body": "[Legal text]",
16
- "form_field_set": "",
16
+ "form_field_set": {
17
+ "id": 1,
18
+ "title": "Sample Form Title",
19
+ "form_layout": [
20
+ 1,
21
+ 2,
22
+ 3,
23
+ 4
24
+ ],
25
+ "form_fields": [
26
+ null
27
+ ],
28
+ "skip_name": true,
29
+ "skip_email": true,
30
+ "skip_company": true
31
+ },
17
32
  "skip_name": true,
18
33
  "skip_email": true,
19
34
  "skip_company": true,
@@ -29,7 +44,7 @@
29
44
  "username": "user",
30
45
  "clickwrap_id": 1,
31
46
  "inbox_id": 1,
32
- "watermark_attachment": "",
47
+ "watermark_attachment": null,
33
48
  "watermark_value": {
34
49
  "key": "example value"
35
50
  },
@@ -68,7 +83,7 @@
68
83
  * `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
69
84
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
70
85
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
71
- * `paths` (array): A list of paths in this bundle
86
+ * `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
72
87
  * `password` (string): Password for this bundle.
73
88
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
74
89
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
data/docs/file.md CHANGED
@@ -24,7 +24,13 @@ may places where a Ruby File object can be used.
24
24
  "download_uri": "https://mysite.files.com/...",
25
25
  "priority_color": "red",
26
26
  "preview_id": 1,
27
- "preview": ""
27
+ "preview": {
28
+ "id": 1,
29
+ "status": "complete",
30
+ "download_uri": "https://mysite.files.com/...",
31
+ "type": "image",
32
+ "size": "large"
33
+ }
28
34
  }
29
35
  ```
30
36
 
data/docs/folder.md CHANGED
@@ -26,7 +26,13 @@ Files::Dir is an alias of Files::Folder
26
26
  "download_uri": "https://mysite.files.com/...",
27
27
  "priority_color": "red",
28
28
  "preview_id": 1,
29
- "preview": ""
29
+ "preview": {
30
+ "id": 1,
31
+ "status": "complete",
32
+ "download_uri": "https://mysite.files.com/...",
33
+ "type": "image",
34
+ "size": "large"
35
+ }
30
36
  }
31
37
  ```
32
38
 
data/docs/site.md CHANGED
@@ -22,7 +22,7 @@
22
22
  "bundle_registration_notifications": "never",
23
23
  "bundle_require_share_recipient": true,
24
24
  "bundle_upload_receipt_notifications": "never",
25
- "bundle_watermark_attachment": "",
25
+ "bundle_watermark_attachment": null,
26
26
  "bundle_watermark_value": {
27
27
  "key": "example value"
28
28
  },
@@ -58,10 +58,10 @@
58
58
  "non_sso_users_allowed": true,
59
59
  "folder_permissions_groups_only": true,
60
60
  "hipaa": true,
61
- "icon128": "",
62
- "icon16": "",
63
- "icon32": "",
64
- "icon48": "",
61
+ "icon128": null,
62
+ "icon16": null,
63
+ "icon32": null,
64
+ "icon48": null,
65
65
  "immutable_files_set_at": "2000-01-01T01:00:00Z",
66
66
  "include_password_in_welcome_email": true,
67
67
  "language": "en",
@@ -82,7 +82,7 @@
82
82
  "ldap_username": "[ldap username]",
83
83
  "ldap_username_field": "sAMAccountName",
84
84
  "login_help_text": "Login page help text.",
85
- "logo": "",
85
+ "logo": null,
86
86
  "max_prior_passwords": 1,
87
87
  "motd_text": "example",
88
88
  "motd_use_for_ftp": true,
@@ -107,7 +107,12 @@
107
107
  "require_2fa": true,
108
108
  "require_2fa_stop_time": "2000-01-01T01:00:00Z",
109
109
  "require_2fa_user_type": "`site_admins`",
110
- "session": "",
110
+ "session": {
111
+ "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
112
+ "language": "en",
113
+ "read_only": true,
114
+ "sftp_insecure_ciphers": true
115
+ },
111
116
  "session_pinned_by_ip": true,
112
117
  "sftp_enabled": true,
113
118
  "sftp_host_key_type": "default",
@@ -133,7 +138,69 @@
133
138
  "trial_until": "2000-01-01T01:00:00Z",
134
139
  "updated_at": "2000-01-01T01:00:00Z",
135
140
  "use_provided_modified_at": true,
136
- "user": "",
141
+ "user": {
142
+ "id": 1,
143
+ "username": "user",
144
+ "admin_group_ids": [
145
+ 1
146
+ ],
147
+ "allowed_ips": "127.0.0.1",
148
+ "attachments_permission": true,
149
+ "api_keys_count": 1,
150
+ "authenticate_until": "2000-01-01T01:00:00Z",
151
+ "authentication_method": "password",
152
+ "avatar_url": "example",
153
+ "billing_permission": true,
154
+ "bypass_site_allowed_ips": true,
155
+ "bypass_inactive_disable": true,
156
+ "created_at": "2000-01-01T01:00:00Z",
157
+ "dav_permission": true,
158
+ "disabled": true,
159
+ "email": "example",
160
+ "first_login_at": "2000-01-01T01:00:00Z",
161
+ "ftp_permission": true,
162
+ "group_ids": "example",
163
+ "header_text": "User-specific message.",
164
+ "language": "en",
165
+ "last_login_at": "2000-01-01T01:00:00Z",
166
+ "last_web_login_at": "2000-01-01T01:00:00Z",
167
+ "last_ftp_login_at": "2000-01-01T01:00:00Z",
168
+ "last_sftp_login_at": "2000-01-01T01:00:00Z",
169
+ "last_dav_login_at": "2000-01-01T01:00:00Z",
170
+ "last_desktop_login_at": "2000-01-01T01:00:00Z",
171
+ "last_restapi_login_at": "2000-01-01T01:00:00Z",
172
+ "last_api_use_at": "2000-01-01T01:00:00Z",
173
+ "last_active_at": "2000-01-01T01:00:00Z",
174
+ "last_protocol_cipher": "example",
175
+ "lockout_expires": "2000-01-01T01:00:00Z",
176
+ "name": "John Doe",
177
+ "company": "ACME Corp.",
178
+ "notes": "Internal notes on this user.",
179
+ "notification_daily_send_time": 18,
180
+ "office_integration_enabled": true,
181
+ "password_set_at": "2000-01-01T01:00:00Z",
182
+ "password_validity_days": 1,
183
+ "public_keys_count": 1,
184
+ "receive_admin_alerts": true,
185
+ "require_2fa": "always_require",
186
+ "active_2fa": true,
187
+ "require_password_change": true,
188
+ "password_expired": true,
189
+ "restapi_permission": true,
190
+ "self_managed": true,
191
+ "sftp_permission": true,
192
+ "site_admin": true,
193
+ "skip_welcome_screen": true,
194
+ "ssl_required": "always_require",
195
+ "sso_strategy_id": 1,
196
+ "subscribe_to_newsletter": true,
197
+ "externally_managed": true,
198
+ "time_zone": "Pacific Time (US & Canada)",
199
+ "type_of_2fa": "yubi",
200
+ "user_root": "example",
201
+ "days_remaining_until_password_expire": 1,
202
+ "password_expire_at": "2000-01-01T01:00:00Z"
203
+ },
137
204
  "user_lockout": true,
138
205
  "user_lockout_lock_period": 1,
139
206
  "user_lockout_tries": 1,
@@ -257,7 +257,7 @@ module Files
257
257
  @attributes[:has_inbox] = value
258
258
  end
259
259
 
260
- # array - A list of paths in this bundle
260
+ # array - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
261
261
  def paths
262
262
  @attributes[:paths]
263
263
  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.0.337
4
+ version: 1.0.339
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-12 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable