files.com 1.0.144 → 1.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/_VERSION +1 -1
  2. package/lib/models/SettingsChange.js +3 -0
  3. package/package.json +1 -1
  4. package/src/models/ActionNotificationExportResult.js +1 -1
  5. package/src/models/ApiKey.js +1 -1
  6. package/src/models/App.js +7 -7
  7. package/src/models/As2Key.js +1 -1
  8. package/src/models/Automation.js +1 -1
  9. package/src/models/AutomationRun.js +1 -1
  10. package/src/models/BandwidthSnapshot.js +1 -1
  11. package/src/models/Behavior.js +2 -2
  12. package/src/models/Bundle.js +1 -1
  13. package/src/models/BundleDownload.js +1 -1
  14. package/src/models/BundleRecipient.js +1 -1
  15. package/src/models/BundleRegistration.js +1 -1
  16. package/src/models/Clickwrap.js +1 -1
  17. package/src/models/DnsRecord.js +1 -1
  18. package/src/models/ExternalEvent.js +7 -7
  19. package/src/models/FileComment.js +1 -1
  20. package/src/models/Folder.js +1 -1
  21. package/src/models/FormFieldSet.js +1 -1
  22. package/src/models/Group.js +1 -1
  23. package/src/models/GroupUser.js +1 -1
  24. package/src/models/History.js +5 -5
  25. package/src/models/HistoryExportResult.js +1 -1
  26. package/src/models/InboxRecipient.js +1 -1
  27. package/src/models/InboxRegistration.js +1 -1
  28. package/src/models/InboxUpload.js +1 -1
  29. package/src/models/Invoice.js +1 -1
  30. package/src/models/IpAddress.js +2 -2
  31. package/src/models/Lock.js +1 -1
  32. package/src/models/Message.js +1 -1
  33. package/src/models/MessageComment.js +1 -1
  34. package/src/models/MessageCommentReaction.js +1 -1
  35. package/src/models/MessageReaction.js +1 -1
  36. package/src/models/Notification.js +1 -1
  37. package/src/models/Payment.js +1 -1
  38. package/src/models/Permission.js +7 -7
  39. package/src/models/Priority.js +1 -1
  40. package/src/models/Project.js +1 -1
  41. package/src/models/PublicKey.js +1 -1
  42. package/src/models/RemoteServer.js +1 -1
  43. package/src/models/Request.js +2 -2
  44. package/src/models/SettingsChange.js +4 -1
  45. package/src/models/SsoStrategy.js +1 -1
  46. package/src/models/SyncJob.js +1 -1
  47. package/src/models/UsageDailySnapshot.js +7 -7
  48. package/src/models/UsageSnapshot.js +1 -1
  49. package/src/models/User.js +7 -7
  50. package/src/models/UserCipherUse.js +1 -1
  51. package/src/models/UserRequest.js +1 -1
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.144
1
+ 1.0.148
@@ -42,6 +42,9 @@ var SettingsChange = function SettingsChange() {
42
42
  (0, _defineProperty2.default)(this, "getChangeDetails", function () {
43
43
  return _this.attributes.change_details;
44
44
  });
45
+ (0, _defineProperty2.default)(this, "getChanges", function () {
46
+ return _this.attributes.changes;
47
+ });
45
48
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
46
49
  return _this.attributes.created_at;
47
50
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.144",
3
+ "version": "1.0.148",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -55,7 +55,7 @@ class ActionNotificationExportResult {
55
55
 
56
56
  // Parameters:
57
57
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
58
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
58
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
59
59
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
60
60
  // action_notification_export_id (required) - int64 - ID of the associated action notification export.
61
61
  static list = async (params = {}, options = {}) => {
@@ -174,7 +174,7 @@ class ApiKey {
174
174
 
175
175
  // Parameters:
176
176
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
177
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
177
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
178
178
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
179
179
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `expires_at`.
180
180
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
package/src/models/App.js CHANGED
@@ -72,15 +72,15 @@ class App {
72
72
 
73
73
 
74
74
  // Parameters:
75
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
75
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
76
76
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
77
77
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name` and `app_type`.
78
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`.
79
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name` and `app_type`.
80
- // 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`.
81
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`.
82
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name` and `app_type`.
83
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name` and `app_type`.
78
+ // 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 ]`.
79
+ // 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 ]`.
80
+ // 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 ]`.
81
+ // filter_like - 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 ]`.
82
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
83
+ // filter_lteq - object - If set, return records where the specified field is less 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 ]`.
84
84
  static list = async (params = {}, options = {}) => {
85
85
  if (params['cursor'] && !isString(params['cursor'])) {
86
86
  throw new Error(`Bad parameter: cursor must be of type String, received ${getType(cursor)}`)
@@ -139,7 +139,7 @@ class As2Key {
139
139
 
140
140
  // Parameters:
141
141
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
142
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
142
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
143
143
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
144
144
  static list = async (params = {}, options = {}) => {
145
145
  if (params['user_id'] && !isInt(params['user_id'])) {
@@ -298,7 +298,7 @@ class Automation {
298
298
  }
299
299
 
300
300
  // Parameters:
301
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
301
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
302
302
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
303
303
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`.
304
304
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`.
@@ -43,7 +43,7 @@ class AutomationRun {
43
43
 
44
44
  // Parameters:
45
45
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
46
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
46
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
47
47
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
48
48
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
49
49
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
@@ -57,7 +57,7 @@ class BandwidthSnapshot {
57
57
 
58
58
 
59
59
  // Parameters:
60
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
60
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
61
61
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
62
62
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
63
63
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
@@ -173,7 +173,7 @@ class Behavior {
173
173
  }
174
174
 
175
175
  // Parameters:
176
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
176
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
177
177
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
178
178
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
179
179
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
@@ -230,7 +230,7 @@ class Behavior {
230
230
  Behavior.find(id, params, options)
231
231
 
232
232
  // Parameters:
233
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
233
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
234
234
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
235
235
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
236
236
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
@@ -352,7 +352,7 @@ class Bundle {
352
352
 
353
353
  // Parameters:
354
354
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
355
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
355
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
356
356
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
357
357
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `code`.
358
358
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
@@ -35,7 +35,7 @@ class BundleDownload {
35
35
 
36
36
 
37
37
  // Parameters:
38
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
38
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
39
39
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
40
40
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
41
41
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
@@ -91,7 +91,7 @@ class BundleRecipient {
91
91
 
92
92
  // Parameters:
93
93
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
94
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
94
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
95
95
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
96
96
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
97
97
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
@@ -61,7 +61,7 @@ class BundleRegistration {
61
61
 
62
62
  // Parameters:
63
63
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
64
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
64
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
65
65
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
66
66
  // bundle_id - int64 - ID of the associated Bundle
67
67
  static list = async (params = {}, options = {}) => {
@@ -150,7 +150,7 @@ class Clickwrap {
150
150
  }
151
151
 
152
152
  // Parameters:
153
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
153
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
154
154
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
155
155
  static list = async (params = {}, options = {}) => {
156
156
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -36,7 +36,7 @@ class DnsRecord {
36
36
 
37
37
 
38
38
  // Parameters:
39
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
39
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
40
40
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  static list = async (params = {}, options = {}) => {
42
42
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -107,15 +107,15 @@ class ExternalEvent {
107
107
  }
108
108
 
109
109
  // Parameters:
110
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
110
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
111
111
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
112
112
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
113
- // 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`.
114
- // 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`.
115
- // 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`.
116
- // filter_like - 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`.
117
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
118
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
113
+ // 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 ]`.
114
+ // 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 ]`.
115
+ // 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 ]`.
116
+ // filter_like - 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 ]`.
117
+ // filter_lt - object - If set, return records where the specified field is less 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 ]`.
118
+ // filter_lteq - object - If set, return records where the specified field is less 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 ]`.
119
119
  static list = async (params = {}, options = {}) => {
120
120
  if (params['cursor'] && !isString(params['cursor'])) {
121
121
  throw new Error(`Bad parameter: cursor must be of type String, received ${getType(cursor)}`)
@@ -128,7 +128,7 @@ class FileComment {
128
128
  }
129
129
 
130
130
  // Parameters:
131
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
131
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
132
132
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
133
133
  // path (required) - string - Path to operate on.
134
134
  static listFor = async (path, params = {}, options = {}) => {
@@ -143,7 +143,7 @@ class Folder {
143
143
  }
144
144
 
145
145
  // Parameters:
146
- // cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
146
+ // cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
147
147
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
148
148
  // path (required) - string - Path to operate on.
149
149
  // filter - string - If specified, will filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
@@ -156,7 +156,7 @@ class FormFieldSet {
156
156
 
157
157
  // Parameters:
158
158
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
159
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
159
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
160
160
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
161
161
  static list = async (params = {}, options = {}) => {
162
162
  if (params['user_id'] && !isInt(params['user_id'])) {
@@ -146,7 +146,7 @@ class Group {
146
146
  }
147
147
 
148
148
  // Parameters:
149
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
149
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
150
150
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
151
151
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name`.
152
152
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
@@ -181,7 +181,7 @@ class GroupUser {
181
181
 
182
182
  // Parameters:
183
183
  // user_id - int64 - User ID. If provided, will return group_users of this user.
184
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
184
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
185
185
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
186
186
  // group_id - int64 - Group ID. If provided, will return group_users of this group.
187
187
  static list = async (params = {}, options = {}) => {
@@ -66,7 +66,7 @@ class History {
66
66
  // start_at - string - Leave blank or set to a date/time to filter earlier entries.
67
67
  // end_at - string - Leave blank or set to a date/time to filter later entries.
68
68
  // display - string - Display format. Leave blank or set to `full` or `parent`.
69
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
69
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
70
70
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
71
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
72
72
  // path (required) - string - Path to operate on.
@@ -114,7 +114,7 @@ class History {
114
114
  // start_at - string - Leave blank or set to a date/time to filter earlier entries.
115
115
  // end_at - string - Leave blank or set to a date/time to filter later entries.
116
116
  // display - string - Display format. Leave blank or set to `full` or `parent`.
117
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
117
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
118
118
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
119
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
120
120
  // path (required) - string - Path to operate on.
@@ -162,7 +162,7 @@ class History {
162
162
  // start_at - string - Leave blank or set to a date/time to filter earlier entries.
163
163
  // end_at - string - Leave blank or set to a date/time to filter later entries.
164
164
  // display - string - Display format. Leave blank or set to `full` or `parent`.
165
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
165
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
166
166
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
167
167
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
168
168
  // user_id (required) - int64 - User ID.
@@ -210,7 +210,7 @@ class History {
210
210
  // start_at - string - Leave blank or set to a date/time to filter earlier entries.
211
211
  // end_at - string - Leave blank or set to a date/time to filter later entries.
212
212
  // display - string - Display format. Leave blank or set to `full` or `parent`.
213
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
213
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
214
214
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
215
215
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
216
216
  static listLogins = async (params = {}, options = {}) => {
@@ -243,7 +243,7 @@ class History {
243
243
  // start_at - string - Leave blank or set to a date/time to filter earlier entries.
244
244
  // end_at - string - Leave blank or set to a date/time to filter later entries.
245
245
  // display - string - Display format. Leave blank or set to `full` or `parent`.
246
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
246
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
247
247
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
248
248
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
249
249
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
@@ -94,7 +94,7 @@ class HistoryExportResult {
94
94
 
95
95
  // Parameters:
96
96
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
97
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
97
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
98
98
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
99
99
  // history_export_id (required) - int64 - ID of the associated history export.
100
100
  static list = async (params = {}, options = {}) => {
@@ -91,7 +91,7 @@ class InboxRecipient {
91
91
 
92
92
  // Parameters:
93
93
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
94
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
94
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
95
95
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
96
96
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
97
97
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
@@ -54,7 +54,7 @@ class InboxRegistration {
54
54
 
55
55
 
56
56
  // Parameters:
57
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
57
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
58
58
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
59
59
  // folder_behavior_id - int64 - ID of the associated Inbox.
60
60
  static list = async (params = {}, options = {}) => {
@@ -32,7 +32,7 @@ class InboxUpload {
32
32
 
33
33
 
34
34
  // Parameters:
35
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
35
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
36
36
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
37
37
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
38
38
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
@@ -66,7 +66,7 @@ class Invoice {
66
66
 
67
67
 
68
68
  // Parameters:
69
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
69
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
70
70
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
71
  static list = async (params = {}, options = {}) => {
72
72
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -36,7 +36,7 @@ class IpAddress {
36
36
 
37
37
 
38
38
  // Parameters:
39
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
39
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
40
40
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  static list = async (params = {}, options = {}) => {
42
42
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -56,7 +56,7 @@ class IpAddress {
56
56
  IpAddress.list(params, options)
57
57
 
58
58
  // Parameters:
59
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
59
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
60
60
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
61
61
  static getReserved = async (params = {}, options = {}) => {
62
62
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -155,7 +155,7 @@ class Lock {
155
155
  }
156
156
 
157
157
  // Parameters:
158
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
158
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
159
159
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
160
160
  // path (required) - string - Path to operate on.
161
161
  // include_children - boolean - Include locks from children objects?
@@ -167,7 +167,7 @@ class Message {
167
167
 
168
168
  // Parameters:
169
169
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
170
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
170
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
171
171
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
172
172
  // project_id (required) - int64 - Project for which to return messages.
173
173
  static list = async (params = {}, options = {}) => {
@@ -129,7 +129,7 @@ class MessageComment {
129
129
 
130
130
  // Parameters:
131
131
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
132
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
132
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
133
133
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
134
134
  // message_id (required) - int64 - Message comment to return comments for.
135
135
  static list = async (params = {}, options = {}) => {
@@ -84,7 +84,7 @@ class MessageCommentReaction {
84
84
 
85
85
  // Parameters:
86
86
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
87
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
87
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
88
88
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
89
  // message_comment_id (required) - int64 - Message comment to return reactions for.
90
90
  static list = async (params = {}, options = {}) => {
@@ -84,7 +84,7 @@ class MessageReaction {
84
84
 
85
85
  // Parameters:
86
86
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
87
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
87
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
88
88
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
89
  // message_id (required) - int64 - Message to return reactions for.
90
90
  static list = async (params = {}, options = {}) => {
@@ -187,7 +187,7 @@ class Notification {
187
187
 
188
188
  // Parameters:
189
189
  // user_id - int64 - DEPRECATED: Show notifications for this User ID. Use `filter[user_id]` instead.
190
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
190
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
191
191
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
192
192
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `user_id` or `group_id`.
193
193
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
@@ -66,7 +66,7 @@ class Payment {
66
66
 
67
67
 
68
68
  // Parameters:
69
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
69
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
70
70
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
71
  static list = async (params = {}, options = {}) => {
72
72
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -118,15 +118,15 @@ class Permission {
118
118
  }
119
119
 
120
120
  // Parameters:
121
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
121
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
122
122
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
123
123
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `group_id`, `path`, `user_id` or `permission`.
124
- // 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`.
125
- // 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`.
126
- // 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`.
127
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
128
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `group_id`, `user_id` or `path`.
129
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
124
+ // 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 ]`.
125
+ // 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 ]`.
126
+ // 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 ]`.
127
+ // filter_like - 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 ]`.
128
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
129
+ // filter_lteq - object - If set, return records where the specified field is less 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 ]`.
130
130
  // path - string - DEPRECATED: Permission path. If provided, will scope permissions to this path. Use `filter[path]` instead.
131
131
  // group_id - string - DEPRECATED: Group ID. If provided, will scope permissions to this group. Use `filter[group_id]` instead.`
132
132
  // user_id - string - DEPRECATED: User ID. If provided, will scope permissions to this user. Use `filter[user_id]` instead.`
@@ -30,7 +30,7 @@ class Priority {
30
30
 
31
31
 
32
32
  // Parameters:
33
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
33
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
34
34
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
35
  // path (required) - string - The path to query for priorities
36
36
  static list = async (path, params = {}, options = {}) => {
@@ -114,7 +114,7 @@ class Project {
114
114
  }
115
115
 
116
116
  // Parameters:
117
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
117
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
118
118
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
119
  static list = async (params = {}, options = {}) => {
120
120
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -139,7 +139,7 @@ class PublicKey {
139
139
 
140
140
  // Parameters:
141
141
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
142
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
142
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
143
143
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
144
144
  static list = async (params = {}, options = {}) => {
145
145
  if (params['user_id'] && !isInt(params['user_id'])) {
@@ -575,7 +575,7 @@ class RemoteServer {
575
575
  }
576
576
 
577
577
  // Parameters:
578
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
578
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
579
579
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
580
580
  static list = async (params = {}, options = {}) => {
581
581
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -118,7 +118,7 @@ class Request {
118
118
  }
119
119
 
120
120
  // Parameters:
121
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
121
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
122
122
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
123
123
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `destination`.
124
124
  // mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
@@ -145,7 +145,7 @@ class Request {
145
145
  Request.list(params, options)
146
146
 
147
147
  // Parameters:
148
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
148
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
149
149
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
150
150
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `destination`.
151
151
  // mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
@@ -25,6 +25,9 @@ class SettingsChange {
25
25
  // object # Specifics on what changed.
26
26
  getChangeDetails = () => this.attributes.change_details
27
27
 
28
+ // string # Markdown-formatted change messages.
29
+ getChanges = () => this.attributes.changes
30
+
28
31
  // date-time # The time this change was made
29
32
  getCreatedAt = () => this.attributes.created_at
30
33
 
@@ -33,7 +36,7 @@ class SettingsChange {
33
36
 
34
37
 
35
38
  // Parameters:
36
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
39
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
37
40
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
38
41
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `api_key_id`, `created_at` or `user_id`.
39
42
  // 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`.
@@ -153,7 +153,7 @@ class SsoStrategy {
153
153
 
154
154
 
155
155
  // Parameters:
156
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
156
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
157
157
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
158
158
  static list = async (params = {}, options = {}) => {
159
159
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -42,7 +42,7 @@ class SyncJob {
42
42
 
43
43
 
44
44
  // Parameters:
45
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
45
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
46
46
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
47
47
  static list = async (params = {}, options = {}) => {
48
48
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -36,15 +36,15 @@ class UsageDailySnapshot {
36
36
 
37
37
 
38
38
  // Parameters:
39
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
39
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
40
40
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `date` and `usage_snapshot_id`.
42
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
43
- // 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`.
44
- // 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`.
45
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
46
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`.
47
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
42
+ // 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 ]`.
43
+ // 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 ]`.
44
+ // 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 ]`.
45
+ // filter_like - 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 ]`.
46
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
47
+ // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
48
48
  static list = async (params = {}, options = {}) => {
49
49
  if (params['cursor'] && !isString(params['cursor'])) {
50
50
  throw new Error(`Bad parameter: cursor must be of type String, received ${getType(cursor)}`)
@@ -66,7 +66,7 @@ class UsageSnapshot {
66
66
 
67
67
 
68
68
  // Parameters:
69
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
69
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
70
70
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
71
  static list = async (params = {}, options = {}) => {
72
72
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -687,15 +687,15 @@ class User {
687
687
  }
688
688
 
689
689
  // Parameters:
690
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
690
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
691
691
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
692
692
  // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `authenticate_until`, `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`.
693
- // 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`.
694
- // 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`.
695
- // 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`.
696
- // filter_like - 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`.
697
- // filter_lt - object - If set, return records where the specified field is less 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`.
698
- // filter_lteq - object - If set, return records where the specified field is less 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`.
693
+ // 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 ]`.
694
+ // 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 ]`.
695
+ // 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 ]`.
696
+ // filter_like - 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 ]`.
697
+ // filter_lt - object - If set, return records where the specified field is less 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 ]`.
698
+ // filter_lteq - object - If set, return records where the specified field is less 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 ]`.
699
699
  // ids - string - comma-separated list of User IDs
700
700
  // q[username] - string - List users matching username.
701
701
  // q[email] - string - List users matching email.
@@ -43,7 +43,7 @@ class UserCipherUse {
43
43
 
44
44
  // Parameters:
45
45
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
46
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
46
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
47
47
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
48
48
  static list = async (params = {}, options = {}) => {
49
49
  if (params['user_id'] && !isInt(params['user_id'])) {
@@ -90,7 +90,7 @@ class UserRequest {
90
90
  }
91
91
 
92
92
  // Parameters:
93
- // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
93
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
94
94
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
95
95
  static list = async (params = {}, options = {}) => {
96
96
  if (params['cursor'] && !isString(params['cursor'])) {