files.com 1.1.705 → 1.1.707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/agent_node.md +21 -5
- data/docs/agent_node_connection.md +15 -0
- data/docs/agent_node_instance.md +29 -0
- data/docs/ai_task.md +11 -0
- data/docs/automation.md +11 -0
- data/docs/expectation.md +11 -0
- data/docs/scheduled_export.md +11 -0
- data/docs/sync.md +11 -0
- data/lib/files.com/models/agent_node.rb +8 -8
- data/lib/files.com/models/agent_node_connection.rb +27 -0
- data/lib/files.com/models/agent_node_instance.rb +47 -0
- data/lib/files.com/models/ai_task.rb +15 -0
- data/lib/files.com/models/automation.rb +15 -0
- data/lib/files.com/models/expectation.rb +15 -0
- data/lib/files.com/models/scheduled_export.rb +15 -0
- data/lib/files.com/models/sync.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +2 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f645ed0277baee3ea538acaff33b08c21bc75ac21f0012a722e2ab9c1f7496d
|
|
4
|
+
data.tar.gz: e045545214394c92d58efaa86fc645b92070e23fc886b7b3de56be6a774d4a01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8eba4a7685df8533642185ee366935c51f944a49b06ff868598119154e9df80e8cc7e09b953c3b4be3965a17bf2be95d1a4bd562465b62bed7bc1adaf2235b97
|
|
7
|
+
data.tar.gz: 38542948d915d61675d39e5ff48f8a7df857291a5202bcedf38d105705de8296df5bb5f18a17b68b5d1a1a97e1b1c100ab9fa6b90faa393483665da53102a8a5
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.707
|
data/docs/agent_node.md
CHANGED
|
@@ -8,11 +8,27 @@
|
|
|
8
8
|
"name": "example",
|
|
9
9
|
"hostname": "example",
|
|
10
10
|
"availability_role": "example",
|
|
11
|
-
"
|
|
11
|
+
"status": "example",
|
|
12
12
|
"is_default": true,
|
|
13
|
-
"agent_version": "example",
|
|
14
13
|
"direct_transfer_available": true,
|
|
15
|
-
"last_seen_at": "2000-01-01T01:00:00Z"
|
|
14
|
+
"last_seen_at": "2000-01-01T01:00:00Z",
|
|
15
|
+
"instances": [
|
|
16
|
+
{
|
|
17
|
+
"instance_id": "example",
|
|
18
|
+
"process_state": "example",
|
|
19
|
+
"status": "example",
|
|
20
|
+
"is_default": true,
|
|
21
|
+
"agent_version": "example",
|
|
22
|
+
"last_seen_at": "2000-01-01T01:00:00Z",
|
|
23
|
+
"connections": [
|
|
24
|
+
{
|
|
25
|
+
"mode": "example",
|
|
26
|
+
"status": "example",
|
|
27
|
+
"last_seen_at": "2000-01-01T01:00:00Z"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
16
32
|
}
|
|
17
33
|
```
|
|
18
34
|
|
|
@@ -20,8 +36,8 @@
|
|
|
20
36
|
* `name` (string): Customer-configured Agent node name
|
|
21
37
|
* `hostname` (string): Hostname reported by the Agent
|
|
22
38
|
* `availability_role` (string): Configured traffic preference
|
|
23
|
-
* `
|
|
39
|
+
* `status` (string): Whether this node currently has an available Agent instance
|
|
24
40
|
* `is_default` (boolean): Whether this node is the current default route for new unscoped work
|
|
25
|
-
* `agent_version` (string): Agent version reported by this node
|
|
26
41
|
* `direct_transfer_available` (boolean): Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
|
|
27
42
|
* `last_seen_at` (date-time): Most recent successful node observation
|
|
43
|
+
* `instances` (array(object)): Current Agent processes for this node
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# AgentNodeConnection
|
|
2
|
+
|
|
3
|
+
## Example AgentNodeConnection Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"mode": "example",
|
|
8
|
+
"status": "example",
|
|
9
|
+
"last_seen_at": "2000-01-01T01:00:00Z"
|
|
10
|
+
}
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
* `mode` (string): How the Agent process uses this proxy connection
|
|
14
|
+
* `status` (string): Whether this connection was observed recently and has not disconnected
|
|
15
|
+
* `last_seen_at` (date-time): Most recent successful observation for this connection
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# AgentNodeInstance
|
|
2
|
+
|
|
3
|
+
## Example AgentNodeInstance Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"instance_id": "example",
|
|
8
|
+
"process_state": "example",
|
|
9
|
+
"status": "example",
|
|
10
|
+
"is_default": true,
|
|
11
|
+
"agent_version": "example",
|
|
12
|
+
"last_seen_at": "2000-01-01T01:00:00Z",
|
|
13
|
+
"connections": [
|
|
14
|
+
{
|
|
15
|
+
"mode": "example",
|
|
16
|
+
"status": "example",
|
|
17
|
+
"last_seen_at": "2000-01-01T01:00:00Z"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
* `instance_id` (string): Ephemeral ID for this running Agent process
|
|
24
|
+
* `process_state` (string): Role of this process during an Agent update
|
|
25
|
+
* `status` (string): Whether this process has an available proxy connection
|
|
26
|
+
* `is_default` (boolean): Whether this process receives new unscoped work for its node
|
|
27
|
+
* `agent_version` (string): Agent version reported by this process
|
|
28
|
+
* `last_seen_at` (date-time): Most recent successful observation for this process
|
|
29
|
+
* `connections` (array(object)): Proxy connections observed for this process
|
data/docs/ai_task.md
CHANGED
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
],
|
|
20
20
|
"interval": "day",
|
|
21
21
|
"recurring_day": 1,
|
|
22
|
+
"recurring_days": [
|
|
23
|
+
1,
|
|
24
|
+
15
|
|
25
|
+
],
|
|
22
26
|
"schedule_id": 1,
|
|
23
27
|
"schedule_days_of_week": [
|
|
24
28
|
1,
|
|
@@ -51,6 +55,7 @@
|
|
|
51
55
|
* `trigger_actions` (array(string)): If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
|
|
52
56
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the AI Task.
|
|
53
57
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
58
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
54
59
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
55
60
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
56
61
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the AI Task schedule.
|
|
@@ -107,6 +112,7 @@ Files::AiTask.create(
|
|
|
107
112
|
permission_set: "files_only",
|
|
108
113
|
prompt: "Summarize the uploaded file and identify follow-up actions.",
|
|
109
114
|
recurring_day: 1,
|
|
115
|
+
recurring_days: [1,15],
|
|
110
116
|
schedule_id: 1,
|
|
111
117
|
schedule_days_of_week: [1,3,5],
|
|
112
118
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -129,6 +135,7 @@ Files::AiTask.create(
|
|
|
129
135
|
* `permission_set` (string): Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
130
136
|
* `prompt` (string): Required - Prompt sent when this AI Task is invoked.
|
|
131
137
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
138
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
132
139
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
133
140
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
134
141
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
@@ -167,6 +174,7 @@ Files::AiTask.update(id,
|
|
|
167
174
|
permission_set: "files_only",
|
|
168
175
|
prompt: "Summarize the uploaded file and identify follow-up actions.",
|
|
169
176
|
recurring_day: 1,
|
|
177
|
+
recurring_days: [1,15],
|
|
170
178
|
schedule_id: 1,
|
|
171
179
|
schedule_days_of_week: [1,3,5],
|
|
172
180
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -190,6 +198,7 @@ Files::AiTask.update(id,
|
|
|
190
198
|
* `permission_set` (string): Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
191
199
|
* `prompt` (string): Prompt sent when this AI Task is invoked.
|
|
192
200
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
201
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
193
202
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
194
203
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
195
204
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
@@ -245,6 +254,7 @@ ai_task.update(
|
|
|
245
254
|
permission_set: "files_only",
|
|
246
255
|
prompt: "Summarize the uploaded file and identify follow-up actions.",
|
|
247
256
|
recurring_day: 1,
|
|
257
|
+
recurring_days: [1,15],
|
|
248
258
|
schedule_id: 1,
|
|
249
259
|
schedule_days_of_week: [1,3,5],
|
|
250
260
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -268,6 +278,7 @@ ai_task.update(
|
|
|
268
278
|
* `permission_set` (string): Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
269
279
|
* `prompt` (string): Prompt sent when this AI Task is invoked.
|
|
270
280
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
281
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
271
282
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
272
283
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
273
284
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
data/docs/automation.md
CHANGED
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
"path_time_zone": "Eastern Time (US & Canada)",
|
|
49
49
|
"version": 1,
|
|
50
50
|
"recurring_day": 25,
|
|
51
|
+
"recurring_days": [
|
|
52
|
+
1,
|
|
53
|
+
15
|
|
54
|
+
],
|
|
51
55
|
"schedule_id": 1,
|
|
52
56
|
"retry_on_failure_interval_in_minutes": 60,
|
|
53
57
|
"retry_on_failure_number_of_attempts": 10,
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
|
128
132
|
* `version` (int64): Current Automation v2 definition version.
|
|
129
133
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
134
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
130
135
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
131
136
|
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
132
137
|
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
@@ -228,6 +233,7 @@ Files::Automation.create(
|
|
|
228
233
|
trigger_actions: ["create"],
|
|
229
234
|
value: {"limit":"1"},
|
|
230
235
|
recurring_day: 25,
|
|
236
|
+
recurring_days: [1,15],
|
|
231
237
|
automation: "create_folder",
|
|
232
238
|
workspace_id: 0
|
|
233
239
|
)
|
|
@@ -268,6 +274,7 @@ Files::Automation.create(
|
|
|
268
274
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
269
275
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
270
276
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
277
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
271
278
|
* `automation` (string): Required - Automation type
|
|
272
279
|
* `workspace_id` (int64): Workspace ID
|
|
273
280
|
|
|
@@ -340,6 +347,7 @@ Files::Automation.update(id,
|
|
|
340
347
|
trigger_actions: ["create"],
|
|
341
348
|
value: {"limit":"1"},
|
|
342
349
|
recurring_day: 25,
|
|
350
|
+
recurring_days: [1,15],
|
|
343
351
|
automation: "create_folder"
|
|
344
352
|
)
|
|
345
353
|
```
|
|
@@ -380,6 +388,7 @@ Files::Automation.update(id,
|
|
|
380
388
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
381
389
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
382
390
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
391
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
383
392
|
* `automation` (string): Automation type
|
|
384
393
|
|
|
385
394
|
|
|
@@ -470,6 +479,7 @@ automation.update(
|
|
|
470
479
|
trigger_actions: ["create"],
|
|
471
480
|
value: {"limit":"1"},
|
|
472
481
|
recurring_day: 25,
|
|
482
|
+
recurring_days: [1,15],
|
|
473
483
|
automation: "create_folder"
|
|
474
484
|
)
|
|
475
485
|
```
|
|
@@ -510,6 +520,7 @@ automation.update(
|
|
|
510
520
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
511
521
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
512
522
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
523
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
513
524
|
* `automation` (string): Automation type
|
|
514
525
|
|
|
515
526
|
|
data/docs/expectation.md
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"trigger": "manual",
|
|
17
17
|
"interval": "day",
|
|
18
18
|
"recurring_day": 3,
|
|
19
|
+
"recurring_days": [
|
|
20
|
+
1,
|
|
21
|
+
15
|
|
22
|
+
],
|
|
19
23
|
"schedule_id": 1,
|
|
20
24
|
"schedule_days_of_week": [
|
|
21
25
|
1,
|
|
@@ -60,6 +64,7 @@
|
|
|
60
64
|
* `trigger` (string): How this expectation opens windows.
|
|
61
65
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
|
|
62
66
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
67
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
63
68
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
64
69
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
65
70
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -122,6 +127,7 @@ Files::Expectation.create(
|
|
|
122
127
|
trigger: "manual",
|
|
123
128
|
interval: "day",
|
|
124
129
|
recurring_day: 3,
|
|
130
|
+
recurring_days: [1,15],
|
|
125
131
|
schedule_id: 1,
|
|
126
132
|
schedule_days_of_week: [1,3,5],
|
|
127
133
|
schedule_times_of_day: ["06:00"],
|
|
@@ -147,6 +153,7 @@ Files::Expectation.create(
|
|
|
147
153
|
* `trigger` (string): How this expectation opens windows.
|
|
148
154
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
|
|
149
155
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
156
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
150
157
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
151
158
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
152
159
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -188,6 +195,7 @@ Files::Expectation.update(id,
|
|
|
188
195
|
trigger: "manual",
|
|
189
196
|
interval: "day",
|
|
190
197
|
recurring_day: 3,
|
|
198
|
+
recurring_days: [1,15],
|
|
191
199
|
schedule_id: 1,
|
|
192
200
|
schedule_days_of_week: [1,3,5],
|
|
193
201
|
schedule_times_of_day: ["06:00"],
|
|
@@ -214,6 +222,7 @@ Files::Expectation.update(id,
|
|
|
214
222
|
* `trigger` (string): How this expectation opens windows.
|
|
215
223
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
|
|
216
224
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
225
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
217
226
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
218
227
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
219
228
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -272,6 +281,7 @@ expectation.update(
|
|
|
272
281
|
trigger: "manual",
|
|
273
282
|
interval: "day",
|
|
274
283
|
recurring_day: 3,
|
|
284
|
+
recurring_days: [1,15],
|
|
275
285
|
schedule_id: 1,
|
|
276
286
|
schedule_days_of_week: [1,3,5],
|
|
277
287
|
schedule_times_of_day: ["06:00"],
|
|
@@ -298,6 +308,7 @@ expectation.update(
|
|
|
298
308
|
* `trigger` (string): How this expectation opens windows.
|
|
299
309
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
|
|
300
310
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
311
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
301
312
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
302
313
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
303
314
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
data/docs/scheduled_export.md
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"trigger": "daily",
|
|
17
17
|
"interval": "month",
|
|
18
18
|
"recurring_day": 1,
|
|
19
|
+
"recurring_days": [
|
|
20
|
+
1,
|
|
21
|
+
15
|
|
22
|
+
],
|
|
19
23
|
"schedule_id": 1,
|
|
20
24
|
"schedule_days_of_week": [
|
|
21
25
|
1,
|
|
@@ -45,6 +49,7 @@
|
|
|
45
49
|
* `trigger` (string): Schedule trigger type: `daily` or `custom_schedule`.
|
|
46
50
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
47
51
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
52
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
48
53
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
49
54
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
50
55
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -101,6 +106,7 @@ Files::ScheduledExport.create(
|
|
|
101
106
|
trigger: "daily",
|
|
102
107
|
interval: "month",
|
|
103
108
|
recurring_day: 1,
|
|
109
|
+
recurring_days: [1,15],
|
|
104
110
|
schedule_id: 1,
|
|
105
111
|
schedule_days_of_week: [1,3,5],
|
|
106
112
|
schedule_times_of_day: ["06:30"],
|
|
@@ -119,6 +125,7 @@ Files::ScheduledExport.create(
|
|
|
119
125
|
* `trigger` (string): Schedule trigger type: `daily` or `custom_schedule`.
|
|
120
126
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
121
127
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
128
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
122
129
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
123
130
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
124
131
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -140,6 +147,7 @@ Files::ScheduledExport.update(id,
|
|
|
140
147
|
trigger: "daily",
|
|
141
148
|
interval: "month",
|
|
142
149
|
recurring_day: 1,
|
|
150
|
+
recurring_days: [1,15],
|
|
143
151
|
schedule_id: 1,
|
|
144
152
|
schedule_days_of_week: [1,3,5],
|
|
145
153
|
schedule_times_of_day: ["06:30"],
|
|
@@ -159,6 +167,7 @@ Files::ScheduledExport.update(id,
|
|
|
159
167
|
* `trigger` (string): Schedule trigger type: `daily` or `custom_schedule`.
|
|
160
168
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
161
169
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
170
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
162
171
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
163
172
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
164
173
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -195,6 +204,7 @@ scheduled_export.update(
|
|
|
195
204
|
trigger: "daily",
|
|
196
205
|
interval: "month",
|
|
197
206
|
recurring_day: 1,
|
|
207
|
+
recurring_days: [1,15],
|
|
198
208
|
schedule_id: 1,
|
|
199
209
|
schedule_days_of_week: [1,3,5],
|
|
200
210
|
schedule_times_of_day: ["06:30"],
|
|
@@ -214,6 +224,7 @@ scheduled_export.update(
|
|
|
214
224
|
* `trigger` (string): Schedule trigger type: `daily` or `custom_schedule`.
|
|
215
225
|
* `interval` (string): If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
216
226
|
* `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
227
|
+
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
217
228
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
218
229
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
219
230
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
data/docs/sync.md
CHANGED
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
"sync_interval_minutes": 1,
|
|
35
35
|
"interval": "week",
|
|
36
36
|
"recurring_day": 25,
|
|
37
|
+
"recurring_days": [
|
|
38
|
+
1,
|
|
39
|
+
15
|
|
40
|
+
],
|
|
37
41
|
"schedule_id": 1,
|
|
38
42
|
"schedule_days_of_week": [
|
|
39
43
|
0,
|
|
@@ -112,6 +116,7 @@
|
|
|
112
116
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
|
113
117
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
114
118
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
119
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
115
120
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
116
121
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
117
122
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
@@ -167,6 +172,7 @@ Files::Sync.create(
|
|
|
167
172
|
keep_after_copy: true,
|
|
168
173
|
name: "example",
|
|
169
174
|
recurring_day: 25,
|
|
175
|
+
recurring_days: [1,15],
|
|
170
176
|
schedule_id: 1,
|
|
171
177
|
schedule_days_of_week: [0,2,4],
|
|
172
178
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -195,6 +201,7 @@ Files::Sync.create(
|
|
|
195
201
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
196
202
|
* `name` (string): Name for this sync job
|
|
197
203
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
204
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
198
205
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
199
206
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
200
207
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -252,6 +259,7 @@ Files::Sync.update(id,
|
|
|
252
259
|
keep_after_copy: true,
|
|
253
260
|
name: "example",
|
|
254
261
|
recurring_day: 25,
|
|
262
|
+
recurring_days: [1,15],
|
|
255
263
|
schedule_id: 1,
|
|
256
264
|
schedule_days_of_week: [0,2,4],
|
|
257
265
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -280,6 +288,7 @@ Files::Sync.update(id,
|
|
|
280
288
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
281
289
|
* `name` (string): Name for this sync job
|
|
282
290
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
291
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
283
292
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
284
293
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
285
294
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -355,6 +364,7 @@ sync.update(
|
|
|
355
364
|
keep_after_copy: true,
|
|
356
365
|
name: "example",
|
|
357
366
|
recurring_day: 25,
|
|
367
|
+
recurring_days: [1,15],
|
|
358
368
|
schedule_id: 1,
|
|
359
369
|
schedule_days_of_week: [0,2,4],
|
|
360
370
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
@@ -383,6 +393,7 @@ sync.update(
|
|
|
383
393
|
* `keep_after_copy` (boolean): Keep files after copying?
|
|
384
394
|
* `name` (string): Name for this sync job
|
|
385
395
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
396
|
+
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
386
397
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
387
398
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
388
399
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -29,9 +29,9 @@ module Files
|
|
|
29
29
|
@attributes[:availability_role]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# string - Whether this node
|
|
33
|
-
def
|
|
34
|
-
@attributes[:
|
|
32
|
+
# string - Whether this node currently has an available Agent instance
|
|
33
|
+
def status
|
|
34
|
+
@attributes[:status]
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
# boolean - Whether this node is the current default route for new unscoped work
|
|
@@ -39,11 +39,6 @@ module Files
|
|
|
39
39
|
@attributes[:is_default]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
# string - Agent version reported by this node
|
|
43
|
-
def agent_version
|
|
44
|
-
@attributes[:agent_version]
|
|
45
|
-
end
|
|
46
|
-
|
|
47
42
|
# boolean - Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
|
|
48
43
|
def direct_transfer_available
|
|
49
44
|
@attributes[:direct_transfer_available]
|
|
@@ -53,5 +48,10 @@ module Files
|
|
|
53
48
|
def last_seen_at
|
|
54
49
|
@attributes[:last_seen_at]
|
|
55
50
|
end
|
|
51
|
+
|
|
52
|
+
# array(object) - Current Agent processes for this node
|
|
53
|
+
def instances
|
|
54
|
+
@attributes[:instances]
|
|
55
|
+
end
|
|
56
56
|
end
|
|
57
57
|
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
class AgentNodeConnection
|
|
5
|
+
attr_reader :options, :attributes
|
|
6
|
+
|
|
7
|
+
def initialize(attributes = {}, options = {})
|
|
8
|
+
@attributes = attributes || {}
|
|
9
|
+
@options = options || {}
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# string - How the Agent process uses this proxy connection
|
|
13
|
+
def mode
|
|
14
|
+
@attributes[:mode]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# string - Whether this connection was observed recently and has not disconnected
|
|
18
|
+
def status
|
|
19
|
+
@attributes[:status]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# date-time - Most recent successful observation for this connection
|
|
23
|
+
def last_seen_at
|
|
24
|
+
@attributes[:last_seen_at]
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
class AgentNodeInstance
|
|
5
|
+
attr_reader :options, :attributes
|
|
6
|
+
|
|
7
|
+
def initialize(attributes = {}, options = {})
|
|
8
|
+
@attributes = attributes || {}
|
|
9
|
+
@options = options || {}
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# string - Ephemeral ID for this running Agent process
|
|
13
|
+
def instance_id
|
|
14
|
+
@attributes[:instance_id]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# string - Role of this process during an Agent update
|
|
18
|
+
def process_state
|
|
19
|
+
@attributes[:process_state]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# string - Whether this process has an available proxy connection
|
|
23
|
+
def status
|
|
24
|
+
@attributes[:status]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# boolean - Whether this process receives new unscoped work for its node
|
|
28
|
+
def is_default
|
|
29
|
+
@attributes[:is_default]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# string - Agent version reported by this process
|
|
33
|
+
def agent_version
|
|
34
|
+
@attributes[:agent_version]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# date-time - Most recent successful observation for this process
|
|
38
|
+
def last_seen_at
|
|
39
|
+
@attributes[:last_seen_at]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# array(object) - Proxy connections observed for this process
|
|
43
|
+
def connections
|
|
44
|
+
@attributes[:connections]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -126,6 +126,15 @@ module Files
|
|
|
126
126
|
@attributes[:recurring_day] = value
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
+
# array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
130
|
+
def recurring_days
|
|
131
|
+
@attributes[:recurring_days]
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
def recurring_days=(value)
|
|
135
|
+
@attributes[:recurring_days] = value
|
|
136
|
+
end
|
|
137
|
+
|
|
129
138
|
# int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
130
139
|
def schedule_id
|
|
131
140
|
@attributes[:schedule_id]
|
|
@@ -229,6 +238,7 @@ module Files
|
|
|
229
238
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
230
239
|
# prompt - string - Prompt sent when this AI Task is invoked.
|
|
231
240
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
241
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
232
242
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
233
243
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
234
244
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
@@ -250,6 +260,7 @@ module Files
|
|
|
250
260
|
raise InvalidParameterError.new("Bad parameter: permission_set must be an String") if params[:permission_set] and !params[:permission_set].is_a?(String)
|
|
251
261
|
raise InvalidParameterError.new("Bad parameter: prompt must be an String") if params[:prompt] and !params[:prompt].is_a?(String)
|
|
252
262
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
263
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
253
264
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
254
265
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
255
266
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
|
@@ -335,6 +346,7 @@ module Files
|
|
|
335
346
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
336
347
|
# prompt (required) - string - Prompt sent when this AI Task is invoked.
|
|
337
348
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
349
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
338
350
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
339
351
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
340
352
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
@@ -352,6 +364,7 @@ module Files
|
|
|
352
364
|
raise InvalidParameterError.new("Bad parameter: permission_set must be an String") if params[:permission_set] and !params[:permission_set].is_a?(String)
|
|
353
365
|
raise InvalidParameterError.new("Bad parameter: prompt must be an String") if params[:prompt] and !params[:prompt].is_a?(String)
|
|
354
366
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
367
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
355
368
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
356
369
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
357
370
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
|
@@ -388,6 +401,7 @@ module Files
|
|
|
388
401
|
# permission_set - string - Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
|
|
389
402
|
# prompt - string - Prompt sent when this AI Task is invoked.
|
|
390
403
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
404
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
391
405
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
392
406
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
393
407
|
# schedule_time_zone - string - Time zone used by the AI Task schedule.
|
|
@@ -408,6 +422,7 @@ module Files
|
|
|
408
422
|
raise InvalidParameterError.new("Bad parameter: permission_set must be an String") if params[:permission_set] and !params[:permission_set].is_a?(String)
|
|
409
423
|
raise InvalidParameterError.new("Bad parameter: prompt must be an String") if params[:prompt] and !params[:prompt].is_a?(String)
|
|
410
424
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
425
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
411
426
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
412
427
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
413
428
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
|
@@ -252,6 +252,15 @@ module Files
|
|
|
252
252
|
@attributes[:recurring_day] = value
|
|
253
253
|
end
|
|
254
254
|
|
|
255
|
+
# array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
256
|
+
def recurring_days
|
|
257
|
+
@attributes[:recurring_days]
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
def recurring_days=(value)
|
|
261
|
+
@attributes[:recurring_days] = value
|
|
262
|
+
end
|
|
263
|
+
|
|
255
264
|
# int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
256
265
|
def schedule_id
|
|
257
266
|
@attributes[:schedule_id]
|
|
@@ -474,6 +483,7 @@ module Files
|
|
|
474
483
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
475
484
|
# value - object - A Hash of attributes specific to the automation type.
|
|
476
485
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
486
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
477
487
|
# automation - string - Automation type
|
|
478
488
|
def update(params = {})
|
|
479
489
|
params ||= {}
|
|
@@ -505,6 +515,7 @@ module Files
|
|
|
505
515
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
506
516
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
|
507
517
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
518
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
508
519
|
raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
|
|
509
520
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
510
521
|
|
|
@@ -620,6 +631,7 @@ module Files
|
|
|
620
631
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
621
632
|
# value - object - A Hash of attributes specific to the automation type.
|
|
622
633
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
634
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
623
635
|
# automation (required) - string - Automation type
|
|
624
636
|
# workspace_id - int64 - Workspace ID
|
|
625
637
|
def self.create(params = {}, options = {})
|
|
@@ -649,6 +661,7 @@ module Files
|
|
|
649
661
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
|
650
662
|
raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
|
|
651
663
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
664
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
652
665
|
raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
|
|
653
666
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
654
667
|
raise MissingParameterError.new("Parameter missing: automation") unless params[:automation]
|
|
@@ -717,6 +730,7 @@ module Files
|
|
|
717
730
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy
|
|
718
731
|
# value - object - A Hash of attributes specific to the automation type.
|
|
719
732
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
733
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
720
734
|
# automation - string - Automation type
|
|
721
735
|
def self.update(id, params = {}, options = {})
|
|
722
736
|
params ||= {}
|
|
@@ -748,6 +762,7 @@ module Files
|
|
|
748
762
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
|
749
763
|
raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
|
|
750
764
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
765
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
751
766
|
raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
|
|
752
767
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
753
768
|
|
|
@@ -117,6 +117,15 @@ module Files
|
|
|
117
117
|
@attributes[:recurring_day] = value
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
# array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
121
|
+
def recurring_days
|
|
122
|
+
@attributes[:recurring_days]
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def recurring_days=(value)
|
|
126
|
+
@attributes[:recurring_days] = value
|
|
127
|
+
end
|
|
128
|
+
|
|
120
129
|
# int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
121
130
|
def schedule_id
|
|
122
131
|
@attributes[:schedule_id]
|
|
@@ -274,6 +283,7 @@ module Files
|
|
|
274
283
|
# trigger - string - How this expectation opens windows.
|
|
275
284
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
276
285
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
286
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
277
287
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
278
288
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
279
289
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -298,6 +308,7 @@ module Files
|
|
|
298
308
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
299
309
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
300
310
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
311
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
301
312
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
302
313
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
303
314
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -385,6 +396,7 @@ module Files
|
|
|
385
396
|
# trigger - string - How this expectation opens windows.
|
|
386
397
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
387
398
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
399
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
388
400
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
389
401
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
390
402
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -405,6 +417,7 @@ module Files
|
|
|
405
417
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
406
418
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
407
419
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
420
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
408
421
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
409
422
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
410
423
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -442,6 +455,7 @@ module Files
|
|
|
442
455
|
# trigger - string - How this expectation opens windows.
|
|
443
456
|
# interval - string - If trigger is `daily`, this specifies how often to run the expectation.
|
|
444
457
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
458
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
445
459
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
446
460
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
447
461
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the Expectation schedule.
|
|
@@ -465,6 +479,7 @@ module Files
|
|
|
465
479
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
466
480
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
467
481
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
482
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
468
483
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
469
484
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
470
485
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -99,6 +99,15 @@ module Files
|
|
|
99
99
|
@attributes[:recurring_day] = value
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
# array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
103
|
+
def recurring_days
|
|
104
|
+
@attributes[:recurring_days]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
def recurring_days=(value)
|
|
108
|
+
@attributes[:recurring_days] = value
|
|
109
|
+
end
|
|
110
|
+
|
|
102
111
|
# int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
103
112
|
def schedule_id
|
|
104
113
|
@attributes[:schedule_id]
|
|
@@ -190,6 +199,7 @@ module Files
|
|
|
190
199
|
# trigger - string - Schedule trigger type: `daily` or `custom_schedule`.
|
|
191
200
|
# interval - string - If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
192
201
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
202
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
193
203
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
194
204
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
195
205
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -206,6 +216,7 @@ module Files
|
|
|
206
216
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
207
217
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
208
218
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
219
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
209
220
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
210
221
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
211
222
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -289,6 +300,7 @@ module Files
|
|
|
289
300
|
# trigger - string - Schedule trigger type: `daily` or `custom_schedule`.
|
|
290
301
|
# interval - string - If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
291
302
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
303
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
292
304
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
293
305
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
294
306
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -302,6 +314,7 @@ module Files
|
|
|
302
314
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
303
315
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
304
316
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
317
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
305
318
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
306
319
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
307
320
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -323,6 +336,7 @@ module Files
|
|
|
323
336
|
# trigger - string - Schedule trigger type: `daily` or `custom_schedule`.
|
|
324
337
|
# interval - string - If trigger is `daily`, this specifies how often to run the scheduled export.
|
|
325
338
|
# recurring_day - int64 - If trigger is `daily`, this selects the day number inside the chosen interval.
|
|
339
|
+
# recurring_days - array(int64) - If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
326
340
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
327
341
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
328
342
|
# schedule_times_of_day - array(string) - Times of day in HH:MM format for the scheduled export schedule.
|
|
@@ -339,6 +353,7 @@ module Files
|
|
|
339
353
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
|
340
354
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
341
355
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
356
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
342
357
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
343
358
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
344
359
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if params[:schedule_times_of_day] and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -235,6 +235,15 @@ module Files
|
|
|
235
235
|
@attributes[:recurring_day] = value
|
|
236
236
|
end
|
|
237
237
|
|
|
238
|
+
# array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
239
|
+
def recurring_days
|
|
240
|
+
@attributes[:recurring_days]
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
def recurring_days=(value)
|
|
244
|
+
@attributes[:recurring_days] = value
|
|
245
|
+
end
|
|
246
|
+
|
|
238
247
|
# int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
239
248
|
def schedule_id
|
|
240
249
|
@attributes[:schedule_id]
|
|
@@ -324,6 +333,7 @@ module Files
|
|
|
324
333
|
# keep_after_copy - boolean - Keep files after copying?
|
|
325
334
|
# name - string - Name for this sync job
|
|
326
335
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
336
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
327
337
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
328
338
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
329
339
|
# schedule_time_zone - string - Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -348,6 +358,7 @@ module Files
|
|
|
348
358
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
349
359
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
350
360
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
361
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
351
362
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
352
363
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
353
364
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
|
@@ -437,6 +448,7 @@ module Files
|
|
|
437
448
|
# keep_after_copy - boolean - Keep files after copying?
|
|
438
449
|
# name - string - Name for this sync job
|
|
439
450
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
451
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
440
452
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
441
453
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
442
454
|
# schedule_time_zone - string - Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -458,6 +470,7 @@ module Files
|
|
|
458
470
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
459
471
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
460
472
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
473
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
461
474
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
462
475
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
463
476
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
|
@@ -508,6 +521,7 @@ module Files
|
|
|
508
521
|
# keep_after_copy - boolean - Keep files after copying?
|
|
509
522
|
# name - string - Name for this sync job
|
|
510
523
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
524
|
+
# recurring_days - array(int64) - If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
511
525
|
# schedule_id - int64 - If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
512
526
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
513
527
|
# schedule_time_zone - string - Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
@@ -531,6 +545,7 @@ module Files
|
|
|
531
545
|
raise InvalidParameterError.new("Bad parameter: interval must be an String") if params[:interval] and !params[:interval].is_a?(String)
|
|
532
546
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
533
547
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
|
548
|
+
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if params[:recurring_days] and !params[:recurring_days].is_a?(Array)
|
|
534
549
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if params[:schedule_id] and !params[:schedule_id].is_a?(Integer)
|
|
535
550
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if params[:schedule_days_of_week] and !params[:schedule_days_of_week].is_a?(Array)
|
|
536
551
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED
data/lib/files.com.rb
CHANGED
|
@@ -38,6 +38,8 @@ require "files.com/models/action_log"
|
|
|
38
38
|
require "files.com/models/action_notification_export"
|
|
39
39
|
require "files.com/models/action_notification_export_result"
|
|
40
40
|
require "files.com/models/agent_node"
|
|
41
|
+
require "files.com/models/agent_node_connection"
|
|
42
|
+
require "files.com/models/agent_node_instance"
|
|
41
43
|
require "files.com/models/agent_push_update"
|
|
42
44
|
require "files.com/models/ai_assistant_personality"
|
|
43
45
|
require "files.com/models/ai_task"
|
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.707
|
|
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-08-
|
|
11
|
+
date: 2026-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -176,6 +176,8 @@ files:
|
|
|
176
176
|
- docs/action_notification_export.md
|
|
177
177
|
- docs/action_notification_export_result.md
|
|
178
178
|
- docs/agent_node.md
|
|
179
|
+
- docs/agent_node_connection.md
|
|
180
|
+
- docs/agent_node_instance.md
|
|
179
181
|
- docs/agent_push_update.md
|
|
180
182
|
- docs/ai_assistant_personality.md
|
|
181
183
|
- docs/ai_task.md
|
|
@@ -330,6 +332,8 @@ files:
|
|
|
330
332
|
- lib/files.com/models/action_notification_export.rb
|
|
331
333
|
- lib/files.com/models/action_notification_export_result.rb
|
|
332
334
|
- lib/files.com/models/agent_node.rb
|
|
335
|
+
- lib/files.com/models/agent_node_connection.rb
|
|
336
|
+
- lib/files.com/models/agent_node_instance.rb
|
|
333
337
|
- lib/files.com/models/agent_push_update.rb
|
|
334
338
|
- lib/files.com/models/ai_assistant_personality.rb
|
|
335
339
|
- lib/files.com/models/ai_task.rb
|