files.com 1.1.636 → 1.1.637

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: 42e325eeebebed1a141792129a162d8878920efb76a620946d3ab74185f2f9b6
4
- data.tar.gz: 0dde9503047ecd1f0f0c8c1140b26c2ee4d878e4d1a0fe3d57f192b0b7642ad7
3
+ metadata.gz: ab7e15bd7e2cb1cbecafe43e01c0671b51460590d3ab267a5573c60090076cd3
4
+ data.tar.gz: 1f8e2f122d0588da5e096a06fd65df71a6c4367ff346a05bc6fecf6a5e1a66c7
5
5
  SHA512:
6
- metadata.gz: de7f1c6d0d469e60cbf23019327a38135f452a9a8fd4f8ed068b89d95fd197d42caed9ceb1926b7d06e7c2a71f7fa8525117475f353ea20b3bfa0c87504de47e
7
- data.tar.gz: 3c88a172d55a95e8d16cfb26d3304b80c6cdce7469730f9c8e2ca9b5869a3c6908f476860c0666ca94d6c15c39126d370e8fe3fd673104d4e15e9f205277df7f
6
+ metadata.gz: b1bb6c3a3bd178e8811e86b0f9a2c63aa7846c6790b5323ab8d323f030f1589afc618e77d467b1f112ba3adbd475154fb6374d4f804a906c6e8c55835d177b52
7
+ data.tar.gz: c18ba21cddaad6c682805f53486123831d844450cd08b609cbf44c309d304991e455c87d57926699c4f87921c178c3d907254939a75673992915519549a8e563
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.636
1
+ 1.1.637
data/docs/bundle.md CHANGED
@@ -57,6 +57,8 @@
57
57
  "id": 1,
58
58
  "bypasses_site_expiration_rules": true,
59
59
  "created_at": "2000-01-01T01:00:00Z",
60
+ "deleted": true,
61
+ "deleted_at": "2000-01-01T01:00:00Z",
60
62
  "dont_separate_submissions_by_folder": true,
61
63
  "max_uses": 1,
62
64
  "note": "The internal note on the bundle.",
@@ -116,6 +118,8 @@
116
118
  * `id` (int64): Bundle ID
117
119
  * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
118
120
  * `created_at` (date-time): Bundle created at date/time
121
+ * `deleted` (boolean): Indicates if the bundle has been deleted.
122
+ * `deleted_at` (date-time): Bundle deleted at date/time
119
123
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
120
124
  * `max_uses` (int64): Maximum number of times bundle can be accessed
121
125
  * `note` (string): Bundle internal note
@@ -150,7 +154,8 @@
150
154
 
151
155
  ```
152
156
  Files::Bundle.list(
153
- user_id: 1
157
+ user_id: 1,
158
+ deleted: false
154
159
  )
155
160
  ```
156
161
 
@@ -166,6 +171,7 @@ Files::Bundle.list(
166
171
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
167
172
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
168
173
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
174
+ * `deleted` (boolean): If true, only list deleted Share Links.
169
175
 
170
176
 
171
177
  ---
@@ -221,6 +221,24 @@ module Files
221
221
  @attributes[:created_at]
222
222
  end
223
223
 
224
+ # boolean - Indicates if the bundle has been deleted.
225
+ def deleted
226
+ @attributes[:deleted]
227
+ end
228
+
229
+ def deleted=(value)
230
+ @attributes[:deleted] = value
231
+ end
232
+
233
+ # date-time - Bundle deleted at date/time
234
+ def deleted_at
235
+ @attributes[:deleted_at]
236
+ end
237
+
238
+ def deleted_at=(value)
239
+ @attributes[:deleted_at] = value
240
+ end
241
+
224
242
  # boolean - Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
225
243
  def dont_separate_submissions_by_folder
226
244
  @attributes[:dont_separate_submissions_by_folder]
@@ -569,6 +587,7 @@ module Files
569
587
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
570
588
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
571
589
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
590
+ # deleted - boolean - If true, only list deleted Share Links.
572
591
  def self.list(params = {}, options = {})
573
592
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
574
593
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.636"
4
+ VERSION = "1.1.637"
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.636
4
+ version: 1.1.637
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com