files.com 1.1.506 → 1.1.507

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: 662e0f73814330788cf0bec2830679403f313b04ec74490bc6100ea810ed1896
4
- data.tar.gz: e23415d9d2561938e9a200cc7b85894274c27b8b8da8c6a658914530e1f2aff8
3
+ metadata.gz: 58b3c1c4a7063b048568d17bf2ccbfe348a6f5839227da92bb7f913ed71e8500
4
+ data.tar.gz: f67199d5a928bb050cc3fe4b511a236d26c2d6efe0613747d9aae34417fd4c9d
5
5
  SHA512:
6
- metadata.gz: eba2de5dd0bd5c7bb3992b635aba0808a29d6bcd04baf8328974583a1e7305d21244d7432635a6d257eca00d2d3e40714666cd4964e85a57a2b08ac4fa991fb7
7
- data.tar.gz: d5531e6274a488f1b508f37aa7bda8c867e7fbfa9a8b3675811cc556245c4c3a7d7a12566516bb8f190540625671443303680160076e560c89cfd0813d841fdd
6
+ metadata.gz: b15cd9123f65e14e3095a06e89c008ef79f03633ea10e5f72611f85ab26960815e8d136ad17162690af6fc0834fc4a11c66ef64b8afa72991ac406b24e6e9a69
7
+ data.tar.gz: aca25e15fb486669276bda4e1fda7f5f95ee37983fa0ee7e221a1389803d10dc8570a1c19a9093d23dd8b022f9a4262dd024a3c74b570bcbe9618beab1816f5a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.506
1
+ 1.1.507
data/docs/api_key.md CHANGED
@@ -17,6 +17,8 @@
17
17
  "name": "My Main API Key",
18
18
  "permission_set": "full",
19
19
  "platform": "win32",
20
+ "site_id": 1,
21
+ "site_name": "example",
20
22
  "url": "example",
21
23
  "user_id": 1
22
24
  }
@@ -35,6 +37,8 @@
35
37
  * `name` (string): Internal name for the API Key. For your use.
36
38
  * `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.
37
39
  * `platform` (string): If this API key represents a Desktop app, what platform was it created on?
40
+ * `site_id` (int64): Site ID
41
+ * `site_name` (string): Site Name
38
42
  * `url` (string): URL for API host.
39
43
  * `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
40
44
  * `path` (string): Folder path restriction for `office_integration` permission set API keys.
@@ -55,7 +59,7 @@ Files::ApiKey.list(
55
59
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
56
60
  * `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
61
  * `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 `expires_at`.
62
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `expires_at`.
59
63
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
60
64
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
61
65
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
@@ -54,7 +54,7 @@ Files::AutomationRun.list(
54
54
  * `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.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
57
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
57
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
58
58
  * `automation_id` (int64): Required - ID of the associated Automation.
59
59
 
60
60
 
data/docs/bundle.md CHANGED
@@ -154,7 +154,7 @@ Files::Bundle.list(
154
154
  * `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.
155
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
156
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
157
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
157
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
158
158
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
159
159
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
160
160
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -122,6 +122,24 @@ module Files
122
122
  @attributes[:platform] = value
123
123
  end
124
124
 
125
+ # int64 - Site ID
126
+ def site_id
127
+ @attributes[:site_id]
128
+ end
129
+
130
+ def site_id=(value)
131
+ @attributes[:site_id] = value
132
+ end
133
+
134
+ # string - Site Name
135
+ def site_name
136
+ @attributes[:site_name]
137
+ end
138
+
139
+ def site_name=(value)
140
+ @attributes[:site_name] = value
141
+ end
142
+
125
143
  # string - URL for API host.
126
144
  def url
127
145
  @attributes[:url]
@@ -196,7 +214,7 @@ module Files
196
214
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
197
215
  # 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.
198
216
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
199
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
217
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `expires_at`.
200
218
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
201
219
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
202
220
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
@@ -84,7 +84,7 @@ module Files
84
84
  # 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.
85
85
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
86
86
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
87
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
87
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
88
88
  # automation_id (required) - int64 - ID of the associated Automation.
89
89
  def self.list(params = {}, options = {})
90
90
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -531,7 +531,7 @@ module Files
531
531
  # 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.
532
532
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
533
533
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
534
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
534
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
535
535
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
536
536
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
537
537
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.506"
4
+ VERSION = "1.1.507"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.506
4
+ version: 1.1.507
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com