files.com 1.1.167 → 1.1.169
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/as2_partner.md +22 -4
- data/docs/bundle_action.md +5 -8
- data/lib/files.com/models/as2_partner.rb +33 -4
- data/lib/files.com/models/bundle_action.rb +7 -6
- data/lib/files.com/version.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: 236d539fb289c841bdb8d7b5be8ba1f2fc131dd083191af9409c4feb0c1876e2
|
4
|
+
data.tar.gz: e0fa051fe2ac00015f90ee93383eb9feb5a07a3fecafcb8f21f6a1e7027fc19c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3277aaa1929bd664c3f1f6d562b6300680c31680607dafef8ad8413784a2c7dd29ad880b2aab76fac05434442d5d9f29e775d6e23dafb54a1c056f0ef7750549
|
7
|
+
data.tar.gz: fd9b408cf9615a011ed485e51e80449636e9b2540dbce2e9cbfba5ba64efba221ad915b37a96005cd2956b7f0261b1ba2db6958f9d9f978405ab7dcf86d30511
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.169
|
data/docs/as2_partner.md
CHANGED
@@ -10,6 +10,10 @@
|
|
10
10
|
"uri": "example",
|
11
11
|
"server_certificate": "require_match",
|
12
12
|
"http_auth_username": "username",
|
13
|
+
"additional_http_headers": {
|
14
|
+
"key": "example value"
|
15
|
+
},
|
16
|
+
"default_mime_type": "application/octet-stream",
|
13
17
|
"mdn_validation_level": "none",
|
14
18
|
"enable_dedicated_ips": true,
|
15
19
|
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
@@ -28,8 +32,10 @@
|
|
28
32
|
* `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
29
33
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
30
34
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
35
|
+
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
36
|
+
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
31
37
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
32
|
-
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
38
|
+
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
33
39
|
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
34
40
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
35
41
|
* `public_certificate_subject` (string): Subject of public certificate used for message security.
|
@@ -78,6 +84,8 @@ Files::As2Partner.create(
|
|
78
84
|
http_auth_username: "username",
|
79
85
|
mdn_validation_level: "none",
|
80
86
|
server_certificate: "require_match",
|
87
|
+
default_mime_type: "application/octet-stream",
|
88
|
+
additional_http_headers: {"key":"example value"},
|
81
89
|
as2_station_id: 1,
|
82
90
|
name: "AS2 Partner Name",
|
83
91
|
uri: "example",
|
@@ -87,11 +95,13 @@ Files::As2Partner.create(
|
|
87
95
|
|
88
96
|
### Parameters
|
89
97
|
|
90
|
-
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
98
|
+
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
91
99
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
92
100
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
93
101
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
94
102
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
103
|
+
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
104
|
+
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
95
105
|
* `as2_station_id` (int64): Required - ID of the AS2 Station associated with this partner.
|
96
106
|
* `name` (string): Required - The partner's formal AS2 name.
|
97
107
|
* `uri` (string): Required - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
@@ -108,6 +118,8 @@ Files::As2Partner.update(id,
|
|
108
118
|
http_auth_username: "username",
|
109
119
|
mdn_validation_level: "none",
|
110
120
|
server_certificate: "require_match",
|
121
|
+
default_mime_type: "application/octet-stream",
|
122
|
+
additional_http_headers: {"key":"example value"},
|
111
123
|
name: "AS2 Partner Name",
|
112
124
|
uri: "example"
|
113
125
|
)
|
@@ -116,11 +128,13 @@ Files::As2Partner.update(id,
|
|
116
128
|
### Parameters
|
117
129
|
|
118
130
|
* `id` (int64): Required - As2 Partner ID.
|
119
|
-
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
131
|
+
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
120
132
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
121
133
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
122
134
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
123
135
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
136
|
+
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
137
|
+
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
124
138
|
* `name` (string): The partner's formal AS2 name.
|
125
139
|
* `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
126
140
|
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
@@ -151,6 +165,8 @@ as2_partner.update(
|
|
151
165
|
http_auth_username: "username",
|
152
166
|
mdn_validation_level: "none",
|
153
167
|
server_certificate: "require_match",
|
168
|
+
default_mime_type: "application/octet-stream",
|
169
|
+
additional_http_headers: {"key":"example value"},
|
154
170
|
name: "AS2 Partner Name",
|
155
171
|
uri: "example"
|
156
172
|
)
|
@@ -159,11 +175,13 @@ as2_partner.update(
|
|
159
175
|
### Parameters
|
160
176
|
|
161
177
|
* `id` (int64): Required - As2 Partner ID.
|
162
|
-
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
178
|
+
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
163
179
|
* `http_auth_username` (string): Username to send to server for HTTP Authentication.
|
164
180
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
165
181
|
* `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
166
182
|
* `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
183
|
+
* `default_mime_type` (string): Default mime type of the file attached to the encrypted message
|
184
|
+
* `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
|
167
185
|
* `name` (string): The partner's formal AS2 name.
|
168
186
|
* `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
169
187
|
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
data/docs/bundle_action.md
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
"bundle_recipient_id": 1,
|
23
23
|
"created_at": "2000-01-01T01:00:00Z"
|
24
24
|
},
|
25
|
+
"created_at": "2000-01-01T01:00:00Z",
|
25
26
|
"when": "2000-01-01T01:00:00Z",
|
26
27
|
"destination": "/to_path",
|
27
28
|
"path": "",
|
@@ -31,6 +32,7 @@
|
|
31
32
|
|
32
33
|
* `action` (string): Type of action
|
33
34
|
* `bundle_registration` (BundleRegistration): Object that contains bundle registration information
|
35
|
+
* `created_at` (date-time): Action occurrence date/time
|
34
36
|
* `when` (date-time): Action occurrence date/time
|
35
37
|
* `destination` (string): The destination path for this bundle action, if applicable
|
36
38
|
* `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
@@ -42,21 +44,16 @@
|
|
42
44
|
## List Bundle Actions
|
43
45
|
|
44
46
|
```
|
45
|
-
Files::BundleAction.list
|
46
|
-
bundle_id: 1,
|
47
|
-
bundle_registration_id: 1
|
48
|
-
)
|
47
|
+
Files::BundleAction.list
|
49
48
|
```
|
50
49
|
|
51
50
|
### Parameters
|
52
51
|
|
53
52
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
54
53
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
55
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are
|
56
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
54
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
55
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ created_at, bundle_id ]`, `[ created_at, bundle_registration_id ]`, `[ bundle_id, bundle_registration_id ]` or `[ created_at, bundle_id, bundle_registration_id ]`.
|
57
56
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
58
57
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
59
58
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
60
59
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
61
|
-
* `bundle_id` (int64): Bundle ID
|
62
|
-
* `bundle_registration_id` (int64): BundleRegistration ID
|
@@ -63,6 +63,24 @@ module Files
|
|
63
63
|
@attributes[:http_auth_username] = value
|
64
64
|
end
|
65
65
|
|
66
|
+
# object - Additional HTTP Headers for outgoing message sent to this partner.
|
67
|
+
def additional_http_headers
|
68
|
+
@attributes[:additional_http_headers]
|
69
|
+
end
|
70
|
+
|
71
|
+
def additional_http_headers=(value)
|
72
|
+
@attributes[:additional_http_headers] = value
|
73
|
+
end
|
74
|
+
|
75
|
+
# string - Default mime type of the file attached to the encrypted message
|
76
|
+
def default_mime_type
|
77
|
+
@attributes[:default_mime_type]
|
78
|
+
end
|
79
|
+
|
80
|
+
def default_mime_type=(value)
|
81
|
+
@attributes[:default_mime_type] = value
|
82
|
+
end
|
83
|
+
|
66
84
|
# string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
67
85
|
def mdn_validation_level
|
68
86
|
@attributes[:mdn_validation_level]
|
@@ -72,7 +90,7 @@ module Files
|
|
72
90
|
@attributes[:mdn_validation_level] = value
|
73
91
|
end
|
74
92
|
|
75
|
-
# boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
93
|
+
# boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
76
94
|
def enable_dedicated_ips
|
77
95
|
@attributes[:enable_dedicated_ips]
|
78
96
|
end
|
@@ -163,11 +181,13 @@ module Files
|
|
163
181
|
end
|
164
182
|
|
165
183
|
# Parameters:
|
166
|
-
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
184
|
+
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
167
185
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
168
186
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
169
187
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
170
188
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
189
|
+
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
190
|
+
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
171
191
|
# name - string - The partner's formal AS2 name.
|
172
192
|
# uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
173
193
|
# public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
@@ -180,6 +200,7 @@ module Files
|
|
180
200
|
raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
|
181
201
|
raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
|
182
202
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
203
|
+
raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
|
183
204
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
184
205
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
185
206
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
@@ -247,11 +268,13 @@ module Files
|
|
247
268
|
end
|
248
269
|
|
249
270
|
# Parameters:
|
250
|
-
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
271
|
+
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
251
272
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
252
273
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
253
274
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
254
275
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
276
|
+
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
277
|
+
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
255
278
|
# as2_station_id (required) - int64 - ID of the AS2 Station associated with this partner.
|
256
279
|
# name (required) - string - The partner's formal AS2 name.
|
257
280
|
# uri (required) - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
@@ -261,6 +284,8 @@ module Files
|
|
261
284
|
raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
|
262
285
|
raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
|
263
286
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
287
|
+
raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
|
288
|
+
raise InvalidParameterError.new("Bad parameter: additional_http_headers must be an Hash") if params[:additional_http_headers] and !params[:additional_http_headers].is_a?(Hash)
|
264
289
|
raise InvalidParameterError.new("Bad parameter: as2_station_id must be an Integer") if params[:as2_station_id] and !params[:as2_station_id].is_a?(Integer)
|
265
290
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
266
291
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
@@ -275,11 +300,13 @@ module Files
|
|
275
300
|
end
|
276
301
|
|
277
302
|
# Parameters:
|
278
|
-
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2
|
303
|
+
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
279
304
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
280
305
|
# http_auth_password - string - Password to send to server for HTTP Authentication.
|
281
306
|
# mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
|
282
307
|
# server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
|
308
|
+
# default_mime_type - string - Default mime type of the file attached to the encrypted message
|
309
|
+
# additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
|
283
310
|
# name - string - The partner's formal AS2 name.
|
284
311
|
# uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
|
285
312
|
# public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
@@ -291,6 +318,8 @@ module Files
|
|
291
318
|
raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
|
292
319
|
raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
|
293
320
|
raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
|
321
|
+
raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
|
322
|
+
raise InvalidParameterError.new("Bad parameter: additional_http_headers must be an Hash") if params[:additional_http_headers] and !params[:additional_http_headers].is_a?(Hash)
|
294
323
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
295
324
|
raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
|
296
325
|
raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
|
@@ -19,6 +19,11 @@ module Files
|
|
19
19
|
@attributes[:bundle_registration]
|
20
20
|
end
|
21
21
|
|
22
|
+
# date-time - Action occurrence date/time
|
23
|
+
def created_at
|
24
|
+
@attributes[:created_at]
|
25
|
+
end
|
26
|
+
|
22
27
|
# date-time - Action occurrence date/time
|
23
28
|
def when
|
24
29
|
@attributes[:when]
|
@@ -42,14 +47,12 @@ module Files
|
|
42
47
|
# Parameters:
|
43
48
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
44
49
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
45
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are
|
46
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
50
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
51
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ created_at, bundle_id ]`, `[ created_at, bundle_registration_id ]`, `[ bundle_id, bundle_registration_id ]` or `[ created_at, bundle_id, bundle_registration_id ]`.
|
47
52
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
48
53
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
49
54
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
50
55
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
51
|
-
# bundle_id - int64 - Bundle ID
|
52
|
-
# bundle_registration_id - int64 - BundleRegistration ID
|
53
56
|
def self.list(params = {}, options = {})
|
54
57
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
55
58
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
@@ -59,8 +62,6 @@ module Files
|
|
59
62
|
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
60
63
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
61
64
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
62
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
63
|
-
raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
|
64
65
|
|
65
66
|
List.new(BundleAction, params) do
|
66
67
|
Api.send_request("/bundle_actions", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.169
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|