Skip to content

Commit dc3cf42

Browse files
committedSep 13, 2023
[Bot] push changes from Files.com
1 parent cc4176b commit dc3cf42

File tree

7 files changed

+7
-4
lines changed

7 files changed

+7
-4
lines changed
 

‎_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.410
1+
1.0.411

‎docs/models/GpgKey.md

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ await GpgKey.list({
3939
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
4040
* `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.
4141
* `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[name]=desc`). Valid fields are `name` and `expires_at`.
4243

4344
---
4445

‎lib/Files.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
1111
var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
14-
var version = "1.0.410";
14+
var version = "1.0.411";
1515
var userAgent = "Files.com JavaScript SDK v".concat(version);
1616
var logLevel = _Logger.LogLevel.INFO;
1717
var debugRequest = false;

‎lib/models/GpgKey.js

+1
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ _class = GpgKey;
245245
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
246246
// 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.
247247
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
248+
// 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 `expires_at`.
248249
(0, _defineProperty2.default)(GpgKey, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
249250
var _response$data;
250251
var params,

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.0.410",
3+
"version": "1.0.411",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

‎src/Files.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
55
let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
8-
let version = "1.0.410"
8+
let version = "1.0.411"
99
let userAgent = `Files.com JavaScript SDK v${version}`
1010

1111
let logLevel = LogLevel.INFO

‎src/models/GpgKey.js

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ class GpgKey {
161161
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
162162
// 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.
163163
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
164+
// 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 `expires_at`.
164165
static list = async (params = {}, options = {}) => {
165166
if (params['user_id'] && !isInt(params['user_id'])) {
166167
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params['user_id'])}`)

0 commit comments

Comments
 (0)