files.com 1.0.244 → 1.0.248

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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/account_line_item.md +2 -2
  4. data/docs/as2_partner.md +11 -1
  5. data/docs/as2_station.md +14 -15
  6. data/docs/bundle.md +2 -2
  7. data/docs/bundle_download.md +1 -1
  8. data/docs/file.md +1 -1
  9. data/docs/file_comment.md +1 -1
  10. data/docs/folder.md +1 -1
  11. data/docs/form_field_set.md +1 -1
  12. data/docs/inbox_upload.md +1 -1
  13. data/docs/invoice.md +2 -2
  14. data/docs/message.md +1 -1
  15. data/docs/message_comment.md +1 -1
  16. data/docs/payment.md +2 -2
  17. data/docs/remote_server.md +8 -0
  18. data/docs/site.md +8 -8
  19. data/docs/sso_strategy.md +28 -0
  20. data/docs/status.md +2 -2
  21. data/docs/style.md +2 -2
  22. data/docs/webhook_test.md +1 -1
  23. data/lib/files.com/models/account_line_item.rb +2 -2
  24. data/lib/files.com/models/as2_partner.rb +45 -0
  25. data/lib/files.com/models/as2_station.rb +54 -23
  26. data/lib/files.com/models/bundle.rb +2 -2
  27. data/lib/files.com/models/bundle_download.rb +1 -0
  28. data/lib/files.com/models/file.rb +1 -1
  29. data/lib/files.com/models/file_comment.rb +1 -1
  30. data/lib/files.com/models/folder.rb +1 -1
  31. data/lib/files.com/models/form_field_set.rb +1 -1
  32. data/lib/files.com/models/inbox_upload.rb +1 -0
  33. data/lib/files.com/models/invoice.rb +2 -2
  34. data/lib/files.com/models/message.rb +1 -1
  35. data/lib/files.com/models/message_comment.rb +1 -1
  36. data/lib/files.com/models/payment.rb +2 -2
  37. data/lib/files.com/models/remote_server.rb +15 -0
  38. data/lib/files.com/models/site.rb +8 -8
  39. data/lib/files.com/models/sso_strategy.rb +22 -0
  40. data/lib/files.com/models/status.rb +2 -2
  41. data/lib/files.com/models/style.rb +2 -2
  42. data/lib/files.com/models/webhook_test.rb +1 -1
  43. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e17b9b6c2a46002e460eb8dc50eaa79e94068a894d0992917335ab75b38145a7
4
- data.tar.gz: c48984b58612209a060d3933e04a5638c13ab0c3b5a70c50a25cb7eb9384704f
3
+ metadata.gz: e4c09fe9d2d62e1ae7d77bea7bf3a14ab725a1e0ba4f7d72b0b49c0d44cc8d1d
4
+ data.tar.gz: e81e6a73a9060e2a8db493c8243006114698da5f994e2c65d54ea2e54b80b420
5
5
  SHA512:
6
- metadata.gz: c8a35579c7bf735372cc22a747afc2c59ebcc7d1d7219fcf6db6c009cc26e8a1807949e50ebe22c6ed73952814ed679376d5eb6e6457a7b12f2467f7aec62969
7
- data.tar.gz: e7a61ad5ec47b8db214ccb2f9196596104aadbe7fe30bccb82d570aea5c9b036629630566f14dc012ce8d48275e19398749f0f04c17d33d00dd4186420a6d7ac
6
+ metadata.gz: 6d0c0f4c00fe9980b325b2b71d3a8b180cabd1f71bdc4c0c01ee9d76db8bc790f19214b5eec3c417488b0c9211bd79b4171b01514064dcc548c5c4f0cfc647cd
7
+ data.tar.gz: da820c3ebd4f8edff2eafc94c4f08cb6ae3f1888ffc95b1e197c5683d2d34d8643977ad9037804d4f5b76eca0f5016b941ae8807c81e5a083fe3fa90265a71ec
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.244
1
+ 1.0.248
@@ -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`: Associated invoice line items
46
+ * `invoice_line_items` (InvoiceLineItem): Associated invoice line items
47
47
  * `method` (string): Line item payment method
48
- * `payment_line_items`: Associated 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/as2_partner.md CHANGED
@@ -8,7 +8,12 @@
8
8
  "as2_station_id": 1,
9
9
  "name": "AS2 Partner Name",
10
10
  "uri": "",
11
- "public_certificate_md5": ""
11
+ "public_certificate_md5": "",
12
+ "public_certificate_subject": "",
13
+ "public_certificate_issuer": "",
14
+ "public_certificate_serial": "",
15
+ "public_certificate_not_before": "",
16
+ "public_certificate_not_after": ""
12
17
  }
13
18
  ```
14
19
 
@@ -17,6 +22,11 @@
17
22
  * `name` (string): The partner's formal AS2 name.
18
23
  * `uri` (string): Public URI for sending AS2 message to.
19
24
  * `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
25
+ * `public_certificate_subject` (string): Subject of public certificate used for message security.
26
+ * `public_certificate_issuer` (string): Issuer of public certificate used for message security.
27
+ * `public_certificate_serial` (string): Serial of public certificate used for message security.
28
+ * `public_certificate_not_before` (string): Not before value of public certificate used for message security.
29
+ * `public_certificate_not_after` (string): Not after value of public certificate used for message security.
20
30
  * `public_certificate` (string):
21
31
 
22
32
 
data/docs/as2_station.md CHANGED
@@ -8,9 +8,13 @@
8
8
  "name": "AS2 Station Name",
9
9
  "uri": "",
10
10
  "domain": "domain.test",
11
- "public_certificate": "",
12
11
  "public_certificate_md5": "",
13
- "private_key_md5": ""
12
+ "private_key_md5": "",
13
+ "public_certificate_subject": "",
14
+ "public_certificate_issuer": "",
15
+ "public_certificate_serial": "",
16
+ "public_certificate_not_before": "",
17
+ "public_certificate_not_after": ""
14
18
  }
15
19
  ```
16
20
 
@@ -18,9 +22,14 @@
18
22
  * `name` (string): The station's formal AS2 name.
19
23
  * `uri` (string): Public URI for sending AS2 message to.
20
24
  * `domain` (string): The station's AS2 domain name.
21
- * `public_certificate` (string): Public certificate used for message security.
22
25
  * `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
23
26
  * `private_key_md5` (string): MD5 hash of private key used for message security.
27
+ * `public_certificate_subject` (string): Subject of public certificate used for message security.
28
+ * `public_certificate_issuer` (string): Issuer of public certificate used for message security.
29
+ * `public_certificate_serial` (string): Serial of public certificate used for message security.
30
+ * `public_certificate_not_before` (string): Not before value of public certificate used for message security.
31
+ * `public_certificate_not_after` (string): Not after value of public certificate used for message security.
32
+ * `public_certificate` (string):
24
33
  * `private_key` (string):
25
34
 
26
35
 
@@ -60,8 +69,6 @@ Files::As2Station.find(id)
60
69
  ```
61
70
  Files::As2Station.create(
62
71
  name: "name",
63
- domain: "domain",
64
- uri: "uri",
65
72
  public_certificate: "public_certificate",
66
73
  private_key: "private_key"
67
74
  )
@@ -70,8 +77,6 @@ Files::As2Station.create(
70
77
  ### Parameters
71
78
 
72
79
  * `name` (string): Required - AS2 Name
73
- * `domain` (string): Required - AS2 Domain
74
- * `uri` (string): Required - URL base for AS2 responses
75
80
  * `public_certificate` (string): Required -
76
81
  * `private_key` (string): Required -
77
82
 
@@ -82,8 +87,7 @@ Files::As2Station.create(
82
87
 
83
88
  ```
84
89
  Files::As2Station.update(id,
85
- name: "AS2 Station Name",
86
- domain: "domain.test"
90
+ name: "AS2 Station Name"
87
91
  )
88
92
  ```
89
93
 
@@ -91,8 +95,6 @@ Files::As2Station.update(id,
91
95
 
92
96
  * `id` (int64): Required - As2 Station ID.
93
97
  * `name` (string): AS2 Name
94
- * `domain` (string): AS2 Domain
95
- * `uri` (string): URL base for AS2 responses
96
98
  * `public_certificate` (string):
97
99
  * `private_key` (string):
98
100
 
@@ -118,8 +120,7 @@ Files::As2Station.delete(id)
118
120
  as2_station = Files::As2Station.list.first
119
121
 
120
122
  as2_station.update(
121
- name: "AS2 Station Name",
122
- domain: "domain.test"
123
+ name: "AS2 Station Name"
123
124
  )
124
125
  ```
125
126
 
@@ -127,8 +128,6 @@ as2_station.update(
127
128
 
128
129
  * `id` (int64): Required - As2 Station ID.
129
130
  * `name` (string): AS2 Name
130
- * `domain` (string): AS2 Domain
131
- * `uri` (string): URL base for AS2 responses
132
131
  * `public_certificate` (string):
133
132
  * `private_key` (string):
134
133
 
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`: Custom Form to use
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`: Preview watermark image applied to all bundle items.
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
@@ -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`: File 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
@@ -15,7 +15,7 @@
15
15
 
16
16
  * `id` (int64): File Comment ID
17
17
  * `body` (string): Comment body.
18
- * `reactions`: Reactions to this comment.
18
+ * `reactions` (FileCommentReaction): Reactions to this comment.
19
19
  * `path` (string): File path.
20
20
 
21
21
 
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`: File preview
52
+ * `preview` (Preview): File preview
53
53
 
54
54
 
55
55
  ---
@@ -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`: Associated 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`: Associated invoice line items
46
+ * `invoice_line_items` (InvoiceLineItem): Associated invoice line items
47
47
  * `method` (string): Line item payment method
48
- * `payment_line_items`: Associated 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`: 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
 
@@ -15,7 +15,7 @@
15
15
 
16
16
  * `id` (int64): Message Comment ID
17
17
  * `body` (string): Comment body.
18
- * `reactions`: Reactions to this comment.
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`: Associated invoice line items
46
+ * `invoice_line_items` (InvoiceLineItem): Associated invoice line items
47
47
  * `method` (string): Line item payment method
48
- * `payment_line_items`: Associated 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
@@ -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`: Preview watermark image applied to all bundle items.
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`: Branded icon 128x128
274
- * `icon16`: Branded icon 16x16
275
- * `icon32`: Branded icon 32x32
276
- * `icon48`: Branded icon 48x48
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`: Branded 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`: Current 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`: User of current session
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`: Additional data
28
- * `errors`: A list of api 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`: Logo
17
- * `thumbnail`: Logo 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`: Additional 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
@@ -54,6 +54,51 @@ module Files
54
54
  @attributes[:public_certificate_md5] = value
55
55
  end
56
56
 
57
+ # string - Subject of public certificate used for message security.
58
+ def public_certificate_subject
59
+ @attributes[:public_certificate_subject]
60
+ end
61
+
62
+ def public_certificate_subject=(value)
63
+ @attributes[:public_certificate_subject] = value
64
+ end
65
+
66
+ # string - Issuer of public certificate used for message security.
67
+ def public_certificate_issuer
68
+ @attributes[:public_certificate_issuer]
69
+ end
70
+
71
+ def public_certificate_issuer=(value)
72
+ @attributes[:public_certificate_issuer] = value
73
+ end
74
+
75
+ # string - Serial of public certificate used for message security.
76
+ def public_certificate_serial
77
+ @attributes[:public_certificate_serial]
78
+ end
79
+
80
+ def public_certificate_serial=(value)
81
+ @attributes[:public_certificate_serial] = value
82
+ end
83
+
84
+ # string - Not before value of public certificate used for message security.
85
+ def public_certificate_not_before
86
+ @attributes[:public_certificate_not_before]
87
+ end
88
+
89
+ def public_certificate_not_before=(value)
90
+ @attributes[:public_certificate_not_before] = value
91
+ end
92
+
93
+ # string - Not after value of public certificate used for message security.
94
+ def public_certificate_not_after
95
+ @attributes[:public_certificate_not_after]
96
+ end
97
+
98
+ def public_certificate_not_after=(value)
99
+ @attributes[:public_certificate_not_after] = value
100
+ end
101
+
57
102
  # string
58
103
  def public_certificate
59
104
  @attributes[:public_certificate]
@@ -45,15 +45,6 @@ module Files
45
45
  @attributes[:domain] = value
46
46
  end
47
47
 
48
- # string - Public certificate used for message security.
49
- def public_certificate
50
- @attributes[:public_certificate]
51
- end
52
-
53
- def public_certificate=(value)
54
- @attributes[:public_certificate] = value
55
- end
56
-
57
48
  # string - MD5 hash of public certificate used for message security.
58
49
  def public_certificate_md5
59
50
  @attributes[:public_certificate_md5]
@@ -72,6 +63,60 @@ module Files
72
63
  @attributes[:private_key_md5] = value
73
64
  end
74
65
 
66
+ # string - Subject of public certificate used for message security.
67
+ def public_certificate_subject
68
+ @attributes[:public_certificate_subject]
69
+ end
70
+
71
+ def public_certificate_subject=(value)
72
+ @attributes[:public_certificate_subject] = value
73
+ end
74
+
75
+ # string - Issuer of public certificate used for message security.
76
+ def public_certificate_issuer
77
+ @attributes[:public_certificate_issuer]
78
+ end
79
+
80
+ def public_certificate_issuer=(value)
81
+ @attributes[:public_certificate_issuer] = value
82
+ end
83
+
84
+ # string - Serial of public certificate used for message security.
85
+ def public_certificate_serial
86
+ @attributes[:public_certificate_serial]
87
+ end
88
+
89
+ def public_certificate_serial=(value)
90
+ @attributes[:public_certificate_serial] = value
91
+ end
92
+
93
+ # string - Not before value of public certificate used for message security.
94
+ def public_certificate_not_before
95
+ @attributes[:public_certificate_not_before]
96
+ end
97
+
98
+ def public_certificate_not_before=(value)
99
+ @attributes[:public_certificate_not_before] = value
100
+ end
101
+
102
+ # string - Not after value of public certificate used for message security.
103
+ def public_certificate_not_after
104
+ @attributes[:public_certificate_not_after]
105
+ end
106
+
107
+ def public_certificate_not_after=(value)
108
+ @attributes[:public_certificate_not_after] = value
109
+ end
110
+
111
+ # string
112
+ def public_certificate
113
+ @attributes[:public_certificate]
114
+ end
115
+
116
+ def public_certificate=(value)
117
+ @attributes[:public_certificate] = value
118
+ end
119
+
75
120
  # string
76
121
  def private_key
77
122
  @attributes[:private_key]
@@ -83,8 +128,6 @@ module Files
83
128
 
84
129
  # Parameters:
85
130
  # name - string - AS2 Name
86
- # domain - string - AS2 Domain
87
- # uri - string - URL base for AS2 responses
88
131
  # public_certificate - string
89
132
  # private_key - string
90
133
  def update(params = {})
@@ -93,8 +136,6 @@ module Files
93
136
  raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
94
137
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
95
138
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
96
- raise InvalidParameterError.new("Bad parameter: domain must be an String") if params.dig(:domain) and !params.dig(:domain).is_a?(String)
97
- raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
98
139
  raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
99
140
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
100
141
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
@@ -159,19 +200,13 @@ module Files
159
200
 
160
201
  # Parameters:
161
202
  # name (required) - string - AS2 Name
162
- # domain (required) - string - AS2 Domain
163
- # uri (required) - string - URL base for AS2 responses
164
203
  # public_certificate (required) - string
165
204
  # private_key (required) - string
166
205
  def self.create(params = {}, options = {})
167
206
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
168
- raise InvalidParameterError.new("Bad parameter: domain must be an String") if params.dig(:domain) and !params.dig(:domain).is_a?(String)
169
- raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
170
207
  raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
171
208
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
172
209
  raise MissingParameterError.new("Parameter missing: name") unless params.dig(:name)
173
- raise MissingParameterError.new("Parameter missing: domain") unless params.dig(:domain)
174
- raise MissingParameterError.new("Parameter missing: uri") unless params.dig(:uri)
175
210
  raise MissingParameterError.new("Parameter missing: public_certificate") unless params.dig(:public_certificate)
176
211
  raise MissingParameterError.new("Parameter missing: private_key") unless params.dig(:private_key)
177
212
 
@@ -181,8 +216,6 @@ module Files
181
216
 
182
217
  # Parameters:
183
218
  # name - string - AS2 Name
184
- # domain - string - AS2 Domain
185
- # uri - string - URL base for AS2 responses
186
219
  # public_certificate - string
187
220
  # private_key - string
188
221
  def self.update(id, params = {}, options = {})
@@ -190,8 +223,6 @@ module Files
190
223
  params[:id] = id
191
224
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
192
225
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
193
- raise InvalidParameterError.new("Bad parameter: domain must be an String") if params.dig(:domain) and !params.dig(:domain).is_a?(String)
194
- raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
195
226
  raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
196
227
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
197
228
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
@@ -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
@@ -9,6 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
+ # BundleRegistration
12
13
  def bundle_registration
13
14
  @attributes[:bundle_registration]
14
15
  end
@@ -727,7 +727,7 @@ module Files
727
727
  @attributes[:preview_id] = value
728
728
  end
729
729
 
730
- # File preview
730
+ # Preview - File preview
731
731
  def preview
732
732
  @attributes[:preview]
733
733
  end
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:body] = value
28
28
  end
29
29
 
30
- # Reactions to this comment.
30
+ # FileCommentReaction - Reactions to this comment.
31
31
  def reactions
32
32
  @attributes[:reactions]
33
33
  end
@@ -285,7 +285,7 @@ module Files
285
285
  @attributes[:preview_id] = value
286
286
  end
287
287
 
288
- # File preview
288
+ # Preview - File preview
289
289
  def preview
290
290
  @attributes[:preview]
291
291
  end
@@ -36,7 +36,7 @@ module Files
36
36
  @attributes[:form_layout] = value
37
37
  end
38
38
 
39
- # Associated form fields
39
+ # FormField - Associated form fields
40
40
  def form_fields
41
41
  @attributes[:form_fields]
42
42
  end
@@ -9,6 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
+ # InboxRegistration
12
13
  def inbox_registration
13
14
  @attributes[:inbox_registration]
14
15
  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
@@ -36,7 +36,7 @@ module Files
36
36
  @attributes[:body] = value
37
37
  end
38
38
 
39
- # Comments.
39
+ # MessageComment - Comments.
40
40
  def comments
41
41
  @attributes[:comments]
42
42
  end
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:body] = value
28
28
  end
29
29
 
30
- # Reactions to this comment.
30
+ # MessageCommentReaction - Reactions to this comment.
31
31
  def reactions
32
32
  @attributes[:reactions]
33
33
  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
@@ -36,7 +36,7 @@ module Files
36
36
  @attributes[:status] = value
37
37
  end
38
38
 
39
- # Additional data
39
+ # Auto - Additional data
40
40
  def data
41
41
  @attributes[:data]
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.244
4
+ version: 1.0.248
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-02-17 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable