files.com 1.0.246 → 1.0.249
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/as2_partner.md +22 -4
- data/docs/as2_station.md +14 -15
- 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/site.md +8 -8
- 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/as2_partner.rb +60 -0
- data/lib/files.com/models/as2_station.rb +54 -23
- 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/site.rb +8 -8
- 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: '0851671ef4ff6c87f2dfe857e87a77c508eff287566a24cb2a43865178dcb1cb'
|
|
4
|
+
data.tar.gz: f2442654b978fcb8c567ae7949e01fc94bdb7e8eec681b628b6b8403378bb0cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e52c0074218ec02627d1f2056e680ca249ca424eed0a334fae4aba2f577e86d46953a3fc9ffcdf83f4d9d2dd354fe70d46d17a5031ce1e5fdef5e08f5557511f
|
|
7
|
+
data.tar.gz: c3ca7c0f96778ce6900d636419f9be520aaba5665351457501c0344ed4400870e752250cc1e26641c39f69dd12a900404e9566f431994438e61aa36998130a0d
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.249
|
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/as2_partner.md
CHANGED
|
@@ -8,7 +8,13 @@
|
|
|
8
8
|
"as2_station_id": 1,
|
|
9
9
|
"name": "AS2 Partner Name",
|
|
10
10
|
"uri": "",
|
|
11
|
-
"
|
|
11
|
+
"server_certificate": "require_match",
|
|
12
|
+
"public_certificate_md5": "",
|
|
13
|
+
"public_certificate_subject": "",
|
|
14
|
+
"public_certificate_issuer": "",
|
|
15
|
+
"public_certificate_serial": "",
|
|
16
|
+
"public_certificate_not_before": "",
|
|
17
|
+
"public_certificate_not_after": ""
|
|
12
18
|
}
|
|
13
19
|
```
|
|
14
20
|
|
|
@@ -16,7 +22,13 @@
|
|
|
16
22
|
* `as2_station_id` (int64): Id of the AS2 Station associated with this partner.
|
|
17
23
|
* `name` (string): The partner's formal AS2 name.
|
|
18
24
|
* `uri` (string): Public URI for sending AS2 message to.
|
|
25
|
+
* `server_certificate` (string): Remote server certificate security setting
|
|
19
26
|
* `public_certificate_md5` (string): MD5 hash of public certificate 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.
|
|
20
32
|
* `public_certificate` (string):
|
|
21
33
|
|
|
22
34
|
|
|
@@ -58,7 +70,8 @@ Files::As2Partner.create(
|
|
|
58
70
|
name: "name",
|
|
59
71
|
uri: "uri",
|
|
60
72
|
public_certificate: "public_certificate",
|
|
61
|
-
as2_station_id: 1
|
|
73
|
+
as2_station_id: 1,
|
|
74
|
+
server_certificate: "require_match"
|
|
62
75
|
)
|
|
63
76
|
```
|
|
64
77
|
|
|
@@ -68,6 +81,7 @@ Files::As2Partner.create(
|
|
|
68
81
|
* `uri` (string): Required - URL base for AS2 responses
|
|
69
82
|
* `public_certificate` (string): Required -
|
|
70
83
|
* `as2_station_id` (int64): Required - Id of As2Station for this partner
|
|
84
|
+
* `server_certificate` (string): Remote server certificate security setting
|
|
71
85
|
|
|
72
86
|
|
|
73
87
|
---
|
|
@@ -76,7 +90,8 @@ Files::As2Partner.create(
|
|
|
76
90
|
|
|
77
91
|
```
|
|
78
92
|
Files::As2Partner.update(id,
|
|
79
|
-
name: "AS2 Partner Name"
|
|
93
|
+
name: "AS2 Partner Name",
|
|
94
|
+
server_certificate: "require_match"
|
|
80
95
|
)
|
|
81
96
|
```
|
|
82
97
|
|
|
@@ -85,6 +100,7 @@ Files::As2Partner.update(id,
|
|
|
85
100
|
* `id` (int64): Required - As2 Partner ID.
|
|
86
101
|
* `name` (string): AS2 Name
|
|
87
102
|
* `uri` (string): URL base for AS2 responses
|
|
103
|
+
* `server_certificate` (string): Remote server certificate security setting
|
|
88
104
|
* `public_certificate` (string):
|
|
89
105
|
|
|
90
106
|
|
|
@@ -109,7 +125,8 @@ Files::As2Partner.delete(id)
|
|
|
109
125
|
as2_partner = Files::As2Partner.list.first
|
|
110
126
|
|
|
111
127
|
as2_partner.update(
|
|
112
|
-
name: "AS2 Partner Name"
|
|
128
|
+
name: "AS2 Partner Name",
|
|
129
|
+
server_certificate: "require_match"
|
|
113
130
|
)
|
|
114
131
|
```
|
|
115
132
|
|
|
@@ -118,6 +135,7 @@ as2_partner.update(
|
|
|
118
135
|
* `id` (int64): Required - As2 Partner ID.
|
|
119
136
|
* `name` (string): AS2 Name
|
|
120
137
|
* `uri` (string): URL base for AS2 responses
|
|
138
|
+
* `server_certificate` (string): Remote server certificate security setting
|
|
121
139
|
* `public_certificate` (string):
|
|
122
140
|
|
|
123
141
|
|
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
|
|
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/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/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
|
|
@@ -45,6 +45,15 @@ module Files
|
|
|
45
45
|
@attributes[:uri] = value
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# string - Remote server certificate security setting
|
|
49
|
+
def server_certificate
|
|
50
|
+
@attributes[:server_certificate]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def server_certificate=(value)
|
|
54
|
+
@attributes[:server_certificate] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
48
57
|
# string - MD5 hash of public certificate used for message security.
|
|
49
58
|
def public_certificate_md5
|
|
50
59
|
@attributes[:public_certificate_md5]
|
|
@@ -54,6 +63,51 @@ module Files
|
|
|
54
63
|
@attributes[:public_certificate_md5] = value
|
|
55
64
|
end
|
|
56
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
|
+
|
|
57
111
|
# string
|
|
58
112
|
def public_certificate
|
|
59
113
|
@attributes[:public_certificate]
|
|
@@ -66,6 +120,7 @@ module Files
|
|
|
66
120
|
# Parameters:
|
|
67
121
|
# name - string - AS2 Name
|
|
68
122
|
# uri - string - URL base for AS2 responses
|
|
123
|
+
# server_certificate - string - Remote server certificate security setting
|
|
69
124
|
# public_certificate - string
|
|
70
125
|
def update(params = {})
|
|
71
126
|
params ||= {}
|
|
@@ -74,6 +129,7 @@ module Files
|
|
|
74
129
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
|
|
75
130
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
|
76
131
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
|
|
132
|
+
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params.dig(:server_certificate) and !params.dig(:server_certificate).is_a?(String)
|
|
77
133
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
|
|
78
134
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
79
135
|
|
|
@@ -140,11 +196,13 @@ module Files
|
|
|
140
196
|
# uri (required) - string - URL base for AS2 responses
|
|
141
197
|
# public_certificate (required) - string
|
|
142
198
|
# as2_station_id (required) - int64 - Id of As2Station for this partner
|
|
199
|
+
# server_certificate - string - Remote server certificate security setting
|
|
143
200
|
def self.create(params = {}, options = {})
|
|
144
201
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
|
145
202
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
|
|
146
203
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
|
|
147
204
|
raise InvalidParameterError.new("Bad parameter: as2_station_id must be an Integer") if params.dig(:as2_station_id) and !params.dig(:as2_station_id).is_a?(Integer)
|
|
205
|
+
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params.dig(:server_certificate) and !params.dig(:server_certificate).is_a?(String)
|
|
148
206
|
raise MissingParameterError.new("Parameter missing: name") unless params.dig(:name)
|
|
149
207
|
raise MissingParameterError.new("Parameter missing: uri") unless params.dig(:uri)
|
|
150
208
|
raise MissingParameterError.new("Parameter missing: public_certificate") unless params.dig(:public_certificate)
|
|
@@ -157,6 +215,7 @@ module Files
|
|
|
157
215
|
# Parameters:
|
|
158
216
|
# name - string - AS2 Name
|
|
159
217
|
# uri - string - URL base for AS2 responses
|
|
218
|
+
# server_certificate - string - Remote server certificate security setting
|
|
160
219
|
# public_certificate - string
|
|
161
220
|
def self.update(id, params = {}, options = {})
|
|
162
221
|
params ||= {}
|
|
@@ -164,6 +223,7 @@ module Files
|
|
|
164
223
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params.dig(:id) and !params.dig(:id).is_a?(Integer)
|
|
165
224
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
|
166
225
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params.dig(:uri) and !params.dig(:uri).is_a?(String)
|
|
226
|
+
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params.dig(:server_certificate) and !params.dig(:server_certificate).is_a?(String)
|
|
167
227
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params.dig(:public_certificate) and !params.dig(:public_certificate).is_a?(String)
|
|
168
228
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
|
169
229
|
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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.249
|
|
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-03-
|
|
11
|
+
date: 2022-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|