files.com 1.2.327 → 1.2.328

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.327
1
+ 1.2.328
@@ -12,7 +12,12 @@
12
12
  "name": "Acme Corp",
13
13
  "notes": "This is a note about the partner.",
14
14
  "root_folder": "/AcmeCorp",
15
- "tags": "example"
15
+ "tags": "example",
16
+ "user_ids": [
17
+ 1,
18
+ 2,
19
+ 3
20
+ ]
16
21
  }
17
22
  ```
18
23
 
@@ -25,6 +30,7 @@
25
30
  * `notes` (string): Notes about this Partner.
26
31
  * `root_folder` (string): The root folder path for this Partner.
27
32
  * `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
33
+ * `user_ids` (array(int64)): Array of User IDs that belong to this Partner.
28
34
 
29
35
  ---
30
36
 
@@ -126,7 +132,12 @@ await partner.update({
126
132
  "name": "Acme Corp",
127
133
  "notes": "This is a note about the partner.",
128
134
  "root_folder": "/AcmeCorp",
129
- "tags": "example"
135
+ "tags": "example",
136
+ "user_ids": [
137
+ 1,
138
+ 2,
139
+ 3
140
+ ]
130
141
  }
131
142
  ```
132
143
 
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.327';
15
+ var version = '1.2.328';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -95,6 +95,13 @@ var Partner = /*#__PURE__*/(0, _createClass2.default)(function Partner() {
95
95
  (0, _defineProperty2.default)(this, "setTags", function (value) {
96
96
  _this.attributes.tags = value;
97
97
  });
98
+ // array(int64) # Array of User IDs that belong to this Partner.
99
+ (0, _defineProperty2.default)(this, "getUserIds", function () {
100
+ return _this.attributes.user_ids;
101
+ });
102
+ (0, _defineProperty2.default)(this, "setUserIds", function (value) {
103
+ _this.attributes.user_ids = value;
104
+ });
98
105
  // Parameters:
99
106
  // name - string - The name of the Partner.
100
107
  // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.327",
3
+ "version": "1.2.328",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
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.327'
9
+ const version = '1.2.328'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -91,6 +91,13 @@ class Partner {
91
91
  this.attributes.tags = value
92
92
  }
93
93
 
94
+ // array(int64) # Array of User IDs that belong to this Partner.
95
+ getUserIds = () => this.attributes.user_ids
96
+
97
+ setUserIds = value => {
98
+ this.attributes.user_ids = value
99
+ }
100
+
94
101
  // Parameters:
95
102
  // name - string - The name of the Partner.
96
103
  // allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.