Comparing version 0.0.3 to 0.0.4
@@ -10,2 +10,43 @@ 'use strict'; | ||
/** | ||
* ISO 8601 Language Code, used in search parameters. | ||
* @external ISO8601 | ||
* @see {@link http://en.wikipedia.org/wiki/ISO_8601} | ||
*/ | ||
/** | ||
* Options and parameters for search. | ||
* @typedef {Object} OptsSearch | ||
* @property {string} [scope] - The scope for which you want to limit your search to. Can be | ||
* {@linkcode user_content} for a search limited to only the current user or {@linkcode enterprise_content} | ||
* for the entire enterprise. | ||
* @property {string} [file_extensions] - Limit searches to specific file extensions like | ||
* {@linkcode pdf,png,doc}. Requires one or a set of comma delimited file extensions. | ||
* @property {external:ISO8601} [created_at_range] - The date for when the item was created. Specify the date | ||
* range by using ISO-8601 variables separated by a comma: {@linkcode from_date,to_date}. Trailing | ||
* {@linkcode from_date,} and leading {@linkcode ,to_date commas} are also accepted, where the current date | ||
* and earliest known date will be designated respectively. | ||
* @property {external:ISO8601} [updated_at_range] - The date for when the item was updated. Specify the date | ||
* range by using ISO-8601 variables separated by a comma: {@linkcode from_date,to_date}. Trailing | ||
* {@linkcode from_date,} and leading {@linkcode ,to_date commas} are also accepted, where the current date | ||
* and earliest known date will be designated respectively. | ||
* @property {number} [size_range] - Filter by a file size range. Specify the file size range in bytes | ||
* separated by a comma: {@linkcode lower_bound_size,upper_bound_size}, where 1MB is equivalent to 1000000 | ||
* bytes. Trailing {@linkcode lower_bound_size,} and leading {@linkcode ,upper_bound_size} commas are also | ||
* accepted as parameters. | ||
* @property {string} [owner_user_ids] - Search by item owners. Requires one or a set of comma delimited | ||
* user_ids. | ||
* @property {string} [ancestor_folder_ids] - Limit searches to specific parent folders. Requires one or a | ||
* set of comma delimited folder_ids: {@linkcode folder_id_1,folder_id_2,...}. Parent folder results will | ||
* also include items within subfolders. | ||
* @property {string} [content_types] - Limit searches to specific Box designated content types. Can be | ||
* {@linkcode name}, {@linkcode description}, {@linkcode file_content}, {@linkcode comments}, or | ||
* {@linkcode tags}. Requires one or a set of comma delimited content_types. | ||
* @property {string} [type] - The type you want to return in your search. Can be {@linkcode file}, | ||
* {@linkcode folder}, or {@linkcode web_link}. | ||
* @property {number} [limit] - Number of search results to return. Default: 30, Max :200. | ||
* @property {number} [offset] - The search result at which to start the response. Default: 0. | ||
* @see {@link https://developers.box.com/docs/#search} | ||
*/ | ||
/** | ||
* Provides a simple way of finding items that are accessible in a given user’s Box account. | ||
@@ -15,3 +56,3 @@ * @summary Search a user's account. | ||
* @param {string} query - The search keyword. | ||
* @param {?external:OptsFLO} opts - Request options. | ||
* @param {?OptsSearch} opts - Additional search options. | ||
* @param {requestCallback} done - The callback to invoke (with possible errors) when the request returns. | ||
@@ -18,0 +59,0 @@ * @param {?RequestConfig} [config] - Configure the request behaviour. |
{ | ||
"name": "box-sdk", | ||
"description": "Node.js client for Box Content API", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/adityamukho/node-box-sdk", | ||
@@ -32,7 +32,7 @@ "author": { | ||
"devDependencies": { | ||
"body-parser": "^1.0.2", | ||
"body-parser": "1.0.2", | ||
"cookie-parser": "^1.0.1", | ||
"ejs": "^1.0.0", | ||
"express": "^4.1.1", | ||
"express-session": "^1.0.4", | ||
"express": "4.1.1", | ||
"express-session": "1.0.4", | ||
"grunt": "~0.4.2", | ||
@@ -46,3 +46,3 @@ "grunt-contrib-jshint": "~0.6.4", | ||
"mkdirp": "^0.4.0", | ||
"morgan": "^1.0.1", | ||
"morgan": "1.0.1", | ||
"passport": "^0.2.0", | ||
@@ -65,5 +65,5 @@ "passport-box": "0.1.0", | ||
"nedb": "^0.10.5", | ||
"request": "^2.34.0", | ||
"request": "2.34.0", | ||
"router": "^0.6.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
732571
16747
+ Addedasn1@0.1.11(transitive)
+ Addedassert-plus@0.1.5(transitive)
+ Addedaws-sign2@0.5.0(transitive)
+ Addedboom@0.4.2(transitive)
+ Addedcryptiles@0.2.2(transitive)
+ Addedctype@0.5.3(transitive)
+ Addedforever-agent@0.5.2(transitive)
+ Addedhawk@1.0.0(transitive)
+ Addedhoek@0.9.1(transitive)
+ Addedhttp-signature@0.10.1(transitive)
+ Addednode-uuid@1.4.8(transitive)
+ Addedoauth-sign@0.3.0(transitive)
+ Addedqs@0.6.6(transitive)
+ Addedrequest@2.34.0(transitive)
+ Addedsntp@0.2.4(transitive)
+ Addedtldts@6.1.61(transitive)
+ Addedtldts-core@6.1.61(transitive)
+ Addedtough-cookie@5.0.0(transitive)
+ Addedtunnel-agent@0.3.0(transitive)
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
Updatedrequest@2.34.0