files.com 1.0.244 → 1.0.247
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/account_line_item.md +2 -2
- data/docs/bundle.md +2 -2
- data/docs/bundle_download.md +1 -1
- data/docs/file.md +1 -1
- data/docs/file_comment.md +1 -1
- data/docs/folder.md +1 -1
- data/docs/form_field_set.md +1 -1
- data/docs/inbox_upload.md +1 -1
- data/docs/invoice.md +2 -2
- data/docs/message.md +1 -1
- data/docs/message_comment.md +1 -1
- data/docs/payment.md +2 -2
- data/docs/remote_server.md +8 -0
- data/docs/site.md +8 -8
- data/docs/sso_strategy.md +28 -0
- data/docs/status.md +2 -2
- data/docs/style.md +2 -2
- data/docs/webhook_test.md +1 -1
- data/lib/files.com/models/account_line_item.rb +2 -2
- data/lib/files.com/models/bundle.rb +2 -2
- data/lib/files.com/models/bundle_download.rb +1 -0
- data/lib/files.com/models/file.rb +1 -1
- data/lib/files.com/models/file_comment.rb +1 -1
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/form_field_set.rb +1 -1
- data/lib/files.com/models/inbox_upload.rb +1 -0
- data/lib/files.com/models/invoice.rb +2 -2
- data/lib/files.com/models/message.rb +1 -1
- data/lib/files.com/models/message_comment.rb +1 -1
- data/lib/files.com/models/payment.rb +2 -2
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/models/site.rb +8 -8
- data/lib/files.com/models/sso_strategy.rb +22 -0
- data/lib/files.com/models/status.rb +2 -2
- data/lib/files.com/models/style.rb +2 -2
- data/lib/files.com/models/webhook_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de36ba7dc493057bb2ebbe1fdda35580db4e8373edb93daa37eaa599d6b3d94c
|
|
4
|
+
data.tar.gz: f8f68f32320b6aa3bcc6ef0fba3eea9f0330029426e8ba54a7ba541f31d0b69c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abb86db7b2b5331ac864c46e4dfc80d8ba399cf0bb35c90cd0063090056dd4cc0da45a1b731c036300412322718c626a42d90f17830156520c0df36645579db2
|
|
7
|
+
data.tar.gz: 2e48f087ae52915fa008ca71cb1e842c42c2c51b56907067d77aa0ab5b7444f7f6de418b32eb6611af2492d84073890315827500f67de56684f5f5fbf5f0ca53
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.247
|
data/docs/account_line_item.md
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
* `created_at` (date-time): Line item created at
|
|
44
44
|
* `currency` (string): Line item currency
|
|
45
45
|
* `download_uri` (string): Line item download uri
|
|
46
|
-
* `invoice_line_items
|
|
46
|
+
* `invoice_line_items` (InvoiceLineItem): Associated invoice line items
|
|
47
47
|
* `method` (string): Line item payment method
|
|
48
|
-
* `payment_line_items
|
|
48
|
+
* `payment_line_items` (PaymentLineItem): Associated payment line items
|
|
49
49
|
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
|
|
50
50
|
* `payment_type` (string): Type of payment if applicable
|
|
51
51
|
* `site_name` (string): Site name this line item is for
|
data/docs/bundle.md
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
|
69
69
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
70
70
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
|
71
|
-
* `form_field_set
|
|
71
|
+
* `form_field_set` (FormFieldSet): Custom Form to use
|
|
72
72
|
* `id` (int64): Bundle ID
|
|
73
73
|
* `created_at` (date-time): Bundle created at date/time
|
|
74
74
|
* `expires_at` (date-time): Bundle expiration date/time
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
* `username` (string): Bundle creator username
|
|
79
79
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
|
80
80
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
|
81
|
-
* `watermark_attachment
|
|
81
|
+
* `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
|
82
82
|
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
83
83
|
* `has_inbox` (boolean): Does this bundle have an associated inbox?
|
|
84
84
|
* `paths` (array): A list of paths in this bundle
|
data/docs/bundle_download.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
* `bundle_registration
|
|
14
|
+
* `bundle_registration` (BundleRegistration):
|
|
15
15
|
* `download_method` (string): Download method (file or full_zip)
|
|
16
16
|
* `path` (string): Download path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
17
17
|
* `created_at` (date-time): Download date/time
|
data/docs/file.md
CHANGED
|
@@ -47,7 +47,7 @@ may places where a Ruby File object can be used.
|
|
|
47
47
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
|
48
48
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
|
49
49
|
* `preview_id` (int64): File preview ID
|
|
50
|
-
* `preview
|
|
50
|
+
* `preview` (Preview): File preview
|
|
51
51
|
* `action` (string): The action to perform. Can be `append`, `attachment`, `end`, `upload`, `put`, or may not exist
|
|
52
52
|
* `length` (int64): Length of file.
|
|
53
53
|
* `mkdir_parents` (boolean): Create parent directories if they do not exist?
|
data/docs/file_comment.md
CHANGED
data/docs/folder.md
CHANGED
|
@@ -49,7 +49,7 @@ Files::Dir is an alias of Files::Folder
|
|
|
49
49
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
|
50
50
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
|
51
51
|
* `preview_id` (int64): File preview ID
|
|
52
|
-
* `preview
|
|
52
|
+
* `preview` (Preview): File preview
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
---
|
data/docs/form_field_set.md
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* `id` (int64): Form field set id
|
|
36
36
|
* `title` (string): Title to be displayed
|
|
37
37
|
* `form_layout` (int64): Layout of the form
|
|
38
|
-
* `form_fields
|
|
38
|
+
* `form_fields` (FormField): Associated form fields
|
|
39
39
|
* `skip_name` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing name
|
|
40
40
|
* `skip_email` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing email
|
|
41
41
|
* `skip_company` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing company
|
data/docs/inbox_upload.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
* `inbox_registration
|
|
13
|
+
* `inbox_registration` (InboxRegistration):
|
|
14
14
|
* `path` (string): Upload path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
15
15
|
* `created_at` (date-time): Upload date/time
|
|
16
16
|
|
data/docs/invoice.md
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
* `created_at` (date-time): Line item created at
|
|
44
44
|
* `currency` (string): Line item currency
|
|
45
45
|
* `download_uri` (string): Line item download uri
|
|
46
|
-
* `invoice_line_items
|
|
46
|
+
* `invoice_line_items` (InvoiceLineItem): Associated invoice line items
|
|
47
47
|
* `method` (string): Line item payment method
|
|
48
|
-
* `payment_line_items
|
|
48
|
+
* `payment_line_items` (PaymentLineItem): Associated payment line items
|
|
49
49
|
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
|
|
50
50
|
* `payment_type` (string): Type of payment if applicable
|
|
51
51
|
* `site_name` (string): Site name this line item is for
|
data/docs/message.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* `id` (int64): Message ID
|
|
22
22
|
* `subject` (string): Message subject.
|
|
23
23
|
* `body` (string): Message body.
|
|
24
|
-
* `comments
|
|
24
|
+
* `comments` (MessageComment): Comments.
|
|
25
25
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
26
26
|
* `project_id` (int64): Project to which the message should be attached.
|
|
27
27
|
|
data/docs/message_comment.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
* `id` (int64): Message Comment ID
|
|
17
17
|
* `body` (string): Comment body.
|
|
18
|
-
* `reactions
|
|
18
|
+
* `reactions` (MessageCommentReaction): Reactions to this comment.
|
|
19
19
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
20
20
|
|
|
21
21
|
|
data/docs/payment.md
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
* `created_at` (date-time): Line item created at
|
|
44
44
|
* `currency` (string): Line item currency
|
|
45
45
|
* `download_uri` (string): Line item download uri
|
|
46
|
-
* `invoice_line_items
|
|
46
|
+
* `invoice_line_items` (InvoiceLineItem): Associated invoice line items
|
|
47
47
|
* `method` (string): Line item payment method
|
|
48
|
-
* `payment_line_items
|
|
48
|
+
* `payment_line_items` (PaymentLineItem): Associated payment line items
|
|
49
49
|
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
|
|
50
50
|
* `payment_type` (string): Type of payment if applicable
|
|
51
51
|
* `site_name` (string): Site name this line item is for
|
data/docs/remote_server.md
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"azure_blob_storage_container": "container-name",
|
|
39
39
|
"s3_compatible_bucket": "my-bucket",
|
|
40
40
|
"s3_compatible_endpoint": "mys3platform.com",
|
|
41
|
+
"s3_compatible_region": "us-east-1",
|
|
41
42
|
"s3_compatible_access_key": "",
|
|
42
43
|
"enable_dedicated_ips": true
|
|
43
44
|
}
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
78
79
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
79
80
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
81
|
+
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
80
82
|
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
81
83
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
82
84
|
* `aws_secret_key` (string): AWS secret key.
|
|
@@ -154,6 +156,7 @@ Files::RemoteServer.create(
|
|
|
154
156
|
azure_blob_storage_container: "container-name",
|
|
155
157
|
s3_compatible_bucket: "my-bucket",
|
|
156
158
|
s3_compatible_endpoint: "mys3platform.com",
|
|
159
|
+
s3_compatible_region: "us-east-1",
|
|
157
160
|
enable_dedicated_ips: true
|
|
158
161
|
)
|
|
159
162
|
```
|
|
@@ -198,6 +201,7 @@ Files::RemoteServer.create(
|
|
|
198
201
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
199
202
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
200
203
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
204
|
+
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
201
205
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
202
206
|
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
203
207
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
@@ -235,6 +239,7 @@ Files::RemoteServer.update(id,
|
|
|
235
239
|
azure_blob_storage_container: "container-name",
|
|
236
240
|
s3_compatible_bucket: "my-bucket",
|
|
237
241
|
s3_compatible_endpoint: "mys3platform.com",
|
|
242
|
+
s3_compatible_region: "us-east-1",
|
|
238
243
|
enable_dedicated_ips: true
|
|
239
244
|
)
|
|
240
245
|
```
|
|
@@ -280,6 +285,7 @@ Files::RemoteServer.update(id,
|
|
|
280
285
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
281
286
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
282
287
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
288
|
+
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
283
289
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
284
290
|
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
285
291
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
@@ -332,6 +338,7 @@ remote_server.update(
|
|
|
332
338
|
azure_blob_storage_container: "container-name",
|
|
333
339
|
s3_compatible_bucket: "my-bucket",
|
|
334
340
|
s3_compatible_endpoint: "mys3platform.com",
|
|
341
|
+
s3_compatible_region: "us-east-1",
|
|
335
342
|
enable_dedicated_ips: true
|
|
336
343
|
)
|
|
337
344
|
```
|
|
@@ -377,6 +384,7 @@ remote_server.update(
|
|
|
377
384
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
378
385
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
379
386
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
387
|
+
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
380
388
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
381
389
|
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
382
390
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
data/docs/site.md
CHANGED
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
|
239
239
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
|
240
240
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
|
241
|
-
* `bundle_watermark_attachment
|
|
241
|
+
* `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
|
242
242
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
243
243
|
* `color2_left` (string): Page link and button color
|
|
244
244
|
* `color2_link` (string): Top bar link color
|
|
@@ -270,10 +270,10 @@
|
|
|
270
270
|
* `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
|
271
271
|
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
|
272
272
|
* `hipaa` (boolean): Is there a signed HIPAA BAA between Files.com and this site?
|
|
273
|
-
* `icon128
|
|
274
|
-
* `icon16
|
|
275
|
-
* `icon32
|
|
276
|
-
* `icon48
|
|
273
|
+
* `icon128` (Image): Branded icon 128x128
|
|
274
|
+
* `icon16` (Image): Branded icon 16x16
|
|
275
|
+
* `icon32` (Image): Branded icon 32x32
|
|
276
|
+
* `icon48` (Image): Branded icon 48x48
|
|
277
277
|
* `immutable_files_set_at` (date-time): Can files be modified?
|
|
278
278
|
* `include_password_in_welcome_email` (boolean): Include password in emails to new users?
|
|
279
279
|
* `language` (string): Site default language
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
295
295
|
* `ldap_username_field` (string): LDAP username field
|
|
296
296
|
* `login_help_text` (string): Login help text
|
|
297
|
-
* `logo
|
|
297
|
+
* `logo` (Image): Branded logo
|
|
298
298
|
* `max_prior_passwords` (int64): Number of prior passwords to disallow
|
|
299
299
|
* `next_billing_amount` (double): Next billing amount
|
|
300
300
|
* `next_billing_date` (string): Next billing date
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
317
317
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
318
318
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
319
|
-
* `session
|
|
319
|
+
* `session` (Session): Current session
|
|
320
320
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
|
321
321
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
322
322
|
* `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
* `trial_until` (date-time): When does this Site trial expire?
|
|
340
340
|
* `updated_at` (date-time): Last time this Site was updated
|
|
341
341
|
* `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
|
|
342
|
-
* `user
|
|
342
|
+
* `user` (User): User of current session
|
|
343
343
|
* `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
|
|
344
344
|
* `user_lockout_lock_period` (int64): How many hours to lock user out for failed password?
|
|
345
345
|
* `user_lockout_tries` (int64): Number of login tries within `user_lockout_within` hours before users are locked out
|
data/docs/sso_strategy.md
CHANGED
|
@@ -122,3 +122,31 @@ Files::SsoStrategy.find(id)
|
|
|
122
122
|
### Parameters
|
|
123
123
|
|
|
124
124
|
* `id` (int64): Required - Sso Strategy ID.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Synchronize provisioning data with the SSO remote server
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
Files::SsoStrategy.sync(id)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Parameters
|
|
136
|
+
|
|
137
|
+
* `id` (int64): Required - Sso Strategy ID.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Synchronize provisioning data with the SSO remote server
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
sso_strategy = Files::SsoStrategy.list.first
|
|
146
|
+
|
|
147
|
+
sso_strategy.sync
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Parameters
|
|
151
|
+
|
|
152
|
+
* `id` (int64): Required - Sso Strategy ID.
|
data/docs/status.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* `code` (int64): Status HTTP code
|
|
25
25
|
* `message` (string): Error message
|
|
26
26
|
* `status` (string): Status message
|
|
27
|
-
* `data
|
|
28
|
-
* `errors
|
|
27
|
+
* `data` (Auto): Additional data
|
|
28
|
+
* `errors` (Errors): A list of api errors
|
|
29
29
|
* `clickwrap_id` (int64): Required Clickwrap id
|
|
30
30
|
* `clickwrap_body` (string): Required Clickwrap body
|
data/docs/style.md
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
* `id` (int64): Style ID
|
|
15
15
|
* `path` (string): Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
16
|
-
* `logo
|
|
17
|
-
* `thumbnail
|
|
16
|
+
* `logo` (Image): Logo
|
|
17
|
+
* `thumbnail` (Image): Logo thumbnail
|
|
18
18
|
* `file` (file): Logo for custom branding.
|
|
19
19
|
|
|
20
20
|
|
data/docs/webhook_test.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* `code` (int64): Status HTTP code
|
|
16
16
|
* `message` (string): Error message
|
|
17
17
|
* `status` (string): Status message
|
|
18
|
-
* `data
|
|
18
|
+
* `data` (Auto): Additional data
|
|
19
19
|
* `success` (boolean): The success status of the webhook test
|
|
20
20
|
* `url` (string): URL for testing the webhook.
|
|
21
21
|
* `method` (string): HTTP method(GET or POST).
|
|
@@ -39,7 +39,7 @@ module Files
|
|
|
39
39
|
@attributes[:download_uri]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
# Associated invoice line items
|
|
42
|
+
# InvoiceLineItem - Associated invoice line items
|
|
43
43
|
def invoice_line_items
|
|
44
44
|
@attributes[:invoice_line_items]
|
|
45
45
|
end
|
|
@@ -49,7 +49,7 @@ module Files
|
|
|
49
49
|
@attributes[:method]
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
# Associated payment line items
|
|
52
|
+
# PaymentLineItem - Associated payment line items
|
|
53
53
|
def payment_line_items
|
|
54
54
|
@attributes[:payment_line_items]
|
|
55
55
|
end
|
|
@@ -81,7 +81,7 @@ module Files
|
|
|
81
81
|
@attributes[:clickwrap_body] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# Custom Form to use
|
|
84
|
+
# FormFieldSet - Custom Form to use
|
|
85
85
|
def form_field_set
|
|
86
86
|
@attributes[:form_field_set]
|
|
87
87
|
end
|
|
@@ -167,7 +167,7 @@ module Files
|
|
|
167
167
|
@attributes[:inbox_id] = value
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
# Preview watermark image applied to all bundle items.
|
|
170
|
+
# Image - Preview watermark image applied to all bundle items.
|
|
171
171
|
def watermark_attachment
|
|
172
172
|
@attributes[:watermark_attachment]
|
|
173
173
|
end
|
|
@@ -39,7 +39,7 @@ module Files
|
|
|
39
39
|
@attributes[:download_uri]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
# Associated invoice line items
|
|
42
|
+
# InvoiceLineItem - Associated invoice line items
|
|
43
43
|
def invoice_line_items
|
|
44
44
|
@attributes[:invoice_line_items]
|
|
45
45
|
end
|
|
@@ -49,7 +49,7 @@ module Files
|
|
|
49
49
|
@attributes[:method]
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
# Associated payment line items
|
|
52
|
+
# PaymentLineItem - Associated payment line items
|
|
53
53
|
def payment_line_items
|
|
54
54
|
@attributes[:payment_line_items]
|
|
55
55
|
end
|
|
@@ -39,7 +39,7 @@ module Files
|
|
|
39
39
|
@attributes[:download_uri]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
# Associated invoice line items
|
|
42
|
+
# InvoiceLineItem - Associated invoice line items
|
|
43
43
|
def invoice_line_items
|
|
44
44
|
@attributes[:invoice_line_items]
|
|
45
45
|
end
|
|
@@ -49,7 +49,7 @@ module Files
|
|
|
49
49
|
@attributes[:method]
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
# Associated payment line items
|
|
52
|
+
# PaymentLineItem - Associated payment line items
|
|
53
53
|
def payment_line_items
|
|
54
54
|
@attributes[:payment_line_items]
|
|
55
55
|
end
|
|
@@ -315,6 +315,15 @@ module Files
|
|
|
315
315
|
@attributes[:s3_compatible_endpoint] = value
|
|
316
316
|
end
|
|
317
317
|
|
|
318
|
+
# string - S3-compatible endpoint
|
|
319
|
+
def s3_compatible_region
|
|
320
|
+
@attributes[:s3_compatible_region]
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
def s3_compatible_region=(value)
|
|
324
|
+
@attributes[:s3_compatible_region] = value
|
|
325
|
+
end
|
|
326
|
+
|
|
318
327
|
# string - S3-compatible Access Key.
|
|
319
328
|
def s3_compatible_access_key
|
|
320
329
|
@attributes[:s3_compatible_access_key]
|
|
@@ -480,6 +489,7 @@ module Files
|
|
|
480
489
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
|
481
490
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
|
482
491
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
|
492
|
+
# s3_compatible_region - string - S3-compatible endpoint
|
|
483
493
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
484
494
|
# s3_compatible_access_key - string - S3-compatible Access Key.
|
|
485
495
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
@@ -525,6 +535,7 @@ module Files
|
|
|
525
535
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
|
526
536
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
|
527
537
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
|
538
|
+
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
|
528
539
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
|
529
540
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
|
530
541
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
@@ -626,6 +637,7 @@ module Files
|
|
|
626
637
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
|
627
638
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
|
628
639
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
|
640
|
+
# s3_compatible_region - string - S3-compatible endpoint
|
|
629
641
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
630
642
|
# s3_compatible_access_key - string - S3-compatible Access Key.
|
|
631
643
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
@@ -667,6 +679,7 @@ module Files
|
|
|
667
679
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
|
668
680
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
|
669
681
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
|
682
|
+
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
|
670
683
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
|
671
684
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
|
672
685
|
|
|
@@ -713,6 +726,7 @@ module Files
|
|
|
713
726
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
|
714
727
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
|
715
728
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
|
729
|
+
# s3_compatible_region - string - S3-compatible endpoint
|
|
716
730
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
|
717
731
|
# s3_compatible_access_key - string - S3-compatible Access Key.
|
|
718
732
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
@@ -757,6 +771,7 @@ module Files
|
|
|
757
771
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
|
758
772
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
|
759
773
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
|
774
|
+
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
|
760
775
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
|
761
776
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
|
762
777
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
@@ -79,7 +79,7 @@ module Files
|
|
|
79
79
|
@attributes[:bundle_require_share_recipient]
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
# Preview watermark image applied to all bundle items.
|
|
82
|
+
# Image - Preview watermark image applied to all bundle items.
|
|
83
83
|
def bundle_watermark_attachment
|
|
84
84
|
@attributes[:bundle_watermark_attachment]
|
|
85
85
|
end
|
|
@@ -239,22 +239,22 @@ module Files
|
|
|
239
239
|
@attributes[:hipaa]
|
|
240
240
|
end
|
|
241
241
|
|
|
242
|
-
# Branded icon 128x128
|
|
242
|
+
# Image - Branded icon 128x128
|
|
243
243
|
def icon128
|
|
244
244
|
@attributes[:icon128]
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
# Branded icon 16x16
|
|
247
|
+
# Image - Branded icon 16x16
|
|
248
248
|
def icon16
|
|
249
249
|
@attributes[:icon16]
|
|
250
250
|
end
|
|
251
251
|
|
|
252
|
-
# Branded icon 32x32
|
|
252
|
+
# Image - Branded icon 32x32
|
|
253
253
|
def icon32
|
|
254
254
|
@attributes[:icon32]
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
-
# Branded icon 48x48
|
|
257
|
+
# Image - Branded icon 48x48
|
|
258
258
|
def icon48
|
|
259
259
|
@attributes[:icon48]
|
|
260
260
|
end
|
|
@@ -359,7 +359,7 @@ module Files
|
|
|
359
359
|
@attributes[:login_help_text]
|
|
360
360
|
end
|
|
361
361
|
|
|
362
|
-
# Branded logo
|
|
362
|
+
# Image - Branded logo
|
|
363
363
|
def logo
|
|
364
364
|
@attributes[:logo]
|
|
365
365
|
end
|
|
@@ -469,7 +469,7 @@ module Files
|
|
|
469
469
|
@attributes[:require_2fa_user_type]
|
|
470
470
|
end
|
|
471
471
|
|
|
472
|
-
# Current session
|
|
472
|
+
# Session - Current session
|
|
473
473
|
def session
|
|
474
474
|
@attributes[:session]
|
|
475
475
|
end
|
|
@@ -584,7 +584,7 @@ module Files
|
|
|
584
584
|
@attributes[:use_provided_modified_at]
|
|
585
585
|
end
|
|
586
586
|
|
|
587
|
-
# User of current session
|
|
587
|
+
# User - User of current session
|
|
588
588
|
def user
|
|
589
589
|
@attributes[:user]
|
|
590
590
|
end
|
|
@@ -224,6 +224,17 @@ module Files
|
|
|
224
224
|
@attributes[:ldap_username_field]
|
|
225
225
|
end
|
|
226
226
|
|
|
227
|
+
# Synchronize provisioning data with the SSO remote server
|
|
228
|
+
def sync(params = {})
|
|
229
|
+
params ||= {}
|
|
230
|
+
params[:id] = @attributes[:id]
|
|
231
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
232
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
|
|
233
|
+
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
234
|
+
|
|
235
|
+
Api.send_request("/sso_strategies/#{@attributes[:id]}/sync", :post, params, @options)
|
|
236
|
+
end
|
|
237
|
+
|
|
227
238
|
# Parameters:
|
|
228
239
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
|
229
240
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
@@ -255,5 +266,16 @@ module Files
|
|
|
255
266
|
def self.get(id, params = {}, options = {})
|
|
256
267
|
find(id, params, options)
|
|
257
268
|
end
|
|
269
|
+
|
|
270
|
+
# Synchronize provisioning data with the SSO remote server
|
|
271
|
+
def self.sync(id, params = {}, options = {})
|
|
272
|
+
params ||= {}
|
|
273
|
+
params[:id] = id
|
|
274
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
|
|
275
|
+
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
276
|
+
|
|
277
|
+
response, _options = Api.send_request("/sso_strategies/#{params[:id]}/sync", :post, params, options)
|
|
278
|
+
response.data
|
|
279
|
+
end
|
|
258
280
|
end
|
|
259
281
|
end
|
|
@@ -24,12 +24,12 @@ module Files
|
|
|
24
24
|
@attributes[:status]
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
# Additional data
|
|
27
|
+
# Auto - Additional data
|
|
28
28
|
def data
|
|
29
29
|
@attributes[:data]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# A list of api errors
|
|
32
|
+
# Errors - A list of api errors
|
|
33
33
|
def errors
|
|
34
34
|
@attributes[:errors]
|
|
35
35
|
end
|
|
@@ -27,7 +27,7 @@ module Files
|
|
|
27
27
|
@attributes[:path] = value
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
# Logo
|
|
30
|
+
# Image - Logo
|
|
31
31
|
def logo
|
|
32
32
|
@attributes[:logo]
|
|
33
33
|
end
|
|
@@ -36,7 +36,7 @@ module Files
|
|
|
36
36
|
@attributes[:logo] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
# Logo thumbnail
|
|
39
|
+
# Image - Logo thumbnail
|
|
40
40
|
def thumbnail
|
|
41
41
|
@attributes[:thumbnail]
|
|
42
42
|
end
|
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.0.
|
|
4
|
+
version: 1.0.247
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|