files.com 1.0.353 → 1.0.355

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: 239ca8782d8a3de7f70c3e2ef56c374a07fff19cfc509b4867516d7ca9c08e57
4
- data.tar.gz: d10ca59e0bfa81445de0ee7e13c0a982b8dea9b3ebcd422e67be170354f1d17b
3
+ metadata.gz: 4b76ebb6cea17e266a98d38b3cf5b30932401733ccbec3c9deb1c3840ec7348a
4
+ data.tar.gz: 915b4b030927cce859ddf792a23124e3226562e4893d12f274d0ec34fcacf32e
5
5
  SHA512:
6
- metadata.gz: b290eb226d138bd10d8906ad3d77210e7d61db04399463860db053c12967efc4c7314b0865daf63a0f10f62be63238f5cd32b40c6374911401e93bd9daf478ba
7
- data.tar.gz: 241df5b62ba5aec69c91460fe743d38b237c0429ec3ed35a2fddf9bca6144bf30f9de634a903e79d632e96985cf642cb17f6075aa0a8bbb6835970178b745843
6
+ metadata.gz: 31cd8c82b10e8ebe769c2fb1bd8dfc41ca03d0410081ac545213cd74cfd517af4f01a2488b87369aa8ddf9a269734a313558d0f2359225be28b2875eb79a14cd
7
+ data.tar.gz: 3eea1d69a6f481e7106f17afe9507fdcb70a5835fba6d6a547eceabb24f17cf6f82680b9e258e5cece955b7c47638ed5a8c1ab27a42649fae1272954f7377f33
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.353
1
+ 1.0.355
data/docs/bundle.md CHANGED
@@ -61,7 +61,7 @@
61
61
  * `description` (string): Public description
62
62
  * `password_protected` (boolean): Is this bundle password protected?
63
63
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
64
- * `preview_only` (boolean): Restrict users to previewing files only?
64
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
65
65
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
66
66
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
67
67
  * `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
@@ -180,7 +180,7 @@ Files::Bundle.create(
180
180
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
181
181
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
182
182
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
183
- * `preview_only` (boolean): Restrict users to previewing files only?
183
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
184
184
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
185
185
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
186
186
  * `inbox_id` (int64): ID of the associated inbox, if available.
@@ -263,7 +263,7 @@ Files::Bundle.update(id,
263
263
  * `note` (string): Bundle internal note
264
264
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
265
265
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
266
- * `preview_only` (boolean): Restrict users to previewing files only?
266
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
267
267
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
268
268
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
269
269
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
@@ -361,7 +361,7 @@ bundle.update(
361
361
  * `note` (string): Bundle internal note
362
362
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
363
363
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
364
- * `preview_only` (boolean): Restrict users to previewing files only?
364
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
365
365
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
366
366
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
367
367
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
@@ -52,6 +52,9 @@
52
52
  "files_agent_api_token": "example",
53
53
  "filebase_bucket": "my-bucket",
54
54
  "filebase_access_key": "example",
55
+ "cloudflare_bucket": "my-bucket",
56
+ "cloudflare_access_key": "example",
57
+ "cloudflare_endpoint": "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
55
58
  "dropbox_teams": true
56
59
  }
57
60
  ```
@@ -104,6 +107,9 @@
104
107
  * `files_agent_api_token` (string): Files Agent API Token
105
108
  * `filebase_bucket` (string): Filebase Bucket name
106
109
  * `filebase_access_key` (string): Filebase Access Key.
110
+ * `cloudflare_bucket` (string): Cloudflare Bucket name
111
+ * `cloudflare_access_key` (string): Cloudflare Access Key.
112
+ * `cloudflare_endpoint` (string): Cloudflare endpoint
107
113
  * `dropbox_teams` (boolean): List Team folders in root
108
114
  * `aws_secret_key` (string): AWS secret key.
109
115
  * `password` (string): Password if needed.
@@ -120,6 +126,7 @@
120
126
  * `azure_files_storage_access_key` (string): Azure File Storage access key.
121
127
  * `s3_compatible_secret_key` (string): S3-compatible secret key
122
128
  * `filebase_secret_key` (string): Filebase secret key
129
+ * `cloudflare_secret_key` (string): Cloudflare secret key
123
130
 
124
131
 
125
132
  ---
@@ -210,6 +217,9 @@ Files::RemoteServer.create(
210
217
  files_agent_permission_set: "read_write",
211
218
  filebase_access_key: "example",
212
219
  filebase_bucket: "my-bucket",
220
+ cloudflare_access_key: "example",
221
+ cloudflare_bucket: "my-bucket",
222
+ cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
213
223
  dropbox_teams: true
214
224
  )
215
225
  ```
@@ -270,6 +280,10 @@ Files::RemoteServer.create(
270
280
  * `filebase_access_key` (string): Filebase Access Key.
271
281
  * `filebase_secret_key` (string): Filebase secret key
272
282
  * `filebase_bucket` (string): Filebase Bucket name
283
+ * `cloudflare_access_key` (string): Cloudflare Access Key.
284
+ * `cloudflare_secret_key` (string): Cloudflare secret key
285
+ * `cloudflare_bucket` (string): Cloudflare Bucket name
286
+ * `cloudflare_endpoint` (string): Cloudflare endpoint
273
287
  * `dropbox_teams` (boolean): List Team folders in root
274
288
 
275
289
 
@@ -355,6 +369,9 @@ Files::RemoteServer.update(id,
355
369
  files_agent_permission_set: "read_write",
356
370
  filebase_access_key: "example",
357
371
  filebase_bucket: "my-bucket",
372
+ cloudflare_access_key: "example",
373
+ cloudflare_bucket: "my-bucket",
374
+ cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
358
375
  dropbox_teams: true
359
376
  )
360
377
  ```
@@ -416,6 +433,10 @@ Files::RemoteServer.update(id,
416
433
  * `filebase_access_key` (string): Filebase Access Key.
417
434
  * `filebase_secret_key` (string): Filebase secret key
418
435
  * `filebase_bucket` (string): Filebase Bucket name
436
+ * `cloudflare_access_key` (string): Cloudflare Access Key.
437
+ * `cloudflare_secret_key` (string): Cloudflare secret key
438
+ * `cloudflare_bucket` (string): Cloudflare Bucket name
439
+ * `cloudflare_endpoint` (string): Cloudflare endpoint
419
440
  * `dropbox_teams` (boolean): List Team folders in root
420
441
 
421
442
 
@@ -518,6 +539,9 @@ remote_server.update(
518
539
  files_agent_permission_set: "read_write",
519
540
  filebase_access_key: "example",
520
541
  filebase_bucket: "my-bucket",
542
+ cloudflare_access_key: "example",
543
+ cloudflare_bucket: "my-bucket",
544
+ cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
521
545
  dropbox_teams: true
522
546
  )
523
547
  ```
@@ -579,6 +603,10 @@ remote_server.update(
579
603
  * `filebase_access_key` (string): Filebase Access Key.
580
604
  * `filebase_secret_key` (string): Filebase secret key
581
605
  * `filebase_bucket` (string): Filebase Bucket name
606
+ * `cloudflare_access_key` (string): Cloudflare Access Key.
607
+ * `cloudflare_secret_key` (string): Cloudflare secret key
608
+ * `cloudflare_bucket` (string): Cloudflare Bucket name
609
+ * `cloudflare_endpoint` (string): Cloudflare endpoint
582
610
  * `dropbox_teams` (boolean): List Team folders in root
583
611
 
584
612
 
@@ -54,7 +54,7 @@ module Files
54
54
  @attributes[:permissions] = value
55
55
  end
56
56
 
57
- # boolean - Restrict users to previewing files only?
57
+ # boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
58
58
  def preview_only
59
59
  @attributes[:preview_only]
60
60
  end
@@ -364,7 +364,7 @@ module Files
364
364
  # note - string - Bundle internal note
365
365
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
366
366
  # permissions - string - Permissions that apply to Folders in this Share Link.
367
- # preview_only - boolean - Restrict users to previewing files only?
367
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
368
368
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
369
369
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
370
370
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
@@ -479,7 +479,7 @@ module Files
479
479
  # code - string - Bundle code. This code forms the end part of the Public URL.
480
480
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
481
481
  # permissions - string - Permissions that apply to Folders in this Share Link.
482
- # preview_only - boolean - Restrict users to previewing files only?
482
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
483
483
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
484
484
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
485
485
  # inbox_id - int64 - ID of the associated inbox, if available.
@@ -546,7 +546,7 @@ module Files
546
546
  # note - string - Bundle internal note
547
547
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
548
548
  # permissions - string - Permissions that apply to Folders in this Share Link.
549
- # preview_only - boolean - Restrict users to previewing files only?
549
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
550
550
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
551
551
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
552
552
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
@@ -441,6 +441,33 @@ module Files
441
441
  @attributes[:filebase_access_key] = value
442
442
  end
443
443
 
444
+ # string - Cloudflare Bucket name
445
+ def cloudflare_bucket
446
+ @attributes[:cloudflare_bucket]
447
+ end
448
+
449
+ def cloudflare_bucket=(value)
450
+ @attributes[:cloudflare_bucket] = value
451
+ end
452
+
453
+ # string - Cloudflare Access Key.
454
+ def cloudflare_access_key
455
+ @attributes[:cloudflare_access_key]
456
+ end
457
+
458
+ def cloudflare_access_key=(value)
459
+ @attributes[:cloudflare_access_key] = value
460
+ end
461
+
462
+ # string - Cloudflare endpoint
463
+ def cloudflare_endpoint
464
+ @attributes[:cloudflare_endpoint]
465
+ end
466
+
467
+ def cloudflare_endpoint=(value)
468
+ @attributes[:cloudflare_endpoint] = value
469
+ end
470
+
444
471
  # boolean - List Team folders in root
445
472
  def dropbox_teams
446
473
  @attributes[:dropbox_teams]
@@ -585,6 +612,15 @@ module Files
585
612
  @attributes[:filebase_secret_key] = value
586
613
  end
587
614
 
615
+ # string - Cloudflare secret key
616
+ def cloudflare_secret_key
617
+ @attributes[:cloudflare_secret_key]
618
+ end
619
+
620
+ def cloudflare_secret_key=(value)
621
+ @attributes[:cloudflare_secret_key] = value
622
+ end
623
+
588
624
  # Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
589
625
  #
590
626
  # Parameters:
@@ -675,6 +711,10 @@ module Files
675
711
  # filebase_access_key - string - Filebase Access Key.
676
712
  # filebase_secret_key - string - Filebase secret key
677
713
  # filebase_bucket - string - Filebase Bucket name
714
+ # cloudflare_access_key - string - Cloudflare Access Key.
715
+ # cloudflare_secret_key - string - Cloudflare secret key
716
+ # cloudflare_bucket - string - Cloudflare Bucket name
717
+ # cloudflare_endpoint - string - Cloudflare endpoint
678
718
  # dropbox_teams - boolean - List Team folders in root
679
719
  def update(params = {})
680
720
  params ||= {}
@@ -732,6 +772,10 @@ module Files
732
772
  raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
733
773
  raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
734
774
  raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
775
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
776
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
777
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
778
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
735
779
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
736
780
 
737
781
  Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
@@ -859,6 +903,10 @@ module Files
859
903
  # filebase_access_key - string - Filebase Access Key.
860
904
  # filebase_secret_key - string - Filebase secret key
861
905
  # filebase_bucket - string - Filebase Bucket name
906
+ # cloudflare_access_key - string - Cloudflare Access Key.
907
+ # cloudflare_secret_key - string - Cloudflare secret key
908
+ # cloudflare_bucket - string - Cloudflare Bucket name
909
+ # cloudflare_endpoint - string - Cloudflare endpoint
862
910
  # dropbox_teams - boolean - List Team folders in root
863
911
  def self.create(params = {}, options = {})
864
912
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
@@ -912,6 +960,10 @@ module Files
912
960
  raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
913
961
  raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
914
962
  raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
963
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
964
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
965
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
966
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
915
967
 
916
968
  response, options = Api.send_request("/remote_servers", :post, params, options)
917
969
  RemoteServer.new(response.data, options)
@@ -1007,6 +1059,10 @@ module Files
1007
1059
  # filebase_access_key - string - Filebase Access Key.
1008
1060
  # filebase_secret_key - string - Filebase secret key
1009
1061
  # filebase_bucket - string - Filebase Bucket name
1062
+ # cloudflare_access_key - string - Cloudflare Access Key.
1063
+ # cloudflare_secret_key - string - Cloudflare secret key
1064
+ # cloudflare_bucket - string - Cloudflare Bucket name
1065
+ # cloudflare_endpoint - string - Cloudflare endpoint
1010
1066
  # dropbox_teams - boolean - List Team folders in root
1011
1067
  def self.update(id, params = {}, options = {})
1012
1068
  params ||= {}
@@ -1063,6 +1119,10 @@ module Files
1063
1119
  raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
1064
1120
  raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
1065
1121
  raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
1122
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1123
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
1124
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1125
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
1066
1126
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1067
1127
 
1068
1128
  response, options = Api.send_request("/remote_servers/#{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.353
4
+ version: 1.0.355
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-05-26 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable