files.com 1.0.250 → 1.0.252
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +1 -1
- package/docs/models/ApiKey.md +2 -2
- package/docs/models/App.md +2 -2
- package/docs/models/As2IncomingMessage.md +2 -2
- package/docs/models/As2OutgoingMessage.md +2 -2
- package/docs/models/As2Partner.md +1 -1
- package/docs/models/As2Station.md +1 -1
- package/docs/models/Automation.md +2 -2
- package/docs/models/AutomationRun.md +2 -2
- package/docs/models/BandwidthSnapshot.md +2 -2
- package/docs/models/Behavior.md +4 -4
- package/docs/models/Bundle.md +2 -2
- package/docs/models/BundleDownload.md +2 -2
- package/docs/models/BundleNotification.md +1 -1
- package/docs/models/BundleRecipient.md +2 -2
- package/docs/models/BundleRegistration.md +1 -1
- package/docs/models/Clickwrap.md +1 -1
- package/docs/models/DnsRecord.md +1 -1
- package/docs/models/ExternalEvent.md +2 -2
- package/docs/models/FileComment.md +1 -1
- package/docs/models/FormFieldSet.md +1 -1
- package/docs/models/Group.md +2 -2
- package/docs/models/GroupUser.md +1 -1
- package/docs/models/History.md +10 -10
- package/docs/models/HistoryExportResult.md +1 -1
- package/docs/models/InboxRecipient.md +2 -2
- package/docs/models/InboxRegistration.md +1 -1
- package/docs/models/InboxUpload.md +2 -2
- package/docs/models/Invoice.md +1 -1
- package/docs/models/IpAddress.md +3 -3
- package/docs/models/Lock.md +1 -1
- package/docs/models/Message.md +1 -1
- package/docs/models/MessageComment.md +1 -1
- package/docs/models/MessageCommentReaction.md +1 -1
- package/docs/models/MessageReaction.md +1 -1
- package/docs/models/Notification.md +2 -2
- package/docs/models/Payment.md +1 -1
- package/docs/models/Permission.md +2 -2
- package/docs/models/Priority.md +1 -1
- package/docs/models/Project.md +1 -1
- package/docs/models/PublicKey.md +1 -1
- package/docs/models/RemoteBandwidthSnapshot.md +2 -2
- package/docs/models/RemoteServer.md +1 -1
- package/docs/models/Request.md +4 -4
- package/docs/models/SettingsChange.md +2 -2
- package/docs/models/SftpHostKey.md +1 -1
- package/docs/models/SsoStrategy.md +1 -1
- package/docs/models/UsageDailySnapshot.md +2 -2
- package/docs/models/UsageSnapshot.md +1 -1
- package/docs/models/User.md +2 -2
- package/docs/models/UserCipherUse.md +1 -1
- package/docs/models/UserRequest.md +1 -1
- package/lib/models/ActionNotificationExportResult.js +1 -1
- package/lib/models/ApiKey.js +2 -2
- package/lib/models/App.js +2 -2
- package/lib/models/As2IncomingMessage.js +2 -2
- package/lib/models/As2OutgoingMessage.js +2 -2
- package/lib/models/As2Partner.js +1 -1
- package/lib/models/As2Station.js +1 -1
- package/lib/models/Automation.js +2 -2
- package/lib/models/AutomationRun.js +2 -2
- package/lib/models/BandwidthSnapshot.js +2 -2
- package/lib/models/Behavior.js +4 -4
- package/lib/models/Bundle.js +2 -2
- package/lib/models/BundleDownload.js +2 -2
- package/lib/models/BundleNotification.js +1 -1
- package/lib/models/BundleRecipient.js +2 -2
- package/lib/models/BundleRegistration.js +1 -1
- package/lib/models/Clickwrap.js +1 -1
- package/lib/models/DnsRecord.js +1 -1
- package/lib/models/ExternalEvent.js +2 -2
- package/lib/models/File.js +17 -14
- package/lib/models/FileComment.js +1 -1
- package/lib/models/FormFieldSet.js +1 -1
- package/lib/models/Group.js +2 -2
- package/lib/models/GroupUser.js +1 -1
- package/lib/models/History.js +10 -10
- package/lib/models/HistoryExportResult.js +1 -1
- package/lib/models/InboxRecipient.js +2 -2
- package/lib/models/InboxRegistration.js +1 -1
- package/lib/models/InboxUpload.js +2 -2
- package/lib/models/Invoice.js +1 -1
- package/lib/models/IpAddress.js +3 -3
- package/lib/models/Lock.js +1 -1
- package/lib/models/Message.js +1 -1
- package/lib/models/MessageComment.js +1 -1
- package/lib/models/MessageCommentReaction.js +1 -1
- package/lib/models/MessageReaction.js +1 -1
- package/lib/models/Notification.js +2 -2
- package/lib/models/Payment.js +1 -1
- package/lib/models/Permission.js +2 -2
- package/lib/models/Priority.js +1 -1
- package/lib/models/Project.js +1 -1
- package/lib/models/PublicKey.js +1 -1
- package/lib/models/RemoteBandwidthSnapshot.js +2 -2
- package/lib/models/RemoteServer.js +1 -1
- package/lib/models/Request.js +4 -4
- package/lib/models/SettingsChange.js +2 -2
- package/lib/models/SftpHostKey.js +1 -1
- package/lib/models/SsoStrategy.js +1 -1
- package/lib/models/UsageDailySnapshot.js +2 -2
- package/lib/models/UsageSnapshot.js +1 -1
- package/lib/models/User.js +2 -2
- package/lib/models/UserCipherUse.js +1 -1
- package/lib/models/UserRequest.js +1 -1
- package/package.json +1 -1
- package/src/models/ActionNotificationExportResult.js +1 -1
- package/src/models/ApiKey.js +2 -2
- package/src/models/App.js +2 -2
- package/src/models/As2IncomingMessage.js +2 -2
- package/src/models/As2OutgoingMessage.js +2 -2
- package/src/models/As2Partner.js +1 -1
- package/src/models/As2Station.js +1 -1
- package/src/models/Automation.js +2 -2
- package/src/models/AutomationRun.js +2 -2
- package/src/models/BandwidthSnapshot.js +2 -2
- package/src/models/Behavior.js +4 -4
- package/src/models/Bundle.js +2 -2
- package/src/models/BundleDownload.js +2 -2
- package/src/models/BundleNotification.js +1 -1
- package/src/models/BundleRecipient.js +2 -2
- package/src/models/BundleRegistration.js +1 -1
- package/src/models/Clickwrap.js +1 -1
- package/src/models/DnsRecord.js +1 -1
- package/src/models/ExternalEvent.js +2 -2
- package/src/models/File.js +5 -2
- package/src/models/FileComment.js +1 -1
- package/src/models/FormFieldSet.js +1 -1
- package/src/models/Group.js +2 -2
- package/src/models/GroupUser.js +1 -1
- package/src/models/History.js +10 -10
- package/src/models/HistoryExportResult.js +1 -1
- package/src/models/InboxRecipient.js +2 -2
- package/src/models/InboxRegistration.js +1 -1
- package/src/models/InboxUpload.js +2 -2
- package/src/models/Invoice.js +1 -1
- package/src/models/IpAddress.js +3 -3
- package/src/models/Lock.js +1 -1
- package/src/models/Message.js +1 -1
- package/src/models/MessageComment.js +1 -1
- package/src/models/MessageCommentReaction.js +1 -1
- package/src/models/MessageReaction.js +1 -1
- package/src/models/Notification.js +2 -2
- package/src/models/Payment.js +1 -1
- package/src/models/Permission.js +2 -2
- package/src/models/Priority.js +1 -1
- package/src/models/Project.js +1 -1
- package/src/models/PublicKey.js +1 -1
- package/src/models/RemoteBandwidthSnapshot.js +2 -2
- package/src/models/RemoteServer.js +1 -1
- package/src/models/Request.js +4 -4
- package/src/models/SettingsChange.js +2 -2
- package/src/models/SftpHostKey.js +1 -1
- package/src/models/SsoStrategy.js +1 -1
- package/src/models/UsageDailySnapshot.js +2 -2
- package/src/models/UsageSnapshot.js +1 -1
- package/src/models/User.js +2 -2
- package/src/models/UserCipherUse.js +1 -1
- package/src/models/UserRequest.js +1 -1
package/docs/models/Payment.md
CHANGED
@@ -53,7 +53,7 @@ await Payment.list({
|
|
53
53
|
|
54
54
|
### Parameters
|
55
55
|
|
56
|
-
* `cursor` (string): Used for pagination.
|
56
|
+
* `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.
|
57
57
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
58
58
|
|
59
59
|
---
|
@@ -41,9 +41,9 @@ await Permission.list({
|
|
41
41
|
|
42
42
|
### Parameters
|
43
43
|
|
44
|
-
* `cursor` (string): Used for pagination.
|
44
|
+
* `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.
|
45
45
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
46
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
46
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[group_id]=desc`). Valid fields are `group_id`, `path`, `user_id` or `permission`.
|
47
47
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
48
48
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
49
49
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
|
package/docs/models/Priority.md
CHANGED
@@ -25,6 +25,6 @@ await Priority.list(path, {
|
|
25
25
|
|
26
26
|
### Parameters
|
27
27
|
|
28
|
-
* `cursor` (string): Used for pagination.
|
28
|
+
* `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.
|
29
29
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
30
|
* `path` (string): Required - The path to query for priorities
|
package/docs/models/Project.md
CHANGED
@@ -25,7 +25,7 @@ await Project.list({
|
|
25
25
|
|
26
26
|
### Parameters
|
27
27
|
|
28
|
-
* `cursor` (string): Used for pagination.
|
28
|
+
* `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.
|
29
29
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
30
|
|
31
31
|
---
|
package/docs/models/PublicKey.md
CHANGED
@@ -33,7 +33,7 @@ await PublicKey.list({
|
|
33
33
|
### Parameters
|
34
34
|
|
35
35
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
36
|
-
* `cursor` (string): Used for pagination.
|
36
|
+
* `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.
|
37
37
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
38
38
|
|
39
39
|
---
|
@@ -31,9 +31,9 @@ await RemoteBandwidthSnapshot.list({
|
|
31
31
|
|
32
32
|
### Parameters
|
33
33
|
|
34
|
-
* `cursor` (string): Used for pagination.
|
34
|
+
* `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.
|
35
35
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
36
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
36
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
|
37
37
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
38
38
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
39
39
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
@@ -132,7 +132,7 @@ await RemoteServer.list({
|
|
132
132
|
|
133
133
|
### Parameters
|
134
134
|
|
135
|
-
* `cursor` (string): Used for pagination.
|
135
|
+
* `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.
|
136
136
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
137
137
|
|
138
138
|
---
|
package/docs/models/Request.md
CHANGED
@@ -37,9 +37,9 @@ await Request.list({
|
|
37
37
|
|
38
38
|
### Parameters
|
39
39
|
|
40
|
-
* `cursor` (string): Used for pagination.
|
40
|
+
* `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.
|
41
41
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
42
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
43
43
|
* `mine` (boolean): Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
44
44
|
* `path` (string): Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
45
45
|
|
@@ -57,9 +57,9 @@ await Request.getFolder(path, {
|
|
57
57
|
|
58
58
|
### Parameters
|
59
59
|
|
60
|
-
* `cursor` (string): Used for pagination.
|
60
|
+
* `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.
|
61
61
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
62
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
62
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
63
63
|
* `mine` (boolean): Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
64
64
|
* `path` (string): Required - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
65
65
|
|
@@ -33,9 +33,9 @@ await SettingsChange.list({
|
|
33
33
|
|
34
34
|
### Parameters
|
35
35
|
|
36
|
-
* `cursor` (string): Used for pagination.
|
36
|
+
* `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.
|
37
37
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
38
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
38
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[api_key_id]=desc`). Valid fields are `api_key_id`, `created_at` or `user_id`.
|
39
39
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
40
40
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `api_key_id` and `user_id`.
|
41
41
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
@@ -30,7 +30,7 @@ await SftpHostKey.list({
|
|
30
30
|
|
31
31
|
### Parameters
|
32
32
|
|
33
|
-
* `cursor` (string): Used for pagination.
|
33
|
+
* `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.
|
34
34
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
|
36
36
|
---
|
@@ -107,7 +107,7 @@ await SsoStrategy.list({
|
|
107
107
|
|
108
108
|
### Parameters
|
109
109
|
|
110
|
-
* `cursor` (string): Used for pagination.
|
110
|
+
* `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.
|
111
111
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
112
112
|
|
113
113
|
---
|
@@ -45,9 +45,9 @@ await UsageDailySnapshot.list({
|
|
45
45
|
|
46
46
|
### Parameters
|
47
47
|
|
48
|
-
* `cursor` (string): Used for pagination.
|
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.
|
49
49
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
50
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
50
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[date]=desc`). Valid fields are `date` and `usage_snapshot_id`.
|
51
51
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
52
52
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
53
53
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
@@ -53,5 +53,5 @@ await UsageSnapshot.list({
|
|
53
53
|
|
54
54
|
### Parameters
|
55
55
|
|
56
|
-
* `cursor` (string): Used for pagination.
|
56
|
+
* `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.
|
57
57
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
package/docs/models/User.md
CHANGED
@@ -151,9 +151,9 @@ await User.list({
|
|
151
151
|
|
152
152
|
### Parameters
|
153
153
|
|
154
|
-
* `cursor` (string): Used for pagination.
|
154
|
+
* `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.
|
155
155
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
156
|
-
* `sort_by` (object): If set, sort records by the specified field in either
|
156
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `active`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
|
157
157
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
158
158
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
159
159
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
|
@@ -35,5 +35,5 @@ await UserCipherUse.list({
|
|
35
35
|
### Parameters
|
36
36
|
|
37
37
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
38
|
-
* `cursor` (string): Used for pagination.
|
38
|
+
* `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.
|
39
39
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
@@ -29,7 +29,7 @@ await UserRequest.list({
|
|
29
29
|
|
30
30
|
### Parameters
|
31
31
|
|
32
|
-
* `cursor` (string): Used for pagination.
|
32
|
+
* `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.
|
33
33
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
34
34
|
|
35
35
|
---
|
@@ -86,7 +86,7 @@ var ActionNotificationExportResult = /*#__PURE__*/(0, _createClass2.default)(fun
|
|
86
86
|
});
|
87
87
|
// Parameters:
|
88
88
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
89
|
-
// cursor - string - Used for pagination.
|
89
|
+
// 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.
|
90
90
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
91
91
|
// action_notification_export_id (required) - int64 - ID of the associated action notification export.
|
92
92
|
(0, _defineProperty2.default)(ActionNotificationExportResult, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
package/lib/models/ApiKey.js
CHANGED
@@ -280,9 +280,9 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
280
280
|
});
|
281
281
|
// Parameters:
|
282
282
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
283
|
-
// cursor - string - Used for pagination.
|
283
|
+
// 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.
|
284
284
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
285
|
-
// sort_by - object - If set, sort records by the specified field in either
|
285
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[expires_at]=desc`). Valid fields are `expires_at`.
|
286
286
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
|
287
287
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
|
288
288
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `expires_at`.
|
package/lib/models/App.js
CHANGED
@@ -109,9 +109,9 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
|
|
109
109
|
this.options = _objectSpread({}, options);
|
110
110
|
});
|
111
111
|
// Parameters:
|
112
|
-
// cursor - string - Used for pagination.
|
112
|
+
// 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.
|
113
113
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
114
|
-
// sort_by - object - If set, sort records by the specified field in either
|
114
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[name]=desc`). Valid fields are `name` and `app_type`.
|
115
115
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
116
116
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
117
117
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
@@ -185,9 +185,9 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
|
|
185
185
|
this.options = _objectSpread({}, options);
|
186
186
|
});
|
187
187
|
// Parameters:
|
188
|
-
// cursor - string - Used for pagination.
|
188
|
+
// 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.
|
189
189
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
190
|
-
// sort_by - object - If set, sort records by the specified field in either
|
190
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `as2_partner_id`.
|
191
191
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
192
192
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
193
193
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
@@ -169,9 +169,9 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
|
|
169
169
|
this.options = _objectSpread({}, options);
|
170
170
|
});
|
171
171
|
// Parameters:
|
172
|
-
// cursor - string - Used for pagination.
|
172
|
+
// 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.
|
173
173
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
174
|
-
// sort_by - object - If set, sort records by the specified field in either
|
174
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `as2_partner_id`.
|
175
175
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
176
176
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
177
177
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
package/lib/models/As2Partner.js
CHANGED
@@ -282,7 +282,7 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
|
|
282
282
|
this.options = _objectSpread({}, options);
|
283
283
|
});
|
284
284
|
// Parameters:
|
285
|
-
// cursor - string - Used for pagination.
|
285
|
+
// 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.
|
286
286
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
287
287
|
(0, _defineProperty2.default)(As2Partner, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
288
288
|
var _response$data;
|
package/lib/models/As2Station.js
CHANGED
@@ -303,7 +303,7 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
|
|
303
303
|
this.options = _objectSpread({}, options);
|
304
304
|
});
|
305
305
|
// Parameters:
|
306
|
-
// cursor - string - Used for pagination.
|
306
|
+
// 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.
|
307
307
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
308
308
|
(0, _defineProperty2.default)(As2Station, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
309
309
|
var _response$data;
|
package/lib/models/Automation.js
CHANGED
@@ -418,9 +418,9 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
418
418
|
this.options = _objectSpread({}, options);
|
419
419
|
});
|
420
420
|
// Parameters:
|
421
|
-
// cursor - string - Used for pagination.
|
421
|
+
// 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.
|
422
422
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
423
|
-
// sort_by - object - If set, sort records by the specified field in either
|
423
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation]=desc`). Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
|
424
424
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
425
425
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
426
426
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
@@ -70,9 +70,9 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
|
|
70
70
|
});
|
71
71
|
// Parameters:
|
72
72
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
73
|
-
// cursor - string - Used for pagination.
|
73
|
+
// 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.
|
74
74
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
75
|
-
// sort_by - object - If set, sort records by the specified field in either
|
75
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
|
76
76
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
|
77
77
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `status`.
|
78
78
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `status`.
|
@@ -81,9 +81,9 @@ var BandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function Bandwid
|
|
81
81
|
this.options = _objectSpread({}, options);
|
82
82
|
});
|
83
83
|
// Parameters:
|
84
|
-
// cursor - string - Used for pagination.
|
84
|
+
// 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.
|
85
85
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
86
|
-
// sort_by - object - If set, sort records by the specified field in either
|
86
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
|
87
87
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
88
88
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
89
89
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
package/lib/models/Behavior.js
CHANGED
@@ -263,9 +263,9 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
263
263
|
this.options = _objectSpread({}, options);
|
264
264
|
});
|
265
265
|
// Parameters:
|
266
|
-
// cursor - string - Used for pagination.
|
266
|
+
// 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.
|
267
267
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
268
|
-
// sort_by - object - If set, sort records by the specified field in either
|
268
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
269
269
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
270
270
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
|
271
271
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
|
@@ -373,9 +373,9 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
373
373
|
return Behavior.find(id, params, options);
|
374
374
|
});
|
375
375
|
// Parameters:
|
376
|
-
// cursor - string - Used for pagination.
|
376
|
+
// 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.
|
377
377
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
378
|
-
// sort_by - object - If set, sort records by the specified field in either
|
378
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
379
379
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
380
380
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
|
381
381
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
|
package/lib/models/Bundle.js
CHANGED
@@ -562,9 +562,9 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
562
562
|
});
|
563
563
|
// Parameters:
|
564
564
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
565
|
-
// cursor - string - Used for pagination.
|
565
|
+
// 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.
|
566
566
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
567
|
-
// sort_by - object - If set, sort records by the specified field in either
|
567
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `code`.
|
568
568
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
569
569
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
570
570
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
@@ -61,9 +61,9 @@ var BundleDownload = /*#__PURE__*/(0, _createClass2.default)(function BundleDown
|
|
61
61
|
this.options = _objectSpread({}, options);
|
62
62
|
});
|
63
63
|
// Parameters:
|
64
|
-
// cursor - string - Used for pagination.
|
64
|
+
// 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.
|
65
65
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
|
-
// sort_by - object - If set, sort records by the specified field in either
|
66
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at`.
|
67
67
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
68
68
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
69
69
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
@@ -201,7 +201,7 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
201
201
|
});
|
202
202
|
// Parameters:
|
203
203
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
204
|
-
// cursor - string - Used for pagination.
|
204
|
+
// 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.
|
205
205
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
206
206
|
// bundle_id - int64 - Bundle ID to notify on
|
207
207
|
(0, _defineProperty2.default)(BundleNotification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
@@ -111,9 +111,9 @@ var BundleRecipient = /*#__PURE__*/(0, _createClass2.default)(function BundleRec
|
|
111
111
|
});
|
112
112
|
// Parameters:
|
113
113
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
114
|
-
// cursor - string - Used for pagination.
|
114
|
+
// 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.
|
115
115
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
116
|
-
// sort_by - object - If set, sort records by the specified field in either
|
116
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
|
117
117
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
118
118
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
|
119
119
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
|
@@ -98,7 +98,7 @@ var BundleRegistration = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
98
98
|
});
|
99
99
|
// Parameters:
|
100
100
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
101
|
-
// cursor - string - Used for pagination.
|
101
|
+
// 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.
|
102
102
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
103
103
|
// bundle_id - int64 - ID of the associated Bundle
|
104
104
|
(0, _defineProperty2.default)(BundleRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
package/lib/models/Clickwrap.js
CHANGED
@@ -240,7 +240,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
240
240
|
this.options = _objectSpread({}, options);
|
241
241
|
});
|
242
242
|
// Parameters:
|
243
|
-
// cursor - string - Used for pagination.
|
243
|
+
// 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.
|
244
244
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
245
245
|
(0, _defineProperty2.default)(Clickwrap, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
246
246
|
var _response$data;
|
package/lib/models/DnsRecord.js
CHANGED
@@ -61,7 +61,7 @@ var DnsRecord = /*#__PURE__*/(0, _createClass2.default)(function DnsRecord() {
|
|
61
61
|
this.options = _objectSpread({}, options);
|
62
62
|
});
|
63
63
|
// Parameters:
|
64
|
-
// cursor - string - Used for pagination.
|
64
|
+
// 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.
|
65
65
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
(0, _defineProperty2.default)(DnsRecord, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
67
67
|
var _response$data;
|
@@ -128,9 +128,9 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
|
|
128
128
|
this.options = _objectSpread({}, options);
|
129
129
|
});
|
130
130
|
// Parameters:
|
131
|
-
// cursor - string - Used for pagination.
|
131
|
+
// 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.
|
132
132
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
133
|
-
// sort_by - object - If set, sort records by the specified field in either
|
133
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[remote_server_type]=desc`). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
|
134
134
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
|
135
135
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
|
136
136
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
|
package/lib/models/File.js
CHANGED
@@ -907,7 +907,7 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
907
907
|
});
|
908
908
|
readableStream.on('data', /*#__PURE__*/function () {
|
909
909
|
var _ref17 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(chunk) {
|
910
|
-
var nextLength, excessLength, chunkBuffer, lastChunkForPart, firstChunkForNextPart, buffer, nextFileUploadPart;
|
910
|
+
var nextLength, excessLength, chunkBuffer, tailLength, lastChunkForPart, firstChunkForNextPart, buffer, nextFileUploadPart;
|
911
911
|
return _regenerator.default.wrap(function _callee14$(_context14) {
|
912
912
|
while (1) switch (_context14.prev = _context14.next) {
|
913
913
|
case 0:
|
@@ -916,39 +916,42 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
916
916
|
excessLength = nextLength - firstFileUploadPart.partsize;
|
917
917
|
chunkBuffer = _safeBuffer.Buffer.from(chunk);
|
918
918
|
if (!(excessLength > 0)) {
|
919
|
-
_context14.next =
|
919
|
+
_context14.next = 20;
|
920
920
|
break;
|
921
921
|
}
|
922
922
|
readableStream.pause();
|
923
|
-
|
924
|
-
|
923
|
+
|
924
|
+
// the amount to append this last part with to make it exactly the full partsize
|
925
|
+
tailLength = chunkBuffer.length - excessLength;
|
926
|
+
lastChunkForPart = chunkBuffer.subarray(0, tailLength);
|
927
|
+
firstChunkForNextPart = chunkBuffer.subarray(tailLength);
|
925
928
|
chunks.push(lastChunkForPart);
|
926
929
|
buffer = _safeBuffer.Buffer.concat(chunks);
|
927
|
-
_context14.next =
|
930
|
+
_context14.next = 13;
|
928
931
|
return File._continueUpload(destinationPath, ++part, firstFileUploadPart, options);
|
929
|
-
case
|
932
|
+
case 13:
|
930
933
|
nextFileUploadPart = _context14.sent;
|
931
934
|
concurrentUploads.push(_Api.default.sendFilePart(nextFileUploadPart.upload_uri, 'PUT', buffer));
|
932
935
|
chunks = [firstChunkForNextPart];
|
933
936
|
length = firstChunkForNextPart.length;
|
934
937
|
readableStream.resume();
|
935
|
-
_context14.next =
|
938
|
+
_context14.next = 22;
|
936
939
|
break;
|
937
|
-
case
|
940
|
+
case 20:
|
938
941
|
chunks.push(chunkBuffer);
|
939
942
|
length += chunk.length;
|
940
|
-
case
|
941
|
-
_context14.next =
|
943
|
+
case 22:
|
944
|
+
_context14.next = 27;
|
942
945
|
break;
|
943
|
-
case
|
944
|
-
_context14.prev =
|
946
|
+
case 24:
|
947
|
+
_context14.prev = 24;
|
945
948
|
_context14.t0 = _context14["catch"](0);
|
946
949
|
reject(_context14.t0);
|
947
|
-
case
|
950
|
+
case 27:
|
948
951
|
case "end":
|
949
952
|
return _context14.stop();
|
950
953
|
}
|
951
|
-
}, _callee14, null, [[0,
|
954
|
+
}, _callee14, null, [[0, 24]]);
|
952
955
|
}));
|
953
956
|
return function (_x20) {
|
954
957
|
return _ref17.apply(this, arguments);
|