files.com 1.1.337 → 1.1.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: 97f3c198915b023f02b6becdaf9247b3916f42b04aeb3974c68efc9f1f03c991
4
- data.tar.gz: e65f050e6a038677b2f85b9dee9a04a31de3a96650f6bca16a37a91eb71aa562
3
+ metadata.gz: 3f5d27043a151fd01a2385a7172ed8c08ad711272976d1826a8509972db846cb
4
+ data.tar.gz: faba17cccffd2d00f248a676f283032e9781e717ce565c03fe031b55af6c24a0
5
5
  SHA512:
6
- metadata.gz: f67077a3ba08876857de4f51faa1980191c7d00d7c4948dfb4237a12a0b1cec3f4da48cc6798405936895e0f1f868fc1e81344ec48e13aff03febccfffe30205
7
- data.tar.gz: 0e3aac515d2e9aa235dc683293caa9d607ef92ed0a1152659932fd66395c42fbc6d3742fc46accf0fb2c25fc9a1f5a2ff9b5a4251fc49010c72ff27aef5a6160
6
+ metadata.gz: c497a363c96f4d7286a865325113cbe69e82d77da39332dcf8135ec7e38de07bfc896f1115abcb7743765da1ccc8dc0d53f5be680aa8c0c24da83db16a02c3ec
7
+ data.tar.gz: f2a61453326f9ebeeae9ed23795623c2a823260ee9dbc4ccd9ef57dfaeba2d6ac126fdd0ea7f1d32eb089352adfdae2b40f6559e5130a269a202c69b83617d1a
data/Gemfile.lock CHANGED
@@ -3,14 +3,14 @@ PATH
3
3
  specs:
4
4
  files.com (1.1.0)
5
5
  addressable (>= 2.8.0)
6
- base64 (~> 0.2.0)
6
+ base64 (~> 0.2)
7
7
  concurrent-ruby (>= 1.1.3)
8
8
  faraday (>= 1.0.1)
9
9
  faraday-multipart (>= 1.0)
10
10
  faraday-net_http_persistent (>= 2.0)
11
- logger (~> 1.6.0)
11
+ logger (~> 1.6)
12
12
  net-http-persistent (>= 4.0)
13
- ostruct (~> 0.6.0)
13
+ ostruct (~> 0.6)
14
14
 
15
15
  GEM
16
16
  remote: https://rubygems.org/
@@ -101,4 +101,4 @@ DEPENDENCIES
101
101
  rubocop
102
102
 
103
103
  BUNDLED WITH
104
- 2.5.1
104
+ 2.7.2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.337
1
+ 1.1.339
data/docs/api_key.md CHANGED
@@ -10,6 +10,9 @@
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
11
  "expires_at": "2000-01-01T01:00:00Z",
12
12
  "key": "[key]",
13
+ "aws_style_credentials": true,
14
+ "aws_access_key_id": "[aws_access_key_id]",
15
+ "aws_secret_key": "[aws_secret_key]",
13
16
  "last_use_at": "2000-01-01T01:00:00Z",
14
17
  "name": "My Main API Key",
15
18
  "permission_set": "full",
@@ -25,6 +28,9 @@
25
28
  * `created_at` (date-time): Time which API Key was created
26
29
  * `expires_at` (date-time): API Key expiration date
27
30
  * `key` (string): API Key actual key string
31
+ * `aws_style_credentials` (boolean): If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
32
+ * `aws_access_key_id` (string): AWS Access Key ID to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
33
+ * `aws_secret_key` (string): AWS Secret Key to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
28
34
  * `last_use_at` (date-time): API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
29
35
  * `name` (string): Internal name for the API Key. For your use.
30
36
  * `permission_set` (string): Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
@@ -90,6 +96,7 @@ Files::ApiKey.create(
90
96
  expires_at: "2000-01-01T01:00:00Z",
91
97
  permission_set: "full",
92
98
  name: "My Main API Key",
99
+ aws_style_credentials: true,
93
100
  path: "shared/docs"
94
101
  )
95
102
  ```
@@ -101,6 +108,7 @@ Files::ApiKey.create(
101
108
  * `expires_at` (string): API Key expiration date
102
109
  * `permission_set` (string): Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
103
110
  * `name` (string): Required - Internal name for the API Key. For your use.
111
+ * `aws_style_credentials` (boolean): If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
104
112
  * `path` (string): Folder path restriction for `office_integration` permission set API keys.
105
113
 
106
114
 
@@ -38,7 +38,7 @@
38
38
  * `end_at` (date-time): End date/time of export range.
39
39
  * `status` (string): Status of export. Will be: `building`, `ready`, or `failed`
40
40
  * `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
41
- * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
41
+ * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
42
42
  * `query_user_id` (string): Return results that are actions performed by the user indicated by this User ID
43
43
  * `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
44
44
  * `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
@@ -110,7 +110,7 @@ Files::HistoryExport.create(
110
110
  * `start_at` (string): Start date/time of export range.
111
111
  * `end_at` (string): End date/time of export range.
112
112
  * `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
113
- * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
113
+ * `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
114
114
  * `query_user_id` (string): Return results that are actions performed by the user indicated by this User ID
115
115
  * `query_file_id` (string): Return results that are file actions related to the file indicated by this File ID
116
116
  * `query_parent_id` (string): Return results that are file actions inside the parent folder specified by this folder ID
@@ -48,7 +48,7 @@
48
48
  * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
49
49
  * `action` (string): What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
50
50
  * `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
51
- * `interface` (string): Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
51
+ * `interface` (string): Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
52
52
  * `target_id` (int64): ID of the object (such as Users, or API Keys) on which the action was taken
53
53
  * `target_name` (string): Name of the User, Group or other object with a name related to this action
54
54
  * `target_permission` (string): Permission level of the action
data/docs/site.md CHANGED
@@ -162,6 +162,7 @@
162
162
  "session": {
163
163
  "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
164
164
  "language": "en",
165
+ "aws_secret_key": "example",
165
166
  "login_token": "@tok-randomcode",
166
167
  "login_token_domain": "https://mysite.files.com",
167
168
  "max_dir_listing_size": 1,
data/docs/sync.md CHANGED
@@ -43,26 +43,27 @@
43
43
  "holiday_region": "us_dc",
44
44
  "latest_sync_run": {
45
45
  "id": 1,
46
- "sync_id": 1,
47
- "site_id": 1,
48
- "status": "example",
49
- "src_remote_server_type": "example",
50
- "dest_remote_server_type": "example",
51
46
  "body": "example",
52
- "event_errors": [
53
- "example"
54
- ],
47
+ "bytes_synced": 1,
55
48
  "compared_files": 1,
56
49
  "compared_folders": 1,
57
- "errored_files": 1,
58
- "successful_files": 1,
59
- "runtime": 1.0,
60
- "log_url": "https://www.example.com/log_file.txt",
61
50
  "completed_at": "2000-01-01T01:00:00Z",
51
+ "created_at": "2000-01-01T01:00:00Z",
52
+ "dest_remote_server_type": "example",
62
53
  "dry_run": true,
63
- "bytes_synced": 1,
54
+ "errored_files": 1,
64
55
  "estimated_bytes_count": 1,
65
- "created_at": "2000-01-01T01:00:00Z",
56
+ "event_errors": [
57
+ "example"
58
+ ],
59
+ "log_url": "https://www.example.com/log_file.txt",
60
+ "runtime": 1.0,
61
+ "site_id": 1,
62
+ "src_remote_server_type": "example",
63
+ "status": "example",
64
+ "successful_files": 1,
65
+ "sync_id": 1,
66
+ "sync_name": "Azure to SharePoint Sync",
66
67
  "updated_at": "2000-01-01T01:00:00Z"
67
68
  }
68
69
  }
data/docs/sync_run.md CHANGED
@@ -5,49 +5,51 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "sync_id": 1,
9
- "site_id": 1,
10
- "status": "example",
11
- "src_remote_server_type": "example",
12
- "dest_remote_server_type": "example",
13
8
  "body": "example",
14
- "event_errors": [
15
- "example"
16
- ],
9
+ "bytes_synced": 1,
17
10
  "compared_files": 1,
18
11
  "compared_folders": 1,
19
- "errored_files": 1,
20
- "successful_files": 1,
21
- "runtime": 1.0,
22
- "log_url": "https://www.example.com/log_file.txt",
23
12
  "completed_at": "2000-01-01T01:00:00Z",
13
+ "created_at": "2000-01-01T01:00:00Z",
14
+ "dest_remote_server_type": "example",
24
15
  "dry_run": true,
25
- "bytes_synced": 1,
16
+ "errored_files": 1,
26
17
  "estimated_bytes_count": 1,
27
- "created_at": "2000-01-01T01:00:00Z",
18
+ "event_errors": [
19
+ "example"
20
+ ],
21
+ "log_url": "https://www.example.com/log_file.txt",
22
+ "runtime": 1.0,
23
+ "site_id": 1,
24
+ "src_remote_server_type": "example",
25
+ "status": "example",
26
+ "successful_files": 1,
27
+ "sync_id": 1,
28
+ "sync_name": "Azure to SharePoint Sync",
28
29
  "updated_at": "2000-01-01T01:00:00Z"
29
30
  }
30
31
  ```
31
32
 
32
33
  * `id` (int64): SyncRun ID
33
- * `sync_id` (int64): ID of the Sync this run belongs to
34
- * `site_id` (int64): Site ID
35
- * `status` (string): Status of the sync run (success, failure, partial_failure, in_progress, skipped)
36
- * `src_remote_server_type` (string): Source remote server type, if any
37
- * `dest_remote_server_type` (string): Destination remote server type, if any
38
34
  * `body` (string): Log or summary body for this run
39
- * `event_errors` (array(string)): Array of errors encountered during the run
35
+ * `bytes_synced` (int64): Total bytes synced in this run
40
36
  * `compared_files` (int64): Number of files compared
41
37
  * `compared_folders` (int64): Number of folders compared
42
- * `errored_files` (int64): Number of files that errored
43
- * `successful_files` (int64): Number of files successfully synced
44
- * `runtime` (double): Total runtime in seconds
45
- * `log_url` (string): Link to external log file.
46
38
  * `completed_at` (date-time): When this run was completed
39
+ * `created_at` (date-time): When this run was created
40
+ * `dest_remote_server_type` (string): Destination remote server type, if any
47
41
  * `dry_run` (boolean): Whether this run was a dry run (no actual changes made)
48
- * `bytes_synced` (int64): Total bytes synced in this run
42
+ * `errored_files` (int64): Number of files that errored
49
43
  * `estimated_bytes_count` (int64): Estimated bytes count for this run
50
- * `created_at` (date-time): When this run was created
44
+ * `event_errors` (array(string)): Array of errors encountered during the run
45
+ * `log_url` (string): Link to external log file.
46
+ * `runtime` (double): Total runtime in seconds
47
+ * `site_id` (int64): Site ID
48
+ * `src_remote_server_type` (string): Source remote server type, if any
49
+ * `status` (string): Status of the sync run (success, failure, partial_failure, in_progress, skipped)
50
+ * `successful_files` (int64): Number of files successfully synced
51
+ * `sync_id` (int64): ID of the Sync this run belongs to
52
+ * `sync_name` (string): Name of the Sync this run belongs to
51
53
  * `updated_at` (date-time): When this run was last updated
52
54
 
53
55
 
data/files.com.gemspec CHANGED
@@ -12,14 +12,14 @@ Gem::Specification.new do |s|
12
12
  s.license = "MIT"
13
13
  s.required_ruby_version = ">= 2.7"
14
14
  s.add_dependency 'addressable', ">= 2.8.0"
15
- s.add_dependency 'base64', "~> 0.2.0"
15
+ s.add_dependency 'base64', "~> 0.2"
16
16
  s.add_dependency 'concurrent-ruby', ">= 1.1.3"
17
17
  s.add_dependency 'faraday', ">= 1.0.1"
18
18
  s.add_dependency 'faraday-multipart', ">= 1.0"
19
19
  s.add_dependency 'faraday-net_http_persistent', '>= 2.0'
20
- s.add_dependency 'logger', "~> 1.6.0"
20
+ s.add_dependency 'logger', "~> 1.6"
21
21
  s.add_dependency 'net-http-persistent', ">= 4.0"
22
- s.add_dependency 'ostruct', "~> 0.6.0"
22
+ s.add_dependency 'ostruct', "~> 0.6"
23
23
 
24
24
  s.files = `find *`.split("\n").uniq.sort.reject(&:empty?)
25
25
  s.executables = [ "files", "files-console" ]
@@ -59,6 +59,33 @@ module Files
59
59
  @attributes[:key] = value
60
60
  end
61
61
 
62
+ # boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
63
+ def aws_style_credentials
64
+ @attributes[:aws_style_credentials]
65
+ end
66
+
67
+ def aws_style_credentials=(value)
68
+ @attributes[:aws_style_credentials] = value
69
+ end
70
+
71
+ # string - AWS Access Key ID to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
72
+ def aws_access_key_id
73
+ @attributes[:aws_access_key_id]
74
+ end
75
+
76
+ def aws_access_key_id=(value)
77
+ @attributes[:aws_access_key_id] = value
78
+ end
79
+
80
+ # string - AWS Secret Key to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
81
+ def aws_secret_key
82
+ @attributes[:aws_secret_key]
83
+ end
84
+
85
+ def aws_secret_key=(value)
86
+ @attributes[:aws_secret_key] = value
87
+ end
88
+
62
89
  # date-time - API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
63
90
  def last_use_at
64
91
  @attributes[:last_use_at]
@@ -224,6 +251,7 @@ module Files
224
251
  # expires_at - string - API Key expiration date
225
252
  # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
226
253
  # name (required) - string - Internal name for the API Key. For your use.
254
+ # aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
227
255
  # path - string - Folder path restriction for `office_integration` permission set API keys.
228
256
  def self.create(params = {}, options = {})
229
257
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -63,7 +63,7 @@ module Files
63
63
  @attributes[:query_action] = value
64
64
  end
65
65
 
66
- # string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
66
+ # string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
67
67
  def query_interface
68
68
  @attributes[:query_interface]
69
69
  end
@@ -275,7 +275,7 @@ module Files
275
275
  # start_at - string - Start date/time of export range.
276
276
  # end_at - string - End date/time of export range.
277
277
  # query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
278
- # query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
278
+ # query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
279
279
  # query_user_id - string - Return results that are actions performed by the user indicated by this User ID
280
280
  # query_file_id - string - Return results that are file actions related to the file indicated by this File ID
281
281
  # query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
@@ -84,7 +84,7 @@ module Files
84
84
  @attributes[:failure_type]
85
85
  end
86
86
 
87
- # string - Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
87
+ # string - Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
88
88
  def interface
89
89
  @attributes[:interface]
90
90
  end
@@ -14,39 +14,14 @@ module Files
14
14
  @attributes[:id]
15
15
  end
16
16
 
17
- # int64 - ID of the Sync this run belongs to
18
- def sync_id
19
- @attributes[:sync_id]
20
- end
21
-
22
- # int64 - Site ID
23
- def site_id
24
- @attributes[:site_id]
25
- end
26
-
27
- # string - Status of the sync run (success, failure, partial_failure, in_progress, skipped)
28
- def status
29
- @attributes[:status]
30
- end
31
-
32
- # string - Source remote server type, if any
33
- def src_remote_server_type
34
- @attributes[:src_remote_server_type]
35
- end
36
-
37
- # string - Destination remote server type, if any
38
- def dest_remote_server_type
39
- @attributes[:dest_remote_server_type]
40
- end
41
-
42
17
  # string - Log or summary body for this run
43
18
  def body
44
19
  @attributes[:body]
45
20
  end
46
21
 
47
- # array(string) - Array of errors encountered during the run
48
- def event_errors
49
- @attributes[:event_errors]
22
+ # int64 - Total bytes synced in this run
23
+ def bytes_synced
24
+ @attributes[:bytes_synced]
50
25
  end
51
26
 
52
27
  # int64 - Number of files compared
@@ -59,19 +34,39 @@ module Files
59
34
  @attributes[:compared_folders]
60
35
  end
61
36
 
37
+ # date-time - When this run was completed
38
+ def completed_at
39
+ @attributes[:completed_at]
40
+ end
41
+
42
+ # date-time - When this run was created
43
+ def created_at
44
+ @attributes[:created_at]
45
+ end
46
+
47
+ # string - Destination remote server type, if any
48
+ def dest_remote_server_type
49
+ @attributes[:dest_remote_server_type]
50
+ end
51
+
52
+ # boolean - Whether this run was a dry run (no actual changes made)
53
+ def dry_run
54
+ @attributes[:dry_run]
55
+ end
56
+
62
57
  # int64 - Number of files that errored
63
58
  def errored_files
64
59
  @attributes[:errored_files]
65
60
  end
66
61
 
67
- # int64 - Number of files successfully synced
68
- def successful_files
69
- @attributes[:successful_files]
62
+ # int64 - Estimated bytes count for this run
63
+ def estimated_bytes_count
64
+ @attributes[:estimated_bytes_count]
70
65
  end
71
66
 
72
- # double - Total runtime in seconds
73
- def runtime
74
- @attributes[:runtime]
67
+ # array(string) - Array of errors encountered during the run
68
+ def event_errors
69
+ @attributes[:event_errors]
75
70
  end
76
71
 
77
72
  # string - Link to external log file.
@@ -79,29 +74,39 @@ module Files
79
74
  @attributes[:log_url]
80
75
  end
81
76
 
82
- # date-time - When this run was completed
83
- def completed_at
84
- @attributes[:completed_at]
77
+ # double - Total runtime in seconds
78
+ def runtime
79
+ @attributes[:runtime]
85
80
  end
86
81
 
87
- # boolean - Whether this run was a dry run (no actual changes made)
88
- def dry_run
89
- @attributes[:dry_run]
82
+ # int64 - Site ID
83
+ def site_id
84
+ @attributes[:site_id]
90
85
  end
91
86
 
92
- # int64 - Total bytes synced in this run
93
- def bytes_synced
94
- @attributes[:bytes_synced]
87
+ # string - Source remote server type, if any
88
+ def src_remote_server_type
89
+ @attributes[:src_remote_server_type]
95
90
  end
96
91
 
97
- # int64 - Estimated bytes count for this run
98
- def estimated_bytes_count
99
- @attributes[:estimated_bytes_count]
92
+ # string - Status of the sync run (success, failure, partial_failure, in_progress, skipped)
93
+ def status
94
+ @attributes[:status]
100
95
  end
101
96
 
102
- # date-time - When this run was created
103
- def created_at
104
- @attributes[:created_at]
97
+ # int64 - Number of files successfully synced
98
+ def successful_files
99
+ @attributes[:successful_files]
100
+ end
101
+
102
+ # int64 - ID of the Sync this run belongs to
103
+ def sync_id
104
+ @attributes[:sync_id]
105
+ end
106
+
107
+ # string - Name of the Sync this run belongs to
108
+ def sync_name
109
+ @attributes[:sync_name]
105
110
  end
106
111
 
107
112
  # date-time - When this run was last updated
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.337"
4
+ VERSION = "1.1.339"
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.337
4
+ version: 1.1.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: 2025-10-09 00:00:00.000000000 Z
11
+ date: 2025-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0
33
+ version: '0.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.0
40
+ version: '0.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: concurrent-ruby
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.6.0
103
+ version: '1.6'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.6.0
110
+ version: '1.6'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: net-http-persistent
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.6.0
131
+ version: '0.6'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.6.0
138
+ version: '0.6'
139
139
  description: The Files.com Ruby client.
140
140
  email:
141
141
  - support@files.com