Skip to content

Commit d73205a

Browse files
[Bot] push changes from Files.com
1 parent bcd0450 commit d73205a

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.611
1+
1.2.612

docs/models/Clickwrap.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* `id` (int64): Clickwrap ID
1717
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
1818
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
19-
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
19+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
2020
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
2121
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
2222

@@ -69,7 +69,7 @@ await Clickwrap.create({
6969
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
7070
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
7171
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
72-
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
72+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
7373

7474
---
7575

@@ -94,7 +94,7 @@ await clickwrap.update({
9494
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
9595
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
9696
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
97-
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
97+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
9898

9999
### Example Response
100100

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.611';
15+
var version = '1.2.612';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/Clickwrap.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
5353
(0, _defineProperty2.default)(this, "setBody", function (value) {
5454
_this.attributes.body = value;
5555
});
56-
// string # Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
56+
// string # Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
5757
(0, _defineProperty2.default)(this, "getUseWithUsers", function () {
5858
return _this.attributes.use_with_users;
5959
});
@@ -79,7 +79,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
7979
// body - string - Body text of Clickwrap (supports Markdown formatting).
8080
// use_with_bundles - string - Use this Clickwrap for Bundles?
8181
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
82-
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
82+
// use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
8383
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
8484
var params,
8585
response,
@@ -358,7 +358,7 @@ _Clickwrap = Clickwrap;
358358
// body - string - Body text of Clickwrap (supports Markdown formatting).
359359
// use_with_bundles - string - Use this Clickwrap for Bundles?
360360
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
361-
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
361+
// use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
362362
(0, _defineProperty2.default)(Clickwrap, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6() {
363363
var params,
364364
options,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.611",
3+
"version": "1.2.612",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.611'
9+
const version = '1.2.612'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/Clickwrap.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Clickwrap {
4949
this.attributes.body = value
5050
}
5151

52-
// string # Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
52+
// string # Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
5353
getUseWithUsers = () => this.attributes.use_with_users
5454

5555
setUseWithUsers = value => {
@@ -75,7 +75,7 @@ class Clickwrap {
7575
// body - string - Body text of Clickwrap (supports Markdown formatting).
7676
// use_with_bundles - string - Use this Clickwrap for Bundles?
7777
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
78-
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
78+
// use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
7979
update = async (params = {}) => {
8080
if (!this.attributes.id) {
8181
throw new errors.EmptyPropertyError('Current object has no id')
@@ -214,7 +214,7 @@ class Clickwrap {
214214
// body - string - Body text of Clickwrap (supports Markdown formatting).
215215
// use_with_bundles - string - Use this Clickwrap for Bundles?
216216
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
217-
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
217+
// use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
218218
static create = async (params = {}, options = {}) => {
219219
if (params.name && !isString(params.name)) {
220220
throw new errors.InvalidParameterError(`Bad parameter: name must be of type String, received ${getType(params.name)}`)

0 commit comments

Comments
 (0)