files.com 1.0.292 → 1.0.294
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/Bundle.md +15 -0
- package/lib/Api.js +1 -1
- package/lib/models/ActionNotificationExportResult.js +1 -1
- package/lib/models/ApiKey.js +1 -1
- package/lib/models/App.js +1 -1
- package/lib/models/As2IncomingMessage.js +1 -1
- package/lib/models/As2OutgoingMessage.js +1 -1
- package/lib/models/As2Partner.js +1 -1
- package/lib/models/As2Station.js +1 -1
- package/lib/models/Automation.js +1 -1
- package/lib/models/AutomationRun.js +1 -1
- package/lib/models/BandwidthSnapshot.js +1 -1
- package/lib/models/Behavior.js +2 -2
- package/lib/models/Bundle.js +36 -1
- package/lib/models/BundleDownload.js +1 -1
- package/lib/models/BundleNotification.js +1 -1
- package/lib/models/BundleRecipient.js +1 -1
- package/lib/models/BundleRegistration.js +1 -1
- package/lib/models/Clickwrap.js +1 -1
- package/lib/models/DnsRecord.js +1 -1
- package/lib/models/ExternalEvent.js +1 -1
- package/lib/models/File.js +1 -1
- package/lib/models/FileComment.js +1 -1
- package/lib/models/Folder.js +1 -1
- package/lib/models/FormFieldSet.js +1 -1
- package/lib/models/Group.js +1 -1
- package/lib/models/GroupUser.js +1 -1
- package/lib/models/History.js +5 -5
- package/lib/models/HistoryExportResult.js +1 -1
- package/lib/models/InboxRecipient.js +1 -1
- package/lib/models/InboxRegistration.js +1 -1
- package/lib/models/InboxUpload.js +1 -1
- package/lib/models/Invoice.js +1 -1
- package/lib/models/IpAddress.js +3 -3
- package/lib/models/Lock.js +1 -1
- package/lib/models/Message.js +1 -1
- package/lib/models/MessageComment.js +1 -1
- package/lib/models/MessageCommentReaction.js +1 -1
- package/lib/models/MessageReaction.js +1 -1
- package/lib/models/Notification.js +1 -1
- package/lib/models/Payment.js +1 -1
- package/lib/models/Permission.js +1 -1
- package/lib/models/Priority.js +1 -1
- package/lib/models/Project.js +1 -1
- package/lib/models/PublicKey.js +1 -1
- package/lib/models/RemoteBandwidthSnapshot.js +1 -1
- package/lib/models/RemoteServer.js +1 -1
- package/lib/models/Request.js +2 -2
- package/lib/models/SettingsChange.js +1 -1
- package/lib/models/SftpHostKey.js +1 -1
- package/lib/models/ShareGroup.js +1 -1
- package/lib/models/Snapshot.js +1 -1
- package/lib/models/SsoStrategy.js +1 -1
- package/lib/models/UsageDailySnapshot.js +1 -1
- package/lib/models/UsageSnapshot.js +1 -1
- package/lib/models/User.js +1 -1
- package/lib/models/UserCipherUse.js +1 -1
- package/lib/models/UserRequest.js +1 -1
- package/package.json +1 -1
- package/src/models/Bundle.js +35 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.294
|
package/docs/models/Bundle.md
CHANGED
@@ -5,6 +5,11 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"code": "abc123",
|
8
|
+
"color_left": "#0066a7",
|
9
|
+
"color_link": "#d34f5d",
|
10
|
+
"color_text": "#0066a7",
|
11
|
+
"color_top": "#000000",
|
12
|
+
"color_top_text": "#ffffff",
|
8
13
|
"url": "https://subdomain.files.com/f/12345678",
|
9
14
|
"description": "The public description of the bundle.",
|
10
15
|
"expires_at": "2000-01-01T01:00:00Z",
|
@@ -58,6 +63,11 @@
|
|
58
63
|
```
|
59
64
|
|
60
65
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
66
|
+
* `color_left` (string): Page link and button color
|
67
|
+
* `color_link` (string): Top bar link color
|
68
|
+
* `color_text` (string): Page link and button color
|
69
|
+
* `color_top` (string): Top bar background color
|
70
|
+
* `color_top_text` (string): Top bar text color
|
61
71
|
* `url` (string): Public URL of Share Link
|
62
72
|
* `description` (string): Public description
|
63
73
|
* `expires_at` (date-time): Bundle expiration date/time
|
@@ -283,6 +293,11 @@ await bundle.update({
|
|
283
293
|
```json
|
284
294
|
{
|
285
295
|
"code": "abc123",
|
296
|
+
"color_left": "#0066a7",
|
297
|
+
"color_link": "#d34f5d",
|
298
|
+
"color_text": "#0066a7",
|
299
|
+
"color_top": "#000000",
|
300
|
+
"color_top_text": "#ffffff",
|
286
301
|
"url": "https://subdomain.files.com/f/12345678",
|
287
302
|
"description": "The public description of the bundle.",
|
288
303
|
"expires_at": "2000-01-01T01:00:00Z",
|
package/lib/Api.js
CHANGED
@@ -110,7 +110,7 @@ var Api = /*#__PURE__*/(0, _createClass2.default)(function Api() {
|
|
110
110
|
_context2.next = 12;
|
111
111
|
break;
|
112
112
|
}
|
113
|
-
nextCursor = response === null || response === void 0
|
113
|
+
nextCursor = response === null || response === void 0 || (_response$headers = response.headers) === null || _response$headers === void 0 ? void 0 : _response$headers['x-files-cursor'];
|
114
114
|
_ref3 = metadata || {}, autoPaginateCount = _ref3.autoPaginateCount, previousAutoPaginateData = _ref3.previousAutoPaginateData;
|
115
115
|
if (!nextCursor) {
|
116
116
|
_context2.next = 10;
|
@@ -134,7 +134,7 @@ var ActionNotificationExportResult = /*#__PURE__*/(0, _createClass2.default)(fun
|
|
134
134
|
return _Api.default.sendRequest("/action_notification_export_results", 'GET', params, options);
|
135
135
|
case 14:
|
136
136
|
response = _context.sent;
|
137
|
-
return _context.abrupt("return", (response === null || response === void 0
|
137
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
138
138
|
return new ActionNotificationExportResult(obj, options);
|
139
139
|
})) || []);
|
140
140
|
case 16:
|
package/lib/models/ApiKey.js
CHANGED
@@ -321,7 +321,7 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
321
321
|
return _Api.default.sendRequest("/api_keys", 'GET', params, options);
|
322
322
|
case 10:
|
323
323
|
response = _context3.sent;
|
324
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
324
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
325
325
|
return new ApiKey(obj, options);
|
326
326
|
})) || []);
|
327
327
|
case 12:
|
package/lib/models/App.js
CHANGED
@@ -141,7 +141,7 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
|
|
141
141
|
return _Api.default.sendRequest("/apps", 'GET', params, options);
|
142
142
|
case 8:
|
143
143
|
response = _context.sent;
|
144
|
-
return _context.abrupt("return", (response === null || response === void 0
|
144
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
145
145
|
return new App(obj, options);
|
146
146
|
})) || []);
|
147
147
|
case 10:
|
@@ -227,7 +227,7 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
|
|
227
227
|
return _Api.default.sendRequest("/as2_incoming_messages", 'GET', params, options);
|
228
228
|
case 10:
|
229
229
|
response = _context.sent;
|
230
|
-
return _context.abrupt("return", (response === null || response === void 0
|
230
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
231
231
|
return new As2IncomingMessage(obj, options);
|
232
232
|
})) || []);
|
233
233
|
case 12:
|
@@ -211,7 +211,7 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
|
|
211
211
|
return _Api.default.sendRequest("/as2_outgoing_messages", 'GET', params, options);
|
212
212
|
case 10:
|
213
213
|
response = _context.sent;
|
214
|
-
return _context.abrupt("return", (response === null || response === void 0
|
214
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
215
215
|
return new As2OutgoingMessage(obj, options);
|
216
216
|
})) || []);
|
217
217
|
case 12:
|
package/lib/models/As2Partner.js
CHANGED
@@ -319,7 +319,7 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
|
|
319
319
|
return _Api.default.sendRequest("/as2_partners", 'GET', params, options);
|
320
320
|
case 8:
|
321
321
|
response = _context3.sent;
|
322
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
322
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
323
323
|
return new As2Partner(obj, options);
|
324
324
|
})) || []);
|
325
325
|
case 10:
|
package/lib/models/As2Station.js
CHANGED
@@ -332,7 +332,7 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
|
|
332
332
|
return _Api.default.sendRequest("/as2_stations", 'GET', params, options);
|
333
333
|
case 8:
|
334
334
|
response = _context3.sent;
|
335
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
335
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
336
336
|
return new As2Station(obj, options);
|
337
337
|
})) || []);
|
338
338
|
case 10:
|
package/lib/models/Automation.js
CHANGED
@@ -535,7 +535,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
535
535
|
return _Api.default.sendRequest("/automations", 'GET', params, options);
|
536
536
|
case 8:
|
537
537
|
response = _context4.sent;
|
538
|
-
return _context4.abrupt("return", (response === null || response === void 0
|
538
|
+
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
539
539
|
return new Automation(obj, options);
|
540
540
|
})) || []);
|
541
541
|
case 10:
|
@@ -120,7 +120,7 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
|
|
120
120
|
return _Api.default.sendRequest("/automation_runs", 'GET', params, options);
|
121
121
|
case 14:
|
122
122
|
response = _context.sent;
|
123
|
-
return _context.abrupt("return", (response === null || response === void 0
|
123
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
124
124
|
return new AutomationRun(obj, options);
|
125
125
|
})) || []);
|
126
126
|
case 16:
|
@@ -116,7 +116,7 @@ var BandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function Bandwid
|
|
116
116
|
return _Api.default.sendRequest("/bandwidth_snapshots", 'GET', params, options);
|
117
117
|
case 8:
|
118
118
|
response = _context.sent;
|
119
|
-
return _context.abrupt("return", (response === null || response === void 0
|
119
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
120
120
|
return new BandwidthSnapshot(obj, options);
|
121
121
|
})) || []);
|
122
122
|
case 10:
|
package/lib/models/Behavior.js
CHANGED
@@ -295,7 +295,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
295
295
|
return _Api.default.sendRequest("/behaviors", 'GET', params, options);
|
296
296
|
case 8:
|
297
297
|
response = _context3.sent;
|
298
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
298
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
299
299
|
return new Behavior(obj, options);
|
300
300
|
})) || []);
|
301
301
|
case 10:
|
@@ -429,7 +429,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
429
429
|
return _Api.default.sendRequest("/behaviors/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
430
430
|
case 19:
|
431
431
|
response = _context5.sent;
|
432
|
-
return _context5.abrupt("return", (response === null || response === void 0
|
432
|
+
return _context5.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
|
433
433
|
return new Behavior(obj, options);
|
434
434
|
})) || []);
|
435
435
|
case 21:
|
package/lib/models/Bundle.js
CHANGED
@@ -38,6 +38,41 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
38
38
|
(0, _defineProperty2.default)(this, "setCode", function (value) {
|
39
39
|
_this.attributes.code = value;
|
40
40
|
});
|
41
|
+
// string # Page link and button color
|
42
|
+
(0, _defineProperty2.default)(this, "getColorLeft", function () {
|
43
|
+
return _this.attributes.color_left;
|
44
|
+
});
|
45
|
+
(0, _defineProperty2.default)(this, "setColorLeft", function (value) {
|
46
|
+
_this.attributes.color_left = value;
|
47
|
+
});
|
48
|
+
// string # Top bar link color
|
49
|
+
(0, _defineProperty2.default)(this, "getColorLink", function () {
|
50
|
+
return _this.attributes.color_link;
|
51
|
+
});
|
52
|
+
(0, _defineProperty2.default)(this, "setColorLink", function (value) {
|
53
|
+
_this.attributes.color_link = value;
|
54
|
+
});
|
55
|
+
// string # Page link and button color
|
56
|
+
(0, _defineProperty2.default)(this, "getColorText", function () {
|
57
|
+
return _this.attributes.color_text;
|
58
|
+
});
|
59
|
+
(0, _defineProperty2.default)(this, "setColorText", function (value) {
|
60
|
+
_this.attributes.color_text = value;
|
61
|
+
});
|
62
|
+
// string # Top bar background color
|
63
|
+
(0, _defineProperty2.default)(this, "getColorTop", function () {
|
64
|
+
return _this.attributes.color_top;
|
65
|
+
});
|
66
|
+
(0, _defineProperty2.default)(this, "setColorTop", function (value) {
|
67
|
+
_this.attributes.color_top = value;
|
68
|
+
});
|
69
|
+
// string # Top bar text color
|
70
|
+
(0, _defineProperty2.default)(this, "getColorTopText", function () {
|
71
|
+
return _this.attributes.color_top_text;
|
72
|
+
});
|
73
|
+
(0, _defineProperty2.default)(this, "setColorTopText", function (value) {
|
74
|
+
_this.attributes.color_top_text = value;
|
75
|
+
});
|
41
76
|
// string # Public URL of Share Link
|
42
77
|
(0, _defineProperty2.default)(this, "getUrl", function () {
|
43
78
|
return _this.attributes.url;
|
@@ -633,7 +668,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
633
668
|
return _Api.default.sendRequest("/bundles", 'GET', params, options);
|
634
669
|
case 10:
|
635
670
|
response = _context4.sent;
|
636
|
-
return _context4.abrupt("return", (response === null || response === void 0
|
671
|
+
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
637
672
|
return new Bundle(obj, options);
|
638
673
|
})) || []);
|
639
674
|
case 12:
|
@@ -110,7 +110,7 @@ var BundleDownload = /*#__PURE__*/(0, _createClass2.default)(function BundleDown
|
|
110
110
|
return _Api.default.sendRequest("/bundle_downloads", 'GET', params, options);
|
111
111
|
case 12:
|
112
112
|
response = _context.sent;
|
113
|
-
return _context.abrupt("return", (response === null || response === void 0
|
113
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
114
114
|
return new BundleDownload(obj, options);
|
115
115
|
})) || []);
|
116
116
|
case 14:
|
@@ -238,7 +238,7 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
238
238
|
return _Api.default.sendRequest("/bundle_notifications", 'GET', params, options);
|
239
239
|
case 10:
|
240
240
|
response = _context3.sent;
|
241
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
241
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
242
242
|
return new BundleNotification(obj, options);
|
243
243
|
})) || []);
|
244
244
|
case 12:
|
@@ -161,7 +161,7 @@ var BundleRecipient = /*#__PURE__*/(0, _createClass2.default)(function BundleRec
|
|
161
161
|
return _Api.default.sendRequest("/bundle_recipients", 'GET', params, options);
|
162
162
|
case 14:
|
163
163
|
response = _context.sent;
|
164
|
-
return _context.abrupt("return", (response === null || response === void 0
|
164
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
165
165
|
return new BundleRecipient(obj, options);
|
166
166
|
})) || []);
|
167
167
|
case 16:
|
@@ -140,7 +140,7 @@ var BundleRegistration = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
140
140
|
return _Api.default.sendRequest("/bundle_registrations", 'GET', params, options);
|
141
141
|
case 12:
|
142
142
|
response = _context.sent;
|
143
|
-
return _context.abrupt("return", (response === null || response === void 0
|
143
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
144
144
|
return new BundleRegistration(obj, options);
|
145
145
|
})) || []);
|
146
146
|
case 14:
|
package/lib/models/Clickwrap.js
CHANGED
@@ -269,7 +269,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
269
269
|
return _Api.default.sendRequest("/clickwraps", 'GET', params, options);
|
270
270
|
case 8:
|
271
271
|
response = _context3.sent;
|
272
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
272
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
273
273
|
return new Clickwrap(obj, options);
|
274
274
|
})) || []);
|
275
275
|
case 10:
|
package/lib/models/DnsRecord.js
CHANGED
@@ -90,7 +90,7 @@ var DnsRecord = /*#__PURE__*/(0, _createClass2.default)(function DnsRecord() {
|
|
90
90
|
return _Api.default.sendRequest("/dns_records", 'GET', params, options);
|
91
91
|
case 8:
|
92
92
|
response = _context.sent;
|
93
|
-
return _context.abrupt("return", (response === null || response === void 0
|
93
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
94
94
|
return new DnsRecord(obj, options);
|
95
95
|
})) || []);
|
96
96
|
case 10:
|
@@ -164,7 +164,7 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
|
|
164
164
|
return _Api.default.sendRequest("/external_events", 'GET', params, options);
|
165
165
|
case 8:
|
166
166
|
response = _context.sent;
|
167
|
-
return _context.abrupt("return", (response === null || response === void 0
|
167
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
168
168
|
return new ExternalEvent(obj, options);
|
169
169
|
})) || []);
|
170
170
|
case 10:
|
package/lib/models/File.js
CHANGED
@@ -786,7 +786,7 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
786
786
|
return _Api.default.sendRequest("/file_actions/begin_upload/".concat(encodeURIComponent(params['path'])), 'POST', params, _this.options);
|
787
787
|
case 26:
|
788
788
|
response = _context11.sent;
|
789
|
-
return _context11.abrupt("return", (response === null || response === void 0
|
789
|
+
return _context11.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
790
790
|
return new _FileUploadPart.default(obj, _this.options);
|
791
791
|
})) || []);
|
792
792
|
case 28:
|
@@ -262,7 +262,7 @@ var FileComment = /*#__PURE__*/(0, _createClass2.default)(function FileComment()
|
|
262
262
|
return _Api.default.sendRequest("/file_comments/files/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
263
263
|
case 15:
|
264
264
|
response = _context3.sent;
|
265
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
265
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
266
266
|
return new FileComment(obj, options);
|
267
267
|
})) || []);
|
268
268
|
case 17:
|
package/lib/models/Folder.js
CHANGED
@@ -256,7 +256,7 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
256
256
|
return _Api.default.sendRequest("/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
257
257
|
case 21:
|
258
258
|
response = _context.sent;
|
259
|
-
return _context.abrupt("return", (response === null || response === void 0
|
259
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
260
260
|
return new _File.default(obj, options);
|
261
261
|
})) || []);
|
262
262
|
case 23:
|
@@ -272,7 +272,7 @@ var FormFieldSet = /*#__PURE__*/(0, _createClass2.default)(function FormFieldSet
|
|
272
272
|
return _Api.default.sendRequest("/form_field_sets", 'GET', params, options);
|
273
273
|
case 10:
|
274
274
|
response = _context3.sent;
|
275
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
275
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
276
276
|
return new FormFieldSet(obj, options);
|
277
277
|
})) || []);
|
278
278
|
case 12:
|
package/lib/models/Group.js
CHANGED
@@ -272,7 +272,7 @@ var Group = /*#__PURE__*/(0, _createClass2.default)(function Group() {
|
|
272
272
|
return _Api.default.sendRequest("/groups", 'GET', params, options);
|
273
273
|
case 10:
|
274
274
|
response = _context3.sent;
|
275
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
275
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
276
276
|
return new Group(obj, options);
|
277
277
|
})) || []);
|
278
278
|
case 12:
|
package/lib/models/GroupUser.js
CHANGED
@@ -334,7 +334,7 @@ var GroupUser = /*#__PURE__*/(0, _createClass2.default)(function GroupUser() {
|
|
334
334
|
return _Api.default.sendRequest("/group_users", 'GET', params, options);
|
335
335
|
case 12:
|
336
336
|
response = _context3.sent;
|
337
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
337
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
338
338
|
return new GroupUser(obj, options);
|
339
339
|
})) || []);
|
340
340
|
case 14:
|
package/lib/models/History.js
CHANGED
@@ -169,7 +169,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
169
169
|
return _Api.default.sendRequest("/history/files/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
170
170
|
case 21:
|
171
171
|
response = _context.sent;
|
172
|
-
return _context.abrupt("return", (response === null || response === void 0
|
172
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
173
173
|
return new Action(obj, options);
|
174
174
|
})) || []);
|
175
175
|
case 23:
|
@@ -255,7 +255,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
255
255
|
return _Api.default.sendRequest("/history/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
256
256
|
case 21:
|
257
257
|
response = _context2.sent;
|
258
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
258
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
|
259
259
|
return new Action(obj, options);
|
260
260
|
})) || []);
|
261
261
|
case 23:
|
@@ -341,7 +341,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
341
341
|
return _Api.default.sendRequest("/history/users/".concat(encodeURIComponent(params['user_id'])), 'GET', params, options);
|
342
342
|
case 21:
|
343
343
|
response = _context3.sent;
|
344
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
344
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.map(function (obj) {
|
345
345
|
return new Action(obj, options);
|
346
346
|
})) || []);
|
347
347
|
case 23:
|
@@ -406,7 +406,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
406
406
|
return _Api.default.sendRequest("/history/login", 'GET', params, options);
|
407
407
|
case 14:
|
408
408
|
response = _context4.sent;
|
409
|
-
return _context4.abrupt("return", (response === null || response === void 0
|
409
|
+
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.map(function (obj) {
|
410
410
|
return new Action(obj, options);
|
411
411
|
})) || []);
|
412
412
|
case 16:
|
@@ -469,7 +469,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
469
469
|
return _Api.default.sendRequest("/history", 'GET', params, options);
|
470
470
|
case 14:
|
471
471
|
response = _context5.sent;
|
472
|
-
return _context5.abrupt("return", (response === null || response === void 0
|
472
|
+
return _context5.abrupt("return", (response === null || response === void 0 || (_response$data5 = response.data) === null || _response$data5 === void 0 ? void 0 : _response$data5.map(function (obj) {
|
473
473
|
return new Action(obj, options);
|
474
474
|
})) || []);
|
475
475
|
case 16:
|
@@ -190,7 +190,7 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
|
|
190
190
|
return _Api.default.sendRequest("/history_export_results", 'GET', params, options);
|
191
191
|
case 14:
|
192
192
|
response = _context.sent;
|
193
|
-
return _context.abrupt("return", (response === null || response === void 0
|
193
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
194
194
|
return new HistoryExportResult(obj, options);
|
195
195
|
})) || []);
|
196
196
|
case 16:
|
@@ -147,7 +147,7 @@ var InboxRecipient = /*#__PURE__*/(0, _createClass2.default)(function InboxRecip
|
|
147
147
|
return _Api.default.sendRequest("/inbox_recipients", 'GET', params, options);
|
148
148
|
case 12:
|
149
149
|
response = _context.sent;
|
150
|
-
return _context.abrupt("return", (response === null || response === void 0
|
150
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
151
151
|
return new InboxRecipient(obj, options);
|
152
152
|
})) || []);
|
153
153
|
case 14:
|
@@ -125,7 +125,7 @@ var InboxRegistration = /*#__PURE__*/(0, _createClass2.default)(function InboxRe
|
|
125
125
|
return _Api.default.sendRequest("/inbox_registrations", 'GET', params, options);
|
126
126
|
case 10:
|
127
127
|
response = _context.sent;
|
128
|
-
return _context.abrupt("return", (response === null || response === void 0
|
128
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
129
129
|
return new InboxRegistration(obj, options);
|
130
130
|
})) || []);
|
131
131
|
case 12:
|
@@ -106,7 +106,7 @@ var InboxUpload = /*#__PURE__*/(0, _createClass2.default)(function InboxUpload()
|
|
106
106
|
return _Api.default.sendRequest("/inbox_uploads", 'GET', params, options);
|
107
107
|
case 12:
|
108
108
|
response = _context.sent;
|
109
|
-
return _context.abrupt("return", (response === null || response === void 0
|
109
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
110
110
|
return new InboxUpload(obj, options);
|
111
111
|
})) || []);
|
112
112
|
case 14:
|
package/lib/models/Invoice.js
CHANGED
@@ -130,7 +130,7 @@ var Invoice = /*#__PURE__*/(0, _createClass2.default)(function Invoice() {
|
|
130
130
|
return _Api.default.sendRequest("/invoices", 'GET', params, options);
|
131
131
|
case 8:
|
132
132
|
response = _context.sent;
|
133
|
-
return _context.abrupt("return", (response === null || response === void 0
|
133
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
134
134
|
return new AccountLineItem(obj, options);
|
135
135
|
})) || []);
|
136
136
|
case 10:
|
package/lib/models/IpAddress.js
CHANGED
@@ -90,7 +90,7 @@ var IpAddress = /*#__PURE__*/(0, _createClass2.default)(function IpAddress() {
|
|
90
90
|
return _Api.default.sendRequest("/ip_addresses", 'GET', params, options);
|
91
91
|
case 8:
|
92
92
|
response = _context.sent;
|
93
|
-
return _context.abrupt("return", (response === null || response === void 0
|
93
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
94
94
|
return new IpAddress(obj, options);
|
95
95
|
})) || []);
|
96
96
|
case 10:
|
@@ -134,7 +134,7 @@ var IpAddress = /*#__PURE__*/(0, _createClass2.default)(function IpAddress() {
|
|
134
134
|
return _Api.default.sendRequest("/ip_addresses/exavault-reserved", 'GET', params, options);
|
135
135
|
case 8:
|
136
136
|
response = _context2.sent;
|
137
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
137
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
|
138
138
|
return new PublicIpAddress(obj, options);
|
139
139
|
})) || []);
|
140
140
|
case 10:
|
@@ -173,7 +173,7 @@ var IpAddress = /*#__PURE__*/(0, _createClass2.default)(function IpAddress() {
|
|
173
173
|
return _Api.default.sendRequest("/ip_addresses/reserved", 'GET', params, options);
|
174
174
|
case 8:
|
175
175
|
response = _context3.sent;
|
176
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
176
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.map(function (obj) {
|
177
177
|
return new PublicIpAddress(obj, options);
|
178
178
|
})) || []);
|
179
179
|
case 10:
|
package/lib/models/Lock.js
CHANGED
@@ -263,7 +263,7 @@ var Lock = /*#__PURE__*/(0, _createClass2.default)(function Lock() {
|
|
263
263
|
return _Api.default.sendRequest("/locks/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
264
264
|
case 15:
|
265
265
|
response = _context2.sent;
|
266
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
266
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
267
267
|
return new Lock(obj, options);
|
268
268
|
})) || []);
|
269
269
|
case 17:
|
package/lib/models/Message.js
CHANGED
@@ -317,7 +317,7 @@ var Message = /*#__PURE__*/(0, _createClass2.default)(function Message() {
|
|
317
317
|
return _Api.default.sendRequest("/messages", 'GET', params, options);
|
318
318
|
case 14:
|
319
319
|
response = _context3.sent;
|
320
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
320
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
321
321
|
return new Message(obj, options);
|
322
322
|
})) || []);
|
323
323
|
case 16:
|
@@ -261,7 +261,7 @@ var MessageComment = /*#__PURE__*/(0, _createClass2.default)(function MessageCom
|
|
261
261
|
return _Api.default.sendRequest("/message_comments", 'GET', params, options);
|
262
262
|
case 14:
|
263
263
|
response = _context3.sent;
|
264
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
264
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
265
265
|
return new MessageComment(obj, options);
|
266
266
|
})) || []);
|
267
267
|
case 16:
|
@@ -180,7 +180,7 @@ var MessageCommentReaction = /*#__PURE__*/(0, _createClass2.default)(function Me
|
|
180
180
|
return _Api.default.sendRequest("/message_comment_reactions", 'GET', params, options);
|
181
181
|
case 14:
|
182
182
|
response = _context2.sent;
|
183
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
183
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
184
184
|
return new MessageCommentReaction(obj, options);
|
185
185
|
})) || []);
|
186
186
|
case 16:
|
@@ -180,7 +180,7 @@ var MessageReaction = /*#__PURE__*/(0, _createClass2.default)(function MessageRe
|
|
180
180
|
return _Api.default.sendRequest("/message_reactions", 'GET', params, options);
|
181
181
|
case 14:
|
182
182
|
response = _context2.sent;
|
183
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
183
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
184
184
|
return new MessageReaction(obj, options);
|
185
185
|
})) || []);
|
186
186
|
case 16:
|
@@ -414,7 +414,7 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
414
414
|
return _Api.default.sendRequest("/notifications", 'GET', params, options);
|
415
415
|
case 14:
|
416
416
|
response = _context3.sent;
|
417
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
417
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
418
418
|
return new Notification(obj, options);
|
419
419
|
})) || []);
|
420
420
|
case 16:
|
package/lib/models/Payment.js
CHANGED
@@ -130,7 +130,7 @@ var Payment = /*#__PURE__*/(0, _createClass2.default)(function Payment() {
|
|
130
130
|
return _Api.default.sendRequest("/payments", 'GET', params, options);
|
131
131
|
case 8:
|
132
132
|
response = _context.sent;
|
133
|
-
return _context.abrupt("return", (response === null || response === void 0
|
133
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
134
134
|
return new AccountLineItem(obj, options);
|
135
135
|
})) || []);
|
136
136
|
case 10:
|
package/lib/models/Permission.js
CHANGED
@@ -220,7 +220,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
|
|
220
220
|
return _Api.default.sendRequest("/permissions", 'GET', params, options);
|
221
221
|
case 14:
|
222
222
|
response = _context2.sent;
|
223
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
223
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
224
224
|
return new Permission(obj, options);
|
225
225
|
})) || []);
|
226
226
|
case 16:
|
package/lib/models/Priority.js
CHANGED
@@ -103,7 +103,7 @@ var Priority = /*#__PURE__*/(0, _createClass2.default)(function Priority() {
|
|
103
103
|
return _Api.default.sendRequest("/priorities", 'GET', params, options);
|
104
104
|
case 15:
|
105
105
|
response = _context.sent;
|
106
|
-
return _context.abrupt("return", (response === null || response === void 0
|
106
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
107
107
|
return new Priority(obj, options);
|
108
108
|
})) || []);
|
109
109
|
case 17:
|
package/lib/models/Project.js
CHANGED
@@ -227,7 +227,7 @@ var Project = /*#__PURE__*/(0, _createClass2.default)(function Project() {
|
|
227
227
|
return _Api.default.sendRequest("/projects", 'GET', params, options);
|
228
228
|
case 8:
|
229
229
|
response = _context3.sent;
|
230
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
230
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
231
231
|
return new Project(obj, options);
|
232
232
|
})) || []);
|
233
233
|
case 10:
|
package/lib/models/PublicKey.js
CHANGED
@@ -259,7 +259,7 @@ var PublicKey = /*#__PURE__*/(0, _createClass2.default)(function PublicKey() {
|
|
259
259
|
return _Api.default.sendRequest("/public_keys", 'GET', params, options);
|
260
260
|
case 10:
|
261
261
|
response = _context3.sent;
|
262
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
262
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
263
263
|
return new PublicKey(obj, options);
|
264
264
|
})) || []);
|
265
265
|
case 12:
|
@@ -100,7 +100,7 @@ var RemoteBandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function R
|
|
100
100
|
return _Api.default.sendRequest("/remote_bandwidth_snapshots", 'GET', params, options);
|
101
101
|
case 8:
|
102
102
|
response = _context.sent;
|
103
|
-
return _context.abrupt("return", (response === null || response === void 0
|
103
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
104
104
|
return new RemoteBandwidthSnapshot(obj, options);
|
105
105
|
})) || []);
|
106
106
|
case 10:
|
@@ -1245,7 +1245,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
1245
1245
|
return _Api.default.sendRequest("/remote_servers", 'GET', params, options);
|
1246
1246
|
case 8:
|
1247
1247
|
response = _context4.sent;
|
1248
|
-
return _context4.abrupt("return", (response === null || response === void 0
|
1248
|
+
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
1249
1249
|
return new RemoteServer(obj, options);
|
1250
1250
|
})) || []);
|
1251
1251
|
case 10:
|
package/lib/models/Request.js
CHANGED
@@ -204,7 +204,7 @@ var Request = /*#__PURE__*/(0, _createClass2.default)(function Request() {
|
|
204
204
|
return _Api.default.sendRequest("/requests", 'GET', params, options);
|
205
205
|
case 10:
|
206
206
|
response = _context2.sent;
|
207
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
207
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
208
208
|
return new Request(obj, options);
|
209
209
|
})) || []);
|
210
210
|
case 12:
|
@@ -271,7 +271,7 @@ var Request = /*#__PURE__*/(0, _createClass2.default)(function Request() {
|
|
271
271
|
return _Api.default.sendRequest("/requests/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
272
272
|
case 15:
|
273
273
|
response = _context3.sent;
|
274
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
274
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
|
275
275
|
return new Request(obj, options);
|
276
276
|
})) || []);
|
277
277
|
case 17:
|
@@ -100,7 +100,7 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
|
|
100
100
|
return _Api.default.sendRequest("/settings_changes", 'GET', params, options);
|
101
101
|
case 8:
|
102
102
|
response = _context.sent;
|
103
|
-
return _context.abrupt("return", (response === null || response === void 0
|
103
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
104
104
|
return new SettingsChange(obj, options);
|
105
105
|
})) || []);
|
106
106
|
case 10:
|
@@ -241,7 +241,7 @@ var SftpHostKey = /*#__PURE__*/(0, _createClass2.default)(function SftpHostKey()
|
|
241
241
|
return _Api.default.sendRequest("/sftp_host_keys", 'GET', params, options);
|
242
242
|
case 8:
|
243
243
|
response = _context3.sent;
|
244
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
244
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
245
245
|
return new SftpHostKey(obj, options);
|
246
246
|
})) || []);
|
247
247
|
case 10:
|
package/lib/models/ShareGroup.js
CHANGED
@@ -262,7 +262,7 @@ var ShareGroup = /*#__PURE__*/(0, _createClass2.default)(function ShareGroup() {
|
|
262
262
|
return _Api.default.sendRequest("/share_groups", 'GET', params, options);
|
263
263
|
case 10:
|
264
264
|
response = _context3.sent;
|
265
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
265
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
266
266
|
return new ShareGroup(obj, options);
|
267
267
|
})) || []);
|
268
268
|
case 12:
|
package/lib/models/Snapshot.js
CHANGED
@@ -262,7 +262,7 @@ var Snapshot = /*#__PURE__*/(0, _createClass2.default)(function Snapshot() {
|
|
262
262
|
return _Api.default.sendRequest("/snapshots", 'GET', params, options);
|
263
263
|
case 8:
|
264
264
|
response = _context3.sent;
|
265
|
-
return _context3.abrupt("return", (response === null || response === void 0
|
265
|
+
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
266
266
|
return new Snapshot(obj, options);
|
267
267
|
})) || []);
|
268
268
|
case 10:
|
@@ -303,7 +303,7 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
303
303
|
return _Api.default.sendRequest("/sso_strategies", 'GET', params, options);
|
304
304
|
case 8:
|
305
305
|
response = _context2.sent;
|
306
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
306
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
307
307
|
return new SsoStrategy(obj, options);
|
308
308
|
})) || []);
|
309
309
|
case 10:
|
@@ -124,7 +124,7 @@ var UsageDailySnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageD
|
|
124
124
|
return _Api.default.sendRequest("/usage_daily_snapshots", 'GET', params, options);
|
125
125
|
case 8:
|
126
126
|
response = _context.sent;
|
127
|
-
return _context.abrupt("return", (response === null || response === void 0
|
127
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
128
128
|
return new UsageDailySnapshot(obj, options);
|
129
129
|
})) || []);
|
130
130
|
case 10:
|
@@ -134,7 +134,7 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
|
|
134
134
|
return _Api.default.sendRequest("/usage_snapshots", 'GET', params, options);
|
135
135
|
case 8:
|
136
136
|
response = _context.sent;
|
137
|
-
return _context.abrupt("return", (response === null || response === void 0
|
137
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
138
138
|
return new UsageSnapshot(obj, options);
|
139
139
|
})) || []);
|
140
140
|
case 10:
|
package/lib/models/User.js
CHANGED
@@ -1053,7 +1053,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
1053
1053
|
return _Api.default.sendRequest("/users", 'GET', params, options);
|
1054
1054
|
case 12:
|
1055
1055
|
response = _context6.sent;
|
1056
|
-
return _context6.abrupt("return", (response === null || response === void 0
|
1056
|
+
return _context6.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
1057
1057
|
return new User(obj, options);
|
1058
1058
|
})) || []);
|
1059
1059
|
case 14:
|
@@ -105,7 +105,7 @@ var UserCipherUse = /*#__PURE__*/(0, _createClass2.default)(function UserCipherU
|
|
105
105
|
return _Api.default.sendRequest("/user_cipher_uses", 'GET', params, options);
|
106
106
|
case 10:
|
107
107
|
response = _context.sent;
|
108
|
-
return _context.abrupt("return", (response === null || response === void 0
|
108
|
+
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
109
109
|
return new UserCipherUse(obj, options);
|
110
110
|
})) || []);
|
111
111
|
case 12:
|
@@ -167,7 +167,7 @@ var UserRequest = /*#__PURE__*/(0, _createClass2.default)(function UserRequest()
|
|
167
167
|
return _Api.default.sendRequest("/user_requests", 'GET', params, options);
|
168
168
|
case 8:
|
169
169
|
response = _context2.sent;
|
170
|
-
return _context2.abrupt("return", (response === null || response === void 0
|
170
|
+
return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
171
171
|
return new UserRequest(obj, options);
|
172
172
|
})) || []);
|
173
173
|
case 10:
|
package/package.json
CHANGED
package/src/models/Bundle.js
CHANGED
@@ -30,6 +30,41 @@ class Bundle {
|
|
30
30
|
this.attributes.code = value
|
31
31
|
}
|
32
32
|
|
33
|
+
// string # Page link and button color
|
34
|
+
getColorLeft = () => this.attributes.color_left
|
35
|
+
|
36
|
+
setColorLeft = value => {
|
37
|
+
this.attributes.color_left = value
|
38
|
+
}
|
39
|
+
|
40
|
+
// string # Top bar link color
|
41
|
+
getColorLink = () => this.attributes.color_link
|
42
|
+
|
43
|
+
setColorLink = value => {
|
44
|
+
this.attributes.color_link = value
|
45
|
+
}
|
46
|
+
|
47
|
+
// string # Page link and button color
|
48
|
+
getColorText = () => this.attributes.color_text
|
49
|
+
|
50
|
+
setColorText = value => {
|
51
|
+
this.attributes.color_text = value
|
52
|
+
}
|
53
|
+
|
54
|
+
// string # Top bar background color
|
55
|
+
getColorTop = () => this.attributes.color_top
|
56
|
+
|
57
|
+
setColorTop = value => {
|
58
|
+
this.attributes.color_top = value
|
59
|
+
}
|
60
|
+
|
61
|
+
// string # Top bar text color
|
62
|
+
getColorTopText = () => this.attributes.color_top_text
|
63
|
+
|
64
|
+
setColorTopText = value => {
|
65
|
+
this.attributes.color_top_text = value
|
66
|
+
}
|
67
|
+
|
33
68
|
// string # Public URL of Share Link
|
34
69
|
getUrl = () => this.attributes.url
|
35
70
|
|