files.com 1.2.506 → 1.2.508

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/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.506';
15
+ var version = '1.2.508';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -699,7 +699,7 @@ _Bundle = Bundle;
699
699
  // 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.
700
700
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
701
701
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
702
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
702
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
703
703
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
704
704
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
705
705
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.506",
3
+ "version": "1.2.508",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Errors.js CHANGED
@@ -126,6 +126,7 @@ export class BadRequest_InvalidSortFilterCombinationError extends BadRequestErro
126
126
  export class BadRequest_InvalidUploadOffsetError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_InvalidUploadOffsetError' } } errorClasses.BadRequest_InvalidUploadOffsetError = BadRequest_InvalidUploadOffsetError
127
127
  export class BadRequest_InvalidUploadPartGapError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_InvalidUploadPartGapError' } } errorClasses.BadRequest_InvalidUploadPartGapError = BadRequest_InvalidUploadPartGapError
128
128
  export class BadRequest_InvalidUploadPartSizeError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_InvalidUploadPartSizeError' } } errorClasses.BadRequest_InvalidUploadPartSizeError = BadRequest_InvalidUploadPartSizeError
129
+ export class BadRequest_InvalidWorkspaceIdHeaderError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_InvalidWorkspaceIdHeaderError' } } errorClasses.BadRequest_InvalidWorkspaceIdHeaderError = BadRequest_InvalidWorkspaceIdHeaderError
129
130
  export class BadRequest_MethodNotAllowedError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_MethodNotAllowedError' } } errorClasses.BadRequest_MethodNotAllowedError = BadRequest_MethodNotAllowedError
130
131
  export class BadRequest_MultipleSortParamsNotAllowedError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_MultipleSortParamsNotAllowedError' } } errorClasses.BadRequest_MultipleSortParamsNotAllowedError = BadRequest_MultipleSortParamsNotAllowedError
131
132
  export class BadRequest_NoValidInputParamsError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_NoValidInputParamsError' } } errorClasses.BadRequest_NoValidInputParamsError = BadRequest_NoValidInputParamsError
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.506'
9
+ const version = '1.2.508'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -556,7 +556,7 @@ class Bundle {
556
556
  // 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.
557
557
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
558
558
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
559
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
559
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
560
560
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
561
561
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
562
562
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.