files.com 1.1.22 → 1.1.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c8e386894290e7a277a40f2c836e82d9a00b5f0d5496631326d70003e980567
4
- data.tar.gz: 5a04c639f0b6b163a71c50f2d546249b10b580e55b0bba20f18a4cf8b8bec318
3
+ metadata.gz: b4a8ab14002a853df19667487bca81d23dc17c893600dbde62d6c8c54d64166a
4
+ data.tar.gz: 180d286169f069cf75ace91d425404afb442322f692561b83f4a1e7dcbc60f0d
5
5
  SHA512:
6
- metadata.gz: 46eadaac221fafe81e8b4c02cec7892caba261b45589152908f39410451e1ea3c910d27275f6e11675490c55ffb02fb84ea83ccd90d27a0327022c75d06bc1f0
7
- data.tar.gz: 3a0e9ac57fa16eee4b4259e541dc48fc0b603172966c9e2d3413ff6ce38eb6fa061cf5a9fbfc828c4d0455d1b6f44a7d26e315a0d2fff010f1b3e567629e69a4
6
+ metadata.gz: c189de27b7cb0127576256953b3681f5abfff426d9ed5bde2bcf344f7488a86bcc4f77d17fa77d313bd034c455ed4ccd0a4ce0af91ca2e28ad544fcd0489fa58
7
+ data.tar.gz: bb77f97e2c824528732b01629228a4ce73c3a03b29917b0207bf42ac41283ddd8f46b40959e94de608012960a0b351f4ce89eddf2c76b8d4d4667c06270868c3
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.22
1
+ 1.1.24
@@ -11,17 +11,30 @@
11
11
  "currency": "USD",
12
12
  "download_uri": "https://url...",
13
13
  "invoice_line_items": [
14
- null
14
+ {
15
+ "amount": 1.0,
16
+ "created_at": "2000-01-01T01:00:00Z",
17
+ "description": "Service from 2019-01-01 through 2019-12-31",
18
+ "type": "invoice",
19
+ "service_end_at": "2000-01-01T01:00:00Z",
20
+ "service_start_at": "2000-01-01T01:00:00Z",
21
+ "plan": "Premier",
22
+ "site": "My site"
23
+ }
15
24
  ],
16
25
  "method": "paypal",
17
26
  "payment_line_items": [
18
- null
27
+ {
28
+ "amount": 1.0,
29
+ "created_at": "2000-01-01T01:00:00Z",
30
+ "invoice_id": 1,
31
+ "payment_id": 1
32
+ }
19
33
  ],
20
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
21
35
  "payment_type": "example",
22
36
  "site_name": "My Site",
23
- "type": "invoice",
24
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
25
38
  }
26
39
  ```
27
40
 
@@ -38,4 +51,3 @@
38
51
  * `payment_type` (string): Type of payment if applicable
39
52
  * `site_name` (string): Site name this line item is for
40
53
  * `type` (string): Type of line item, either payment or invoice
41
- * `updated_at` (date-time): Line item updated at
data/docs/automation.md CHANGED
@@ -24,7 +24,16 @@
24
24
  "name": "example",
25
25
  "path": "example",
26
26
  "recurring_day": 25,
27
- "schedule": "example",
27
+ "schedule_days_of_week": [
28
+ 0,
29
+ 2,
30
+ 4
31
+ ],
32
+ "schedule_times_of_day": [
33
+ "06:30",
34
+ "14:30"
35
+ ],
36
+ "schedule_time_zone": "Eastern Time (US & Canada)",
28
37
  "source": "example",
29
38
  "sync_ids": [
30
39
  1,
@@ -61,7 +70,9 @@
61
70
  * `name` (string): Name for this automation.
62
71
  * `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
63
72
  * `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`.
64
- * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
73
+ * `schedule_days_of_week` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
74
+ * `schedule_times_of_day` (array): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
75
+ * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
65
76
  * `source` (string): Source Path
66
77
  * `sync_ids` (array): IDs of remote sync folder behaviors to run by this Automation
67
78
  * `trigger_actions` (array): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
@@ -125,7 +136,9 @@ Files::Automation.create(
125
136
  sync_ids: [1,2],
126
137
  user_ids: [1,2],
127
138
  group_ids: [1,2],
128
- schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
139
+ schedule_days_of_week: [0,1,3],
140
+ schedule_times_of_day: ["7:30","11:30"],
141
+ schedule_time_zone: "Eastern Time (US & Canada)",
129
142
  always_overwrite_size_matching_files: true,
130
143
  description: "example",
131
144
  disabled: true,
@@ -150,7 +163,9 @@ Files::Automation.create(
150
163
  * `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
151
164
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
152
165
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
153
- * `schedule` (object): Custom schedule for running this automation.
166
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
167
+ * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
168
+ * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
154
169
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
155
170
  * `description` (string): Description for the this Automation.
156
171
  * `disabled` (boolean): If true, this automation will not run.
@@ -190,7 +205,9 @@ Files::Automation.update(id,
190
205
  sync_ids: [1,2],
191
206
  user_ids: [1,2],
192
207
  group_ids: [1,2],
193
- schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
208
+ schedule_days_of_week: [0,1,3],
209
+ schedule_times_of_day: ["7:30","11:30"],
210
+ schedule_time_zone: "Eastern Time (US & Canada)",
194
211
  always_overwrite_size_matching_files: true,
195
212
  description: "example",
196
213
  disabled: true,
@@ -216,7 +233,9 @@ Files::Automation.update(id,
216
233
  * `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
217
234
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
218
235
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
219
- * `schedule` (object): Custom schedule for running this automation.
236
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
237
+ * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
238
+ * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
220
239
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
221
240
  * `description` (string): Description for the this Automation.
222
241
  * `disabled` (boolean): If true, this automation will not run.
@@ -273,7 +292,9 @@ automation.update(
273
292
  sync_ids: [1,2],
274
293
  user_ids: [1,2],
275
294
  group_ids: [1,2],
276
- schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
295
+ schedule_days_of_week: [0,1,3],
296
+ schedule_times_of_day: ["7:30","11:30"],
297
+ schedule_time_zone: "Eastern Time (US & Canada)",
277
298
  always_overwrite_size_matching_files: true,
278
299
  description: "example",
279
300
  disabled: true,
@@ -299,7 +320,9 @@ automation.update(
299
320
  * `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
300
321
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
301
322
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
302
- * `schedule` (object): Custom schedule for running this automation.
323
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
324
+ * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
325
+ * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
303
326
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
304
327
  * `description` (string): Description for the this Automation.
305
328
  * `disabled` (boolean): If true, this automation will not run.
data/docs/behavior.md CHANGED
@@ -98,7 +98,7 @@ Files::Behavior.create(
98
98
 
99
99
  ### Parameters
100
100
 
101
- * `value` (string): The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
101
+ * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
102
102
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
103
103
  * `name` (string): Name for this behavior.
104
104
  * `description` (string): Description for this behavior.
@@ -149,7 +149,7 @@ Files::Behavior.update(id,
149
149
  ### Parameters
150
150
 
151
151
  * `id` (int64): Required - Behavior ID.
152
- * `value` (string): The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
152
+ * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
153
153
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
154
154
  * `name` (string): Name for this behavior.
155
155
  * `description` (string): Description for this behavior.
@@ -191,7 +191,7 @@ behavior.update(
191
191
  ### Parameters
192
192
 
193
193
  * `id` (int64): Required - Behavior ID.
194
- * `value` (string): The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
194
+ * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
195
195
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
196
196
  * `name` (string): Name for this behavior.
197
197
  * `description` (string): Description for this behavior.
data/docs/bundle.md CHANGED
@@ -30,7 +30,20 @@
30
30
  4
31
31
  ],
32
32
  "form_fields": [
33
- null
33
+ {
34
+ "id": 1,
35
+ "label": "Sample Label",
36
+ "required": true,
37
+ "help_text": "Help Text",
38
+ "field_type": "text",
39
+ "options_for_select": [
40
+ "red",
41
+ "green",
42
+ "blue"
43
+ ],
44
+ "default_option": "red",
45
+ "form_field_set_id": 1
46
+ }
34
47
  ],
35
48
  "skip_name": true,
36
49
  "skip_email": true,
@@ -52,7 +65,10 @@
52
65
  "username": "user",
53
66
  "clickwrap_id": 1,
54
67
  "inbox_id": 1,
55
- "watermark_attachment": null,
68
+ "watermark_attachment": {
69
+ "name": "My logo",
70
+ "uri": "https://mysite.files.com/.../my_image.png"
71
+ },
56
72
  "watermark_value": {
57
73
  "key": "example value"
58
74
  },
data/docs/file_comment.md CHANGED
@@ -7,7 +7,10 @@
7
7
  "id": 1,
8
8
  "body": "What a great file!",
9
9
  "reactions": [
10
- null
10
+ {
11
+ "id": 1,
12
+ "emoji": "👍"
13
+ }
11
14
  ]
12
15
  }
13
16
  ```
@@ -13,7 +13,20 @@
13
13
  4
14
14
  ],
15
15
  "form_fields": [
16
- null
16
+ {
17
+ "id": 1,
18
+ "label": "Sample Label",
19
+ "required": true,
20
+ "help_text": "Help Text",
21
+ "field_type": "text",
22
+ "options_for_select": [
23
+ "red",
24
+ "green",
25
+ "blue"
26
+ ],
27
+ "default_option": "red",
28
+ "form_field_set_id": 1
29
+ }
17
30
  ],
18
31
  "skip_name": true,
19
32
  "skip_email": true,
@@ -73,7 +86,7 @@ Files::FormFieldSet.create(
73
86
  skip_email: true,
74
87
  skip_name: true,
75
88
  skip_company: true,
76
- form_fields: [null]
89
+ form_fields: [{"label":"Sample Label","required":true,"help_text":"Help Text","field_type":"text","options_for_select":["red","green","blue"],"default_option":"red","form_field_set_id":1}]
77
90
  )
78
91
  ```
79
92
 
@@ -97,7 +110,7 @@ Files::FormFieldSet.update(id,
97
110
  skip_email: true,
98
111
  skip_name: true,
99
112
  skip_company: true,
100
- form_fields: [null]
113
+ form_fields: [{"id":1,"label":"Sample Label","required":true,"help_text":"Help Text","field_type":"text","options_for_select":["red","green","blue"],"default_option":"red","form_field_set_id":1}]
101
114
  )
102
115
  ```
103
116
 
@@ -136,7 +149,7 @@ form_field_set.update(
136
149
  skip_email: true,
137
150
  skip_name: true,
138
151
  skip_company: true,
139
- form_fields: [null]
152
+ form_fields: [{"id":1,"label":"Sample Label","required":true,"help_text":"Help Text","field_type":"text","options_for_select":["red","green","blue"],"default_option":"red","form_field_set_id":1}]
140
153
  )
141
154
  ```
142
155
 
data/docs/invoice.md CHANGED
@@ -11,17 +11,30 @@
11
11
  "currency": "USD",
12
12
  "download_uri": "https://url...",
13
13
  "invoice_line_items": [
14
- null
14
+ {
15
+ "amount": 1.0,
16
+ "created_at": "2000-01-01T01:00:00Z",
17
+ "description": "Service from 2019-01-01 through 2019-12-31",
18
+ "type": "invoice",
19
+ "service_end_at": "2000-01-01T01:00:00Z",
20
+ "service_start_at": "2000-01-01T01:00:00Z",
21
+ "plan": "Premier",
22
+ "site": "My site"
23
+ }
15
24
  ],
16
25
  "method": "paypal",
17
26
  "payment_line_items": [
18
- null
27
+ {
28
+ "amount": 1.0,
29
+ "created_at": "2000-01-01T01:00:00Z",
30
+ "invoice_id": 1,
31
+ "payment_id": 1
32
+ }
19
33
  ],
20
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
21
35
  "payment_type": "example",
22
36
  "site_name": "My Site",
23
- "type": "invoice",
24
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
25
38
  }
26
39
  ```
27
40
 
@@ -38,7 +51,6 @@
38
51
  * `payment_type` (string): Type of payment if applicable
39
52
  * `site_name` (string): Site name this line item is for
40
53
  * `type` (string): Type of line item, either payment or invoice
41
- * `updated_at` (date-time): Line item updated at
42
54
 
43
55
 
44
56
  ---
@@ -10,7 +10,6 @@
10
10
  "type": "invoice",
11
11
  "service_end_at": "2000-01-01T01:00:00Z",
12
12
  "service_start_at": "2000-01-01T01:00:00Z",
13
- "updated_at": "2000-01-01T01:00:00Z",
14
13
  "plan": "Premier",
15
14
  "site": "My site"
16
15
  }
@@ -22,6 +21,5 @@
22
21
  * `type` (string): Invoice line item type
23
22
  * `service_end_at` (date-time): Invoice line item service end date/time
24
23
  * `service_start_at` (date-time): Invoice line item service start date/time
25
- * `updated_at` (date-time): Invoice line item updated date/time
26
24
  * `plan` (string): Plan name
27
25
  * `site` (string): Site name
data/docs/message.md CHANGED
@@ -8,7 +8,16 @@
8
8
  "subject": "Files.com Account Upgrade",
9
9
  "body": "We should upgrade our Files.com account!",
10
10
  "comments": [
11
- null
11
+ {
12
+ "id": 1,
13
+ "body": "What a great idea, thank you!",
14
+ "reactions": [
15
+ {
16
+ "id": 1,
17
+ "emoji": "👍"
18
+ }
19
+ ]
20
+ }
12
21
  ]
13
22
  }
14
23
  ```
@@ -7,7 +7,10 @@
7
7
  "id": 1,
8
8
  "body": "What a great idea, thank you!",
9
9
  "reactions": [
10
- null
10
+ {
11
+ "id": 1,
12
+ "emoji": "👍"
13
+ }
11
14
  ]
12
15
  }
13
16
  ```
data/docs/payment.md CHANGED
@@ -11,17 +11,30 @@
11
11
  "currency": "USD",
12
12
  "download_uri": "https://url...",
13
13
  "invoice_line_items": [
14
- null
14
+ {
15
+ "amount": 1.0,
16
+ "created_at": "2000-01-01T01:00:00Z",
17
+ "description": "Service from 2019-01-01 through 2019-12-31",
18
+ "type": "invoice",
19
+ "service_end_at": "2000-01-01T01:00:00Z",
20
+ "service_start_at": "2000-01-01T01:00:00Z",
21
+ "plan": "Premier",
22
+ "site": "My site"
23
+ }
15
24
  ],
16
25
  "method": "paypal",
17
26
  "payment_line_items": [
18
- null
27
+ {
28
+ "amount": 1.0,
29
+ "created_at": "2000-01-01T01:00:00Z",
30
+ "invoice_id": 1,
31
+ "payment_id": 1
32
+ }
19
33
  ],
20
34
  "payment_reversed_at": "2000-01-01T01:00:00Z",
21
35
  "payment_type": "example",
22
36
  "site_name": "My Site",
23
- "type": "invoice",
24
- "updated_at": "2000-01-01T01:00:00Z"
37
+ "type": "invoice"
25
38
  }
26
39
  ```
27
40
 
@@ -38,7 +51,6 @@
38
51
  * `payment_type` (string): Type of payment if applicable
39
52
  * `site_name` (string): Site name this line item is for
40
53
  * `type` (string): Type of line item, either payment or invoice
41
- * `updated_at` (date-time): Line item updated at
42
54
 
43
55
 
44
56
  ---
data/docs/site.md CHANGED
@@ -30,7 +30,10 @@
30
30
  "bundle_require_registration": true,
31
31
  "bundle_require_share_recipient": true,
32
32
  "bundle_upload_receipt_notifications": "never",
33
- "bundle_watermark_attachment": null,
33
+ "bundle_watermark_attachment": {
34
+ "name": "My logo",
35
+ "uri": "https://mysite.files.com/.../my_image.png"
36
+ },
34
37
  "bundle_watermark_value": {
35
38
  "key": "example value"
36
39
  },
@@ -68,10 +71,22 @@
68
71
  "non_sso_users_allowed": true,
69
72
  "folder_permissions_groups_only": true,
70
73
  "hipaa": true,
71
- "icon128": null,
72
- "icon16": null,
73
- "icon32": null,
74
- "icon48": null,
74
+ "icon128": {
75
+ "name": "My logo",
76
+ "uri": "https://mysite.files.com/.../my_image.png"
77
+ },
78
+ "icon16": {
79
+ "name": "My logo",
80
+ "uri": "https://mysite.files.com/.../my_image.png"
81
+ },
82
+ "icon32": {
83
+ "name": "My logo",
84
+ "uri": "https://mysite.files.com/.../my_image.png"
85
+ },
86
+ "icon48": {
87
+ "name": "My logo",
88
+ "uri": "https://mysite.files.com/.../my_image.png"
89
+ },
75
90
  "immutable_files_set_at": "2000-01-01T01:00:00Z",
76
91
  "include_password_in_welcome_email": true,
77
92
  "language": "en",
@@ -92,8 +107,14 @@
92
107
  "ldap_username": "[ldap username]",
93
108
  "ldap_username_field": "sAMAccountName",
94
109
  "login_help_text": "Login page help text.",
95
- "logo": null,
96
- "login_page_background_image": null,
110
+ "logo": {
111
+ "name": "My logo",
112
+ "uri": "https://mysite.files.com/.../my_image.png"
113
+ },
114
+ "login_page_background_image": {
115
+ "name": "My logo",
116
+ "uri": "https://mysite.files.com/.../my_image.png"
117
+ },
97
118
  "max_prior_passwords": 1,
98
119
  "motd_text": "example",
99
120
  "motd_use_for_ftp": true,
@@ -123,8 +144,24 @@
123
144
  "session": {
124
145
  "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
125
146
  "language": "en",
147
+ "login_token": "@tok-randomcode",
148
+ "login_token_domain": "https://mysite.files.com",
149
+ "max_dir_listing_size": 1,
150
+ "multiple_regions": true,
126
151
  "read_only": true,
127
- "sftp_insecure_ciphers": true
152
+ "root_path": "example",
153
+ "sftp_insecure_ciphers": false,
154
+ "site_id": 1,
155
+ "ssl_required": true,
156
+ "tls_disabled": false,
157
+ "two_factor_setup_needed": false,
158
+ "allowed_2fa_method_sms": true,
159
+ "allowed_2fa_method_totp": true,
160
+ "allowed_2fa_method_u2f": true,
161
+ "allowed_2fa_method_webauthn": true,
162
+ "allowed_2fa_method_yubi": true,
163
+ "use_provided_modified_at": true,
164
+ "windows_mode_ftp": false
128
165
  },
129
166
  "session_pinned_by_ip": true,
130
167
  "sftp_enabled": true,
@@ -149,7 +186,6 @@
149
186
  "tls_disabled": true,
150
187
  "trial_days_left": 1,
151
188
  "trial_until": "2000-01-01T01:00:00Z",
152
- "updated_at": "2000-01-01T01:00:00Z",
153
189
  "use_provided_modified_at": true,
154
190
  "user": {
155
191
  "id": 1,
@@ -163,9 +199,9 @@
163
199
  "authenticate_until": "2000-01-01T01:00:00Z",
164
200
  "authentication_method": "password",
165
201
  "avatar_url": "example",
166
- "billing_permission": true,
167
- "bypass_site_allowed_ips": true,
168
- "bypass_inactive_disable": true,
202
+ "billing_permission": false,
203
+ "bypass_site_allowed_ips": false,
204
+ "bypass_inactive_disable": false,
169
205
  "created_at": "2000-01-01T01:00:00Z",
170
206
  "dav_permission": true,
171
207
  "disabled": true,
@@ -211,6 +247,7 @@
211
247
  "externally_managed": true,
212
248
  "time_zone": "Pacific Time (US & Canada)",
213
249
  "type_of_2fa": "yubi",
250
+ "updated_at": "2000-01-01T01:00:00Z",
214
251
  "user_root": "example",
215
252
  "days_remaining_until_password_expire": 1,
216
253
  "password_expire_at": "2000-01-01T01:00:00Z"
@@ -368,7 +405,6 @@
368
405
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
369
406
  * `trial_days_left` (int64): Number of days left in trial
370
407
  * `trial_until` (date-time): When does this Site trial expire?
371
- * `updated_at` (date-time): Last time this Site was updated
372
408
  * `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
373
409
  * `user` (User): User of current session
374
410
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
@@ -585,6 +621,7 @@ Files::Site.update(
585
621
  * `motd_text` (string): A message to show users when they connect via FTP or SFTP.
586
622
  * `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
587
623
  * `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
624
+ * `left_navigation_visibility` (object): Visibility settings for account navigation
588
625
  * `session_expiry` (double): Session expiry in hours
589
626
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
590
627
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
data/docs/status.md CHANGED
@@ -9,7 +9,14 @@
9
9
  "status": "",
10
10
  "data": "example",
11
11
  "errors": [
12
- null
12
+ {
13
+ "fields": [
14
+
15
+ ],
16
+ "messages": [
17
+
18
+ ]
19
+ }
13
20
  ],
14
21
  "clickwrap_id": 1,
15
22
  "clickwrap_body": "example"
@@ -73,10 +73,5 @@ module Files
73
73
  def type
74
74
  @attributes[:type]
75
75
  end
76
-
77
- # date-time - Line item updated at
78
- def updated_at
79
- @attributes[:updated_at]
80
- end
81
76
  end
82
77
  end
@@ -144,13 +144,31 @@ module Files
144
144
  @attributes[:recurring_day] = value
145
145
  end
146
146
 
147
- # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
148
- def schedule
149
- @attributes[:schedule]
147
+ # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
148
+ def schedule_days_of_week
149
+ @attributes[:schedule_days_of_week]
150
150
  end
151
151
 
152
- def schedule=(value)
153
- @attributes[:schedule] = value
152
+ def schedule_days_of_week=(value)
153
+ @attributes[:schedule_days_of_week] = value
154
+ end
155
+
156
+ # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
157
+ def schedule_times_of_day
158
+ @attributes[:schedule_times_of_day]
159
+ end
160
+
161
+ def schedule_times_of_day=(value)
162
+ @attributes[:schedule_times_of_day] = value
163
+ end
164
+
165
+ # string - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
166
+ def schedule_time_zone
167
+ @attributes[:schedule_time_zone]
168
+ end
169
+
170
+ def schedule_time_zone=(value)
171
+ @attributes[:schedule_time_zone] = value
154
172
  end
155
173
 
156
174
  # string - Source Path
@@ -256,7 +274,9 @@ module Files
256
274
  # sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
257
275
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
258
276
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
259
- # schedule - object - Custom schedule for running this automation.
277
+ # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
278
+ # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
279
+ # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
260
280
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
261
281
  # description - string - Description for the this Automation.
262
282
  # disabled - boolean - If true, this automation will not run.
@@ -281,6 +301,9 @@ module Files
281
301
  raise InvalidParameterError.new("Bad parameter: sync_ids must be an String") if params[:sync_ids] and !params[:sync_ids].is_a?(String)
282
302
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
283
303
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params[:group_ids] and !params[:group_ids].is_a?(String)
304
+ 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)
305
+ 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)
306
+ 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)
284
307
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
285
308
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
286
309
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
@@ -374,7 +397,9 @@ module Files
374
397
  # sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
375
398
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
376
399
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
377
- # schedule - object - Custom schedule for running this automation.
400
+ # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
401
+ # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
402
+ # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
378
403
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
379
404
  # description - string - Description for the this Automation.
380
405
  # disabled - boolean - If true, this automation will not run.
@@ -395,7 +420,9 @@ module Files
395
420
  raise InvalidParameterError.new("Bad parameter: sync_ids must be an String") if params[:sync_ids] and !params[:sync_ids].is_a?(String)
396
421
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
397
422
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params[:group_ids] and !params[:group_ids].is_a?(String)
398
- raise InvalidParameterError.new("Bad parameter: schedule must be an Hash") if params[:schedule] and !params[:schedule].is_a?(Hash)
423
+ 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)
424
+ 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)
425
+ 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)
399
426
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
400
427
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
401
428
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
@@ -431,7 +458,9 @@ module Files
431
458
  # sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
432
459
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
433
460
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
434
- # schedule - object - Custom schedule for running this automation.
461
+ # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
462
+ # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
463
+ # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
435
464
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
436
465
  # description - string - Description for the this Automation.
437
466
  # disabled - boolean - If true, this automation will not run.
@@ -455,7 +484,9 @@ module Files
455
484
  raise InvalidParameterError.new("Bad parameter: sync_ids must be an String") if params[:sync_ids] and !params[:sync_ids].is_a?(String)
456
485
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params[:user_ids] and !params[:user_ids].is_a?(String)
457
486
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params[:group_ids] and !params[:group_ids].is_a?(String)
458
- raise InvalidParameterError.new("Bad parameter: schedule must be an Hash") if params[:schedule] and !params[:schedule].is_a?(Hash)
487
+ 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)
488
+ 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)
489
+ 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)
459
490
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
460
491
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
461
492
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
@@ -91,7 +91,7 @@ module Files
91
91
  end
92
92
 
93
93
  # Parameters:
94
- # value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
94
+ # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
95
95
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
96
96
  # name - string - Name for this behavior.
97
97
  # description - string - Description for this behavior.
@@ -205,7 +205,7 @@ module Files
205
205
  end
206
206
 
207
207
  # Parameters:
208
- # value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
208
+ # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
209
209
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
210
210
  # name - string - Name for this behavior.
211
211
  # description - string - Description for this behavior.
@@ -245,7 +245,7 @@ module Files
245
245
  end
246
246
 
247
247
  # Parameters:
248
- # value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
248
+ # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
249
249
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
250
250
  # name - string - Name for this behavior.
251
251
  # description - string - Description for this behavior.
@@ -74,11 +74,6 @@ module Files
74
74
  @attributes[:type]
75
75
  end
76
76
 
77
- # date-time - Line item updated at
78
- def updated_at
79
- @attributes[:updated_at]
80
- end
81
-
82
77
  # Parameters:
83
78
  # 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.
84
79
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -39,11 +39,6 @@ module Files
39
39
  @attributes[:service_start_at]
40
40
  end
41
41
 
42
- # date-time - Invoice line item updated date/time
43
- def updated_at
44
- @attributes[:updated_at]
45
- end
46
-
47
42
  # string - Plan name
48
43
  def plan
49
44
  @attributes[:plan]
@@ -74,11 +74,6 @@ module Files
74
74
  @attributes[:type]
75
75
  end
76
76
 
77
- # date-time - Line item updated at
78
- def updated_at
79
- @attributes[:updated_at]
80
- end
81
-
82
77
  # Parameters:
83
78
  # 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.
84
79
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -689,11 +689,6 @@ module Files
689
689
  @attributes[:trial_until]
690
690
  end
691
691
 
692
- # date-time - Last time this Site was updated
693
- def updated_at
694
- @attributes[:updated_at]
695
- end
696
-
697
692
  # boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
698
693
  def use_provided_modified_at
699
694
  @attributes[:use_provided_modified_at]
@@ -817,6 +812,7 @@ module Files
817
812
  # motd_text - string - A message to show users when they connect via FTP or SFTP.
818
813
  # motd_use_for_ftp - boolean - Show message to users connecting via FTP
819
814
  # motd_use_for_sftp - boolean - Show message to users connecting via SFTP
815
+ # left_navigation_visibility - object - Visibility settings for account navigation
820
816
  # session_expiry - double - Session expiry in hours
821
817
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
822
818
  # tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
@@ -950,6 +946,7 @@ module Files
950
946
  raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params[:welcome_screen] and !params[:welcome_screen].is_a?(String)
951
947
  raise InvalidParameterError.new("Bad parameter: office_integration_type must be an String") if params[:office_integration_type] and !params[:office_integration_type].is_a?(String)
952
948
  raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
949
+ raise InvalidParameterError.new("Bad parameter: left_navigation_visibility must be an Hash") if params[:left_navigation_visibility] and !params[:left_navigation_visibility].is_a?(Hash)
953
950
  raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
954
951
  raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
955
952
  raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.22"
4
+ VERSION = "1.1.24"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.22
4
+ version: 1.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com