files.com 1.1.686 → 1.1.688

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: 246a1416bc8ed79a900f35e5f1f56fb2e57476c97a7a376afdea3aa47bf956fa
4
- data.tar.gz: 4b9091d98d255c125ac2e2ccc1fced2a79f8c65c5b16565b4c7ce08215ad38fd
3
+ metadata.gz: 7f181535385996d0d40c60e0c3d9c14c90d769d55c9f752f8cd32c2bb17d5685
4
+ data.tar.gz: a4c7317d824fa206c98d5aa4b71717ce186882bae1fa74193000f2c9226f3ab5
5
5
  SHA512:
6
- metadata.gz: 8323da63b4714464a3f8c9b5b918198b1fca38acf84dfc081d97b59cd32ebcf9482699dceeedd834e438cc74828c9786b648922186ad32c87db40f083aa8cab1
7
- data.tar.gz: 7a34805b9239c869437097634e2388df0fb280397c0f75ceaadf84652b0ecb0b980616af60a6ca17d14062eef81ea55fb81e3f408c4c1d3c80c4a93e1a8a6cb5
6
+ metadata.gz: 5738704b1affb4ad7e48767347170673d9b5729c8cc5642559c522f36aa4448d105b71a10af272c731b17675af76d2b5c6a98683a946bd73c8d11f8b25228559
7
+ data.tar.gz: 78f447f46acb0a6021ec8f4d97fbbb9801c758364e9a2bbd26a90a7af295e109cb29f21c6d4952149a311a1fa53aa0b522896423cfb74ab6d90f666c1950e523
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.686
1
+ 1.1.688
@@ -0,0 +1,21 @@
1
+ # DirectConnectionInfo
2
+
3
+ ## Example DirectConnectionInfo Object
4
+
5
+ ```
6
+ {
7
+ "version": 1,
8
+ "server_name": "example",
9
+ "addresses": [
10
+ "example"
11
+ ],
12
+ "direct_uri": "example",
13
+ "ca_pem": "example"
14
+ }
15
+ ```
16
+
17
+ * `version` (int64): Direct connection information schema version.
18
+ * `server_name` (string): TLS server name (SNI and Host header) for the Agent's direct transfer listener.
19
+ * `addresses` (array(string)): Validated ip:port candidates that may be dialed over TCP+TLS for this transfer.
20
+ * `direct_uri` (string): Signed HTTPS URI for direct Agent transfer traffic.
21
+ * `ca_pem` (string): PEM-encoded CA certificate used to verify the Agent's direct transfer TLS certificate.
data/docs/file.md CHANGED
@@ -41,6 +41,15 @@ may places where a Ruby File object can be used.
41
41
  "subfolders_locked?": true,
42
42
  "is_locked": true,
43
43
  "download_uri": "https://mysite.files.com/...",
44
+ "direct_connection_info": {
45
+ "version": 1,
46
+ "server_name": "example",
47
+ "addresses": [
48
+ "example"
49
+ ],
50
+ "direct_uri": "example",
51
+ "ca_pem": "example"
52
+ },
44
53
  "priority_color": "red",
45
54
  "preview_id": 1,
46
55
  "preview": {
@@ -85,6 +94,7 @@ may places where a Ruby File object can be used.
85
94
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
86
95
  * `is_locked` (boolean): Is this folder locked and unable to be modified?
87
96
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
97
+ * `direct_connection_info` (DirectConnectionInfo): Optional direct connection information for direct Agent transfer attempts
88
98
  * `priority_color` (string): Bookmark/priority color of file/folder
89
99
  * `preview_id` (int64): File preview ID
90
100
  * `preview` (Preview): File preview
@@ -99,6 +109,7 @@ may places where a Ruby File object can be used.
99
109
  * `structure` (string): If copying folder, copy just the structure?
100
110
  * `with_rename` (boolean): Allow file rename instead of overwrite?
101
111
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
112
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
102
113
 
103
114
 
104
115
  ---
@@ -108,7 +119,8 @@ may places where a Ruby File object can be used.
108
119
  ```
109
120
  Files::File.download(path,
110
121
  with_previews: false,
111
- with_priority_color: false
122
+ with_priority_color: false,
123
+ with_direct_connection_info: false
112
124
  )
113
125
  ```
114
126
 
@@ -119,6 +131,7 @@ Files::File.download(path,
119
131
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
120
132
  * `with_previews` (boolean): Include file preview information?
121
133
  * `with_priority_color` (boolean): Include file priority color information?
134
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
122
135
 
123
136
 
124
137
  ---
@@ -136,7 +149,8 @@ Files::File.create(path,
136
149
  size: 1,
137
150
  copy_behaviors: false,
138
151
  with_rename: false,
139
- buffered_upload: false
152
+ buffered_upload: false,
153
+ with_direct_connection_info: false
140
154
  )
141
155
  ```
142
156
 
@@ -158,6 +172,7 @@ Files::File.create(path,
158
172
  * `structure` (string): If copying folder, copy just the structure?
159
173
  * `with_rename` (boolean): Allow file rename instead of overwrite?
160
174
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
175
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
161
176
 
162
177
 
163
178
  ---
@@ -396,7 +411,8 @@ Files::File.begin_upload(path,
396
411
  restart: 1,
397
412
  size: 1,
398
413
  with_rename: false,
399
- buffered_upload: false
414
+ buffered_upload: false,
415
+ with_direct_connection_info: false
400
416
  )
401
417
  ```
402
418
 
@@ -411,6 +427,7 @@ Files::File.begin_upload(path,
411
427
  * `size` (int64): Total bytes of file being uploaded (include bytes being retained if appending/restarting).
412
428
  * `with_rename` (boolean): Allow file rename instead of overwrite?
413
429
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
430
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
414
431
 
415
432
 
416
433
  ---
@@ -422,7 +439,8 @@ file = Files::File.find(path)
422
439
 
423
440
  file.download(
424
441
  with_previews: false,
425
- with_priority_color: false
442
+ with_priority_color: false,
443
+ with_direct_connection_info: false
426
444
  )
427
445
  ```
428
446
 
@@ -433,6 +451,7 @@ file.download(
433
451
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
434
452
  * `with_previews` (boolean): Include file preview information?
435
453
  * `with_priority_color` (boolean): Include file priority color information?
454
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
436
455
 
437
456
 
438
457
  ---
@@ -653,7 +672,8 @@ file.begin_upload(
653
672
  restart: 1,
654
673
  size: 1,
655
674
  with_rename: false,
656
- buffered_upload: false
675
+ buffered_upload: false,
676
+ with_direct_connection_info: false
657
677
  )
658
678
  ```
659
679
 
@@ -668,3 +688,4 @@ file.begin_upload(
668
688
  * `size` (int64): Total bytes of file being uploaded (include bytes being retained if appending/restarting).
669
689
  * `with_rename` (boolean): Allow file rename instead of overwrite?
670
690
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
691
+ * `with_direct_connection_info` (boolean): Include optional direct connection information for a direct Agent transfer attempt?
@@ -25,7 +25,16 @@
25
25
  "partsize": 1,
26
26
  "path": "",
27
27
  "ref": "upload-1",
28
- "upload_uri": "example"
28
+ "upload_uri": "example",
29
+ "direct_connection_info": {
30
+ "version": 1,
31
+ "server_name": "example",
32
+ "addresses": [
33
+ "example"
34
+ ],
35
+ "direct_uri": "example",
36
+ "ca_pem": "example"
37
+ }
29
38
  }
30
39
  ```
31
40
 
@@ -45,3 +54,4 @@
45
54
  * `path` (string): New file path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
46
55
  * `ref` (string): Reference name for this upload part
47
56
  * `upload_uri` (string): URI to upload this part to
57
+ * `direct_connection_info` (DirectConnectionInfo): Optional direct connection information for direct Agent transfer attempts
data/docs/folder.md CHANGED
@@ -43,6 +43,15 @@ Files::Dir is an alias of Files::Folder
43
43
  "subfolders_locked?": true,
44
44
  "is_locked": true,
45
45
  "download_uri": "https://mysite.files.com/...",
46
+ "direct_connection_info": {
47
+ "version": 1,
48
+ "server_name": "example",
49
+ "addresses": [
50
+ "example"
51
+ ],
52
+ "direct_uri": "example",
53
+ "ca_pem": "example"
54
+ },
46
55
  "priority_color": "red",
47
56
  "preview_id": 1,
48
57
  "preview": {
@@ -87,6 +96,7 @@ Files::Dir is an alias of Files::Folder
87
96
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
88
97
  * `is_locked` (boolean): Is this folder locked and unable to be modified?
89
98
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
99
+ * `direct_connection_info` (DirectConnectionInfo): Optional direct connection information for direct Agent transfer attempts
90
100
  * `priority_color` (string): Bookmark/priority color of file/folder
91
101
  * `preview_id` (int64): File preview ID
92
102
  * `preview` (Preview): File preview
@@ -0,0 +1,124 @@
1
+ # HolidayCalendar
2
+
3
+ ## Example HolidayCalendar Object
4
+
5
+ ```
6
+ {
7
+ "id": 1,
8
+ "name": "Company Holidays",
9
+ "definition": "example",
10
+ "created_at": "2000-01-01T01:00:00Z",
11
+ "updated_at": "2000-01-01T01:00:00Z"
12
+ }
13
+ ```
14
+
15
+ * `id` (int64): Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
16
+ * `name` (string): Holiday Calendar name.
17
+ * `definition` (object): Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
18
+ * `created_at` (date-time): Creation time.
19
+ * `updated_at` (date-time): Last update time.
20
+
21
+
22
+ ---
23
+
24
+ ## List Holiday Calendars
25
+
26
+ ```
27
+ Files::HolidayCalendar.list
28
+ ```
29
+
30
+ ### Parameters
31
+
32
+ * `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.
33
+ * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
34
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
35
+
36
+
37
+ ---
38
+
39
+ ## Show Holiday Calendar
40
+
41
+ ```
42
+ Files::HolidayCalendar.find(id)
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ * `id` (int64): Required - Holiday Calendar ID.
48
+
49
+
50
+ ---
51
+
52
+ ## Create Holiday Calendar
53
+
54
+ ```
55
+ Files::HolidayCalendar.create(
56
+ name: "Company Holidays"
57
+ )
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+ * `name` (string): Required - Holiday Calendar name.
63
+
64
+
65
+ ---
66
+
67
+ ## Update Holiday Calendar
68
+
69
+ ```
70
+ Files::HolidayCalendar.update(id,
71
+ name: "Company Holidays"
72
+ )
73
+ ```
74
+
75
+ ### Parameters
76
+
77
+ * `id` (int64): Required - Holiday Calendar ID.
78
+ * `name` (string): Holiday Calendar name.
79
+
80
+
81
+ ---
82
+
83
+ ## Delete Holiday Calendar
84
+
85
+ ```
86
+ Files::HolidayCalendar.delete(id)
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ * `id` (int64): Required - Holiday Calendar ID.
92
+
93
+
94
+ ---
95
+
96
+ ## Update Holiday Calendar
97
+
98
+ ```
99
+ holiday_calendar = Files::HolidayCalendar.find(id)
100
+
101
+ holiday_calendar.update(
102
+ name: "Company Holidays"
103
+ )
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ * `id` (int64): Required - Holiday Calendar ID.
109
+ * `name` (string): Holiday Calendar name.
110
+
111
+
112
+ ---
113
+
114
+ ## Delete Holiday Calendar
115
+
116
+ ```
117
+ holiday_calendar = Files::HolidayCalendar.find(id)
118
+
119
+ holiday_calendar.delete
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+ * `id` (int64): Required - Holiday Calendar ID.
@@ -44,6 +44,11 @@
44
44
  "auth_status": "in_setup",
45
45
  "auth_account_name": "me@example.com",
46
46
  "one_drive_account_type": "personal",
47
+ "sharepoint_tenant_id": "00000000-0000-0000-0000-000000000000",
48
+ "sharepoint_client_id": "00000000-0000-0000-0000-000000000000",
49
+ "sharepoint_app_authentication": true,
50
+ "sharepoint_app_credential_type": "secret",
51
+ "sharepoint_site_url": "https://example.sharepoint.com/sites/accounting",
47
52
  "azure_blob_storage_account": "storage-account-name",
48
53
  "azure_blob_storage_container": "container-name",
49
54
  "azure_blob_storage_hierarchical_namespace": true,
@@ -119,6 +124,11 @@
119
124
  * `auth_status` (string): Either `in_setup` or `complete`
120
125
  * `auth_account_name` (string): Describes the authorized account
121
126
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
127
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
128
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
129
+ * `sharepoint_app_authentication` (boolean): SharePoint: If true, this remote server uses Microsoft Entra app-only authentication.
130
+ * `sharepoint_app_credential_type` (string): SharePoint: App-only credential type. Either secret or certificate.
131
+ * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
122
132
  * `azure_blob_storage_account` (string): Azure Blob Storage: Account name
123
133
  * `azure_blob_storage_container` (string): Azure Blob Storage: Container name
124
134
  * `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
@@ -156,6 +166,8 @@
156
166
  * `private_key` (string): Private key, if needed.
157
167
  * `private_key_passphrase` (string): Passphrase for private key if needed.
158
168
  * `reset_authentication` (boolean): Reset authenticated account?
169
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
170
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
159
171
  * `ssl_certificate` (string): SSL client certificate.
160
172
  * `aws_secret_key` (string): AWS: secret key.
161
173
  * `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
@@ -280,6 +292,9 @@ Files::RemoteServer.create(
280
292
  server_certificate: "require_match",
281
293
  server_host_key: "[public key]",
282
294
  server_type: "s3",
295
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
296
+ sharepoint_site_url: "https://example.sharepoint.com/sites/accounting",
297
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
283
298
  ssl: "if_available",
284
299
  username: "user",
285
300
  wasabi_access_key: "example",
@@ -296,6 +311,8 @@ Files::RemoteServer.create(
296
311
  * `private_key` (string): Private key, if needed.
297
312
  * `private_key_passphrase` (string): Passphrase for private key if needed.
298
313
  * `reset_authentication` (boolean): Reset authenticated account?
314
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
315
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
299
316
  * `ssl_certificate` (string): SSL client certificate.
300
317
  * `aws_secret_key` (string): AWS: secret key.
301
318
  * `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
@@ -364,6 +381,9 @@ Files::RemoteServer.create(
364
381
  * `server_certificate` (string): Remote server certificate
365
382
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
366
383
  * `server_type` (string): Remote server type.
384
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
385
+ * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
386
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
367
387
  * `ssl` (string): Should we require SSL?
368
388
  * `username` (string): Remote server username.
369
389
  * `wasabi_access_key` (string): Wasabi: Access Key.
@@ -480,6 +500,9 @@ Files::RemoteServer.update(id,
480
500
  server_certificate: "require_match",
481
501
  server_host_key: "[public key]",
482
502
  server_type: "s3",
503
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
504
+ sharepoint_site_url: "https://example.sharepoint.com/sites/accounting",
505
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
483
506
  ssl: "if_available",
484
507
  username: "user",
485
508
  wasabi_access_key: "example",
@@ -495,6 +518,8 @@ Files::RemoteServer.update(id,
495
518
  * `private_key` (string): Private key, if needed.
496
519
  * `private_key_passphrase` (string): Passphrase for private key if needed.
497
520
  * `reset_authentication` (boolean): Reset authenticated account?
521
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
522
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
498
523
  * `ssl_certificate` (string): SSL client certificate.
499
524
  * `aws_secret_key` (string): AWS: secret key.
500
525
  * `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
@@ -563,6 +588,9 @@ Files::RemoteServer.update(id,
563
588
  * `server_certificate` (string): Remote server certificate
564
589
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
565
590
  * `server_type` (string): Remote server type.
591
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
592
+ * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
593
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
566
594
  * `ssl` (string): Should we require SSL?
567
595
  * `username` (string): Remote server username.
568
596
  * `wasabi_access_key` (string): Wasabi: Access Key.
@@ -697,6 +725,9 @@ remote_server.update(
697
725
  server_certificate: "require_match",
698
726
  server_host_key: "[public key]",
699
727
  server_type: "s3",
728
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
729
+ sharepoint_site_url: "https://example.sharepoint.com/sites/accounting",
730
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
700
731
  ssl: "if_available",
701
732
  username: "user",
702
733
  wasabi_access_key: "example",
@@ -712,6 +743,8 @@ remote_server.update(
712
743
  * `private_key` (string): Private key, if needed.
713
744
  * `private_key_passphrase` (string): Passphrase for private key if needed.
714
745
  * `reset_authentication` (boolean): Reset authenticated account?
746
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
747
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
715
748
  * `ssl_certificate` (string): SSL client certificate.
716
749
  * `aws_secret_key` (string): AWS: secret key.
717
750
  * `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
@@ -780,6 +813,9 @@ remote_server.update(
780
813
  * `server_certificate` (string): Remote server certificate
781
814
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
782
815
  * `server_type` (string): Remote server type.
816
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
817
+ * `sharepoint_site_url` (string): SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
818
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
783
819
  * `ssl` (string): Should we require SSL?
784
820
  * `username` (string): Remote server username.
785
821
  * `wasabi_access_key` (string): Wasabi: Access Key.
@@ -19,6 +19,9 @@
19
19
  "filebase_access_key": "example",
20
20
  "cloudflare_access_key": "example",
21
21
  "linode_access_key": "example",
22
+ "sharepoint_tenant_id": "00000000-0000-0000-0000-000000000000",
23
+ "sharepoint_client_id": "00000000-0000-0000-0000-000000000000",
24
+ "sharepoint_app_credential_type": "secret",
22
25
  "username": "user"
23
26
  }
24
27
  ```
@@ -38,6 +41,9 @@
38
41
  * `filebase_access_key` (string): Filebase: Access Key.
39
42
  * `cloudflare_access_key` (string): Cloudflare: Access Key.
40
43
  * `linode_access_key` (string): Linode: Access Key
44
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
45
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
46
+ * `sharepoint_app_credential_type` (string): SharePoint: App-only credential type. Either secret or certificate.
41
47
  * `username` (string): Remote server username.
42
48
  * `password` (string): Password, if needed.
43
49
  * `private_key` (string): Private key, if needed.
@@ -55,6 +61,8 @@
55
61
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
56
62
  * `linode_secret_key` (string): Linode: Secret Key
57
63
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
64
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
65
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
58
66
  * `wasabi_secret_key` (string): Wasabi: Secret Key
59
67
  * `copy_values_from_credential_id` (int64): ID of Remote Server Credential to copy omitted values from.
60
68
 
@@ -106,6 +114,8 @@ Files::RemoteServerCredential.create(
106
114
  google_cloud_storage_s3_compatible_access_key: "example",
107
115
  linode_access_key: "example",
108
116
  s3_compatible_access_key: "example",
117
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
118
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
109
119
  username: "user",
110
120
  wasabi_access_key: "example",
111
121
  workspace_id: 0,
@@ -126,6 +136,8 @@ Files::RemoteServerCredential.create(
126
136
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
127
137
  * `linode_access_key` (string): Linode: Access Key
128
138
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
139
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
140
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
129
141
  * `username` (string): Remote server username.
130
142
  * `wasabi_access_key` (string): Wasabi: Access Key.
131
143
  * `password` (string): Password, if needed.
@@ -144,6 +156,8 @@ Files::RemoteServerCredential.create(
144
156
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
145
157
  * `linode_secret_key` (string): Linode: Secret Key
146
158
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
159
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
160
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
147
161
  * `wasabi_secret_key` (string): Wasabi: Secret Key
148
162
  * `workspace_id` (int64): Workspace ID (0 for default workspace)
149
163
  * `copy_values_from_credential_id` (int64): ID of Remote Server Credential to copy omitted values from.
@@ -166,6 +180,8 @@ Files::RemoteServerCredential.update(id,
166
180
  google_cloud_storage_s3_compatible_access_key: "example",
167
181
  linode_access_key: "example",
168
182
  s3_compatible_access_key: "example",
183
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
184
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
169
185
  username: "user",
170
186
  wasabi_access_key: "example"
171
187
  )
@@ -185,6 +201,8 @@ Files::RemoteServerCredential.update(id,
185
201
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
186
202
  * `linode_access_key` (string): Linode: Access Key
187
203
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
204
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
205
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
188
206
  * `username` (string): Remote server username.
189
207
  * `wasabi_access_key` (string): Wasabi: Access Key.
190
208
  * `password` (string): Password, if needed.
@@ -203,6 +221,8 @@ Files::RemoteServerCredential.update(id,
203
221
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
204
222
  * `linode_secret_key` (string): Linode: Secret Key
205
223
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
224
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
225
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
206
226
  * `wasabi_secret_key` (string): Wasabi: Secret Key
207
227
 
208
228
 
@@ -238,6 +258,8 @@ remote_server_credential.update(
238
258
  google_cloud_storage_s3_compatible_access_key: "example",
239
259
  linode_access_key: "example",
240
260
  s3_compatible_access_key: "example",
261
+ sharepoint_client_id: "00000000-0000-0000-0000-000000000000",
262
+ sharepoint_tenant_id: "00000000-0000-0000-0000-000000000000",
241
263
  username: "user",
242
264
  wasabi_access_key: "example"
243
265
  )
@@ -257,6 +279,8 @@ remote_server_credential.update(
257
279
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
258
280
  * `linode_access_key` (string): Linode: Access Key
259
281
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
282
+ * `sharepoint_client_id` (string): SharePoint: Microsoft Entra application client ID for app-only authentication.
283
+ * `sharepoint_tenant_id` (string): SharePoint: Microsoft Entra tenant ID for app-only authentication.
260
284
  * `username` (string): Remote server username.
261
285
  * `wasabi_access_key` (string): Wasabi: Access Key.
262
286
  * `password` (string): Password, if needed.
@@ -275,6 +299,8 @@ remote_server_credential.update(
275
299
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
276
300
  * `linode_secret_key` (string): Linode: Secret Key
277
301
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
302
+ * `sharepoint_client_certificate` (string): SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
303
+ * `sharepoint_client_secret` (string): SharePoint: Microsoft Entra application client secret for app-only authentication.
278
304
  * `wasabi_secret_key` (string): Wasabi: Secret Key
279
305
 
280
306
 
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class DirectConnectionInfo
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # int64 - Direct connection information schema version.
13
+ def version
14
+ @attributes[:version]
15
+ end
16
+
17
+ # string - TLS server name (SNI and Host header) for the Agent's direct transfer listener.
18
+ def server_name
19
+ @attributes[:server_name]
20
+ end
21
+
22
+ # array(string) - Validated ip:port candidates that may be dialed over TCP+TLS for this transfer.
23
+ def addresses
24
+ @attributes[:addresses]
25
+ end
26
+
27
+ # string - Signed HTTPS URI for direct Agent transfer traffic.
28
+ def direct_uri
29
+ @attributes[:direct_uri]
30
+ end
31
+
32
+ # string - PEM-encoded CA certificate used to verify the Agent's direct transfer TLS certificate.
33
+ def ca_pem
34
+ @attributes[:ca_pem]
35
+ end
36
+ end
37
+ end
@@ -917,6 +917,15 @@ module Files
917
917
  @attributes[:download_uri] = value
918
918
  end
919
919
 
920
+ # DirectConnectionInfo - Optional direct connection information for direct Agent transfer attempts
921
+ def direct_connection_info
922
+ @attributes[:direct_connection_info]
923
+ end
924
+
925
+ def direct_connection_info=(value)
926
+ @attributes[:direct_connection_info] = value
927
+ end
928
+
920
929
  # string - Bookmark/priority color of file/folder
921
930
  def priority_color
922
931
  @attributes[:priority_color]
@@ -1043,6 +1052,15 @@ module Files
1043
1052
  @attributes[:buffered_upload] = value
1044
1053
  end
1045
1054
 
1055
+ # boolean - Include optional direct connection information for a direct Agent transfer attempt?
1056
+ def with_direct_connection_info
1057
+ @attributes[:with_direct_connection_info]
1058
+ end
1059
+
1060
+ def with_direct_connection_info=(value)
1061
+ @attributes[:with_direct_connection_info] = value
1062
+ end
1063
+
1046
1064
  # Download File
1047
1065
  #
1048
1066
  # Parameters:
@@ -1050,6 +1068,7 @@ module Files
1050
1068
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1051
1069
  # with_previews - boolean - Include file preview information?
1052
1070
  # with_priority_color - boolean - Include file priority color information?
1071
+ # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1053
1072
  def download(params = {})
1054
1073
  params ||= {}
1055
1074
  params[:path] = @attributes[:path]
@@ -1248,6 +1267,7 @@ module Files
1248
1267
  # size - int64 - Total bytes of file being uploaded (include bytes being retained if appending/restarting).
1249
1268
  # with_rename - boolean - Allow file rename instead of overwrite?
1250
1269
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
1270
+ # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1251
1271
  def begin_upload(params = {})
1252
1272
  params ||= {}
1253
1273
  params[:path] = @attributes[:path]
@@ -1276,6 +1296,7 @@ module Files
1276
1296
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1277
1297
  # with_previews - boolean - Include file preview information?
1278
1298
  # with_priority_color - boolean - Include file priority color information?
1299
+ # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1279
1300
  def self.download(path, params = {}, options = {})
1280
1301
  params ||= {}
1281
1302
  params[:path] = path
@@ -1305,6 +1326,7 @@ module Files
1305
1326
  # structure - string - If copying folder, copy just the structure?
1306
1327
  # with_rename - boolean - Allow file rename instead of overwrite?
1307
1328
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
1329
+ # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1308
1330
  def self.create(path, params = {}, options = {})
1309
1331
  params ||= {}
1310
1332
  params[:path] = path
@@ -1547,6 +1569,7 @@ module Files
1547
1569
  # size - int64 - Total bytes of file being uploaded (include bytes being retained if appending/restarting).
1548
1570
  # with_rename - boolean - Allow file rename instead of overwrite?
1549
1571
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
1572
+ # with_direct_connection_info - boolean - Include optional direct connection information for a direct Agent transfer attempt?
1550
1573
  def self.begin_upload(path, params = {}, options = {})
1551
1574
  params ||= {}
1552
1575
  params[:path] = path
@@ -88,5 +88,10 @@ module Files
88
88
  def upload_uri
89
89
  @attributes[:upload_uri]
90
90
  end
91
+
92
+ # DirectConnectionInfo - Optional direct connection information for direct Agent transfer attempts
93
+ def direct_connection_info
94
+ @attributes[:direct_connection_info]
95
+ end
91
96
  end
92
97
  end
@@ -434,6 +434,15 @@ module Files
434
434
  @attributes[:download_uri] = value
435
435
  end
436
436
 
437
+ # DirectConnectionInfo - Optional direct connection information for direct Agent transfer attempts
438
+ def direct_connection_info
439
+ @attributes[:direct_connection_info]
440
+ end
441
+
442
+ def direct_connection_info=(value)
443
+ @attributes[:direct_connection_info] = value
444
+ end
445
+
437
446
  # string - Bookmark/priority color of file/folder
438
447
  def priority_color
439
448
  @attributes[:priority_color]
@@ -0,0 +1,160 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class HolidayCalendar
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # int64 - Holiday Calendar ID. Use `custom_<id>` as a scheduled resource's `holiday_region`.
13
+ def id
14
+ @attributes[:id]
15
+ end
16
+
17
+ def id=(value)
18
+ @attributes[:id] = value
19
+ end
20
+
21
+ # string - Holiday Calendar name.
22
+ def name
23
+ @attributes[:name]
24
+ end
25
+
26
+ def name=(value)
27
+ @attributes[:name] = value
28
+ end
29
+
30
+ # object - Holiday rules for the calendar. For more information, refer to the Holiday Calendars section of the Files.com documentation.
31
+ def definition
32
+ @attributes[:definition]
33
+ end
34
+
35
+ def definition=(value)
36
+ @attributes[:definition] = value
37
+ end
38
+
39
+ # date-time - Creation time.
40
+ def created_at
41
+ @attributes[:created_at]
42
+ end
43
+
44
+ # date-time - Last update time.
45
+ def updated_at
46
+ @attributes[:updated_at]
47
+ end
48
+
49
+ # Parameters:
50
+ # name - string - Holiday Calendar name.
51
+ def update(params = {})
52
+ params ||= {}
53
+ params[:id] = @attributes[:id]
54
+ raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
55
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
56
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
57
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
58
+
59
+ Api.send_request("/holiday_calendars/#{@attributes[:id]}", :patch, params, @options)
60
+ end
61
+
62
+ def delete(params = {})
63
+ params ||= {}
64
+ params[:id] = @attributes[:id]
65
+ raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
66
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
67
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
68
+
69
+ Api.send_request("/holiday_calendars/#{@attributes[:id]}", :delete, params, @options)
70
+ end
71
+
72
+ def destroy(params = {})
73
+ delete(params)
74
+ nil
75
+ end
76
+
77
+ def save
78
+ if @attributes[:id]
79
+ new_obj = update(@attributes)
80
+ else
81
+ new_obj = HolidayCalendar.create(@attributes, @options)
82
+ end
83
+
84
+ @attributes = new_obj.attributes
85
+ true
86
+ end
87
+
88
+ # Parameters:
89
+ # 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.
90
+ # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
91
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
92
+ def self.list(params = {}, options = {})
93
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
94
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
95
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
96
+
97
+ List.new(HolidayCalendar, params) do
98
+ Api.send_request("/holiday_calendars", :get, params, options)
99
+ end
100
+ end
101
+
102
+ def self.all(params = {}, options = {})
103
+ list(params, options)
104
+ end
105
+
106
+ # Parameters:
107
+ # id (required) - int64 - Holiday Calendar ID.
108
+ def self.find(id, params = {}, options = {})
109
+ params ||= {}
110
+ params[:id] = id
111
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
112
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
113
+
114
+ response, options = Api.send_request("/holiday_calendars/#{params[:id]}", :get, params, options)
115
+ HolidayCalendar.new(response.data, options)
116
+ end
117
+
118
+ def self.get(id, params = {}, options = {})
119
+ find(id, params, options)
120
+ end
121
+
122
+ # Parameters:
123
+ # name (required) - string - Holiday Calendar name.
124
+ def self.create(params = {}, options = {})
125
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
126
+ raise MissingParameterError.new("Parameter missing: name") unless params[:name]
127
+
128
+ response, options = Api.send_request("/holiday_calendars", :post, params, options)
129
+ HolidayCalendar.new(response.data, options)
130
+ end
131
+
132
+ # Parameters:
133
+ # name - string - Holiday Calendar name.
134
+ def self.update(id, params = {}, options = {})
135
+ params ||= {}
136
+ params[:id] = id
137
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
138
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
139
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
140
+
141
+ response, options = Api.send_request("/holiday_calendars/#{params[:id]}", :patch, params, options)
142
+ HolidayCalendar.new(response.data, options)
143
+ end
144
+
145
+ def self.delete(id, params = {}, options = {})
146
+ params ||= {}
147
+ params[:id] = id
148
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
149
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
150
+
151
+ Api.send_request("/holiday_calendars/#{params[:id]}", :delete, params, options)
152
+ nil
153
+ end
154
+
155
+ def self.destroy(id, params = {}, options = {})
156
+ delete(id, params, options)
157
+ nil
158
+ end
159
+ end
160
+ end
@@ -369,6 +369,51 @@ module Files
369
369
  @attributes[:one_drive_account_type] = value
370
370
  end
371
371
 
372
+ # string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
373
+ def sharepoint_tenant_id
374
+ @attributes[:sharepoint_tenant_id]
375
+ end
376
+
377
+ def sharepoint_tenant_id=(value)
378
+ @attributes[:sharepoint_tenant_id] = value
379
+ end
380
+
381
+ # string - SharePoint: Microsoft Entra application client ID for app-only authentication.
382
+ def sharepoint_client_id
383
+ @attributes[:sharepoint_client_id]
384
+ end
385
+
386
+ def sharepoint_client_id=(value)
387
+ @attributes[:sharepoint_client_id] = value
388
+ end
389
+
390
+ # boolean - SharePoint: If true, this remote server uses Microsoft Entra app-only authentication.
391
+ def sharepoint_app_authentication
392
+ @attributes[:sharepoint_app_authentication]
393
+ end
394
+
395
+ def sharepoint_app_authentication=(value)
396
+ @attributes[:sharepoint_app_authentication] = value
397
+ end
398
+
399
+ # string - SharePoint: App-only credential type. Either secret or certificate.
400
+ def sharepoint_app_credential_type
401
+ @attributes[:sharepoint_app_credential_type]
402
+ end
403
+
404
+ def sharepoint_app_credential_type=(value)
405
+ @attributes[:sharepoint_app_credential_type] = value
406
+ end
407
+
408
+ # string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
409
+ def sharepoint_site_url
410
+ @attributes[:sharepoint_site_url]
411
+ end
412
+
413
+ def sharepoint_site_url=(value)
414
+ @attributes[:sharepoint_site_url] = value
415
+ end
416
+
372
417
  # string - Azure Blob Storage: Account name
373
418
  def azure_blob_storage_account
374
419
  @attributes[:azure_blob_storage_account]
@@ -702,6 +747,24 @@ module Files
702
747
  @attributes[:reset_authentication] = value
703
748
  end
704
749
 
750
+ # string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
751
+ def sharepoint_client_certificate
752
+ @attributes[:sharepoint_client_certificate]
753
+ end
754
+
755
+ def sharepoint_client_certificate=(value)
756
+ @attributes[:sharepoint_client_certificate] = value
757
+ end
758
+
759
+ # string - SharePoint: Microsoft Entra application client secret for app-only authentication.
760
+ def sharepoint_client_secret
761
+ @attributes[:sharepoint_client_secret]
762
+ end
763
+
764
+ def sharepoint_client_secret=(value)
765
+ @attributes[:sharepoint_client_secret] = value
766
+ end
767
+
705
768
  # string - SSL client certificate.
706
769
  def ssl_certificate
707
770
  @attributes[:ssl_certificate]
@@ -897,6 +960,8 @@ module Files
897
960
  # private_key - string - Private key, if needed.
898
961
  # private_key_passphrase - string - Passphrase for private key if needed.
899
962
  # reset_authentication - boolean - Reset authenticated account?
963
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
964
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
900
965
  # ssl_certificate - string - SSL client certificate.
901
966
  # aws_secret_key - string - AWS: secret key.
902
967
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -965,6 +1030,9 @@ module Files
965
1030
  # server_certificate - string - Remote server certificate
966
1031
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
967
1032
  # server_type - string - Remote server type.
1033
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1034
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
1035
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
968
1036
  # ssl - string - Should we require SSL?
969
1037
  # username - string - Remote server username.
970
1038
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -978,6 +1046,8 @@ module Files
978
1046
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
979
1047
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
980
1048
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
1049
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
1050
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
981
1051
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
982
1052
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
983
1053
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
@@ -1040,6 +1110,9 @@ module Files
1040
1110
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
1041
1111
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
1042
1112
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
1113
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
1114
+ raise InvalidParameterError.new("Bad parameter: sharepoint_site_url must be an String") if params[:sharepoint_site_url] and !params[:sharepoint_site_url].is_a?(String)
1115
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
1043
1116
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
1044
1117
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1045
1118
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
@@ -1134,6 +1207,8 @@ module Files
1134
1207
  # private_key - string - Private key, if needed.
1135
1208
  # private_key_passphrase - string - Passphrase for private key if needed.
1136
1209
  # reset_authentication - boolean - Reset authenticated account?
1210
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
1211
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
1137
1212
  # ssl_certificate - string - SSL client certificate.
1138
1213
  # aws_secret_key - string - AWS: secret key.
1139
1214
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -1202,6 +1277,9 @@ module Files
1202
1277
  # server_certificate - string - Remote server certificate
1203
1278
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1204
1279
  # server_type - string - Remote server type.
1280
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1281
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
1282
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
1205
1283
  # ssl - string - Should we require SSL?
1206
1284
  # username - string - Remote server username.
1207
1285
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -1213,6 +1291,8 @@ module Files
1213
1291
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
1214
1292
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
1215
1293
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
1294
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
1295
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
1216
1296
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
1217
1297
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1218
1298
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
@@ -1275,6 +1355,9 @@ module Files
1275
1355
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
1276
1356
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
1277
1357
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
1358
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
1359
+ raise InvalidParameterError.new("Bad parameter: sharepoint_site_url must be an String") if params[:sharepoint_site_url] and !params[:sharepoint_site_url].is_a?(String)
1360
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
1278
1361
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
1279
1362
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1280
1363
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
@@ -1337,6 +1420,8 @@ module Files
1337
1420
  # private_key - string - Private key, if needed.
1338
1421
  # private_key_passphrase - string - Passphrase for private key if needed.
1339
1422
  # reset_authentication - boolean - Reset authenticated account?
1423
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
1424
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
1340
1425
  # ssl_certificate - string - SSL client certificate.
1341
1426
  # aws_secret_key - string - AWS: secret key.
1342
1427
  # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
@@ -1405,6 +1490,9 @@ module Files
1405
1490
  # server_certificate - string - Remote server certificate
1406
1491
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1407
1492
  # server_type - string - Remote server type.
1493
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
1494
+ # sharepoint_site_url - string - SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
1495
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
1408
1496
  # ssl - string - Should we require SSL?
1409
1497
  # username - string - Remote server username.
1410
1498
  # wasabi_access_key - string - Wasabi: Access Key.
@@ -1417,6 +1505,8 @@ module Files
1417
1505
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
1418
1506
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
1419
1507
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
1508
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
1509
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
1420
1510
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
1421
1511
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1422
1512
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
@@ -1479,6 +1569,9 @@ module Files
1479
1569
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
1480
1570
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
1481
1571
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
1572
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
1573
+ raise InvalidParameterError.new("Bad parameter: sharepoint_site_url must be an String") if params[:sharepoint_site_url] and !params[:sharepoint_site_url].is_a?(String)
1574
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
1482
1575
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
1483
1576
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1484
1577
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
@@ -144,6 +144,33 @@ module Files
144
144
  @attributes[:linode_access_key] = value
145
145
  end
146
146
 
147
+ # string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
148
+ def sharepoint_tenant_id
149
+ @attributes[:sharepoint_tenant_id]
150
+ end
151
+
152
+ def sharepoint_tenant_id=(value)
153
+ @attributes[:sharepoint_tenant_id] = value
154
+ end
155
+
156
+ # string - SharePoint: Microsoft Entra application client ID for app-only authentication.
157
+ def sharepoint_client_id
158
+ @attributes[:sharepoint_client_id]
159
+ end
160
+
161
+ def sharepoint_client_id=(value)
162
+ @attributes[:sharepoint_client_id] = value
163
+ end
164
+
165
+ # string - SharePoint: App-only credential type. Either secret or certificate.
166
+ def sharepoint_app_credential_type
167
+ @attributes[:sharepoint_app_credential_type]
168
+ end
169
+
170
+ def sharepoint_app_credential_type=(value)
171
+ @attributes[:sharepoint_app_credential_type] = value
172
+ end
173
+
147
174
  # string - Remote server username.
148
175
  def username
149
176
  @attributes[:username]
@@ -297,6 +324,24 @@ module Files
297
324
  @attributes[:s3_compatible_secret_key] = value
298
325
  end
299
326
 
327
+ # string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
328
+ def sharepoint_client_certificate
329
+ @attributes[:sharepoint_client_certificate]
330
+ end
331
+
332
+ def sharepoint_client_certificate=(value)
333
+ @attributes[:sharepoint_client_certificate] = value
334
+ end
335
+
336
+ # string - SharePoint: Microsoft Entra application client secret for app-only authentication.
337
+ def sharepoint_client_secret
338
+ @attributes[:sharepoint_client_secret]
339
+ end
340
+
341
+ def sharepoint_client_secret=(value)
342
+ @attributes[:sharepoint_client_secret] = value
343
+ end
344
+
300
345
  # string - Wasabi: Secret Key
301
346
  def wasabi_secret_key
302
347
  @attributes[:wasabi_secret_key]
@@ -327,6 +372,8 @@ module Files
327
372
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
328
373
  # linode_access_key - string - Linode: Access Key
329
374
  # s3_compatible_access_key - string - S3-compatible: Access Key
375
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
376
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
330
377
  # username - string - Remote server username.
331
378
  # wasabi_access_key - string - Wasabi: Access Key.
332
379
  # password - string - Password, if needed.
@@ -345,6 +392,8 @@ module Files
345
392
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
346
393
  # linode_secret_key - string - Linode: Secret Key
347
394
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
395
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
396
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
348
397
  # wasabi_secret_key - string - Wasabi: Secret Key
349
398
  def update(params = {})
350
399
  params ||= {}
@@ -362,6 +411,8 @@ module Files
362
411
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
363
412
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
364
413
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
414
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
415
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
365
416
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
366
417
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
367
418
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
@@ -380,6 +431,8 @@ module Files
380
431
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
381
432
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
382
433
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
434
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
435
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
383
436
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
384
437
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
385
438
 
@@ -462,6 +515,8 @@ module Files
462
515
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
463
516
  # linode_access_key - string - Linode: Access Key
464
517
  # s3_compatible_access_key - string - S3-compatible: Access Key
518
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
519
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
465
520
  # username - string - Remote server username.
466
521
  # wasabi_access_key - string - Wasabi: Access Key.
467
522
  # password - string - Password, if needed.
@@ -480,6 +535,8 @@ module Files
480
535
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
481
536
  # linode_secret_key - string - Linode: Secret Key
482
537
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
538
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
539
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
483
540
  # wasabi_secret_key - string - Wasabi: Secret Key
484
541
  # workspace_id - int64 - Workspace ID (0 for default workspace)
485
542
  # copy_values_from_credential_id - int64 - ID of Remote Server Credential to copy omitted values from.
@@ -495,6 +552,8 @@ module Files
495
552
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
496
553
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
497
554
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
555
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
556
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
498
557
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
499
558
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
500
559
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
@@ -513,6 +572,8 @@ module Files
513
572
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
514
573
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
515
574
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
575
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
576
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
516
577
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
517
578
  raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
518
579
  raise InvalidParameterError.new("Bad parameter: copy_values_from_credential_id must be an Integer") if params[:copy_values_from_credential_id] and !params[:copy_values_from_credential_id].is_a?(Integer)
@@ -533,6 +594,8 @@ module Files
533
594
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
534
595
  # linode_access_key - string - Linode: Access Key
535
596
  # s3_compatible_access_key - string - S3-compatible: Access Key
597
+ # sharepoint_client_id - string - SharePoint: Microsoft Entra application client ID for app-only authentication.
598
+ # sharepoint_tenant_id - string - SharePoint: Microsoft Entra tenant ID for app-only authentication.
536
599
  # username - string - Remote server username.
537
600
  # wasabi_access_key - string - Wasabi: Access Key.
538
601
  # password - string - Password, if needed.
@@ -551,6 +614,8 @@ module Files
551
614
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
552
615
  # linode_secret_key - string - Linode: Secret Key
553
616
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
617
+ # sharepoint_client_certificate - string - SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
618
+ # sharepoint_client_secret - string - SharePoint: Microsoft Entra application client secret for app-only authentication.
554
619
  # wasabi_secret_key - string - Wasabi: Secret Key
555
620
  def self.update(id, params = {}, options = {})
556
621
  params ||= {}
@@ -567,6 +632,8 @@ module Files
567
632
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
568
633
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
569
634
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
635
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_id must be an String") if params[:sharepoint_client_id] and !params[:sharepoint_client_id].is_a?(String)
636
+ raise InvalidParameterError.new("Bad parameter: sharepoint_tenant_id must be an String") if params[:sharepoint_tenant_id] and !params[:sharepoint_tenant_id].is_a?(String)
570
637
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
571
638
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
572
639
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
@@ -585,6 +652,8 @@ module Files
585
652
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
586
653
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
587
654
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
655
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_certificate must be an String") if params[:sharepoint_client_certificate] and !params[:sharepoint_client_certificate].is_a?(String)
656
+ raise InvalidParameterError.new("Bad parameter: sharepoint_client_secret must be an String") if params[:sharepoint_client_secret] and !params[:sharepoint_client_secret].is_a?(String)
588
657
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
589
658
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
590
659
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.686"
4
+ VERSION = "1.1.688"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -68,6 +68,7 @@ require "files.com/models/child_site_management_policy"
68
68
  require "files.com/models/clickwrap"
69
69
  require "files.com/models/custom_domain"
70
70
  require "files.com/models/desktop_configuration_profile"
71
+ require "files.com/models/direct_connection_info"
71
72
  require "files.com/models/dns_record"
72
73
  require "files.com/models/email_incoming_message"
73
74
  require "files.com/models/email_log"
@@ -99,6 +100,7 @@ require "files.com/models/group_user"
99
100
  require "files.com/models/history"
100
101
  require "files.com/models/history_export"
101
102
  require "files.com/models/history_export_result"
103
+ require "files.com/models/holiday_calendar"
102
104
  require "files.com/models/holiday_region"
103
105
  require "files.com/models/image"
104
106
  require "files.com/models/inbound_s3_log"
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.1.686
4
+ version: 1.1.688
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-15 00:00:00.000000000 Z
11
+ date: 2026-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -206,6 +206,7 @@ files:
206
206
  - docs/clickwrap.md
207
207
  - docs/custom_domain.md
208
208
  - docs/desktop_configuration_profile.md
209
+ - docs/direct_connection_info.md
209
210
  - docs/dns_record.md
210
211
  - docs/email_incoming_message.md
211
212
  - docs/email_log.md
@@ -238,6 +239,7 @@ files:
238
239
  - docs/history.md
239
240
  - docs/history_export.md
240
241
  - docs/history_export_result.md
242
+ - docs/holiday_calendar.md
241
243
  - docs/holiday_region.md
242
244
  - docs/image.md
243
245
  - docs/inbound_s3_log.md
@@ -356,6 +358,7 @@ files:
356
358
  - lib/files.com/models/custom_domain.rb
357
359
  - lib/files.com/models/desktop_configuration_profile.rb
358
360
  - lib/files.com/models/dir.rb
361
+ - lib/files.com/models/direct_connection_info.rb
359
362
  - lib/files.com/models/dns_record.rb
360
363
  - lib/files.com/models/email_incoming_message.rb
361
364
  - lib/files.com/models/email_log.rb
@@ -388,6 +391,7 @@ files:
388
391
  - lib/files.com/models/history.rb
389
392
  - lib/files.com/models/history_export.rb
390
393
  - lib/files.com/models/history_export_result.rb
394
+ - lib/files.com/models/holiday_calendar.rb
391
395
  - lib/files.com/models/holiday_region.rb
392
396
  - lib/files.com/models/image.rb
393
397
  - lib/files.com/models/inbound_s3_log.rb