files.com 1.1.750 → 1.1.752
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 +4 -4
- data/_VERSION +1 -1
- data/docs/partner_channel.md +10 -2
- data/docs/partner_channel_template.md +10 -2
- data/docs/site.md +4 -0
- data/docs/sso_strategy.md +2 -0
- data/lib/files.com/models/partner_channel.rb +14 -2
- data/lib/files.com/models/partner_channel_template.rb +14 -2
- data/lib/files.com/models/site.rb +7 -0
- data/lib/files.com/models/sso_strategy.rb +5 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0548a8a13b89e54076168020b96a41458429bfc38c9ea9e49377f022b647d37e'
|
|
4
|
+
data.tar.gz: 077ea0e9fa011c2f197a7cae4660f3785a189affa42dd772251f197eca5d7ac0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18319aa39ca08a2f45d426d4c7985bbfd2f35af386234aa3ca4a010445ad8fb12bf2affd8b4d434987b1d1389b0873a1035362a96a62c34bffc0e677ca921ae8
|
|
7
|
+
data.tar.gz: 610afdb37fc3a14029bc076d65693a84825bd10fe15f06719be52f7b03a022cf009c34ef54ccec07532425be09b75e62449bf774ad36824e83c2b163af3c2340
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.752
|
data/docs/partner_channel.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"direction": "two_way",
|
|
10
|
+
"use_channel_root": false,
|
|
10
11
|
"partner_id": 1,
|
|
11
12
|
"partner_channel_template_id": 1,
|
|
12
13
|
"path": "claims/medical",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
* `id` (int64): The unique ID of the Partner Channel.
|
|
32
33
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner Channel.
|
|
33
34
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
35
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
34
36
|
* `partner_id` (int64): ID of the Partner this Channel belongs to.
|
|
35
37
|
* `partner_channel_template_id` (int64): ID of the Partner Channel Template that manages this Channel, if any.
|
|
36
38
|
* `path` (string): Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
@@ -40,8 +42,8 @@
|
|
|
40
42
|
* `to_partner_route_path` (string): Optional route path for files delivered to the Partner.
|
|
41
43
|
* `to_partner_managed_folder_paths` (array(string)): Managed folder paths inside the to-Partner folder.
|
|
42
44
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
43
|
-
* `effective_to_partner_folder_name` (string): Resolved to-Partner
|
|
44
|
-
* `effective_from_partner_folder_name` (string): Resolved from-Partner
|
|
45
|
+
* `effective_to_partner_folder_name` (string): Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
46
|
+
* `effective_from_partner_folder_name` (string): Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
45
47
|
* `channel_path` (string): Resolved Channel folder path.
|
|
46
48
|
* `to_partner_folder_path` (string): Resolved to-Partner folder path.
|
|
47
49
|
* `from_partner_folder_path` (string): Resolved from-Partner folder path.
|
|
@@ -83,6 +85,7 @@ Files::PartnerChannel.find(id)
|
|
|
83
85
|
```
|
|
84
86
|
Files::PartnerChannel.create(
|
|
85
87
|
direction: "two_way",
|
|
88
|
+
use_channel_root: false,
|
|
86
89
|
from_partner_folder_name: "incoming",
|
|
87
90
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
88
91
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -98,6 +101,7 @@ Files::PartnerChannel.create(
|
|
|
98
101
|
### Parameters
|
|
99
102
|
|
|
100
103
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
104
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
101
105
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
102
106
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
103
107
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -116,6 +120,7 @@ Files::PartnerChannel.create(
|
|
|
116
120
|
```
|
|
117
121
|
Files::PartnerChannel.update(id,
|
|
118
122
|
direction: "two_way",
|
|
123
|
+
use_channel_root: false,
|
|
119
124
|
from_partner_folder_name: "incoming",
|
|
120
125
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
121
126
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -130,6 +135,7 @@ Files::PartnerChannel.update(id,
|
|
|
130
135
|
|
|
131
136
|
* `id` (int64): Required - Partner Channel ID.
|
|
132
137
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
138
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
133
139
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
134
140
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
135
141
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -161,6 +167,7 @@ partner_channel = Files::PartnerChannel.find(id)
|
|
|
161
167
|
|
|
162
168
|
partner_channel.update(
|
|
163
169
|
direction: "two_way",
|
|
170
|
+
use_channel_root: false,
|
|
164
171
|
from_partner_folder_name: "incoming",
|
|
165
172
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
166
173
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -175,6 +182,7 @@ partner_channel.update(
|
|
|
175
182
|
|
|
176
183
|
* `id` (int64): Required - Partner Channel ID.
|
|
177
184
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
185
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
178
186
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
179
187
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
180
188
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"direction": "two_way",
|
|
10
|
+
"use_channel_root": false,
|
|
10
11
|
"name": "Claims Template",
|
|
11
12
|
"path": "claims/medical",
|
|
12
13
|
"to_partner_folder_name": "outgoing",
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
* `id` (int64): The unique ID of the Partner Channel Template.
|
|
28
29
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner Channel Template.
|
|
29
30
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
31
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
30
32
|
* `name` (string): The name of the Partner Channel Template.
|
|
31
33
|
* `path` (string): Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
32
34
|
* `to_partner_folder_name` (string): Optional Channel-level to-Partner folder name override.
|
|
@@ -35,8 +37,8 @@
|
|
|
35
37
|
* `to_partner_route_path_pattern` (string): Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
|
|
36
38
|
* `to_partner_managed_folder_paths` (array(string)): Managed folder paths inside the to-Partner folder.
|
|
37
39
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
38
|
-
* `effective_to_partner_folder_name` (string): Resolved to-Partner
|
|
39
|
-
* `effective_from_partner_folder_name` (string): Resolved from-Partner
|
|
40
|
+
* `effective_to_partner_folder_name` (string): Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
41
|
+
* `effective_from_partner_folder_name` (string): Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
---
|
|
@@ -75,6 +77,7 @@ Files::PartnerChannelTemplate.find(id)
|
|
|
75
77
|
```
|
|
76
78
|
Files::PartnerChannelTemplate.create(
|
|
77
79
|
direction: "two_way",
|
|
80
|
+
use_channel_root: false,
|
|
78
81
|
from_partner_folder_name: "incoming",
|
|
79
82
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
80
83
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -90,6 +93,7 @@ Files::PartnerChannelTemplate.create(
|
|
|
90
93
|
### Parameters
|
|
91
94
|
|
|
92
95
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
96
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
93
97
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
94
98
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
95
99
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -108,6 +112,7 @@ Files::PartnerChannelTemplate.create(
|
|
|
108
112
|
```
|
|
109
113
|
Files::PartnerChannelTemplate.update(id,
|
|
110
114
|
direction: "two_way",
|
|
115
|
+
use_channel_root: false,
|
|
111
116
|
from_partner_folder_name: "incoming",
|
|
112
117
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
113
118
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -123,6 +128,7 @@ Files::PartnerChannelTemplate.update(id,
|
|
|
123
128
|
|
|
124
129
|
* `id` (int64): Required - Partner Channel Template ID.
|
|
125
130
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
131
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
126
132
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
127
133
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
128
134
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -155,6 +161,7 @@ partner_channel_template = Files::PartnerChannelTemplate.find(id)
|
|
|
155
161
|
|
|
156
162
|
partner_channel_template.update(
|
|
157
163
|
direction: "two_way",
|
|
164
|
+
use_channel_root: false,
|
|
158
165
|
from_partner_folder_name: "incoming",
|
|
159
166
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
160
167
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -170,6 +177,7 @@ partner_channel_template.update(
|
|
|
170
177
|
|
|
171
178
|
* `id` (int64): Required - Partner Channel Template ID.
|
|
172
179
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
180
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
173
181
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
174
182
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
175
183
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
data/docs/site.md
CHANGED
|
@@ -142,6 +142,7 @@
|
|
|
142
142
|
"ldap_host_3": "ldap3.site.com",
|
|
143
143
|
"ldap_port": 1,
|
|
144
144
|
"ldap_secure": true,
|
|
145
|
+
"ldap_server_certificate": "require_match",
|
|
145
146
|
"ldap_type": "open_ldap",
|
|
146
147
|
"ldap_user_action": "disabled",
|
|
147
148
|
"ldap_user_include_groups": "example",
|
|
@@ -476,6 +477,7 @@
|
|
|
476
477
|
* `ldap_host_3` (string): LDAP backup host
|
|
477
478
|
* `ldap_port` (int64): LDAP port
|
|
478
479
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
480
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
479
481
|
* `ldap_type` (string): LDAP type
|
|
480
482
|
* `ldap_user_action` (string): Should we sync users from LDAP server?
|
|
481
483
|
* `ldap_user_include_groups` (string): Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
|
@@ -747,6 +749,7 @@ Files::Site.update(
|
|
|
747
749
|
ldap_host_3: "ldap3.site.com",
|
|
748
750
|
ldap_port: 1,
|
|
749
751
|
ldap_secure: false,
|
|
752
|
+
ldap_server_certificate: "require_match",
|
|
750
753
|
ldap_username: "[ldap username]",
|
|
751
754
|
ldap_username_field: "sAMAccountName",
|
|
752
755
|
ldap_domain: "mysite.com",
|
|
@@ -931,6 +934,7 @@ Files::Site.update(
|
|
|
931
934
|
* `ldap_host_3` (string): LDAP backup host
|
|
932
935
|
* `ldap_port` (int64): LDAP port
|
|
933
936
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
937
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
934
938
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
935
939
|
* `ldap_username_field` (string): LDAP username field
|
|
936
940
|
* `ldap_domain` (string): Domain name that will be appended to usernames
|
data/docs/sso_strategy.md
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"ldap_port": 1,
|
|
54
54
|
"ldap_provisioning_enabled": true,
|
|
55
55
|
"ldap_secure": true,
|
|
56
|
+
"ldap_server_certificate": "require_match",
|
|
56
57
|
"ldap_type": "active_directory",
|
|
57
58
|
"ldap_username": "[ldap username]",
|
|
58
59
|
"ldap_username_field": "sAMAccountName"
|
|
@@ -108,6 +109,7 @@
|
|
|
108
109
|
* `ldap_port` (int64): LDAP port
|
|
109
110
|
* `ldap_provisioning_enabled` (boolean): Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
110
111
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
112
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
111
113
|
* `ldap_type` (string): LDAP server type
|
|
112
114
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
113
115
|
* `ldap_username_field` (string): LDAP username field
|
|
@@ -36,6 +36,15 @@ module Files
|
|
|
36
36
|
@attributes[:direction] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
40
|
+
def use_channel_root
|
|
41
|
+
@attributes[:use_channel_root]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def use_channel_root=(value)
|
|
45
|
+
@attributes[:use_channel_root] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
# int64 - ID of the Partner this Channel belongs to.
|
|
40
49
|
def partner_id
|
|
41
50
|
@attributes[:partner_id]
|
|
@@ -117,7 +126,7 @@ module Files
|
|
|
117
126
|
@attributes[:from_partner_managed_folder_paths] = value
|
|
118
127
|
end
|
|
119
128
|
|
|
120
|
-
# string - Resolved to-Partner
|
|
129
|
+
# string - Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
121
130
|
def effective_to_partner_folder_name
|
|
122
131
|
@attributes[:effective_to_partner_folder_name]
|
|
123
132
|
end
|
|
@@ -126,7 +135,7 @@ module Files
|
|
|
126
135
|
@attributes[:effective_to_partner_folder_name] = value
|
|
127
136
|
end
|
|
128
137
|
|
|
129
|
-
# string - Resolved from-Partner
|
|
138
|
+
# string - Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
130
139
|
def effective_from_partner_folder_name
|
|
131
140
|
@attributes[:effective_from_partner_folder_name]
|
|
132
141
|
end
|
|
@@ -164,6 +173,7 @@ module Files
|
|
|
164
173
|
|
|
165
174
|
# Parameters:
|
|
166
175
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
176
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
167
177
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
168
178
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
169
179
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -253,6 +263,7 @@ module Files
|
|
|
253
263
|
|
|
254
264
|
# Parameters:
|
|
255
265
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
266
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
256
267
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
257
268
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
258
269
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -282,6 +293,7 @@ module Files
|
|
|
282
293
|
|
|
283
294
|
# Parameters:
|
|
284
295
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
296
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
285
297
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
286
298
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
287
299
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -36,6 +36,15 @@ module Files
|
|
|
36
36
|
@attributes[:direction] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
40
|
+
def use_channel_root
|
|
41
|
+
@attributes[:use_channel_root]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def use_channel_root=(value)
|
|
45
|
+
@attributes[:use_channel_root] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
# string - The name of the Partner Channel Template.
|
|
40
49
|
def name
|
|
41
50
|
@attributes[:name]
|
|
@@ -108,7 +117,7 @@ module Files
|
|
|
108
117
|
@attributes[:from_partner_managed_folder_paths] = value
|
|
109
118
|
end
|
|
110
119
|
|
|
111
|
-
# string - Resolved to-Partner
|
|
120
|
+
# string - Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
112
121
|
def effective_to_partner_folder_name
|
|
113
122
|
@attributes[:effective_to_partner_folder_name]
|
|
114
123
|
end
|
|
@@ -117,7 +126,7 @@ module Files
|
|
|
117
126
|
@attributes[:effective_to_partner_folder_name] = value
|
|
118
127
|
end
|
|
119
128
|
|
|
120
|
-
# string - Resolved from-Partner
|
|
129
|
+
# string - Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
121
130
|
def effective_from_partner_folder_name
|
|
122
131
|
@attributes[:effective_from_partner_folder_name]
|
|
123
132
|
end
|
|
@@ -128,6 +137,7 @@ module Files
|
|
|
128
137
|
|
|
129
138
|
# Parameters:
|
|
130
139
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
140
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
131
141
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
132
142
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
133
143
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -219,6 +229,7 @@ module Files
|
|
|
219
229
|
|
|
220
230
|
# Parameters:
|
|
221
231
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
232
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
222
233
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
223
234
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
224
235
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -248,6 +259,7 @@ module Files
|
|
|
248
259
|
|
|
249
260
|
# Parameters:
|
|
250
261
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
262
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
251
263
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
252
264
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
253
265
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -551,6 +551,11 @@ module Files
|
|
|
551
551
|
@attributes[:ldap_secure]
|
|
552
552
|
end
|
|
553
553
|
|
|
554
|
+
# string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
555
|
+
def ldap_server_certificate
|
|
556
|
+
@attributes[:ldap_server_certificate]
|
|
557
|
+
end
|
|
558
|
+
|
|
554
559
|
# string - LDAP type
|
|
555
560
|
def ldap_type
|
|
556
561
|
@attributes[:ldap_type]
|
|
@@ -1159,6 +1164,7 @@ module Files
|
|
|
1159
1164
|
# ldap_host_3 - string - LDAP backup host
|
|
1160
1165
|
# ldap_port - int64 - LDAP port
|
|
1161
1166
|
# ldap_secure - boolean - Use secure LDAP?
|
|
1167
|
+
# ldap_server_certificate - string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
1162
1168
|
# ldap_username - string - Username for signing in to LDAP server.
|
|
1163
1169
|
# ldap_username_field - string - LDAP username field
|
|
1164
1170
|
# ldap_domain - string - Domain name that will be appended to usernames
|
|
@@ -1253,6 +1259,7 @@ module Files
|
|
|
1253
1259
|
raise InvalidParameterError.new("Bad parameter: ldap_host_2 must be an String") if params[:ldap_host_2] and !params[:ldap_host_2].is_a?(String)
|
|
1254
1260
|
raise InvalidParameterError.new("Bad parameter: ldap_host_3 must be an String") if params[:ldap_host_3] and !params[:ldap_host_3].is_a?(String)
|
|
1255
1261
|
raise InvalidParameterError.new("Bad parameter: ldap_port must be an Integer") if params[:ldap_port] and !params[:ldap_port].is_a?(Integer)
|
|
1262
|
+
raise InvalidParameterError.new("Bad parameter: ldap_server_certificate must be an String") if params[:ldap_server_certificate] and !params[:ldap_server_certificate].is_a?(String)
|
|
1256
1263
|
raise InvalidParameterError.new("Bad parameter: ldap_username must be an String") if params[:ldap_username] and !params[:ldap_username].is_a?(String)
|
|
1257
1264
|
raise InvalidParameterError.new("Bad parameter: ldap_username_field must be an String") if params[:ldap_username_field] and !params[:ldap_username_field].is_a?(String)
|
|
1258
1265
|
raise InvalidParameterError.new("Bad parameter: ldap_domain must be an String") if params[:ldap_domain] and !params[:ldap_domain].is_a?(String)
|
|
@@ -254,6 +254,11 @@ module Files
|
|
|
254
254
|
@attributes[:ldap_secure]
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
+
# string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
258
|
+
def ldap_server_certificate
|
|
259
|
+
@attributes[:ldap_server_certificate]
|
|
260
|
+
end
|
|
261
|
+
|
|
257
262
|
# string - LDAP server type
|
|
258
263
|
def ldap_type
|
|
259
264
|
@attributes[:ldap_type]
|
data/lib/files.com/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.752
|
|
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-09-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|