files.com 1.2.305 → 1.2.306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.306
|
|
@@ -49,4 +49,4 @@ await InboxRegistration.list({
|
|
|
49
49
|
|
|
50
50
|
* `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.
|
|
51
51
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
52
|
-
* `folder_behavior_id` (int64): ID of the associated Inbox.
|
|
52
|
+
* `folder_behavior_id` (int64): ID of the associated Inbox. This is required if the user is not a site admin.
|
package/lib/Files.js
CHANGED
|
@@ -12,7 +12,7 @@ var apiKey;
|
|
|
12
12
|
var baseUrl = 'https://app.files.com';
|
|
13
13
|
var sessionId = null;
|
|
14
14
|
var language = null;
|
|
15
|
-
var version = '1.2.
|
|
15
|
+
var version = '1.2.306';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -97,7 +97,7 @@ _InboxRegistration = InboxRegistration;
|
|
|
97
97
|
// Parameters:
|
|
98
98
|
// 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.
|
|
99
99
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
100
|
-
// folder_behavior_id - int64 - ID of the associated Inbox.
|
|
100
|
+
// folder_behavior_id - int64 - ID of the associated Inbox. This is required if the user is not a site admin.
|
|
101
101
|
(0, _defineProperty2.default)(InboxRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
102
102
|
var _response$data;
|
|
103
103
|
var params,
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -67,7 +67,7 @@ class InboxRegistration {
|
|
|
67
67
|
// Parameters:
|
|
68
68
|
// 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.
|
|
69
69
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
70
|
-
// folder_behavior_id - int64 - ID of the associated Inbox.
|
|
70
|
+
// folder_behavior_id - int64 - ID of the associated Inbox. This is required if the user is not a site admin.
|
|
71
71
|
static list = async (params = {}, options = {}) => {
|
|
72
72
|
if (params.cursor && !isString(params.cursor)) {
|
|
73
73
|
throw new errors.InvalidParameterError(`Bad parameter: cursor must be of type String, received ${getType(params.cursor)}`)
|