files.com 1.1.710 → 1.1.712

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: 0c5b63c03a3fddf0bafff0ad3fa7fbdd5e7b7bc429cb15c0aed303af6bd0b3d3
4
- data.tar.gz: 44862bdc4a536d4b887fddd3154cd87b559b024c9adb32744933c2b707b92d8f
3
+ metadata.gz: c5556c442f45152118532afc239468d151f5584c2017477827eb0ed63e116b58
4
+ data.tar.gz: 52ba8f70b059bd8bfebf4ea45b4327302e3fe1e72dab9017bc14ddb50b0b864c
5
5
  SHA512:
6
- metadata.gz: 89c5695c7febde0622c60dbe73c61c38e6ecddd79c5782c175bd304d91a19605e8a07fe884fc38eb4fe3b5451ac4edff8b6ea54ada5c21b213334fae72e32739
7
- data.tar.gz: ce69880995b69a22a1245d68e924fb6d2621bcdc59dd5e44ef04e42ac24352dba8b766a6dcac1737fb6a512ba4b7f4224c1c954b341112a413ef5685bf30da57
6
+ metadata.gz: 4d1a16af3b93aae089e6d14cfe253d33069547658b742bbdd28df613ad5c0f2a6fe187d7e9eaef0aef20005aaa5d9687e5537cd9fc5bca9f0d692ef46885c7a7
7
+ data.tar.gz: d038d33703209dc64a48a38aff3552d5b1c16fe30f6d444d77e763cf262783445a30ca474f8bfab44ea38ad06e4eafd1936d4bdb97c3919aa892c2a93fa29a32
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.710
1
+ 1.1.712
data/docs/action.md CHANGED
@@ -11,10 +11,11 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": null,
14
+ "targets": {
15
+ },
15
16
  "user_id": 1,
16
17
  "username": "user",
17
- "user_is_from_parent_site": true,
18
+ "user_is_from_parent_site": false,
18
19
  "action": "create",
19
20
  "failure_type": "none",
20
21
  "interface": "web"
@@ -8,8 +8,8 @@
8
8
  "workspace_id": 1,
9
9
  "name": "Concise Assistant",
10
10
  "system_prompt": "Respond as a concise operations assistant.",
11
- "use_by_default": true,
12
- "apply_to_all_workspaces": true,
11
+ "use_by_default": false,
12
+ "apply_to_all_workspaces": false,
13
13
  "created_at": "2000-01-01T01:00:00Z",
14
14
  "updated_at": "2000-01-01T01:00:00Z"
15
15
  }
@@ -9,7 +9,7 @@
9
9
  "api_key_prefix": "example",
10
10
  "user_id": 1,
11
11
  "username": "example",
12
- "user_is_from_parent_site": true,
12
+ "user_is_from_parent_site": false,
13
13
  "interface": "example",
14
14
  "request_method": "example",
15
15
  "request_path": "example",
data/docs/automation.md CHANGED
@@ -11,7 +11,30 @@
11
11
  "automation": "create_folder",
12
12
  "deleted": true,
13
13
  "description": "example",
14
- "definition": "example",
14
+ "definition": {
15
+ "schema_version": 1,
16
+ "nodes": [
17
+ {
18
+ "id": "trigger",
19
+ "type": "trigger_manual"
20
+ },
21
+ {
22
+ "id": "create_reports",
23
+ "type": "create_folder",
24
+ "config": {
25
+ "destinations": [
26
+ "reports/"
27
+ ]
28
+ }
29
+ }
30
+ ],
31
+ "edges": [
32
+ {
33
+ "from": "trigger",
34
+ "to": "create_reports"
35
+ }
36
+ ]
37
+ },
15
38
  "destination_replace_from": "example",
16
39
  "destination_replace_to": "example",
17
40
  "destinations": [
@@ -41,7 +64,7 @@
41
64
  "ignore_locked_folders": true,
42
65
  "interval": "week",
43
66
  "last_modified_at": "2000-01-01T01:00:00Z",
44
- "legacy_folder_matching": true,
67
+ "legacy_folder_matching": false,
45
68
  "name": "example",
46
69
  "overwrite_files": true,
47
70
  "path": "example",
@@ -218,6 +241,7 @@ Files::Automation.create(
218
241
  always_overwrite_size_matching_files: true,
219
242
  always_serialize_jobs: true,
220
243
  description: "example",
244
+ definition: {"schema_version":1,"nodes":[{"id":"trigger","type":"trigger_manual"},{"id":"create_reports","type":"create_folder","config":{"destinations":["reports/"]}}],"edges":[{"from":"trigger","to":"create_reports"}]},
221
245
  disabled: true,
222
246
  exclude_pattern: "path/to/exclude/*",
223
247
  import_urls: [{"name":"users.json","url":"http://example.com/users","method":"POST","headers":{"Content-Type":"application/json"},"content":{"group":"support"}}],
@@ -259,6 +283,7 @@ Files::Automation.create(
259
283
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
260
284
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
261
285
  * `description` (string): Description for the this Automation.
286
+ * `definition` (object): Automation v2 graph definition.
262
287
  * `disabled` (boolean): If true, this automation will not run.
263
288
  * `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
264
289
  * `import_urls` (array(object)): List of URLs to be imported and names to be used.
@@ -332,6 +357,7 @@ Files::Automation.update(id,
332
357
  always_overwrite_size_matching_files: true,
333
358
  always_serialize_jobs: true,
334
359
  description: "example",
360
+ definition: {"schema_version":1,"nodes":[{"id":"trigger","type":"trigger_manual"},{"id":"create_reports","type":"create_folder","config":{"destinations":["reports/"]}}],"edges":[{"from":"trigger","to":"create_reports"}]},
335
361
  disabled: true,
336
362
  exclude_pattern: "path/to/exclude/*",
337
363
  import_urls: [{"name":"users.json","url":"http://example.com/users","method":"POST","headers":{"Content-Type":"application/json"},"content":{"group":"support"}}],
@@ -373,6 +399,7 @@ Files::Automation.update(id,
373
399
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
374
400
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
375
401
  * `description` (string): Description for the this Automation.
402
+ * `definition` (object): Automation v2 graph definition.
376
403
  * `disabled` (boolean): If true, this automation will not run.
377
404
  * `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
378
405
  * `import_urls` (array(object)): List of URLs to be imported and names to be used.
@@ -464,6 +491,7 @@ automation.update(
464
491
  always_overwrite_size_matching_files: true,
465
492
  always_serialize_jobs: true,
466
493
  description: "example",
494
+ definition: {"schema_version":1,"nodes":[{"id":"trigger","type":"trigger_manual"},{"id":"create_reports","type":"create_folder","config":{"destinations":["reports/"]}}],"edges":[{"from":"trigger","to":"create_reports"}]},
467
495
  disabled: true,
468
496
  exclude_pattern: "path/to/exclude/*",
469
497
  import_urls: [{"name":"users.json","url":"http://example.com/users","method":"POST","headers":{"Content-Type":"application/json"},"content":{"group":"support"}}],
@@ -505,6 +533,7 @@ automation.update(
505
533
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
506
534
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
507
535
  * `description` (string): Description for the this Automation.
536
+ * `definition` (object): Automation v2 graph definition.
508
537
  * `disabled` (boolean): If true, this automation will not run.
509
538
  * `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
510
539
  * `import_urls` (array(object)): List of URLs to be imported and names to be used.
data/docs/bundle.md CHANGED
@@ -13,11 +13,11 @@
13
13
  "url": "https://subdomain.files.com/f/12345678",
14
14
  "description": "The public description of the bundle.",
15
15
  "expires_at": "2000-01-01T01:00:00Z",
16
- "password_protected": true,
16
+ "password_protected": false,
17
17
  "permissions": "read",
18
- "preview_only": true,
19
- "require_registration": true,
20
- "require_share_recipient": true,
18
+ "preview_only": false,
19
+ "require_registration": false,
20
+ "require_share_recipient": false,
21
21
  "require_logout": true,
22
22
  "clickwrap_body": "[Legal text]",
23
23
  "form_field_set": {
@@ -7,8 +7,8 @@
7
7
  "id": 1,
8
8
  "name": "North America Desktop Profile",
9
9
  "workspace_id": 1,
10
- "use_for_all_users": true,
11
- "disable_drive_mounting": true,
10
+ "use_for_all_users": false,
11
+ "disable_drive_mounting": false,
12
12
  "mount_mappings": {
13
13
  "key": "example value"
14
14
  }
@@ -25,7 +25,8 @@
25
25
  "criteria_errors": [
26
26
  "count expected exactly 2, got 1"
27
27
  ],
28
- "summary": null,
28
+ "summary": {
29
+ },
29
30
  "created_at": "2000-01-01T01:00:00Z",
30
31
  "updated_at": "2000-01-01T01:00:00Z"
31
32
  }
@@ -16,7 +16,8 @@
16
16
  "opened_by_evaluation_id": 1,
17
17
  "last_evaluation_id": 2,
18
18
  "resolved_by_evaluation_id": 3,
19
- "summary": null,
19
+ "summary": {
20
+ },
20
21
  "created_at": "2000-01-01T01:00:00Z",
21
22
  "updated_at": "2000-01-01T01:00:00Z"
22
23
  }
data/docs/history.md CHANGED
@@ -11,10 +11,11 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": null,
14
+ "targets": {
15
+ },
15
16
  "user_id": 1,
16
17
  "username": "user",
17
- "user_is_from_parent_site": true,
18
+ "user_is_from_parent_site": false,
18
19
  "action": "create",
19
20
  "failure_type": "none",
20
21
  "interface": "web"
@@ -16,7 +16,7 @@
16
16
  "destination": "DestFolder",
17
17
  "ip": "127.0.0.1",
18
18
  "username": "jerry",
19
- "user_is_from_parent_site": true,
19
+ "user_is_from_parent_site": false,
20
20
  "action": "read",
21
21
  "failure_type": "bad_password",
22
22
  "interface": "ftp",
@@ -6,15 +6,55 @@
6
6
  {
7
7
  "id": 1,
8
8
  "name": "Company Holidays",
9
- "definition": "example",
9
+ "definition": {
10
+ "months": {
11
+ "0": [
12
+ {
13
+ "name": "Good Friday",
14
+ "function": "easter(year)",
15
+ "function_modifier": -2
16
+ }
17
+ ],
18
+ "1": [
19
+ {
20
+ "name": "New Year's Day",
21
+ "mday": 1,
22
+ "observed": "to_weekday_if_weekend(date)"
23
+ },
24
+ {
25
+ "name": "Third Monday",
26
+ "week": 3,
27
+ "wday": 1
28
+ }
29
+ ],
30
+ "11": [
31
+ {
32
+ "name": "Thanksgiving",
33
+ "week": 4,
34
+ "wday": 4
35
+ }
36
+ ],
37
+ "12": [
38
+ {
39
+ "name": "Christmas Eve Early Close",
40
+ "mday": 24,
41
+ "start_time": "13:00",
42
+ "end_time": "17:00",
43
+ "year_ranges": {
44
+ "from": 2026
45
+ }
46
+ }
47
+ ]
48
+ }
49
+ },
10
50
  "created_at": "2000-01-01T01:00:00Z",
11
51
  "updated_at": "2000-01-01T01:00:00Z"
12
52
  }
13
53
  ```
14
54
 
15
- * `id` (int64): Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
55
+ * `id` (int64): Holiday Calendar ID. Set a scheduled resource's `holiday_region` to `custom_` followed by this ID to make it skip the days in this calendar.
16
56
  * `name` (string): Holiday Calendar name.
17
- * `definition` (object): Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
57
+ * `definition` (object): Holiday rules for the calendar.
18
58
  * `created_at` (date-time): Creation time.
19
59
  * `updated_at` (date-time): Last update time.
20
60
 
@@ -53,12 +93,14 @@ Files::HolidayCalendar.find(id)
53
93
 
54
94
  ```
55
95
  Files::HolidayCalendar.create(
96
+ definition: {"months":{"0":[{"name":"Good Friday","function":"easter(year)","function_modifier":-2}],"1":[{"name":"New Year's Day","mday":1,"observed":"to_weekday_if_weekend(date)"},{"name":"Third Monday","week":3,"wday":1}],"11":[{"name":"Thanksgiving","week":4,"wday":4}],"12":[{"name":"Christmas Eve Early Close","mday":24,"start_time":"13:00","end_time":"17:00","year_ranges":{"from":2026}}]}},
56
97
  name: "Company Holidays"
57
98
  )
58
99
  ```
59
100
 
60
101
  ### Parameters
61
102
 
103
+ * `definition` (object): Required - Holiday rules for the calendar.
62
104
  * `name` (string): Required - Holiday Calendar name.
63
105
 
64
106
 
@@ -68,6 +110,7 @@ Files::HolidayCalendar.create(
68
110
 
69
111
  ```
70
112
  Files::HolidayCalendar.update(id,
113
+ definition: {"months":{"0":[{"name":"Good Friday","function":"easter(year)","function_modifier":-2}],"1":[{"name":"New Year's Day","mday":1,"observed":"to_weekday_if_weekend(date)"},{"name":"Third Monday","week":3,"wday":1}],"11":[{"name":"Thanksgiving","week":4,"wday":4}],"12":[{"name":"Christmas Eve Early Close","mday":24,"start_time":"13:00","end_time":"17:00","year_ranges":{"from":2026}}]}},
71
114
  name: "Company Holidays"
72
115
  )
73
116
  ```
@@ -75,6 +118,7 @@ Files::HolidayCalendar.update(id,
75
118
  ### Parameters
76
119
 
77
120
  * `id` (int64): Required - Holiday Calendar ID.
121
+ * `definition` (object): Holiday rules for the calendar.
78
122
  * `name` (string): Holiday Calendar name.
79
123
 
80
124
 
@@ -99,6 +143,7 @@ Files::HolidayCalendar.delete(id)
99
143
  holiday_calendar = Files::HolidayCalendar.find(id)
100
144
 
101
145
  holiday_calendar.update(
146
+ definition: {"months":{"0":[{"name":"Good Friday","function":"easter(year)","function_modifier":-2}],"1":[{"name":"New Year's Day","mday":1,"observed":"to_weekday_if_weekend(date)"},{"name":"Third Monday","week":3,"wday":1}],"11":[{"name":"Thanksgiving","week":4,"wday":4}],"12":[{"name":"Christmas Eve Early Close","mday":24,"start_time":"13:00","end_time":"17:00","year_ranges":{"from":2026}}]}},
102
147
  name: "Company Holidays"
103
148
  )
104
149
  ```
@@ -106,6 +151,7 @@ holiday_calendar.update(
106
151
  ### Parameters
107
152
 
108
153
  * `id` (int64): Required - Holiday Calendar ID.
154
+ * `definition` (object): Holiday rules for the calendar.
109
155
  * `name` (string): Holiday Calendar name.
110
156
 
111
157
 
@@ -7,7 +7,7 @@
7
7
  "id": 1,
8
8
  "name": "Business Systems Onboarding",
9
9
  "workspace_id": 1,
10
- "use_for_all_users": true,
10
+ "use_for_all_users": false,
11
11
  "expected_remote_servers": [
12
12
  "example"
13
13
  ]
data/docs/lock.md CHANGED
@@ -10,10 +10,10 @@
10
10
  "recursive": true,
11
11
  "owner": "user",
12
12
  "scope": "shared",
13
- "exclusive": true,
13
+ "exclusive": false,
14
14
  "token": "17c54824e9931a4688ca032d03f6663c",
15
15
  "type": "write",
16
- "allow_access_by_any_user": true,
16
+ "allow_access_by_any_user": false,
17
17
  "user_id": 1,
18
18
  "username": ""
19
19
  }
data/docs/partner.md CHANGED
@@ -4,12 +4,12 @@
4
4
 
5
5
  ```
6
6
  {
7
- "allow_bypassing_2fa_policies": true,
7
+ "allow_bypassing_2fa_policies": false,
8
8
  "allowed_ips": "10.0.0.0/8\n127.0.0.1",
9
- "allow_credential_changes": true,
10
- "allow_providing_gpg_keys": true,
11
- "allow_user_creation": true,
12
- "cc_emails_to_responsible_party": true,
9
+ "allow_credential_changes": false,
10
+ "allow_providing_gpg_keys": false,
11
+ "allow_user_creation": false,
12
+ "cc_emails_to_responsible_party": false,
13
13
  "id": 1,
14
14
  "ai_assistant_personality_id": 1,
15
15
  "workspace_id": 1,
@@ -25,7 +25,7 @@
25
25
  "responsible_group_id": 1,
26
26
  "responsible_user_id": 1,
27
27
  "root_folder": "/AcmeCorp",
28
- "show_partner_channel_home_page": true,
28
+ "show_partner_channel_home_page": false,
29
29
  "tags": "example",
30
30
  "user_ids": [
31
31
  1,
@@ -31,7 +31,7 @@
31
31
  "remote_server_mount_id": 1,
32
32
  "rise": 1,
33
33
  "status": "healthy",
34
- "undergoing_maintenance": true
34
+ "undergoing_maintenance": false
35
35
  }
36
36
  ```
37
37
 
@@ -81,7 +81,7 @@
81
81
  "linode_bucket": "my-bucket",
82
82
  "linode_access_key": "example",
83
83
  "linode_region": "us-east-1",
84
- "supports_versioning": true
84
+ "supports_versioning": false
85
85
  }
86
86
  ```
87
87
 
data/docs/session.md CHANGED
@@ -7,7 +7,7 @@
7
7
  "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
8
8
  "language": "en",
9
9
  "read_only": true,
10
- "sftp_insecure_ciphers": true
10
+ "sftp_insecure_ciphers": false
11
11
  }
12
12
  ```
13
13
 
@@ -10,8 +10,8 @@
10
10
  ],
11
11
  "created_at": "2000-01-01T01:00:00Z",
12
12
  "user_id": 1,
13
- "user_is_files_support": true,
14
- "user_is_from_parent_site": true,
13
+ "user_is_files_support": false,
14
+ "user_is_from_parent_site": false,
15
15
  "username": "some_user"
16
16
  }
17
17
  ```
data/docs/site.md CHANGED
@@ -25,14 +25,14 @@
25
25
  "allowed_2fa_method_static": true,
26
26
  "allowed_2fa_method_bypass_for_ftp_sftp_dav": true,
27
27
  "admin_user_id": 1,
28
- "admins_bypass_locked_subfolders": true,
28
+ "admins_bypass_locked_subfolders": false,
29
29
  "allow_bundle_names": true,
30
30
  "allow_user_level_2fa_override": true,
31
31
  "allow_user_level_allowed_ip_override": true,
32
32
  "allow_user_level_ssl_override": true,
33
33
  "allowed_countries": "US,DE",
34
34
  "allowed_ips": "example",
35
- "always_mkdir_parents": true,
35
+ "always_mkdir_parents": false,
36
36
  "as2_message_retention_days": 1,
37
37
  "ask_about_overwrites": true,
38
38
  "bundle_activity_notifications": "never",
@@ -73,9 +73,9 @@
73
73
  "currency": "USD",
74
74
  "custom_namespace": true,
75
75
  "dav_enabled": true,
76
- "dav_user_root_enabled": true,
76
+ "dav_user_root_enabled": false,
77
77
  "days_to_retain_backups": 30,
78
- "document_edits_in_bundle_allowed": true,
78
+ "document_edits_in_bundle_allowed": false,
79
79
  "default_time_zone": "Pacific Time (US & Canada)",
80
80
  "desktop_app": true,
81
81
  "desktop_app_session_ip_pinning": true,
@@ -177,15 +177,15 @@
177
177
  "phone": "555-555-5555",
178
178
  "pin_all_remote_servers_to_site_region": true,
179
179
  "prevent_root_permissions_for_non_site_admins": true,
180
- "protocol_access_groups_only": true,
180
+ "protocol_access_groups_only": false,
181
181
  "require_2fa": true,
182
182
  "restrict_root_folder_behaviors_to_site_admins": true,
183
183
  "root_folder_behaviors_apply_to_workspaces": true,
184
184
  "require_2fa_exempt_all_sso_users": true,
185
185
  "require_2fa_stop_time": "2000-01-01T01:00:00Z",
186
- "revoke_bundle_access_on_disable_or_delete": true,
186
+ "revoke_bundle_access_on_disable_or_delete": false,
187
187
  "require_2fa_user_type": "`site_admins`",
188
- "require_logout_from_bundles_and_inboxes": true,
188
+ "require_logout_from_bundles_and_inboxes": false,
189
189
  "session": {
190
190
  "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
191
191
  "language": "en",
@@ -225,9 +225,9 @@
225
225
  "sftp_finalize_partial_uploads": true,
226
226
  "sftp_host_key_type": "default",
227
227
  "active_sftp_host_key_id": 1,
228
- "sftp_insecure_ciphers": true,
229
- "sftp_insecure_diffie_hellman": true,
230
- "sftp_user_root_enabled": true,
228
+ "sftp_insecure_ciphers": false,
229
+ "sftp_insecure_diffie_hellman": false,
230
+ "sftp_user_root_enabled": false,
231
231
  "sharing_enabled": true,
232
232
  "show_user_notifications_log_in_link": true,
233
233
  "show_request_access_link": true,
data/docs/sso_strategy.md CHANGED
@@ -22,10 +22,10 @@
22
22
  "scim_oauth_access_token": "example",
23
23
  "scim_oauth_access_token_expires_at": "example",
24
24
  "subdomain": "",
25
- "provision_users": true,
26
- "provision_groups": true,
27
- "deprovision_users": true,
28
- "deprovision_groups": true,
25
+ "provision_users": false,
26
+ "provision_groups": false,
27
+ "deprovision_users": false,
28
+ "deprovision_groups": false,
29
29
  "deprovision_behavior": "disable",
30
30
  "provision_group_default": "Employees",
31
31
  "provision_group_exclusion": "Employees",
data/docs/user.md CHANGED
@@ -16,9 +16,9 @@
16
16
  "authentication_method": "password",
17
17
  "avatar_url": "example",
18
18
  "billable": true,
19
- "billing_permission": true,
20
- "bypass_site_allowed_ips": true,
21
- "bypass_user_lifecycle_rules": true,
19
+ "billing_permission": false,
20
+ "bypass_site_allowed_ips": false,
21
+ "bypass_user_lifecycle_rules": false,
22
22
  "created_at": "2000-01-01T01:00:00Z",
23
23
  "dav_permission": true,
24
24
  "disabled": true,
@@ -468,6 +468,7 @@ module Files
468
468
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
469
469
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
470
470
  # description - string - Description for the this Automation.
471
+ # definition - object - Automation v2 graph definition.
471
472
  # disabled - boolean - If true, this automation will not run.
472
473
  # exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
473
474
  # import_urls - array(object) - List of URLs to be imported and names to be used.
@@ -616,6 +617,7 @@ module Files
616
617
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
617
618
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
618
619
  # description - string - Description for the this Automation.
620
+ # definition - object - Automation v2 graph definition.
619
621
  # disabled - boolean - If true, this automation will not run.
620
622
  # exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
621
623
  # import_urls - array(object) - List of URLs to be imported and names to be used.
@@ -651,6 +653,7 @@ module Files
651
653
  raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
652
654
  raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
653
655
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
656
+ raise InvalidParameterError.new("Bad parameter: definition must be an Hash") if params[:definition] and !params[:definition].is_a?(Hash)
654
657
  raise InvalidParameterError.new("Bad parameter: exclude_pattern must be an String") if params[:exclude_pattern] and !params[:exclude_pattern].is_a?(String)
655
658
  raise InvalidParameterError.new("Bad parameter: import_urls must be an Array") if params[:import_urls] and !params[:import_urls].is_a?(Array)
656
659
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
@@ -715,6 +718,7 @@ module Files
715
718
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
716
719
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
717
720
  # description - string - Description for the this Automation.
721
+ # definition - object - Automation v2 graph definition.
718
722
  # disabled - boolean - If true, this automation will not run.
719
723
  # exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
720
724
  # import_urls - array(object) - List of URLs to be imported and names to be used.
@@ -752,6 +756,7 @@ module Files
752
756
  raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
753
757
  raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
754
758
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
759
+ raise InvalidParameterError.new("Bad parameter: definition must be an Hash") if params[:definition] and !params[:definition].is_a?(Hash)
755
760
  raise InvalidParameterError.new("Bad parameter: exclude_pattern must be an String") if params[:exclude_pattern] and !params[:exclude_pattern].is_a?(String)
756
761
  raise InvalidParameterError.new("Bad parameter: import_urls must be an Array") if params[:import_urls] and !params[:import_urls].is_a?(Array)
757
762
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # int64 - Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
12
+ # int64 - Holiday Calendar ID. Set a scheduled resource's `holiday_region` to `custom_` followed by this ID to make it skip the days in this calendar.
13
13
  def id
14
14
  @attributes[:id]
15
15
  end
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:name] = value
28
28
  end
29
29
 
30
- # object - Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
30
+ # object - Holiday rules for the calendar.
31
31
  def definition
32
32
  @attributes[:definition]
33
33
  end
@@ -47,6 +47,7 @@ module Files
47
47
  end
48
48
 
49
49
  # Parameters:
50
+ # definition - object - Holiday rules for the calendar.
50
51
  # name - string - Holiday Calendar name.
51
52
  def update(params = {})
52
53
  params ||= {}
@@ -120,9 +121,12 @@ module Files
120
121
  end
121
122
 
122
123
  # Parameters:
124
+ # definition (required) - object - Holiday rules for the calendar.
123
125
  # name (required) - string - Holiday Calendar name.
124
126
  def self.create(params = {}, options = {})
127
+ raise InvalidParameterError.new("Bad parameter: definition must be an Hash") if params[:definition] and !params[:definition].is_a?(Hash)
125
128
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
129
+ raise MissingParameterError.new("Parameter missing: definition") unless params[:definition]
126
130
  raise MissingParameterError.new("Parameter missing: name") unless params[:name]
127
131
 
128
132
  response, options = Api.send_request("/holiday_calendars", :post, params, options)
@@ -130,11 +134,13 @@ module Files
130
134
  end
131
135
 
132
136
  # Parameters:
137
+ # definition - object - Holiday rules for the calendar.
133
138
  # name - string - Holiday Calendar name.
134
139
  def self.update(id, params = {}, options = {})
135
140
  params ||= {}
136
141
  params[:id] = id
137
142
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
143
+ raise InvalidParameterError.new("Bad parameter: definition must be an Hash") if params[:definition] and !params[:definition].is_a?(Hash)
138
144
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
139
145
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
140
146
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.710"
4
+ VERSION = "1.1.712"
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.710
4
+ version: 1.1.712
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-13 00:00:00.000000000 Z
11
+ date: 2026-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable