files.com 1.0.372 → 1.0.374

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 348826686f4e73d70963833b1e3028a242e17e18690d57304f5b7f8b2ee0099a
4
- data.tar.gz: 8594fcade4dc973eafc86b3fad2a2dd0d5b592fc86f46ab83b4bf033719362d2
3
+ metadata.gz: ddc6b6dc57210a18d3bc1d11f219efe781fb2e15784854600c9a4c834d4d4711
4
+ data.tar.gz: c4a15a95d73dea64e49eac02cc2bcb0704d8b8437604859ae9e1f51c3bad9702
5
5
  SHA512:
6
- metadata.gz: 03ba9d1da03c5700234edc01ad53cf77a07b4028822686a9da8747156dd325fbf14f5be7fb57b42be74ea94550ceef083e83472f555d7aafdb9bedc7d2089f3a
7
- data.tar.gz: 50f8633cb517ed43121d2921fc5d2adc4ff7fff6b9e064f7d95638a6aaf431507c5d09271af524a885ad8e087827bcc5fa07def2b4a162e40b2ba0b14a41ab58
6
+ metadata.gz: c23cb5610ca78811dbb358e8f33a1d76868913258fff9029f39e7984f5a2287c50a9a720a9afdf12fe2200a5cafe31b8aa322afb19223a8ac73fc13c17bdfe7a
7
+ data.tar.gz: 89e1cf5c22cb9ca277cb2e5cc781a13ffef22aee44956f67137e51d0e357f389b8aea47e35ccd1c2b45e4bbd448b7cfec92a479fced4642f262cd338594689f3
data/README.md CHANGED
@@ -117,3 +117,4 @@ The Files.com team is happy to help with any SDK Integration challenges you
117
117
  may face.
118
118
 
119
119
  Just email support@files.com and we'll get the process started.
120
+
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.372
1
+ 1.0.374
data/docs/bundle.md CHANGED
@@ -255,6 +255,7 @@ Files::Bundle.update(id,
255
255
  require_share_recipient: true,
256
256
  send_email_receipt_to_uploader: true,
257
257
  skip_company: true,
258
+ start_access_on_date: "2000-01-01T01:00:00Z",
258
259
  skip_email: true,
259
260
  skip_name: true,
260
261
  watermark_attachment_delete: true
@@ -284,6 +285,7 @@ Files::Bundle.update(id,
284
285
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
285
286
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
286
287
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
288
+ * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
287
289
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
288
290
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
289
291
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
@@ -353,6 +355,7 @@ bundle.update(
353
355
  require_share_recipient: true,
354
356
  send_email_receipt_to_uploader: true,
355
357
  skip_company: true,
358
+ start_access_on_date: "2000-01-01T01:00:00Z",
356
359
  skip_email: true,
357
360
  skip_name: true,
358
361
  watermark_attachment_delete: true
@@ -382,6 +385,7 @@ bundle.update(
382
385
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
383
386
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
384
387
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
388
+ * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
385
389
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
386
390
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
387
391
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
@@ -432,6 +432,7 @@ module Files
432
432
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
433
433
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
434
434
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
435
+ # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
435
436
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
436
437
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
437
438
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
@@ -453,6 +454,7 @@ module Files
453
454
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
454
455
  raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
455
456
  raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
457
+ raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
456
458
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
457
459
 
458
460
  Api.send_request("/bundles/#{@attributes[:id]}", :patch, params, @options)
@@ -616,6 +618,7 @@ module Files
616
618
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
617
619
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
618
620
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
621
+ # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
619
622
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
620
623
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
621
624
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
@@ -636,6 +639,7 @@ module Files
636
639
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
637
640
  raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
638
641
  raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
642
+ raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
639
643
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
640
644
 
641
645
  response, options = Api.send_request("/bundles/#{params[:id]}", :patch, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.0"
4
+ VERSION = "1.0.374"
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.0.372
4
+ version: 1.0.374
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable