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 +1 -1
- package/docs/models/Partner.md +13 -2
- package/lib/Files.js +1 -1
- package/lib/models/Partner.js +7 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Partner.js +7 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.328
|
package/docs/models/Partner.md
CHANGED
|
@@ -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.
|
|
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;
|
package/lib/models/Partner.js
CHANGED
|
@@ -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
package/src/Files.js
CHANGED
package/src/models/Partner.js
CHANGED
|
@@ -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.
|