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/README.md +1 -0
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/Bundle.md +1 -1
- package/lib/Errors.js +677 -665
- package/lib/Files.js +1 -1
- package/lib/models/Bundle.js +1 -1
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/Bundle.js +1 -1
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.508';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
package/lib/models/Bundle.js
CHANGED
|
@@ -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
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
package/src/models/Bundle.js
CHANGED
|
@@ -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`.
|