files.com 1.0.247 → 1.0.249
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/RemoteServer.md +16 -2
- package/lib/models/AccountLineItem.js +14 -0
- package/lib/models/Action.js +13 -0
- package/lib/models/ActionNotificationExport.js +27 -0
- package/lib/models/ActionNotificationExportResult.js +15 -0
- package/lib/models/ActionWebhookFailure.js +1 -0
- package/lib/models/ApiKey.js +42 -0
- package/lib/models/App.js +26 -0
- package/lib/models/As2IncomingMessage.js +46 -0
- package/lib/models/As2OutgoingMessage.js +42 -0
- package/lib/models/As2Partner.js +29 -0
- package/lib/models/As2Station.js +31 -0
- package/lib/models/Auto.js +1 -0
- package/lib/models/Automation.js +72 -0
- package/lib/models/AutomationRun.js +20 -0
- package/lib/models/BandwidthSnapshot.js +19 -0
- package/lib/models/Behavior.js +57 -0
- package/lib/models/Bundle.js +98 -0
- package/lib/models/BundleDownload.js +16 -0
- package/lib/models/BundleNotification.js +20 -0
- package/lib/models/BundleRecipient.js +28 -0
- package/lib/models/BundleRegistration.js +18 -0
- package/lib/models/Clickwrap.js +23 -0
- package/lib/models/DnsRecord.js +7 -0
- package/lib/models/Errors.js +2 -0
- package/lib/models/ExternalEvent.js +26 -0
- package/lib/models/File.js +88 -0
- package/lib/models/FileAction.js +2 -0
- package/lib/models/FileComment.js +13 -0
- package/lib/models/FileCommentReaction.js +8 -0
- package/lib/models/FileMigration.js +11 -0
- package/lib/models/FileUploadPart.js +15 -0
- package/lib/models/Folder.js +33 -0
- package/lib/models/FormField.js +8 -0
- package/lib/models/FormFieldSet.js +27 -0
- package/lib/models/Group.js +29 -0
- package/lib/models/GroupUser.js +22 -0
- package/lib/models/History.js +57 -0
- package/lib/models/HistoryExport.js +51 -0
- package/lib/models/HistoryExportResult.js +29 -0
- package/lib/models/Image.js +2 -0
- package/lib/models/InboxRecipient.js +28 -0
- package/lib/models/InboxRegistration.js +15 -0
- package/lib/models/InboxUpload.js +15 -0
- package/lib/models/Invoice.js +19 -0
- package/lib/models/InvoiceLineItem.js +9 -0
- package/lib/models/IpAddress.js +13 -0
- package/lib/models/Lock.js +25 -0
- package/lib/models/Message.js +22 -0
- package/lib/models/MessageComment.js +16 -0
- package/lib/models/MessageCommentReaction.js +13 -0
- package/lib/models/MessageReaction.js +13 -0
- package/lib/models/Notification.js +70 -0
- package/lib/models/Payment.js +19 -0
- package/lib/models/PaymentLineItem.js +4 -0
- package/lib/models/Permission.js +29 -0
- package/lib/models/Preview.js +5 -0
- package/lib/models/Priority.js +6 -0
- package/lib/models/Project.js +11 -0
- package/lib/models/PublicIpAddress.js +4 -0
- package/lib/models/PublicKey.js +18 -0
- package/lib/models/RemoteBandwidthSnapshot.js +15 -0
- package/lib/models/RemoteServer.js +253 -11
- package/lib/models/RemoteServerConfigurationFile.js +12 -0
- package/lib/models/Request.js +25 -0
- package/lib/models/Session.js +13 -0
- package/lib/models/SettingsChange.js +15 -0
- package/lib/models/SftpHostKey.js +16 -0
- package/lib/models/Site.js +276 -0
- package/lib/models/SsoStrategy.js +49 -0
- package/lib/models/Status.js +7 -0
- package/lib/models/Style.js +9 -0
- package/lib/models/UsageDailySnapshot.js +21 -0
- package/lib/models/UsageSnapshot.js +18 -0
- package/lib/models/User.js +183 -0
- package/lib/models/UserCipherUse.js +10 -0
- package/lib/models/UserRequest.js +13 -0
- package/lib/models/WebhookTest.js +24 -0
- package/package.json +1 -1
- package/src/models/RemoteServer.js +41 -0
package/lib/models/History.js
CHANGED
@@ -31,42 +31,55 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.path;
|
33
33
|
});
|
34
|
+
// int64 # Action ID
|
34
35
|
(0, _defineProperty2.default)(this, "getId", function () {
|
35
36
|
return _this.attributes.id;
|
36
37
|
});
|
38
|
+
// string # Path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
37
39
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
38
40
|
return _this.attributes.path;
|
39
41
|
});
|
42
|
+
// date-time # Action occurrence date/time
|
40
43
|
(0, _defineProperty2.default)(this, "getWhen", function () {
|
41
44
|
return _this.attributes.when;
|
42
45
|
});
|
46
|
+
// string # The destination path for this action, if applicable
|
43
47
|
(0, _defineProperty2.default)(this, "getDestination", function () {
|
44
48
|
return _this.attributes.destination;
|
45
49
|
});
|
50
|
+
// string # Friendly displayed output
|
46
51
|
(0, _defineProperty2.default)(this, "getDisplay", function () {
|
47
52
|
return _this.attributes.display;
|
48
53
|
});
|
54
|
+
// string # IP Address that performed this action
|
49
55
|
(0, _defineProperty2.default)(this, "getIp", function () {
|
50
56
|
return _this.attributes.ip;
|
51
57
|
});
|
58
|
+
// string # The source path for this action, if applicable
|
52
59
|
(0, _defineProperty2.default)(this, "getSource", function () {
|
53
60
|
return _this.attributes.source;
|
54
61
|
});
|
62
|
+
// array # Targets
|
55
63
|
(0, _defineProperty2.default)(this, "getTargets", function () {
|
56
64
|
return _this.attributes.targets;
|
57
65
|
});
|
66
|
+
// int64 # User ID
|
58
67
|
(0, _defineProperty2.default)(this, "getUserId", function () {
|
59
68
|
return _this.attributes.user_id;
|
60
69
|
});
|
70
|
+
// string # Username
|
61
71
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
62
72
|
return _this.attributes.username;
|
63
73
|
});
|
74
|
+
// string # Type of action
|
64
75
|
(0, _defineProperty2.default)(this, "getAction", function () {
|
65
76
|
return _this.attributes.action;
|
66
77
|
});
|
78
|
+
// string # Failure type. If action was a user login or session failure, why did it fail?
|
67
79
|
(0, _defineProperty2.default)(this, "getFailureType", function () {
|
68
80
|
return _this.attributes.failure_type;
|
69
81
|
});
|
82
|
+
// string # Interface on which this action occurred.
|
70
83
|
(0, _defineProperty2.default)(this, "getInterface", function () {
|
71
84
|
return _this.attributes.interface;
|
72
85
|
});
|
@@ -83,6 +96,14 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
83
96
|
});
|
84
97
|
this.options = _objectSpread({}, options);
|
85
98
|
});
|
99
|
+
// Parameters:
|
100
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
101
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
102
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
103
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
104
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
105
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
106
|
+
// path (required) - string - Path to operate on.
|
86
107
|
(0, _defineProperty2.default)(History, "listForFile", /*#__PURE__*/function () {
|
87
108
|
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(path) {
|
88
109
|
var _response$data;
|
@@ -161,6 +182,14 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
161
182
|
return _ref3.apply(this, arguments);
|
162
183
|
};
|
163
184
|
}());
|
185
|
+
// Parameters:
|
186
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
187
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
188
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
189
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
190
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
191
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
192
|
+
// path (required) - string - Path to operate on.
|
164
193
|
(0, _defineProperty2.default)(History, "listForFolder", /*#__PURE__*/function () {
|
165
194
|
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(path) {
|
166
195
|
var _response$data2;
|
@@ -239,6 +268,14 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
239
268
|
return _ref4.apply(this, arguments);
|
240
269
|
};
|
241
270
|
}());
|
271
|
+
// Parameters:
|
272
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
273
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
274
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
275
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
276
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
277
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
278
|
+
// user_id (required) - int64 - User ID.
|
242
279
|
(0, _defineProperty2.default)(History, "listForUser", /*#__PURE__*/function () {
|
243
280
|
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(user_id) {
|
244
281
|
var _response$data3;
|
@@ -317,6 +354,13 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
317
354
|
return _ref5.apply(this, arguments);
|
318
355
|
};
|
319
356
|
}());
|
357
|
+
// Parameters:
|
358
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
359
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
360
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
361
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
362
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
363
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
320
364
|
(0, _defineProperty2.default)(History, "listLogins", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
321
365
|
var _response$data4;
|
322
366
|
var params,
|
@@ -371,6 +415,19 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
371
415
|
}
|
372
416
|
}, _callee4);
|
373
417
|
})));
|
418
|
+
// Parameters:
|
419
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
420
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
421
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
422
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
423
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
424
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
|
425
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
426
|
+
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
427
|
+
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
428
|
+
// filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
429
|
+
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
430
|
+
// filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
374
431
|
(0, _defineProperty2.default)(History, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
375
432
|
var _response$data5;
|
376
433
|
var params,
|
@@ -31,156 +31,182 @@ var HistoryExport = /*#__PURE__*/(0, _createClass2.default)(function HistoryExpo
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// int64 # History Export ID
|
34
35
|
(0, _defineProperty2.default)(this, "getId", function () {
|
35
36
|
return _this.attributes.id;
|
36
37
|
});
|
37
38
|
(0, _defineProperty2.default)(this, "setId", function (value) {
|
38
39
|
_this.attributes.id = value;
|
39
40
|
});
|
41
|
+
// string # Version of the history for the export.
|
40
42
|
(0, _defineProperty2.default)(this, "getHistoryVersion", function () {
|
41
43
|
return _this.attributes.history_version;
|
42
44
|
});
|
43
45
|
(0, _defineProperty2.default)(this, "setHistoryVersion", function (value) {
|
44
46
|
_this.attributes.history_version = value;
|
45
47
|
});
|
48
|
+
// date-time # Start date/time of export range.
|
46
49
|
(0, _defineProperty2.default)(this, "getStartAt", function () {
|
47
50
|
return _this.attributes.start_at;
|
48
51
|
});
|
49
52
|
(0, _defineProperty2.default)(this, "setStartAt", function (value) {
|
50
53
|
_this.attributes.start_at = value;
|
51
54
|
});
|
55
|
+
// date-time # End date/time of export range.
|
52
56
|
(0, _defineProperty2.default)(this, "getEndAt", function () {
|
53
57
|
return _this.attributes.end_at;
|
54
58
|
});
|
55
59
|
(0, _defineProperty2.default)(this, "setEndAt", function (value) {
|
56
60
|
_this.attributes.end_at = value;
|
57
61
|
});
|
62
|
+
// string # Status of export. Will be: `building`, `ready`, or `failed`
|
58
63
|
(0, _defineProperty2.default)(this, "getStatus", function () {
|
59
64
|
return _this.attributes.status;
|
60
65
|
});
|
61
66
|
(0, _defineProperty2.default)(this, "setStatus", function (value) {
|
62
67
|
_this.attributes.status = value;
|
63
68
|
});
|
69
|
+
// string # Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
64
70
|
(0, _defineProperty2.default)(this, "getQueryAction", function () {
|
65
71
|
return _this.attributes.query_action;
|
66
72
|
});
|
67
73
|
(0, _defineProperty2.default)(this, "setQueryAction", function (value) {
|
68
74
|
_this.attributes.query_action = value;
|
69
75
|
});
|
76
|
+
// string # Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
70
77
|
(0, _defineProperty2.default)(this, "getQueryInterface", function () {
|
71
78
|
return _this.attributes.query_interface;
|
72
79
|
});
|
73
80
|
(0, _defineProperty2.default)(this, "setQueryInterface", function (value) {
|
74
81
|
_this.attributes.query_interface = value;
|
75
82
|
});
|
83
|
+
// string # Return results that are actions performed by the user indiciated by this User ID
|
76
84
|
(0, _defineProperty2.default)(this, "getQueryUserId", function () {
|
77
85
|
return _this.attributes.query_user_id;
|
78
86
|
});
|
79
87
|
(0, _defineProperty2.default)(this, "setQueryUserId", function (value) {
|
80
88
|
_this.attributes.query_user_id = value;
|
81
89
|
});
|
90
|
+
// string # Return results that are file actions related to the file indicated by this File ID
|
82
91
|
(0, _defineProperty2.default)(this, "getQueryFileId", function () {
|
83
92
|
return _this.attributes.query_file_id;
|
84
93
|
});
|
85
94
|
(0, _defineProperty2.default)(this, "setQueryFileId", function (value) {
|
86
95
|
_this.attributes.query_file_id = value;
|
87
96
|
});
|
97
|
+
// string # Return results that are file actions inside the parent folder specified by this folder ID
|
88
98
|
(0, _defineProperty2.default)(this, "getQueryParentId", function () {
|
89
99
|
return _this.attributes.query_parent_id;
|
90
100
|
});
|
91
101
|
(0, _defineProperty2.default)(this, "setQueryParentId", function (value) {
|
92
102
|
_this.attributes.query_parent_id = value;
|
93
103
|
});
|
104
|
+
// string # Return results that are file actions related to this path.
|
94
105
|
(0, _defineProperty2.default)(this, "getQueryPath", function () {
|
95
106
|
return _this.attributes.query_path;
|
96
107
|
});
|
97
108
|
(0, _defineProperty2.default)(this, "setQueryPath", function (value) {
|
98
109
|
_this.attributes.query_path = value;
|
99
110
|
});
|
111
|
+
// string # Return results that are file actions related to files or folders inside this folder path.
|
100
112
|
(0, _defineProperty2.default)(this, "getQueryFolder", function () {
|
101
113
|
return _this.attributes.query_folder;
|
102
114
|
});
|
103
115
|
(0, _defineProperty2.default)(this, "setQueryFolder", function (value) {
|
104
116
|
_this.attributes.query_folder = value;
|
105
117
|
});
|
118
|
+
// string # Return results that are file moves originating from this path.
|
106
119
|
(0, _defineProperty2.default)(this, "getQuerySrc", function () {
|
107
120
|
return _this.attributes.query_src;
|
108
121
|
});
|
109
122
|
(0, _defineProperty2.default)(this, "setQuerySrc", function (value) {
|
110
123
|
_this.attributes.query_src = value;
|
111
124
|
});
|
125
|
+
// string # Return results that are file moves with this path as destination.
|
112
126
|
(0, _defineProperty2.default)(this, "getQueryDestination", function () {
|
113
127
|
return _this.attributes.query_destination;
|
114
128
|
});
|
115
129
|
(0, _defineProperty2.default)(this, "setQueryDestination", function (value) {
|
116
130
|
_this.attributes.query_destination = value;
|
117
131
|
});
|
132
|
+
// string # Filter results by this IP address.
|
118
133
|
(0, _defineProperty2.default)(this, "getQueryIp", function () {
|
119
134
|
return _this.attributes.query_ip;
|
120
135
|
});
|
121
136
|
(0, _defineProperty2.default)(this, "setQueryIp", function (value) {
|
122
137
|
_this.attributes.query_ip = value;
|
123
138
|
});
|
139
|
+
// string # Filter results by this username.
|
124
140
|
(0, _defineProperty2.default)(this, "getQueryUsername", function () {
|
125
141
|
return _this.attributes.query_username;
|
126
142
|
});
|
127
143
|
(0, _defineProperty2.default)(this, "setQueryUsername", function (value) {
|
128
144
|
_this.attributes.query_username = value;
|
129
145
|
});
|
146
|
+
// string # If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
|
130
147
|
(0, _defineProperty2.default)(this, "getQueryFailureType", function () {
|
131
148
|
return _this.attributes.query_failure_type;
|
132
149
|
});
|
133
150
|
(0, _defineProperty2.default)(this, "setQueryFailureType", function (value) {
|
134
151
|
_this.attributes.query_failure_type = value;
|
135
152
|
});
|
153
|
+
// string # If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
136
154
|
(0, _defineProperty2.default)(this, "getQueryTargetId", function () {
|
137
155
|
return _this.attributes.query_target_id;
|
138
156
|
});
|
139
157
|
(0, _defineProperty2.default)(this, "setQueryTargetId", function (value) {
|
140
158
|
_this.attributes.query_target_id = value;
|
141
159
|
});
|
160
|
+
// string # If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
|
142
161
|
(0, _defineProperty2.default)(this, "getQueryTargetName", function () {
|
143
162
|
return _this.attributes.query_target_name;
|
144
163
|
});
|
145
164
|
(0, _defineProperty2.default)(this, "setQueryTargetName", function (value) {
|
146
165
|
_this.attributes.query_target_name = value;
|
147
166
|
});
|
167
|
+
// string # If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
|
148
168
|
(0, _defineProperty2.default)(this, "getQueryTargetPermission", function () {
|
149
169
|
return _this.attributes.query_target_permission;
|
150
170
|
});
|
151
171
|
(0, _defineProperty2.default)(this, "setQueryTargetPermission", function (value) {
|
152
172
|
_this.attributes.query_target_permission = value;
|
153
173
|
});
|
174
|
+
// string # If searching for Histories about API keys, this parameter restricts results to API keys created by/for this user ID.
|
154
175
|
(0, _defineProperty2.default)(this, "getQueryTargetUserId", function () {
|
155
176
|
return _this.attributes.query_target_user_id;
|
156
177
|
});
|
157
178
|
(0, _defineProperty2.default)(this, "setQueryTargetUserId", function (value) {
|
158
179
|
_this.attributes.query_target_user_id = value;
|
159
180
|
});
|
181
|
+
// string # If searching for Histories about API keys, this parameter restricts results to API keys created by/for this username.
|
160
182
|
(0, _defineProperty2.default)(this, "getQueryTargetUsername", function () {
|
161
183
|
return _this.attributes.query_target_username;
|
162
184
|
});
|
163
185
|
(0, _defineProperty2.default)(this, "setQueryTargetUsername", function (value) {
|
164
186
|
_this.attributes.query_target_username = value;
|
165
187
|
});
|
188
|
+
// string # If searching for Histories about API keys, this parameter restricts results to API keys associated with this platform.
|
166
189
|
(0, _defineProperty2.default)(this, "getQueryTargetPlatform", function () {
|
167
190
|
return _this.attributes.query_target_platform;
|
168
191
|
});
|
169
192
|
(0, _defineProperty2.default)(this, "setQueryTargetPlatform", function (value) {
|
170
193
|
_this.attributes.query_target_platform = value;
|
171
194
|
});
|
195
|
+
// string # If searching for Histories about API keys, this parameter restricts results to API keys with this permission set.
|
172
196
|
(0, _defineProperty2.default)(this, "getQueryTargetPermissionSet", function () {
|
173
197
|
return _this.attributes.query_target_permission_set;
|
174
198
|
});
|
175
199
|
(0, _defineProperty2.default)(this, "setQueryTargetPermissionSet", function (value) {
|
176
200
|
_this.attributes.query_target_permission_set = value;
|
177
201
|
});
|
202
|
+
// string # If `status` is `ready`, this will be a URL where all the results can be downloaded at once as a CSV.
|
178
203
|
(0, _defineProperty2.default)(this, "getResultsUrl", function () {
|
179
204
|
return _this.attributes.results_url;
|
180
205
|
});
|
181
206
|
(0, _defineProperty2.default)(this, "setResultsUrl", function (value) {
|
182
207
|
_this.attributes.results_url = value;
|
183
208
|
});
|
209
|
+
// int64 # User ID. Provide a value of `0` to operate the current session's user.
|
184
210
|
(0, _defineProperty2.default)(this, "getUserId", function () {
|
185
211
|
return _this.attributes.user_id;
|
186
212
|
});
|
@@ -209,6 +235,8 @@ var HistoryExport = /*#__PURE__*/(0, _createClass2.default)(function HistoryExpo
|
|
209
235
|
});
|
210
236
|
this.options = _objectSpread({}, options);
|
211
237
|
});
|
238
|
+
// Parameters:
|
239
|
+
// id (required) - int64 - History Export ID.
|
212
240
|
(0, _defineProperty2.default)(HistoryExport, "find", /*#__PURE__*/function () {
|
213
241
|
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(id) {
|
214
242
|
var params,
|
@@ -259,6 +287,29 @@ var HistoryExport = /*#__PURE__*/(0, _createClass2.default)(function HistoryExpo
|
|
259
287
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
260
288
|
return HistoryExport.find(id, params, options);
|
261
289
|
});
|
290
|
+
// Parameters:
|
291
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
292
|
+
// start_at - string - Start date/time of export range.
|
293
|
+
// end_at - string - End date/time of export range.
|
294
|
+
// query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
295
|
+
// query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
296
|
+
// query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
297
|
+
// query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
298
|
+
// query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
299
|
+
// query_path - string - Return results that are file actions related to this path.
|
300
|
+
// query_folder - string - Return results that are file actions related to files or folders inside this folder path.
|
301
|
+
// query_src - string - Return results that are file moves originating from this path.
|
302
|
+
// query_destination - string - Return results that are file moves with this path as destination.
|
303
|
+
// query_ip - string - Filter results by this IP address.
|
304
|
+
// query_username - string - Filter results by this username.
|
305
|
+
// query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
|
306
|
+
// query_target_id - string - If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
307
|
+
// query_target_name - string - If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
|
308
|
+
// query_target_permission - string - If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
|
309
|
+
// query_target_user_id - string - If searching for Histories about API keys, this parameter restricts results to API keys created by/for this user ID.
|
310
|
+
// query_target_username - string - If searching for Histories about API keys, this parameter restricts results to API keys created by/for this username.
|
311
|
+
// query_target_platform - string - If searching for Histories about API keys, this parameter restricts results to API keys associated with this platform.
|
312
|
+
// query_target_permission_set - string - If searching for Histories about API keys, this parameter restricts results to API keys with this permission set.
|
262
313
|
(0, _defineProperty2.default)(HistoryExport, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
263
314
|
var params,
|
264
315
|
options,
|
@@ -31,75 +31,99 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// int64 # Action ID
|
34
35
|
(0, _defineProperty2.default)(this, "getId", function () {
|
35
36
|
return _this.attributes.id;
|
36
37
|
});
|
38
|
+
// int64 # When the action happened
|
37
39
|
(0, _defineProperty2.default)(this, "getCreatedAt", function () {
|
38
40
|
return _this.attributes.created_at;
|
39
41
|
});
|
42
|
+
// int64 # When the action happened, in ISO8601 format.
|
40
43
|
(0, _defineProperty2.default)(this, "getCreatedAtIso8601", function () {
|
41
44
|
return _this.attributes.created_at_iso8601;
|
42
45
|
});
|
46
|
+
// int64 # User ID
|
43
47
|
(0, _defineProperty2.default)(this, "getUserId", function () {
|
44
48
|
return _this.attributes.user_id;
|
45
49
|
});
|
50
|
+
// int64 # File ID related to the action
|
46
51
|
(0, _defineProperty2.default)(this, "getFileId", function () {
|
47
52
|
return _this.attributes.file_id;
|
48
53
|
});
|
54
|
+
// int64 # ID of the parent folder
|
49
55
|
(0, _defineProperty2.default)(this, "getParentId", function () {
|
50
56
|
return _this.attributes.parent_id;
|
51
57
|
});
|
58
|
+
// string # Path of the related action This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
52
59
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
53
60
|
return _this.attributes.path;
|
54
61
|
});
|
62
|
+
// string # Folder in which the action occurred
|
55
63
|
(0, _defineProperty2.default)(this, "getFolder", function () {
|
56
64
|
return _this.attributes.folder;
|
57
65
|
});
|
66
|
+
// string # File move originated from this path
|
58
67
|
(0, _defineProperty2.default)(this, "getSrc", function () {
|
59
68
|
return _this.attributes.src;
|
60
69
|
});
|
70
|
+
// string # File moved to this destination folder
|
61
71
|
(0, _defineProperty2.default)(this, "getDestination", function () {
|
62
72
|
return _this.attributes.destination;
|
63
73
|
});
|
74
|
+
// string # Client IP that performed the action
|
64
75
|
(0, _defineProperty2.default)(this, "getIp", function () {
|
65
76
|
return _this.attributes.ip;
|
66
77
|
});
|
78
|
+
// string # Username of the user that performed the action
|
67
79
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
68
80
|
return _this.attributes.username;
|
69
81
|
});
|
82
|
+
// string # What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
70
83
|
(0, _defineProperty2.default)(this, "getAction", function () {
|
71
84
|
return _this.attributes.action;
|
72
85
|
});
|
86
|
+
// string # The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`
|
73
87
|
(0, _defineProperty2.default)(this, "getFailureType", function () {
|
74
88
|
return _this.attributes.failure_type;
|
75
89
|
});
|
90
|
+
// string # Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
76
91
|
(0, _defineProperty2.default)(this, "getInterface", function () {
|
77
92
|
return _this.attributes.interface;
|
78
93
|
});
|
94
|
+
// int64 # ID of the object (such as Users, or API Keys) on which the action was taken
|
79
95
|
(0, _defineProperty2.default)(this, "getTargetId", function () {
|
80
96
|
return _this.attributes.target_id;
|
81
97
|
});
|
98
|
+
// string # Name of the User, Group or other object with a name related to this action
|
82
99
|
(0, _defineProperty2.default)(this, "getTargetName", function () {
|
83
100
|
return _this.attributes.target_name;
|
84
101
|
});
|
102
|
+
// string # Permission level of the action
|
85
103
|
(0, _defineProperty2.default)(this, "getTargetPermission", function () {
|
86
104
|
return _this.attributes.target_permission;
|
87
105
|
});
|
106
|
+
// boolean # Whether or not the action was recursive
|
88
107
|
(0, _defineProperty2.default)(this, "getTargetRecursive", function () {
|
89
108
|
return _this.attributes.target_recursive;
|
90
109
|
});
|
110
|
+
// int64 # If searching for Histories about API keys, this is when the API key will expire
|
91
111
|
(0, _defineProperty2.default)(this, "getTargetExpiresAt", function () {
|
92
112
|
return _this.attributes.target_expires_at;
|
93
113
|
});
|
114
|
+
// string # If searching for Histories about API keys, this represents the permission set of the associated API key
|
94
115
|
(0, _defineProperty2.default)(this, "getTargetPermissionSet", function () {
|
95
116
|
return _this.attributes.target_permission_set;
|
96
117
|
});
|
118
|
+
// string # If searching for Histories about API keys, this is the platform on which the action was taken
|
97
119
|
(0, _defineProperty2.default)(this, "getTargetPlatform", function () {
|
98
120
|
return _this.attributes.target_platform;
|
99
121
|
});
|
122
|
+
// string # If searching for Histories about API keys, this is the username on which the action was taken
|
100
123
|
(0, _defineProperty2.default)(this, "getTargetUsername", function () {
|
101
124
|
return _this.attributes.target_username;
|
102
125
|
});
|
126
|
+
// int64 # If searching for Histories about API keys, this is the User ID on which the action was taken
|
103
127
|
(0, _defineProperty2.default)(this, "getTargetUserId", function () {
|
104
128
|
return _this.attributes.target_user_id;
|
105
129
|
});
|
@@ -116,6 +140,11 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
|
|
116
140
|
});
|
117
141
|
this.options = _objectSpread({}, options);
|
118
142
|
});
|
143
|
+
// Parameters:
|
144
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
145
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
146
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
147
|
+
// history_export_id (required) - int64 - ID of the associated history export.
|
119
148
|
(0, _defineProperty2.default)(HistoryExportResult, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
120
149
|
var _response$data;
|
121
150
|
var params,
|
package/lib/models/Image.js
CHANGED
@@ -29,9 +29,11 @@ var Image = /*#__PURE__*/(0, _createClass2.default)(function Image() {
|
|
29
29
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
30
30
|
return !!_this.attributes.id;
|
31
31
|
});
|
32
|
+
// string # Image name
|
32
33
|
(0, _defineProperty2.default)(this, "getName", function () {
|
33
34
|
return _this.attributes.name;
|
34
35
|
});
|
36
|
+
// string # Image URI
|
35
37
|
(0, _defineProperty2.default)(this, "getUri", function () {
|
36
38
|
return _this.attributes.uri;
|
37
39
|
});
|
@@ -31,48 +31,56 @@ var InboxRecipient = /*#__PURE__*/(0, _createClass2.default)(function InboxRecip
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// string # The recipient's company.
|
34
35
|
(0, _defineProperty2.default)(this, "getCompany", function () {
|
35
36
|
return _this.attributes.company;
|
36
37
|
});
|
37
38
|
(0, _defineProperty2.default)(this, "setCompany", function (value) {
|
38
39
|
_this.attributes.company = value;
|
39
40
|
});
|
41
|
+
// string # The recipient's name.
|
40
42
|
(0, _defineProperty2.default)(this, "getName", function () {
|
41
43
|
return _this.attributes.name;
|
42
44
|
});
|
43
45
|
(0, _defineProperty2.default)(this, "setName", function (value) {
|
44
46
|
_this.attributes.name = value;
|
45
47
|
});
|
48
|
+
// string # A note sent to the recipient with the inbox.
|
46
49
|
(0, _defineProperty2.default)(this, "getNote", function () {
|
47
50
|
return _this.attributes.note;
|
48
51
|
});
|
49
52
|
(0, _defineProperty2.default)(this, "setNote", function (value) {
|
50
53
|
_this.attributes.note = value;
|
51
54
|
});
|
55
|
+
// string # The recipient's email address.
|
52
56
|
(0, _defineProperty2.default)(this, "getRecipient", function () {
|
53
57
|
return _this.attributes.recipient;
|
54
58
|
});
|
55
59
|
(0, _defineProperty2.default)(this, "setRecipient", function (value) {
|
56
60
|
_this.attributes.recipient = value;
|
57
61
|
});
|
62
|
+
// date-time # When the Inbox was shared with this recipient.
|
58
63
|
(0, _defineProperty2.default)(this, "getSentAt", function () {
|
59
64
|
return _this.attributes.sent_at;
|
60
65
|
});
|
61
66
|
(0, _defineProperty2.default)(this, "setSentAt", function (value) {
|
62
67
|
_this.attributes.sent_at = value;
|
63
68
|
});
|
69
|
+
// int64 # User ID. Provide a value of `0` to operate the current session's user.
|
64
70
|
(0, _defineProperty2.default)(this, "getUserId", function () {
|
65
71
|
return _this.attributes.user_id;
|
66
72
|
});
|
67
73
|
(0, _defineProperty2.default)(this, "setUserId", function (value) {
|
68
74
|
_this.attributes.user_id = value;
|
69
75
|
});
|
76
|
+
// int64 # Inbox to share.
|
70
77
|
(0, _defineProperty2.default)(this, "getInboxId", function () {
|
71
78
|
return _this.attributes.inbox_id;
|
72
79
|
});
|
73
80
|
(0, _defineProperty2.default)(this, "setInboxId", function (value) {
|
74
81
|
_this.attributes.inbox_id = value;
|
75
82
|
});
|
83
|
+
// boolean # Set to true to share the link with the recipient upon creation.
|
76
84
|
(0, _defineProperty2.default)(this, "getShareAfterCreate", function () {
|
77
85
|
return _this.attributes.share_after_create;
|
78
86
|
});
|
@@ -101,6 +109,18 @@ var InboxRecipient = /*#__PURE__*/(0, _createClass2.default)(function InboxRecip
|
|
101
109
|
});
|
102
110
|
this.options = _objectSpread({}, options);
|
103
111
|
});
|
112
|
+
// Parameters:
|
113
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
114
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
115
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
116
|
+
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
|
117
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
118
|
+
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
|
119
|
+
// filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
|
120
|
+
// filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
121
|
+
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
|
122
|
+
// filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `has_registrations`.
|
123
|
+
// inbox_id (required) - int64 - List recipients for the inbox with this ID.
|
104
124
|
(0, _defineProperty2.default)(InboxRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
105
125
|
var _response$data;
|
106
126
|
var params,
|
@@ -160,6 +180,14 @@ var InboxRecipient = /*#__PURE__*/(0, _createClass2.default)(function InboxRecip
|
|
160
180
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
161
181
|
return InboxRecipient.list(params, options);
|
162
182
|
});
|
183
|
+
// Parameters:
|
184
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
185
|
+
// inbox_id (required) - int64 - Inbox to share.
|
186
|
+
// recipient (required) - string - Email address to share this inbox with.
|
187
|
+
// name - string - Name of recipient.
|
188
|
+
// company - string - Company of recipient.
|
189
|
+
// note - string - Note to include in email.
|
190
|
+
// share_after_create - boolean - Set to true to share the link with the recipient upon creation.
|
163
191
|
(0, _defineProperty2.default)(InboxRecipient, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
164
192
|
var params,
|
165
193
|
options,
|
@@ -31,36 +31,47 @@ var InboxRegistration = /*#__PURE__*/(0, _createClass2.default)(function InboxRe
|
|
31
31
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
32
32
|
return !!_this.attributes.id;
|
33
33
|
});
|
34
|
+
// string # Registration cookie code
|
34
35
|
(0, _defineProperty2.default)(this, "getCode", function () {
|
35
36
|
return _this.attributes.code;
|
36
37
|
});
|
38
|
+
// string # Registrant name
|
37
39
|
(0, _defineProperty2.default)(this, "getName", function () {
|
38
40
|
return _this.attributes.name;
|
39
41
|
});
|
42
|
+
// string # Registrant company name
|
40
43
|
(0, _defineProperty2.default)(this, "getCompany", function () {
|
41
44
|
return _this.attributes.company;
|
42
45
|
});
|
46
|
+
// string # Registrant email address
|
43
47
|
(0, _defineProperty2.default)(this, "getEmail", function () {
|
44
48
|
return _this.attributes.email;
|
45
49
|
});
|
50
|
+
// string # Clickwrap text that was shown to the registrant
|
46
51
|
(0, _defineProperty2.default)(this, "getClickwrapBody", function () {
|
47
52
|
return _this.attributes.clickwrap_body;
|
48
53
|
});
|
54
|
+
// int64 # Id of associated form field set
|
49
55
|
(0, _defineProperty2.default)(this, "getFormFieldSetId", function () {
|
50
56
|
return _this.attributes.form_field_set_id;
|
51
57
|
});
|
58
|
+
// object # Data for form field set with form field ids as keys and user data as values
|
52
59
|
(0, _defineProperty2.default)(this, "getFormFieldData", function () {
|
53
60
|
return _this.attributes.form_field_data;
|
54
61
|
});
|
62
|
+
// int64 # Id of associated inbox
|
55
63
|
(0, _defineProperty2.default)(this, "getInboxId", function () {
|
56
64
|
return _this.attributes.inbox_id;
|
57
65
|
});
|
66
|
+
// int64 # Id of associated inbox recipient
|
58
67
|
(0, _defineProperty2.default)(this, "getInboxRecipientId", function () {
|
59
68
|
return _this.attributes.inbox_recipient_id;
|
60
69
|
});
|
70
|
+
// string # Title of associated inbox
|
61
71
|
(0, _defineProperty2.default)(this, "getInboxTitle", function () {
|
62
72
|
return _this.attributes.inbox_title;
|
63
73
|
});
|
74
|
+
// date-time # Registration creation date/time
|
64
75
|
(0, _defineProperty2.default)(this, "getCreatedAt", function () {
|
65
76
|
return _this.attributes.created_at;
|
66
77
|
});
|
@@ -77,6 +88,10 @@ var InboxRegistration = /*#__PURE__*/(0, _createClass2.default)(function InboxRe
|
|
77
88
|
});
|
78
89
|
this.options = _objectSpread({}, options);
|
79
90
|
});
|
91
|
+
// Parameters:
|
92
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
93
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
94
|
+
// folder_behavior_id - int64 - ID of the associated Inbox.
|
80
95
|
(0, _defineProperty2.default)(InboxRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
81
96
|
var _response$data;
|
82
97
|
var params,
|