files.com 1.0.145 → 1.0.149

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. package/_VERSION +1 -1
  2. package/lib/Api.js +6 -5
  3. package/lib/Files.js +4 -4
  4. package/lib/Logger.js +4 -3
  5. package/lib/models/AccountLineItem.js +6 -5
  6. package/lib/models/Action.js +6 -5
  7. package/lib/models/ActionNotificationExport.js +6 -5
  8. package/lib/models/ActionNotificationExportResult.js +6 -5
  9. package/lib/models/ActionWebhookFailure.js +6 -5
  10. package/lib/models/ApiKey.js +6 -5
  11. package/lib/models/App.js +6 -5
  12. package/lib/models/As2Key.js +6 -5
  13. package/lib/models/Auto.js +6 -5
  14. package/lib/models/Automation.js +6 -5
  15. package/lib/models/AutomationRun.js +6 -5
  16. package/lib/models/BandwidthSnapshot.js +6 -5
  17. package/lib/models/Behavior.js +6 -5
  18. package/lib/models/Bundle.js +6 -5
  19. package/lib/models/BundleDownload.js +6 -5
  20. package/lib/models/BundleRecipient.js +6 -5
  21. package/lib/models/BundleRegistration.js +6 -5
  22. package/lib/models/Clickwrap.js +6 -5
  23. package/lib/models/DnsRecord.js +6 -5
  24. package/lib/models/Errors.js +6 -5
  25. package/lib/models/ExternalEvent.js +6 -5
  26. package/lib/models/File.js +6 -5
  27. package/lib/models/FileAction.js +6 -5
  28. package/lib/models/FileComment.js +6 -5
  29. package/lib/models/FileCommentReaction.js +6 -5
  30. package/lib/models/FileMigration.js +6 -5
  31. package/lib/models/FileUploadPart.js +6 -5
  32. package/lib/models/Folder.js +6 -5
  33. package/lib/models/FormField.js +6 -5
  34. package/lib/models/FormFieldSet.js +6 -5
  35. package/lib/models/Group.js +6 -5
  36. package/lib/models/GroupUser.js +6 -5
  37. package/lib/models/History.js +6 -5
  38. package/lib/models/HistoryExport.js +6 -5
  39. package/lib/models/HistoryExportResult.js +6 -5
  40. package/lib/models/Image.js +6 -5
  41. package/lib/models/InboxRecipient.js +6 -5
  42. package/lib/models/InboxRegistration.js +6 -5
  43. package/lib/models/InboxUpload.js +6 -5
  44. package/lib/models/Invoice.js +6 -5
  45. package/lib/models/InvoiceLineItem.js +6 -5
  46. package/lib/models/IpAddress.js +6 -5
  47. package/lib/models/Lock.js +6 -5
  48. package/lib/models/Message.js +6 -5
  49. package/lib/models/MessageComment.js +6 -5
  50. package/lib/models/MessageCommentReaction.js +6 -5
  51. package/lib/models/MessageReaction.js +6 -5
  52. package/lib/models/Notification.js +6 -5
  53. package/lib/models/Payment.js +6 -5
  54. package/lib/models/PaymentLineItem.js +6 -5
  55. package/lib/models/Permission.js +6 -5
  56. package/lib/models/Preview.js +6 -5
  57. package/lib/models/Priority.js +6 -5
  58. package/lib/models/Project.js +6 -5
  59. package/lib/models/PublicIpAddress.js +6 -5
  60. package/lib/models/PublicKey.js +6 -5
  61. package/lib/models/RemoteServer.js +6 -5
  62. package/lib/models/Request.js +6 -5
  63. package/lib/models/Session.js +6 -5
  64. package/lib/models/SettingsChange.js +6 -5
  65. package/lib/models/Site.js +6 -5
  66. package/lib/models/SsoStrategy.js +6 -5
  67. package/lib/models/Status.js +6 -5
  68. package/lib/models/Style.js +6 -5
  69. package/lib/models/SyncJob.js +6 -5
  70. package/lib/models/UsageDailySnapshot.js +6 -5
  71. package/lib/models/UsageSnapshot.js +6 -5
  72. package/lib/models/User.js +6 -5
  73. package/lib/models/UserCipherUse.js +6 -5
  74. package/lib/models/UserRequest.js +6 -5
  75. package/lib/models/WebhookTest.js +6 -5
  76. package/package.json +1 -1
  77. package/src/models/ActionNotificationExportResult.js +1 -1
  78. package/src/models/ApiKey.js +1 -1
  79. package/src/models/App.js +7 -7
  80. package/src/models/As2Key.js +1 -1
  81. package/src/models/Automation.js +1 -1
  82. package/src/models/AutomationRun.js +1 -1
  83. package/src/models/BandwidthSnapshot.js +1 -1
  84. package/src/models/Behavior.js +2 -2
  85. package/src/models/Bundle.js +1 -1
  86. package/src/models/BundleDownload.js +1 -1
  87. package/src/models/BundleRecipient.js +1 -1
  88. package/src/models/BundleRegistration.js +1 -1
  89. package/src/models/Clickwrap.js +1 -1
  90. package/src/models/DnsRecord.js +1 -1
  91. package/src/models/ExternalEvent.js +7 -7
  92. package/src/models/FileComment.js +1 -1
  93. package/src/models/Folder.js +1 -1
  94. package/src/models/FormFieldSet.js +1 -1
  95. package/src/models/Group.js +1 -1
  96. package/src/models/GroupUser.js +1 -1
  97. package/src/models/History.js +5 -5
  98. package/src/models/HistoryExportResult.js +1 -1
  99. package/src/models/InboxRecipient.js +1 -1
  100. package/src/models/InboxRegistration.js +1 -1
  101. package/src/models/InboxUpload.js +1 -1
  102. package/src/models/Invoice.js +1 -1
  103. package/src/models/IpAddress.js +2 -2
  104. package/src/models/Lock.js +1 -1
  105. package/src/models/Message.js +1 -1
  106. package/src/models/MessageComment.js +1 -1
  107. package/src/models/MessageCommentReaction.js +1 -1
  108. package/src/models/MessageReaction.js +1 -1
  109. package/src/models/Notification.js +1 -1
  110. package/src/models/Payment.js +1 -1
  111. package/src/models/Permission.js +7 -7
  112. package/src/models/Priority.js +1 -1
  113. package/src/models/Project.js +1 -1
  114. package/src/models/PublicKey.js +1 -1
  115. package/src/models/RemoteServer.js +1 -1
  116. package/src/models/Request.js +2 -2
  117. package/src/models/SettingsChange.js +1 -1
  118. package/src/models/SsoStrategy.js +1 -1
  119. package/src/models/SyncJob.js +1 -1
  120. package/src/models/UsageDailySnapshot.js +7 -7
  121. package/src/models/UsageSnapshot.js +1 -1
  122. package/src/models/User.js +7 -7
  123. package/src/models/UserCipherUse.js +1 -1
  124. package/src/models/UserRequest.js +1 -1
@@ -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.)
@@ -36,7 +36,7 @@ class SettingsChange {
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 `api_key_id`, `created_at` or `user_id`.
42
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'])) {