Skip to content

Commit 83a1b09

Browse files
[Bot] push changes from Files.com
1 parent 2cafaf6 commit 83a1b09

7 files changed

Lines changed: 25 additions & 5 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.621
1+
1.2.622

docs/models/BundleAction.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131
"workspace_id": 1,
3232
"bundle_registration_name": "John Doe",
3333
"bundle_registration_email": "john@example.com",
34-
"bundle_registration_ip": "127.0.0.1"
34+
"bundle_registration_ip": "127.0.0.1",
35+
"form_field_set_id": 1,
36+
"form_field_data": {
37+
"key": "example value"
38+
}
3539
}
3640
```
3741

@@ -46,6 +50,8 @@
4650
* `bundle_registration_name` (string): Name of the registrant who performed the action
4751
* `bundle_registration_email` (string): Email of the registrant
4852
* `bundle_registration_ip` (string): IP address of the registrant
53+
* `form_field_set_id` (int64): Id of associated form field set
54+
* `form_field_data` (object): Data for form field set with form field ids as keys and user data as values
4955

5056
---
5157

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.621';
15+
var version = '1.2.622';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/BundleAction.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ var BundleAction = /*#__PURE__*/(0, _createClass2.default)(function BundleAction
7676
(0, _defineProperty2.default)(this, "getBundleRegistrationIp", function () {
7777
return _this.attributes.bundle_registration_ip;
7878
});
79+
// int64 # Id of associated form field set
80+
(0, _defineProperty2.default)(this, "getFormFieldSetId", function () {
81+
return _this.attributes.form_field_set_id;
82+
});
83+
// object # Data for form field set with form field ids as keys and user data as values
84+
(0, _defineProperty2.default)(this, "getFormFieldData", function () {
85+
return _this.attributes.form_field_data;
86+
});
7987
Object.entries(attributes).forEach(function (_ref) {
8088
var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
8189
key = _ref2[0],

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.621",
3+
"version": "1.2.622",
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.621'
9+
const version = '1.2.622'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/BundleAction.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ class BundleAction {
6161
// string # IP address of the registrant
6262
getBundleRegistrationIp = () => this.attributes.bundle_registration_ip
6363

64+
// int64 # Id of associated form field set
65+
getFormFieldSetId = () => this.attributes.form_field_set_id
66+
67+
// object # Data for form field set with form field ids as keys and user data as values
68+
getFormFieldData = () => this.attributes.form_field_data
69+
6470
// Parameters:
6571
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
6672
// 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.

0 commit comments

Comments
 (0)