files.com 1.0.372 → 1.0.373

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: f192c836733abf6ec6a9e3c9fbb1243f0fd16ed0b43dc021e92a12b08c765fce
4
+ data.tar.gz: 8c7f2b3bbbd7950fb61d796da4aa01029f3feb48b8d9e239cabad1ae21750992
5
5
  SHA512:
6
- metadata.gz: 03ba9d1da03c5700234edc01ad53cf77a07b4028822686a9da8747156dd325fbf14f5be7fb57b42be74ea94550ceef083e83472f555d7aafdb9bedc7d2089f3a
7
- data.tar.gz: 50f8633cb517ed43121d2921fc5d2adc4ff7fff6b9e064f7d95638a6aaf431507c5d09271af524a885ad8e087827bcc5fa07def2b4a162e40b2ba0b14a41ab58
6
+ metadata.gz: 4abb33af8e647a6d7be2660787a078e663706e3b5d8fde4199b01217762bd5b1192c3eff8b39888d7fd132e96445d2d5ebe69e03090a20b34a9eeba75b9fac29
7
+ data.tar.gz: 31e2cf0f8fb5b4cc3b0f28ea58badef7d358f1873b50010618f2de35a024871005c86c08c795c0b4bf353fc33b7805f485de50729ed871ef0ff31b98478ac287
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.372
1
+ 1.0.373
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)
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.373
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-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable