files.com 1.1.611 → 1.1.613
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/partner.md +1 -1
- data/docs/sso_strategy.md +4 -0
- data/docs/sync.md +12 -12
- data/lib/files.com/models/partner.rb +1 -1
- data/lib/files.com/models/sso_strategy.rb +10 -0
- data/lib/files.com/models/sync.rb +12 -12
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 209565b162c92e731e627e005d61064dd03b488198ee468ba9b1b64ea11c15a5
|
|
4
|
+
data.tar.gz: f5843c5fe698e0a7a52ae6195d803b55bfc4e4874b94b0e84d6aa3d6077e5787
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba26c2b71bb52e33d8e72d8551bb352ba38b2cdfa332e5205606055d6403a331f2f6c72eece56c66d8da362f564fbd673ca82b2581997f7e334bf9cdd9d5bd8c
|
|
7
|
+
data.tar.gz: 63d1013e6eb742c59e5ba071e971794fe7b5cc60a0900ff5fc5ea122c2869e1ae1e2624820c90932642175f830d54ffff4c3c781a66cb352b2af1e4c89089b44
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.613
|
data/docs/partner.md
CHANGED
|
@@ -55,7 +55,7 @@ Files::Partner.list
|
|
|
55
55
|
|
|
56
56
|
* `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.
|
|
57
57
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
58
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
58
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
|
|
59
59
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
60
60
|
|
|
61
61
|
|
data/docs/sso_strategy.md
CHANGED
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
"ldap_host_2": "ldap2.site.com",
|
|
52
52
|
"ldap_host_3": "ldap3.site.com",
|
|
53
53
|
"ldap_port": 1,
|
|
54
|
+
"ldap_provisioning_enabled": true,
|
|
54
55
|
"ldap_secure": true,
|
|
56
|
+
"ldap_type": "active_directory",
|
|
55
57
|
"ldap_username": "[ldap username]",
|
|
56
58
|
"ldap_username_field": "sAMAccountName"
|
|
57
59
|
}
|
|
@@ -104,7 +106,9 @@
|
|
|
104
106
|
* `ldap_host_2` (string): LDAP backup host
|
|
105
107
|
* `ldap_host_3` (string): LDAP backup host
|
|
106
108
|
* `ldap_port` (int64): LDAP port
|
|
109
|
+
* `ldap_provisioning_enabled` (boolean): Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
107
110
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
111
|
+
* `ldap_type` (string): LDAP server type
|
|
108
112
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
109
113
|
* `ldap_username_field` (string): LDAP username field
|
|
110
114
|
|
data/docs/sync.md
CHANGED
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
111
111
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
112
112
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
113
|
-
* `schedule_times_of_day` (array(string)):
|
|
114
|
-
* `schedule_time_zone` (string):
|
|
115
|
-
* `holiday_region` (string):
|
|
113
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
114
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
115
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
116
116
|
* `latest_sync_run` (SyncRun): The latest run of this sync
|
|
117
117
|
|
|
118
118
|
|
|
@@ -183,15 +183,15 @@ Files::Sync.create(
|
|
|
183
183
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
184
184
|
* `disabled` (boolean): Is this sync disabled?
|
|
185
185
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
186
|
-
* `holiday_region` (string):
|
|
186
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
187
187
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
188
188
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
189
189
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
190
190
|
* `name` (string): Name for this sync job
|
|
191
191
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
192
192
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
193
|
-
* `schedule_time_zone` (string):
|
|
194
|
-
* `schedule_times_of_day` (array(string)):
|
|
193
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
194
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
195
195
|
* `src_path` (string): Absolute source path for the sync
|
|
196
196
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
197
197
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -264,15 +264,15 @@ Files::Sync.update(id,
|
|
|
264
264
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
265
265
|
* `disabled` (boolean): Is this sync disabled?
|
|
266
266
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
267
|
-
* `holiday_region` (string):
|
|
267
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
268
268
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
269
269
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
270
270
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
271
271
|
* `name` (string): Name for this sync job
|
|
272
272
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
273
273
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
274
|
-
* `schedule_time_zone` (string):
|
|
275
|
-
* `schedule_times_of_day` (array(string)):
|
|
274
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
275
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
276
276
|
* `src_path` (string): Absolute source path for the sync
|
|
277
277
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
278
278
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -363,15 +363,15 @@ sync.update(
|
|
|
363
363
|
* `dest_remote_server_id` (int64): Remote server ID for the destination (if remote)
|
|
364
364
|
* `disabled` (boolean): Is this sync disabled?
|
|
365
365
|
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
|
366
|
-
* `holiday_region` (string):
|
|
366
|
+
* `holiday_region` (string): Skip sync if there is a formal, observed holiday for this region.
|
|
367
367
|
* `include_patterns` (array(string)): Array of glob patterns to include
|
|
368
368
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
369
369
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
370
370
|
* `name` (string): Name for this sync job
|
|
371
371
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
372
372
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
373
|
-
* `schedule_time_zone` (string):
|
|
374
|
-
* `schedule_times_of_day` (array(string)):
|
|
373
|
+
* `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
374
|
+
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
375
375
|
* `src_path` (string): Absolute source path for the sync
|
|
376
376
|
* `src_remote_server_id` (int64): Remote server ID for the source (if remote)
|
|
377
377
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -180,7 +180,7 @@ module Files
|
|
|
180
180
|
# Parameters:
|
|
181
181
|
# 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.
|
|
182
182
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
183
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `
|
|
183
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
|
|
184
184
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
185
185
|
def self.list(params = {}, options = {})
|
|
186
186
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
@@ -244,11 +244,21 @@ module Files
|
|
|
244
244
|
@attributes[:ldap_port]
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
# boolean - Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
248
|
+
def ldap_provisioning_enabled
|
|
249
|
+
@attributes[:ldap_provisioning_enabled]
|
|
250
|
+
end
|
|
251
|
+
|
|
247
252
|
# boolean - Use secure LDAP?
|
|
248
253
|
def ldap_secure
|
|
249
254
|
@attributes[:ldap_secure]
|
|
250
255
|
end
|
|
251
256
|
|
|
257
|
+
# string - LDAP server type
|
|
258
|
+
def ldap_type
|
|
259
|
+
@attributes[:ldap_type]
|
|
260
|
+
end
|
|
261
|
+
|
|
252
262
|
# string - Username for signing in to LDAP server.
|
|
253
263
|
def ldap_username
|
|
254
264
|
@attributes[:ldap_username]
|
|
@@ -235,7 +235,7 @@ module Files
|
|
|
235
235
|
@attributes[:schedule_days_of_week] = value
|
|
236
236
|
end
|
|
237
237
|
|
|
238
|
-
# array(string) -
|
|
238
|
+
# array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
239
239
|
def schedule_times_of_day
|
|
240
240
|
@attributes[:schedule_times_of_day]
|
|
241
241
|
end
|
|
@@ -244,7 +244,7 @@ module Files
|
|
|
244
244
|
@attributes[:schedule_times_of_day] = value
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
# string -
|
|
247
|
+
# string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
248
248
|
def schedule_time_zone
|
|
249
249
|
@attributes[:schedule_time_zone]
|
|
250
250
|
end
|
|
@@ -253,7 +253,7 @@ module Files
|
|
|
253
253
|
@attributes[:schedule_time_zone] = value
|
|
254
254
|
end
|
|
255
255
|
|
|
256
|
-
# string -
|
|
256
|
+
# string - Skip sync if there is a formal, observed holiday for this region.
|
|
257
257
|
def holiday_region
|
|
258
258
|
@attributes[:holiday_region]
|
|
259
259
|
end
|
|
@@ -300,15 +300,15 @@ module Files
|
|
|
300
300
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
301
301
|
# disabled - boolean - Is this sync disabled?
|
|
302
302
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
303
|
-
# holiday_region - string -
|
|
303
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
304
304
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
305
305
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
306
306
|
# keep_after_copy - boolean - Keep files after copying?
|
|
307
307
|
# name - string - Name for this sync job
|
|
308
308
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
309
309
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
310
|
-
# schedule_time_zone - string -
|
|
311
|
-
# schedule_times_of_day - array(string) -
|
|
310
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
311
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
312
312
|
# src_path - string - Absolute source path for the sync
|
|
313
313
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
314
314
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -410,15 +410,15 @@ module Files
|
|
|
410
410
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
411
411
|
# disabled - boolean - Is this sync disabled?
|
|
412
412
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
413
|
-
# holiday_region - string -
|
|
413
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
414
414
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
415
415
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
416
416
|
# keep_after_copy - boolean - Keep files after copying?
|
|
417
417
|
# name - string - Name for this sync job
|
|
418
418
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
419
419
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
420
|
-
# schedule_time_zone - string -
|
|
421
|
-
# schedule_times_of_day - array(string) -
|
|
420
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
421
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
422
422
|
# src_path - string - Absolute source path for the sync
|
|
423
423
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
424
424
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
@@ -478,15 +478,15 @@ module Files
|
|
|
478
478
|
# dest_remote_server_id - int64 - Remote server ID for the destination (if remote)
|
|
479
479
|
# disabled - boolean - Is this sync disabled?
|
|
480
480
|
# exclude_patterns - array(string) - Array of glob patterns to exclude
|
|
481
|
-
# holiday_region - string -
|
|
481
|
+
# holiday_region - string - Skip sync if there is a formal, observed holiday for this region.
|
|
482
482
|
# include_patterns - array(string) - Array of glob patterns to include
|
|
483
483
|
# interval - string - If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
484
484
|
# keep_after_copy - boolean - Keep files after copying?
|
|
485
485
|
# name - string - Name for this sync job
|
|
486
486
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
487
487
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
488
|
-
# schedule_time_zone - string -
|
|
489
|
-
# schedule_times_of_day - array(string) -
|
|
488
|
+
# schedule_time_zone - string - Time zone for scheduled times. If not set, times are interpreted as UTC.
|
|
489
|
+
# schedule_times_of_day - array(string) - Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
490
490
|
# src_path - string - Absolute source path for the sync
|
|
491
491
|
# src_remote_server_id - int64 - Remote server ID for the source (if remote)
|
|
492
492
|
# sync_interval_minutes - int64 - Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
data/lib/files.com/version.rb
CHANGED
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.613
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|