files.com 1.0.250 → 1.0.252

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