files.com 1.1.766 → 1.1.768
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 +36 -9
- data/_VERSION +1 -1
- data/docs/ai_task.md +1 -1
- data/docs/event_record.md +2 -2
- data/docs/event_subscription.md +8 -8
- data/docs/public_key.md +1 -1
- data/lib/files.com/models/ai_task.rb +1 -1
- data/lib/files.com/models/event_record.rb +1 -1
- data/lib/files.com/models/event_subscription.rb +4 -4
- data/lib/files.com/models/public_key.rb +1 -1
- 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: 7ab8c36a16009ab7a8bc941e055b6a26623c99b5e0a561247bff1214aa6de0e7
|
|
4
|
+
data.tar.gz: 8ec4ba628a97da7c9771a85430b442c5c5bb2bcaee4d9b6c7484d830ba9e9fc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edf8db69d1b0ac1616fa179826bb20af7ff82af3461624260732c37015dd8ac73f7e14d718a4b263926218759a3cb3e2094173ab890781b145e32e8861923c36
|
|
7
|
+
data.tar.gz: 6dba1e4c645ed146da745aa9d4950e2b835e33972dd7dcf9195a9c9b1011968d526b136ea8cfc89ad90972a3c4174af171d474bd5ac26cce935cb23088e12c09
|
data/README.md
CHANGED
|
@@ -791,18 +791,45 @@ end
|
|
|
791
791
|
|
|
792
792
|
## Mock Server
|
|
793
793
|
|
|
794
|
-
Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
|
|
794
|
+
Files.com publishes a mock Files.com API server, which is useful for testing your use of the Files.com
|
|
795
795
|
SDKs and other direct integrations against the Files.com API in an integration test environment.
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
796
|
+
It never checks credentials: send any placeholder API key, and never use real Files.com credentials
|
|
797
|
+
with it.
|
|
798
|
+
|
|
799
|
+
The server has two modes, chosen when it starts:
|
|
800
|
+
|
|
801
|
+
* **Legacy mode** (the default) checks required parameters and parameter types, then returns a fixed
|
|
802
|
+
example response for each API endpoint. It does not maintain state and it does not deeply inspect
|
|
803
|
+
your submissions for correctness, which makes it useful for testing basic network operations and
|
|
804
|
+
JSON encoding for your SDK or API client.
|
|
805
|
+
* **Simulation mode** keeps records, files and folders in memory, so a test can create, list, update
|
|
806
|
+
and delete resources, upload a file and download the same bytes, and make chosen requests fail,
|
|
807
|
+
stall or lose their connection on purpose. Requests it does not simulate fail with a clear error
|
|
808
|
+
instead of returning an example response.
|
|
809
|
+
|
|
810
|
+
Start the server from its source with Ruby and Bundler. `FILES_MOCK_MODE` is read once at startup:
|
|
811
|
+
leaving it unset or setting it to `legacy` starts legacy mode, `simulation` starts simulation mode,
|
|
812
|
+
and any other value stops startup with an error. Legacy mode listens on port 4041 on all IPv4
|
|
813
|
+
interfaces, and simulation mode on `127.0.0.1:4041`.
|
|
814
|
+
|
|
815
|
+
Simulation mode keeps its state only in the server process. Its control endpoints under
|
|
816
|
+
`/__files_mock/v1` report when the server is ready, reset it with your fixtures, add fault rules
|
|
817
|
+
and return the journal of the requests it received. It refuses work over its limits instead of
|
|
818
|
+
truncating it. The README in the source describes all of these, the operations it simulates and
|
|
819
|
+
how to configure its limits.
|
|
803
820
|
|
|
804
821
|
Download the server as a Docker image via [Docker Hub](https://hub.docker.com/r/filescom/files-mock-server).
|
|
822
|
+
The image's `latest` tag moves to whichever server was published last, so it need not include
|
|
823
|
+
simulation mode; to run exactly the server the README describes, build the image from the source.
|
|
805
824
|
|
|
806
825
|
The Source Code is also available on [GitHub](https://github.com/Files-com/files-mock-server).
|
|
807
826
|
|
|
808
|
-
|
|
827
|
+
```shell title="Start the Mock Server"
|
|
828
|
+
bundle install
|
|
829
|
+
|
|
830
|
+
## Legacy mode
|
|
831
|
+
bundle exec puma
|
|
832
|
+
|
|
833
|
+
## Simulation mode
|
|
834
|
+
FILES_MOCK_MODE=simulation bundle exec puma
|
|
835
|
+
```
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.768
|
data/docs/ai_task.md
CHANGED
|
@@ -80,7 +80,7 @@ Files::AiTask.list
|
|
|
80
80
|
|
|
81
81
|
* `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.
|
|
82
82
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
83
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `
|
|
83
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `disabled` or `updated_at`.
|
|
84
84
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `trigger` or `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
|
|
85
85
|
|
|
86
86
|
|
data/docs/event_record.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"event_uuid": "example",
|
|
10
|
-
"event_type": "
|
|
10
|
+
"event_type": "sync_run.failure.v1",
|
|
11
11
|
"severity": "example",
|
|
12
12
|
"source_type": "example",
|
|
13
13
|
"source_id": 1,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* `id` (int64): Event Record ID
|
|
30
30
|
* `workspace_id` (int64): Workspace ID. 0 means the default workspace or site-wide.
|
|
31
31
|
* `event_uuid` (string): Stable event UUID.
|
|
32
|
-
* `event_type` (string): Versioned event type string.
|
|
32
|
+
* `event_type` (string): Versioned event type string. 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`
|
|
33
33
|
* `severity` (string): Event severity.
|
|
34
34
|
* `source_type` (string): Source record type.
|
|
35
35
|
* `source_id` (int64): Source record ID.
|
data/docs/event_subscription.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"message_only": true,
|
|
15
15
|
"enabled": true,
|
|
16
16
|
"event_types": [
|
|
17
|
-
"
|
|
17
|
+
"sync_run.failure.v1"
|
|
18
18
|
],
|
|
19
19
|
"filter": "example",
|
|
20
20
|
"delivery_policy": "example",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* `message` (string): Custom message to include in notification emails.
|
|
36
36
|
* `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
37
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
38
|
-
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
|
|
38
|
+
* `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
39
|
* `filter` (object): Structured event payload filter.
|
|
40
40
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
41
41
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
@@ -86,7 +86,7 @@ Files::EventSubscription.create(
|
|
|
86
86
|
message: "example",
|
|
87
87
|
message_only: true,
|
|
88
88
|
enabled: true,
|
|
89
|
-
event_types: ["
|
|
89
|
+
event_types: ["sync_run.failure.v1"],
|
|
90
90
|
delivery_policy: "example",
|
|
91
91
|
event_target_ids: [1]
|
|
92
92
|
)
|
|
@@ -102,7 +102,7 @@ Files::EventSubscription.create(
|
|
|
102
102
|
* `message` (string): Custom message to include in notification emails.
|
|
103
103
|
* `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
104
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
105
|
-
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
|
|
105
|
+
* `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
106
|
* `filter` (object): Structured event payload filter.
|
|
107
107
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
108
108
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
@@ -122,7 +122,7 @@ Files::EventSubscription.update(id,
|
|
|
122
122
|
message: "example",
|
|
123
123
|
message_only: true,
|
|
124
124
|
enabled: true,
|
|
125
|
-
event_types: ["
|
|
125
|
+
event_types: ["sync_run.failure.v1"],
|
|
126
126
|
delivery_policy: "example",
|
|
127
127
|
event_target_ids: [1]
|
|
128
128
|
)
|
|
@@ -139,7 +139,7 @@ Files::EventSubscription.update(id,
|
|
|
139
139
|
* `message` (string): Custom message to include in notification emails.
|
|
140
140
|
* `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
141
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
142
|
-
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
|
|
142
|
+
* `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
143
|
* `filter` (object): Structured event payload filter.
|
|
144
144
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
145
145
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
|
@@ -174,7 +174,7 @@ event_subscription.update(
|
|
|
174
174
|
message: "example",
|
|
175
175
|
message_only: true,
|
|
176
176
|
enabled: true,
|
|
177
|
-
event_types: ["
|
|
177
|
+
event_types: ["sync_run.failure.v1"],
|
|
178
178
|
delivery_policy: "example",
|
|
179
179
|
event_target_ids: [1]
|
|
180
180
|
)
|
|
@@ -191,7 +191,7 @@ event_subscription.update(
|
|
|
191
191
|
* `message` (string): Custom message to include in notification emails.
|
|
192
192
|
* `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
193
|
* `enabled` (boolean): Whether this Event Subscription can dispatch events.
|
|
194
|
-
* `event_types` (array(string)): Event type strings matched by this subscription. Blank means all event types.
|
|
194
|
+
* `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
195
|
* `filter` (object): Structured event payload filter.
|
|
196
196
|
* `delivery_policy` (object): Event Subscription delivery policy.
|
|
197
197
|
* `event_target_ids` (array(int64)): Event Target IDs this subscription sends to.
|
data/docs/public_key.md
CHANGED
|
@@ -58,7 +58,7 @@ Files::PublicKey.list(
|
|
|
58
58
|
* `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.
|
|
59
59
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
60
60
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `user_id`, `title` or `created_at`.
|
|
61
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`.
|
|
61
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`. Valid field combinations are `[ workspace_id, created_at ]`.
|
|
62
62
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
63
63
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
64
64
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -303,7 +303,7 @@ module Files
|
|
|
303
303
|
# Parameters:
|
|
304
304
|
# 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.
|
|
305
305
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
306
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `
|
|
306
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `disabled` or `updated_at`.
|
|
307
307
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `trigger` or `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
|
|
308
308
|
def self.list(params = {}, options = {})
|
|
309
309
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
@@ -24,7 +24,7 @@ module Files
|
|
|
24
24
|
@attributes[:event_uuid]
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
# string - Versioned event type string.
|
|
27
|
+
# string - Versioned event type string. 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`
|
|
28
28
|
def event_type
|
|
29
29
|
@attributes[:event_type]
|
|
30
30
|
end
|
|
@@ -90,7 +90,7 @@ module Files
|
|
|
90
90
|
@attributes[:enabled] = value
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
# array(string) - Event type strings matched by this subscription. Blank means all event types.
|
|
93
|
+
# 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`
|
|
94
94
|
def event_types
|
|
95
95
|
@attributes[:event_types]
|
|
96
96
|
end
|
|
@@ -145,7 +145,7 @@ module Files
|
|
|
145
145
|
# message - string - Custom message to include in notification emails.
|
|
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
|
-
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
|
|
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
149
|
# filter - object - Structured event payload filter.
|
|
150
150
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
151
151
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
@@ -237,7 +237,7 @@ module Files
|
|
|
237
237
|
# message - string - Custom message to include in notification emails.
|
|
238
238
|
# 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.
|
|
239
239
|
# enabled - boolean - Whether this Event Subscription can dispatch events.
|
|
240
|
-
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
|
|
240
|
+
# 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`
|
|
241
241
|
# filter - object - Structured event payload filter.
|
|
242
242
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
243
243
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
@@ -266,7 +266,7 @@ module Files
|
|
|
266
266
|
# message - string - Custom message to include in notification emails.
|
|
267
267
|
# 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.
|
|
268
268
|
# enabled - boolean - Whether this Event Subscription can dispatch events.
|
|
269
|
-
# event_types - array(string) - Event type strings matched by this subscription. Blank means all event types.
|
|
269
|
+
# 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`
|
|
270
270
|
# filter - object - Structured event payload filter.
|
|
271
271
|
# delivery_policy - object - Event Subscription delivery policy.
|
|
272
272
|
# event_target_ids - array(int64) - Event Target IDs this subscription sends to.
|
|
@@ -221,7 +221,7 @@ module Files
|
|
|
221
221
|
# 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.
|
|
222
222
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
223
223
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `user_id`, `title` or `created_at`.
|
|
224
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`.
|
|
224
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`. Valid field combinations are `[ workspace_id, created_at ]`.
|
|
225
225
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
226
226
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
227
227
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
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.768
|
|
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-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|