files.com 1.1.772 → 1.1.774
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/README.md +1 -1
- data/_VERSION +1 -1
- data/docs/as2_partner.md +14 -6
- data/docs/as2_station.md +20 -13
- data/docs/event_subscription.md +12 -5
- data/lib/files.com/models/as2_partner.rb +35 -6
- data/lib/files.com/models/as2_station.rb +41 -13
- data/lib/files.com/models/event_subscription.rb +4 -4
- 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: c4f2c94de7f8460dbc6ebdc3ebfe0d3acac9e51a73ba8e8bb1b6fdeb4c209cf2
|
|
4
|
+
data.tar.gz: 021a97a67cc851eda338a4648d23fd98123062630359ffe889c6d5ce4621c624
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34e69220a7b56baed94b097b29f252091b878d09bbc8c18d2c48b814d4621242f387a678e556ec2649ea47d5f0afbbc657f18795823bbd0547e78c28d0b43c86
|
|
7
|
+
data.tar.gz: 0130c0988d60aeee05ea50a51ba9289434e336c6dbbb6a34532462fcc4d52a2a00fd869446428d3bd84b06851436784ed5377de1519bf960045ebcb50930dc9c
|
data/README.md
CHANGED
|
@@ -67,7 +67,7 @@ the method used in the examples on this site.
|
|
|
67
67
|
|
|
68
68
|
To use an API Key, first generate an API key from the [web
|
|
69
69
|
interface](https://www.files.com/docs/sdk-and-apis/api-keys) or [via the API or an
|
|
70
|
-
SDK](/ruby/resources/developers/api-keys).
|
|
70
|
+
SDK](https://developers.files.com/ruby/resources/developers/api-keys).
|
|
71
71
|
|
|
72
72
|
Note that when using a user-specific API key, if the user is an administrator, you will have full
|
|
73
73
|
access to the entire API. If the user is not an administrator, you will only be able to access files
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.774
|
data/docs/as2_partner.md
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
|
40
40
|
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
|
41
41
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
42
|
-
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
42
|
+
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
43
43
|
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
|
44
44
|
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
|
45
45
|
* `public_certificate` (string): Public certificate used for message security.
|
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
* `public_certificate_not_before` (string): Not before value of public certificate used for message security.
|
|
51
51
|
* `public_certificate_not_after` (string): Not after value of public certificate used for message security.
|
|
52
52
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
|
53
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
54
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
---
|
|
@@ -97,7 +99,7 @@ Files::As2Partner.create(
|
|
|
97
99
|
as2_station_id: 1,
|
|
98
100
|
name: "AS2 Partner Name",
|
|
99
101
|
uri: "example",
|
|
100
|
-
public_certificate: "
|
|
102
|
+
public_certificate: "example"
|
|
101
103
|
)
|
|
102
104
|
```
|
|
103
105
|
|
|
@@ -107,14 +109,16 @@ Files::As2Partner.create(
|
|
|
107
109
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
|
108
110
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
|
109
111
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
110
|
-
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
112
|
+
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
111
113
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
112
114
|
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
|
113
115
|
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
|
114
116
|
* `as2_station_id` (int64): Required - ID of the AS2 Station associated with this partner.
|
|
115
117
|
* `name` (string): Required - The partner's formal AS2 name.
|
|
116
118
|
* `uri` (string): Required - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
117
|
-
* `public_certificate` (string):
|
|
119
|
+
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
120
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
121
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
118
122
|
|
|
119
123
|
|
|
120
124
|
---
|
|
@@ -143,13 +147,15 @@ Files::As2Partner.update(id,
|
|
|
143
147
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
|
144
148
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
|
145
149
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
146
|
-
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
150
|
+
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
147
151
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
148
152
|
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
|
149
153
|
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
|
150
154
|
* `name` (string): The partner's formal AS2 name.
|
|
151
155
|
* `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
152
156
|
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
157
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
158
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
153
159
|
|
|
154
160
|
|
|
155
161
|
---
|
|
@@ -193,13 +199,15 @@ as2_partner.update(
|
|
|
193
199
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
|
194
200
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
|
195
201
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
196
|
-
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
202
|
+
* `signature_validation_level` (string): Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
197
203
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
198
204
|
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
|
199
205
|
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
|
200
206
|
* `name` (string): The partner's formal AS2 name.
|
|
201
207
|
* `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
202
208
|
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
209
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
210
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
203
211
|
|
|
204
212
|
|
|
205
213
|
---
|
data/docs/as2_station.md
CHANGED
|
@@ -37,8 +37,10 @@
|
|
|
37
37
|
* `public_certificate_not_before` (string): Not before value of public certificate used for message security.
|
|
38
38
|
* `public_certificate_not_after` (string): Not after value of public certificate used for message security.
|
|
39
39
|
* `private_key_password_md5` (string): MD5 hash of private key password used for message security.
|
|
40
|
-
* `private_key` (string):
|
|
41
|
-
* `private_key_password` (string):
|
|
40
|
+
* `private_key` (string): PEM-encoded private key matching public_certificate.
|
|
41
|
+
* `private_key_password` (string): Password for the PEM-encoded private key.
|
|
42
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
|
|
43
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
42
44
|
|
|
43
45
|
|
|
44
46
|
---
|
|
@@ -78,8 +80,7 @@ Files::As2Station.find(id)
|
|
|
78
80
|
Files::As2Station.create(
|
|
79
81
|
name: "AS2 Station Name",
|
|
80
82
|
workspace_id: 1,
|
|
81
|
-
public_certificate: "
|
|
82
|
-
private_key: "private_key"
|
|
83
|
+
public_certificate: "example"
|
|
83
84
|
)
|
|
84
85
|
```
|
|
85
86
|
|
|
@@ -87,9 +88,11 @@ Files::As2Station.create(
|
|
|
87
88
|
|
|
88
89
|
* `name` (string): Required - The station's formal AS2 name.
|
|
89
90
|
* `workspace_id` (int64): ID of the Workspace associated with this AS2 Station.
|
|
90
|
-
* `public_certificate` (string):
|
|
91
|
-
* `private_key` (string):
|
|
92
|
-
* `private_key_password` (string):
|
|
91
|
+
* `public_certificate` (string): Public certificate used for message security.
|
|
92
|
+
* `private_key` (string): PEM-encoded private key matching public_certificate.
|
|
93
|
+
* `private_key_password` (string): Password for the PEM-encoded private key.
|
|
94
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
|
|
95
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
93
96
|
|
|
94
97
|
|
|
95
98
|
---
|
|
@@ -107,9 +110,11 @@ Files::As2Station.update(id,
|
|
|
107
110
|
|
|
108
111
|
* `id` (int64): Required - As2 Station ID.
|
|
109
112
|
* `name` (string): The station's formal AS2 name.
|
|
110
|
-
* `public_certificate` (string):
|
|
111
|
-
* `private_key` (string):
|
|
112
|
-
* `private_key_password` (string):
|
|
113
|
+
* `public_certificate` (string): Public certificate used for message security.
|
|
114
|
+
* `private_key` (string): PEM-encoded private key matching public_certificate.
|
|
115
|
+
* `private_key_password` (string): Password for the PEM-encoded private key.
|
|
116
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's replacement certificate and private key. Provide this instead of public_certificate and private_key.
|
|
117
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
113
118
|
|
|
114
119
|
|
|
115
120
|
---
|
|
@@ -142,9 +147,11 @@ as2_station.update(
|
|
|
142
147
|
|
|
143
148
|
* `id` (int64): Required - As2 Station ID.
|
|
144
149
|
* `name` (string): The station's formal AS2 name.
|
|
145
|
-
* `public_certificate` (string):
|
|
146
|
-
* `private_key` (string):
|
|
147
|
-
* `private_key_password` (string):
|
|
150
|
+
* `public_certificate` (string): Public certificate used for message security.
|
|
151
|
+
* `private_key` (string): PEM-encoded private key matching public_certificate.
|
|
152
|
+
* `private_key_password` (string): Password for the PEM-encoded private key.
|
|
153
|
+
* `pkcs12` (string): Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's replacement certificate and private key. Provide this instead of public_certificate and private_key.
|
|
154
|
+
* `pkcs12_password` (string): Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
148
155
|
|
|
149
156
|
|
|
150
157
|
---
|
data/docs/event_subscription.md
CHANGED
|
@@ -16,7 +16,14 @@
|
|
|
16
16
|
"event_types": [
|
|
17
17
|
"sync_run.failure.v1"
|
|
18
18
|
],
|
|
19
|
-
"filter":
|
|
19
|
+
"filter": {
|
|
20
|
+
"payload.sync_name": {
|
|
21
|
+
"prefix": "Nightly"
|
|
22
|
+
},
|
|
23
|
+
"payload.event_errors": {
|
|
24
|
+
"exists": true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
20
27
|
"delivery_policy": "example",
|
|
21
28
|
"event_target_ids": [
|
|
22
29
|
1
|
|
@@ -36,7 +43,7 @@
|
|
|
36
43
|
* `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
37
44
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
38
45
|
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
39
|
-
* `filter` (object):
|
|
46
|
+
* `filter` (object): Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
40
47
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
41
48
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
42
49
|
* `created_at` (date-time): Event Subscription create date/time.
|
|
@@ -103,7 +110,7 @@ Files::EventSubscription.create(
|
|
|
103
110
|
* `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
104
111
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
105
112
|
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
106
|
-
* `filter` (object):
|
|
113
|
+
* `filter` (object): Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
107
114
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
108
115
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
109
116
|
|
|
@@ -140,7 +147,7 @@ Files::EventSubscription.update(id,
|
|
|
140
147
|
* `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
141
148
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
142
149
|
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
143
|
-
* `filter` (object):
|
|
150
|
+
* `filter` (object): Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
144
151
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
145
152
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
146
153
|
|
|
@@ -192,7 +199,7 @@ event_subscription.update(
|
|
|
192
199
|
* `message_only` (boolean): If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
193
200
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
194
201
|
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
195
|
-
* `filter` (object):
|
|
202
|
+
* `filter` (object): Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
196
203
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
197
204
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
198
205
|
|
|
@@ -99,7 +99,7 @@ module Files
|
|
|
99
99
|
@attributes[:mdn_validation_level] = value
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
102
|
+
# string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
103
103
|
def signature_validation_level
|
|
104
104
|
@attributes[:signature_validation_level]
|
|
105
105
|
end
|
|
@@ -198,18 +198,38 @@ module Files
|
|
|
198
198
|
@attributes[:http_auth_password] = value
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
+
# string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
202
|
+
def pkcs12
|
|
203
|
+
@attributes[:pkcs12]
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
def pkcs12=(value)
|
|
207
|
+
@attributes[:pkcs12] = value
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
# string - Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
211
|
+
def pkcs12_password
|
|
212
|
+
@attributes[:pkcs12_password]
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
def pkcs12_password=(value)
|
|
216
|
+
@attributes[:pkcs12_password] = value
|
|
217
|
+
end
|
|
218
|
+
|
|
201
219
|
# Parameters:
|
|
202
220
|
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
|
203
221
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
|
204
222
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
|
205
223
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
206
|
-
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
224
|
+
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
207
225
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
208
226
|
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
|
209
227
|
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
|
210
228
|
# name - string - The partner's formal AS2 name.
|
|
211
229
|
# uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
212
230
|
# public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
231
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
232
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
213
233
|
def update(params = {})
|
|
214
234
|
params ||= {}
|
|
215
235
|
params[:id] = @attributes[:id]
|
|
@@ -224,6 +244,8 @@ module Files
|
|
|
224
244
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
225
245
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
|
226
246
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
247
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
248
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
227
249
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
228
250
|
|
|
229
251
|
response, options = Api.send_request("/as2_partners/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("As2Partner") }
|
|
@@ -310,14 +332,16 @@ module Files
|
|
|
310
332
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
|
311
333
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
|
312
334
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
313
|
-
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
335
|
+
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
314
336
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
315
337
|
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
|
316
338
|
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
|
317
339
|
# as2_station_id (required) - int64 - ID of the AS2 Station associated with this partner.
|
|
318
340
|
# name (required) - string - The partner's formal AS2 name.
|
|
319
341
|
# uri (required) - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
320
|
-
# public_certificate
|
|
342
|
+
# public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
343
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
344
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
321
345
|
#
|
|
322
346
|
# params:: Hash of API operation parameter values.
|
|
323
347
|
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
@@ -335,10 +359,11 @@ module Files
|
|
|
335
359
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
336
360
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
|
337
361
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
362
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
363
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
338
364
|
raise MissingParameterError.new("Parameter missing: as2_station_id") unless params[:as2_station_id]
|
|
339
365
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
340
366
|
raise MissingParameterError.new("Parameter missing: uri") unless params[:uri]
|
|
341
|
-
raise MissingParameterError.new("Parameter missing: public_certificate") unless params[:public_certificate]
|
|
342
367
|
|
|
343
368
|
response, options = Api.send_request("/as2_partners", :post, params, options) { |reply| reply.require_object("As2Partner") }
|
|
344
369
|
As2Partner.new(response.data, options)
|
|
@@ -349,13 +374,15 @@ module Files
|
|
|
349
374
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
|
350
375
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
|
351
376
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
|
|
352
|
-
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`:
|
|
377
|
+
# signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
|
|
353
378
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
|
|
354
379
|
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
|
355
380
|
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
|
356
381
|
# name - string - The partner's formal AS2 name.
|
|
357
382
|
# uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
|
358
383
|
# public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
|
384
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
|
|
385
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
|
|
359
386
|
#
|
|
360
387
|
# params:: Hash of API operation parameter values.
|
|
361
388
|
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
@@ -375,6 +402,8 @@ module Files
|
|
|
375
402
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
376
403
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
|
377
404
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
405
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
406
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
378
407
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
379
408
|
|
|
380
409
|
response, options = Api.send_request("/as2_partners/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("As2Partner") }
|
|
@@ -144,7 +144,7 @@ module Files
|
|
|
144
144
|
@attributes[:private_key_password_md5] = value
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
# string
|
|
147
|
+
# string - PEM-encoded private key matching public_certificate.
|
|
148
148
|
def private_key
|
|
149
149
|
@attributes[:private_key]
|
|
150
150
|
end
|
|
@@ -153,7 +153,7 @@ module Files
|
|
|
153
153
|
@attributes[:private_key] = value
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
# string
|
|
156
|
+
# string - Password for the PEM-encoded private key.
|
|
157
157
|
def private_key_password
|
|
158
158
|
@attributes[:private_key_password]
|
|
159
159
|
end
|
|
@@ -162,11 +162,31 @@ module Files
|
|
|
162
162
|
@attributes[:private_key_password] = value
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
+
# string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
|
|
166
|
+
def pkcs12
|
|
167
|
+
@attributes[:pkcs12]
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
def pkcs12=(value)
|
|
171
|
+
@attributes[:pkcs12] = value
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# string - Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
175
|
+
def pkcs12_password
|
|
176
|
+
@attributes[:pkcs12_password]
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
def pkcs12_password=(value)
|
|
180
|
+
@attributes[:pkcs12_password] = value
|
|
181
|
+
end
|
|
182
|
+
|
|
165
183
|
# Parameters:
|
|
166
184
|
# name - string - The station's formal AS2 name.
|
|
167
|
-
# public_certificate - string
|
|
168
|
-
# private_key - string
|
|
169
|
-
# private_key_password - string
|
|
185
|
+
# public_certificate - string - Public certificate used for message security.
|
|
186
|
+
# private_key - string - PEM-encoded private key matching public_certificate.
|
|
187
|
+
# private_key_password - string - Password for the PEM-encoded private key.
|
|
188
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's replacement certificate and private key. Provide this instead of public_certificate and private_key.
|
|
189
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
170
190
|
def update(params = {})
|
|
171
191
|
params ||= {}
|
|
172
192
|
params[:id] = @attributes[:id]
|
|
@@ -176,6 +196,8 @@ module Files
|
|
|
176
196
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
177
197
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
178
198
|
raise InvalidParameterError.new("Bad parameter: private_key_password must be an String") if params[:private_key_password] and !params[:private_key_password].is_a?(String)
|
|
199
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
200
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
179
201
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
180
202
|
|
|
181
203
|
response, options = Api.send_request("/as2_stations/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("As2Station") }
|
|
@@ -260,9 +282,11 @@ module Files
|
|
|
260
282
|
# Parameters:
|
|
261
283
|
# name (required) - string - The station's formal AS2 name.
|
|
262
284
|
# workspace_id - int64 - ID of the Workspace associated with this AS2 Station.
|
|
263
|
-
# public_certificate
|
|
264
|
-
# private_key
|
|
265
|
-
# private_key_password - string
|
|
285
|
+
# public_certificate - string - Public certificate used for message security.
|
|
286
|
+
# private_key - string - PEM-encoded private key matching public_certificate.
|
|
287
|
+
# private_key_password - string - Password for the PEM-encoded private key.
|
|
288
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
|
|
289
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
266
290
|
#
|
|
267
291
|
# params:: Hash of API operation parameter values.
|
|
268
292
|
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
@@ -274,9 +298,9 @@ module Files
|
|
|
274
298
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
275
299
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
276
300
|
raise InvalidParameterError.new("Bad parameter: private_key_password must be an String") if params[:private_key_password] and !params[:private_key_password].is_a?(String)
|
|
301
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
302
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
277
303
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
278
|
-
raise MissingParameterError.new("Parameter missing: public_certificate") unless params[:public_certificate]
|
|
279
|
-
raise MissingParameterError.new("Parameter missing: private_key") unless params[:private_key]
|
|
280
304
|
|
|
281
305
|
response, options = Api.send_request("/as2_stations", :post, params, options) { |reply| reply.require_object("As2Station") }
|
|
282
306
|
As2Station.new(response.data, options)
|
|
@@ -284,9 +308,11 @@ module Files
|
|
|
284
308
|
|
|
285
309
|
# Parameters:
|
|
286
310
|
# name - string - The station's formal AS2 name.
|
|
287
|
-
# public_certificate - string
|
|
288
|
-
# private_key - string
|
|
289
|
-
# private_key_password - string
|
|
311
|
+
# public_certificate - string - Public certificate used for message security.
|
|
312
|
+
# private_key - string - PEM-encoded private key matching public_certificate.
|
|
313
|
+
# private_key_password - string - Password for the PEM-encoded private key.
|
|
314
|
+
# pkcs12 - string - Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's replacement certificate and private key. Provide this instead of public_certificate and private_key.
|
|
315
|
+
# pkcs12_password - string - Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
|
|
290
316
|
#
|
|
291
317
|
# params:: Hash of API operation parameter values.
|
|
292
318
|
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
@@ -300,6 +326,8 @@ module Files
|
|
|
300
326
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
|
301
327
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
302
328
|
raise InvalidParameterError.new("Bad parameter: private_key_password must be an String") if params[:private_key_password] and !params[:private_key_password].is_a?(String)
|
|
329
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12 must be an String") if params[:pkcs12] and !params[:pkcs12].is_a?(String)
|
|
330
|
+
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if params[:pkcs12_password] and !params[:pkcs12_password].is_a?(String)
|
|
303
331
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
304
332
|
|
|
305
333
|
response, options = Api.send_request("/as2_stations/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("As2Station") }
|
|
@@ -99,7 +99,7 @@ module Files
|
|
|
99
99
|
@attributes[:event_types] = value
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# object -
|
|
102
|
+
# object - Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
103
103
|
def filter
|
|
104
104
|
@attributes[:filter]
|
|
105
105
|
end
|
|
@@ -146,7 +146,7 @@ module Files
|
|
|
146
146
|
# message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
147
147
|
# enabled - boolean - Whether this Event Subscription can dispatch events.
|
|
148
148
|
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
149
|
-
# filter - object -
|
|
149
|
+
# filter - object - Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
150
150
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
151
151
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
152
152
|
def update(params = {})
|
|
@@ -252,7 +252,7 @@ module Files
|
|
|
252
252
|
# message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
253
253
|
# enabled - boolean - Whether this Event Subscription can dispatch events.
|
|
254
254
|
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
255
|
-
# filter - object -
|
|
255
|
+
# filter - object - Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
256
256
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
257
257
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
258
258
|
#
|
|
@@ -286,7 +286,7 @@ module Files
|
|
|
286
286
|
# message_only - boolean - If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
|
|
287
287
|
# enabled - boolean - Whether this Event Subscription can dispatch events.
|
|
288
288
|
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`
|
|
289
|
-
# filter - object -
|
|
289
|
+
# filter - object - Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
|
|
290
290
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
291
291
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
292
292
|
#
|
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.774
|
|
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-10-
|
|
11
|
+
date: 2026-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|