files.com 1.0.248 → 1.0.249

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/_VERSION +1 -1
  2. package/lib/models/AccountLineItem.js +14 -0
  3. package/lib/models/Action.js +13 -0
  4. package/lib/models/ActionNotificationExport.js +27 -0
  5. package/lib/models/ActionNotificationExportResult.js +15 -0
  6. package/lib/models/ActionWebhookFailure.js +1 -0
  7. package/lib/models/ApiKey.js +42 -0
  8. package/lib/models/App.js +26 -0
  9. package/lib/models/As2IncomingMessage.js +46 -0
  10. package/lib/models/As2OutgoingMessage.js +42 -0
  11. package/lib/models/As2Partner.js +29 -0
  12. package/lib/models/As2Station.js +31 -0
  13. package/lib/models/Auto.js +1 -0
  14. package/lib/models/Automation.js +72 -0
  15. package/lib/models/AutomationRun.js +20 -0
  16. package/lib/models/BandwidthSnapshot.js +19 -0
  17. package/lib/models/Behavior.js +57 -0
  18. package/lib/models/Bundle.js +98 -0
  19. package/lib/models/BundleDownload.js +16 -0
  20. package/lib/models/BundleNotification.js +20 -0
  21. package/lib/models/BundleRecipient.js +28 -0
  22. package/lib/models/BundleRegistration.js +18 -0
  23. package/lib/models/Clickwrap.js +23 -0
  24. package/lib/models/DnsRecord.js +7 -0
  25. package/lib/models/Errors.js +2 -0
  26. package/lib/models/ExternalEvent.js +26 -0
  27. package/lib/models/File.js +88 -0
  28. package/lib/models/FileAction.js +2 -0
  29. package/lib/models/FileComment.js +13 -0
  30. package/lib/models/FileCommentReaction.js +8 -0
  31. package/lib/models/FileMigration.js +11 -0
  32. package/lib/models/FileUploadPart.js +15 -0
  33. package/lib/models/Folder.js +33 -0
  34. package/lib/models/FormField.js +8 -0
  35. package/lib/models/FormFieldSet.js +27 -0
  36. package/lib/models/Group.js +29 -0
  37. package/lib/models/GroupUser.js +22 -0
  38. package/lib/models/History.js +57 -0
  39. package/lib/models/HistoryExport.js +51 -0
  40. package/lib/models/HistoryExportResult.js +29 -0
  41. package/lib/models/Image.js +2 -0
  42. package/lib/models/InboxRecipient.js +28 -0
  43. package/lib/models/InboxRegistration.js +15 -0
  44. package/lib/models/InboxUpload.js +15 -0
  45. package/lib/models/Invoice.js +19 -0
  46. package/lib/models/InvoiceLineItem.js +9 -0
  47. package/lib/models/IpAddress.js +13 -0
  48. package/lib/models/Lock.js +25 -0
  49. package/lib/models/Message.js +22 -0
  50. package/lib/models/MessageComment.js +16 -0
  51. package/lib/models/MessageCommentReaction.js +13 -0
  52. package/lib/models/MessageReaction.js +13 -0
  53. package/lib/models/Notification.js +70 -0
  54. package/lib/models/Payment.js +19 -0
  55. package/lib/models/PaymentLineItem.js +4 -0
  56. package/lib/models/Permission.js +29 -0
  57. package/lib/models/Preview.js +5 -0
  58. package/lib/models/Priority.js +6 -0
  59. package/lib/models/Project.js +11 -0
  60. package/lib/models/PublicIpAddress.js +4 -0
  61. package/lib/models/PublicKey.js +18 -0
  62. package/lib/models/RemoteBandwidthSnapshot.js +15 -0
  63. package/lib/models/RemoteServer.js +194 -0
  64. package/lib/models/RemoteServerConfigurationFile.js +12 -0
  65. package/lib/models/Request.js +25 -0
  66. package/lib/models/Session.js +13 -0
  67. package/lib/models/SettingsChange.js +15 -0
  68. package/lib/models/SftpHostKey.js +16 -0
  69. package/lib/models/Site.js +276 -0
  70. package/lib/models/SsoStrategy.js +49 -0
  71. package/lib/models/Status.js +7 -0
  72. package/lib/models/Style.js +9 -0
  73. package/lib/models/UsageDailySnapshot.js +21 -0
  74. package/lib/models/UsageSnapshot.js +18 -0
  75. package/lib/models/User.js +183 -0
  76. package/lib/models/UserCipherUse.js +10 -0
  77. package/lib/models/UserRequest.js +13 -0
  78. package/lib/models/WebhookTest.js +24 -0
  79. package/package.json +1 -1
@@ -31,135 +31,179 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // string # SSO Protocol
34
35
  (0, _defineProperty2.default)(this, "getProtocol", function () {
35
36
  return _this.attributes.protocol;
36
37
  });
38
+ // string # Provider name
37
39
  (0, _defineProperty2.default)(this, "getProvider", function () {
38
40
  return _this.attributes.provider;
39
41
  });
42
+ // string # Custom label for the SSO provider on the login page.
40
43
  (0, _defineProperty2.default)(this, "getLabel", function () {
41
44
  return _this.attributes.label;
42
45
  });
46
+ // string # URL holding a custom logo for the SSO provider on the login page.
43
47
  (0, _defineProperty2.default)(this, "getLogoUrl", function () {
44
48
  return _this.attributes.logo_url;
45
49
  });
50
+ // int64 # ID
46
51
  (0, _defineProperty2.default)(this, "getId", function () {
47
52
  return _this.attributes.id;
48
53
  });
54
+ // string # Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
49
55
  (0, _defineProperty2.default)(this, "getSamlProviderCertFingerprint", function () {
50
56
  return _this.attributes.saml_provider_cert_fingerprint;
51
57
  });
58
+ // string # Identity provider issuer url
52
59
  (0, _defineProperty2.default)(this, "getSamlProviderIssuerUrl", function () {
53
60
  return _this.attributes.saml_provider_issuer_url;
54
61
  });
62
+ // string # Custom identity provider metadata
55
63
  (0, _defineProperty2.default)(this, "getSamlProviderMetadataContent", function () {
56
64
  return _this.attributes.saml_provider_metadata_content;
57
65
  });
66
+ // string # Metadata URL for the SAML identity provider
58
67
  (0, _defineProperty2.default)(this, "getSamlProviderMetadataUrl", function () {
59
68
  return _this.attributes.saml_provider_metadata_url;
60
69
  });
70
+ // string # Identity provider SLO endpoint
61
71
  (0, _defineProperty2.default)(this, "getSamlProviderSloTargetUrl", function () {
62
72
  return _this.attributes.saml_provider_slo_target_url;
63
73
  });
74
+ // string # Identity provider SSO endpoint if saml_provider_metadata_url is not available.
64
75
  (0, _defineProperty2.default)(this, "getSamlProviderSsoTargetUrl", function () {
65
76
  return _this.attributes.saml_provider_sso_target_url;
66
77
  });
78
+ // string # SCIM authentication type.
67
79
  (0, _defineProperty2.default)(this, "getScimAuthenticationMethod", function () {
68
80
  return _this.attributes.scim_authentication_method;
69
81
  });
82
+ // string # SCIM username.
70
83
  (0, _defineProperty2.default)(this, "getScimUsername", function () {
71
84
  return _this.attributes.scim_username;
72
85
  });
86
+ // string # SCIM OAuth Access Token.
73
87
  (0, _defineProperty2.default)(this, "getScimOauthAccessToken", function () {
74
88
  return _this.attributes.scim_oauth_access_token;
75
89
  });
90
+ // string # SCIM OAuth Access Token Expiration Time.
76
91
  (0, _defineProperty2.default)(this, "getScimOauthAccessTokenExpiresAt", function () {
77
92
  return _this.attributes.scim_oauth_access_token_expires_at;
78
93
  });
94
+ // string # Subdomain
79
95
  (0, _defineProperty2.default)(this, "getSubdomain", function () {
80
96
  return _this.attributes.subdomain;
81
97
  });
98
+ // boolean # Auto-provision users?
82
99
  (0, _defineProperty2.default)(this, "getProvisionUsers", function () {
83
100
  return _this.attributes.provision_users;
84
101
  });
102
+ // boolean # Auto-provision group membership based on group memberships on the SSO side?
85
103
  (0, _defineProperty2.default)(this, "getProvisionGroups", function () {
86
104
  return _this.attributes.provision_groups;
87
105
  });
106
+ // boolean # Auto-deprovision users?
88
107
  (0, _defineProperty2.default)(this, "getDeprovisionUsers", function () {
89
108
  return _this.attributes.deprovision_users;
90
109
  });
110
+ // boolean # Auto-deprovision group membership based on group memberships on the SSO side?
91
111
  (0, _defineProperty2.default)(this, "getDeprovisionGroups", function () {
92
112
  return _this.attributes.deprovision_groups;
93
113
  });
114
+ // string # Method used for deprovisioning users.
94
115
  (0, _defineProperty2.default)(this, "getDeprovisionBehavior", function () {
95
116
  return _this.attributes.deprovision_behavior;
96
117
  });
118
+ // string # Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
97
119
  (0, _defineProperty2.default)(this, "getProvisionGroupDefault", function () {
98
120
  return _this.attributes.provision_group_default;
99
121
  });
122
+ // string # Comma-separated list of group names for groups (with optional wildcards) that will be excluded from auto-provisioning.
100
123
  (0, _defineProperty2.default)(this, "getProvisionGroupExclusion", function () {
101
124
  return _this.attributes.provision_group_exclusion;
102
125
  });
126
+ // string # Comma-separated list of group names for groups (with optional wildcards) that will be auto-provisioned.
103
127
  (0, _defineProperty2.default)(this, "getProvisionGroupInclusion", function () {
104
128
  return _this.attributes.provision_group_inclusion;
105
129
  });
130
+ // string # Comma or newline separated list of group names (with optional wildcards) to require membership for user provisioning.
106
131
  (0, _defineProperty2.default)(this, "getProvisionGroupRequired", function () {
107
132
  return _this.attributes.provision_group_required;
108
133
  });
134
+ // string # Comma-separated list of group names whose members will be created with email_signup authentication.
109
135
  (0, _defineProperty2.default)(this, "getProvisionEmailSignupGroups", function () {
110
136
  return _this.attributes.provision_email_signup_groups;
111
137
  });
138
+ // string # Comma-separated list of group names whose members will be created as Site Admins.
112
139
  (0, _defineProperty2.default)(this, "getProvisionSiteAdminGroups", function () {
113
140
  return _this.attributes.provision_site_admin_groups;
114
141
  });
142
+ // boolean # DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
115
143
  (0, _defineProperty2.default)(this, "getProvisionAttachmentsPermission", function () {
116
144
  return _this.attributes.provision_attachments_permission;
117
145
  });
146
+ // boolean # Auto-provisioned users get WebDAV permission?
118
147
  (0, _defineProperty2.default)(this, "getProvisionDavPermission", function () {
119
148
  return _this.attributes.provision_dav_permission;
120
149
  });
150
+ // boolean # Auto-provisioned users get FTP permission?
121
151
  (0, _defineProperty2.default)(this, "getProvisionFtpPermission", function () {
122
152
  return _this.attributes.provision_ftp_permission;
123
153
  });
154
+ // boolean # Auto-provisioned users get SFTP permission?
124
155
  (0, _defineProperty2.default)(this, "getProvisionSftpPermission", function () {
125
156
  return _this.attributes.provision_sftp_permission;
126
157
  });
158
+ // string # Default time zone for auto provisioned users.
127
159
  (0, _defineProperty2.default)(this, "getProvisionTimeZone", function () {
128
160
  return _this.attributes.provision_time_zone;
129
161
  });
162
+ // string # Default company for auto provisioned users.
130
163
  (0, _defineProperty2.default)(this, "getProvisionCompany", function () {
131
164
  return _this.attributes.provision_company;
132
165
  });
166
+ // string # Base DN for looking up users in LDAP server
133
167
  (0, _defineProperty2.default)(this, "getLdapBaseDn", function () {
134
168
  return _this.attributes.ldap_base_dn;
135
169
  });
170
+ // string # Domain name that will be appended to LDAP usernames
136
171
  (0, _defineProperty2.default)(this, "getLdapDomain", function () {
137
172
  return _this.attributes.ldap_domain;
138
173
  });
174
+ // boolean # Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
139
175
  (0, _defineProperty2.default)(this, "getEnabled", function () {
140
176
  return _this.attributes.enabled;
141
177
  });
178
+ // string # LDAP host
142
179
  (0, _defineProperty2.default)(this, "getLdapHost", function () {
143
180
  return _this.attributes.ldap_host;
144
181
  });
182
+ // string # LDAP backup host
145
183
  (0, _defineProperty2.default)(this, "getLdapHost2", function () {
146
184
  return _this.attributes.ldap_host_2;
147
185
  });
186
+ // string # LDAP backup host
148
187
  (0, _defineProperty2.default)(this, "getLdapHost3", function () {
149
188
  return _this.attributes.ldap_host_3;
150
189
  });
190
+ // int64 # LDAP port
151
191
  (0, _defineProperty2.default)(this, "getLdapPort", function () {
152
192
  return _this.attributes.ldap_port;
153
193
  });
194
+ // boolean # Use secure LDAP?
154
195
  (0, _defineProperty2.default)(this, "getLdapSecure", function () {
155
196
  return _this.attributes.ldap_secure;
156
197
  });
198
+ // string # Username for signing in to LDAP server.
157
199
  (0, _defineProperty2.default)(this, "getLdapUsername", function () {
158
200
  return _this.attributes.ldap_username;
159
201
  });
202
+ // string # LDAP username field
160
203
  (0, _defineProperty2.default)(this, "getLdapUsernameField", function () {
161
204
  return _this.attributes.ldap_username_field;
162
205
  });
206
+ // Synchronize provisioning data with the SSO remote server
163
207
  (0, _defineProperty2.default)(this, "sync", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
164
208
  var params,
165
209
  response,
@@ -225,6 +269,9 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
225
269
  });
226
270
  this.options = _objectSpread({}, options);
227
271
  });
272
+ // Parameters:
273
+ // 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.
274
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
228
275
  (0, _defineProperty2.default)(SsoStrategy, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
229
276
  var _response$data;
230
277
  var params,
@@ -266,6 +313,8 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
266
313
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
267
314
  return SsoStrategy.list(params, options);
268
315
  });
316
+ // Parameters:
317
+ // id (required) - int64 - Sso Strategy ID.
269
318
  (0, _defineProperty2.default)(SsoStrategy, "find", /*#__PURE__*/function () {
270
319
  var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(id) {
271
320
  var params,
@@ -29,24 +29,31 @@ var Status = /*#__PURE__*/(0, _createClass2.default)(function Status() {
29
29
  (0, _defineProperty2.default)(this, "isLoaded", function () {
30
30
  return !!_this.attributes.id;
31
31
  });
32
+ // int64 # Status HTTP code
32
33
  (0, _defineProperty2.default)(this, "getCode", function () {
33
34
  return _this.attributes.code;
34
35
  });
36
+ // string # Error message
35
37
  (0, _defineProperty2.default)(this, "getMessage", function () {
36
38
  return _this.attributes.message;
37
39
  });
40
+ // string # Status message
38
41
  (0, _defineProperty2.default)(this, "getStatus", function () {
39
42
  return _this.attributes.status;
40
43
  });
44
+ // Auto # Additional data
41
45
  (0, _defineProperty2.default)(this, "getData", function () {
42
46
  return _this.attributes.data;
43
47
  });
48
+ // array # A list of api errors
44
49
  (0, _defineProperty2.default)(this, "getErrors", function () {
45
50
  return _this.attributes.errors;
46
51
  });
52
+ // int64 # Required Clickwrap id
47
53
  (0, _defineProperty2.default)(this, "getClickwrapId", function () {
48
54
  return _this.attributes.clickwrap_id;
49
55
  });
56
+ // string # Required Clickwrap body
50
57
  (0, _defineProperty2.default)(this, "getClickwrapBody", function () {
51
58
  return _this.attributes.clickwrap_body;
52
59
  });
@@ -31,36 +31,43 @@ var Style = /*#__PURE__*/(0, _createClass2.default)(function Style() {
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.path;
33
33
  });
34
+ // int64 # Style 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 # Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
40
42
  (0, _defineProperty2.default)(this, "getPath", function () {
41
43
  return _this.attributes.path;
42
44
  });
43
45
  (0, _defineProperty2.default)(this, "setPath", function (value) {
44
46
  _this.attributes.path = value;
45
47
  });
48
+ // Image # Logo
46
49
  (0, _defineProperty2.default)(this, "getLogo", function () {
47
50
  return _this.attributes.logo;
48
51
  });
49
52
  (0, _defineProperty2.default)(this, "setLogo", function (value) {
50
53
  _this.attributes.logo = value;
51
54
  });
55
+ // Image # Logo thumbnail
52
56
  (0, _defineProperty2.default)(this, "getThumbnail", function () {
53
57
  return _this.attributes.thumbnail;
54
58
  });
55
59
  (0, _defineProperty2.default)(this, "setThumbnail", function (value) {
56
60
  _this.attributes.thumbnail = value;
57
61
  });
62
+ // file # Logo for custom branding.
58
63
  (0, _defineProperty2.default)(this, "getFile", function () {
59
64
  return _this.attributes.file;
60
65
  });
61
66
  (0, _defineProperty2.default)(this, "setFile", function (value) {
62
67
  _this.attributes.file = value;
63
68
  });
69
+ // Parameters:
70
+ // file (required) - file - Logo for custom branding.
64
71
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
65
72
  var params,
66
73
  response,
@@ -199,6 +206,8 @@ var Style = /*#__PURE__*/(0, _createClass2.default)(function Style() {
199
206
  });
200
207
  this.options = _objectSpread({}, options);
201
208
  });
209
+ // Parameters:
210
+ // path (required) - string - Style path.
202
211
  (0, _defineProperty2.default)(Style, "find", /*#__PURE__*/function () {
203
212
  var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(path) {
204
213
  var params,
@@ -31,36 +31,47 @@ var UsageDailySnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageD
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # ID of the usage record
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
38
+ // date # The date of this usage record
37
39
  (0, _defineProperty2.default)(this, "getDate", function () {
38
40
  return _this.attributes.date;
39
41
  });
42
+ // boolean # True if the API usage fields `read_api_usage` and `write_api_usage` can be relied upon. If this is false, we suggest hiding that value from any UI.
40
43
  (0, _defineProperty2.default)(this, "getApiUsageAvailable", function () {
41
44
  return _this.attributes.api_usage_available;
42
45
  });
46
+ // int64 # Read API Calls used on this day. Note: only updated for days before the current day.
43
47
  (0, _defineProperty2.default)(this, "getReadApiUsage", function () {
44
48
  return _this.attributes.read_api_usage;
45
49
  });
50
+ // int64 # Write API Calls used on this day. Note: only updated for days before the current day.
46
51
  (0, _defineProperty2.default)(this, "getWriteApiUsage", function () {
47
52
  return _this.attributes.write_api_usage;
48
53
  });
54
+ // int64 # Number of billable users as of this day.
49
55
  (0, _defineProperty2.default)(this, "getUserCount", function () {
50
56
  return _this.attributes.user_count;
51
57
  });
58
+ // int64 # GB of Files Native Storage used on this day.
52
59
  (0, _defineProperty2.default)(this, "getCurrentStorage", function () {
53
60
  return _this.attributes.current_storage;
54
61
  });
62
+ // int64 # GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
55
63
  (0, _defineProperty2.default)(this, "getDeletedFilesStorage", function () {
56
64
  return _this.attributes.deleted_files_storage;
57
65
  });
66
+ // int64 # GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
58
67
  (0, _defineProperty2.default)(this, "getDeletedFilesCountedInMinimum", function () {
59
68
  return _this.attributes.deleted_files_counted_in_minimum;
60
69
  });
70
+ // int64 # GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
61
71
  (0, _defineProperty2.default)(this, "getRootStorage", function () {
62
72
  return _this.attributes.root_storage;
63
73
  });
74
+ // object # Usage broken down by each top-level folder
64
75
  (0, _defineProperty2.default)(this, "getUsageByTopLevelDir", function () {
65
76
  return _this.attributes.usage_by_top_level_dir;
66
77
  });
@@ -77,6 +88,16 @@ var UsageDailySnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageD
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
+ // 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 `date` and `usage_snapshot_id`.
95
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
96
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
97
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
98
+ // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
99
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
100
+ // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
80
101
  (0, _defineProperty2.default)(UsageDailySnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
81
102
  var _response$data;
82
103
  var params,
@@ -31,48 +31,63 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Usage snapshot ID
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
38
+ // date-time # Usage snapshot start date/time
37
39
  (0, _defineProperty2.default)(this, "getStartAt", function () {
38
40
  return _this.attributes.start_at;
39
41
  });
42
+ // date-time # Usage snapshot end date/time
40
43
  (0, _defineProperty2.default)(this, "getEndAt", function () {
41
44
  return _this.attributes.end_at;
42
45
  });
46
+ // double # Highest user count number in time period
43
47
  (0, _defineProperty2.default)(this, "getHighWaterUserCount", function () {
44
48
  return _this.attributes.high_water_user_count;
45
49
  });
50
+ // double # Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
46
51
  (0, _defineProperty2.default)(this, "getCurrentStorage", function () {
47
52
  return _this.attributes.current_storage;
48
53
  });
54
+ // double # Highest Storage Usage GB recorded in time period (used for billing)
49
55
  (0, _defineProperty2.default)(this, "getHighWaterStorage", function () {
50
56
  return _this.attributes.high_water_storage;
51
57
  });
58
+ // object # Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
52
59
  (0, _defineProperty2.default)(this, "getUsageByTopLevelDir", function () {
53
60
  return _this.attributes.usage_by_top_level_dir;
54
61
  });
62
+ // double # Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
55
63
  (0, _defineProperty2.default)(this, "getRootStorage", function () {
56
64
  return _this.attributes.root_storage;
57
65
  });
66
+ // double # Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
58
67
  (0, _defineProperty2.default)(this, "getDeletedFilesCountedInMinimum", function () {
59
68
  return _this.attributes.deleted_files_counted_in_minimum;
60
69
  });
70
+ // double # Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
61
71
  (0, _defineProperty2.default)(this, "getDeletedFilesStorage", function () {
62
72
  return _this.attributes.deleted_files_storage;
63
73
  });
74
+ // double # Storage + Transfer Usage - Total Billable amount
64
75
  (0, _defineProperty2.default)(this, "getTotalBillableUsage", function () {
65
76
  return _this.attributes.total_billable_usage;
66
77
  });
78
+ // double # Transfer usage for period - Total Billable amount
67
79
  (0, _defineProperty2.default)(this, "getTotalBillableTransferUsage", function () {
68
80
  return _this.attributes.total_billable_transfer_usage;
69
81
  });
82
+ // double # Transfer Usage for period - Outbound GB from Files Native Storage
70
83
  (0, _defineProperty2.default)(this, "getBytesSent", function () {
71
84
  return _this.attributes.bytes_sent;
72
85
  });
86
+ // double # Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
73
87
  (0, _defineProperty2.default)(this, "getSyncBytesReceived", function () {
74
88
  return _this.attributes.sync_bytes_received;
75
89
  });
90
+ // double # Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
76
91
  (0, _defineProperty2.default)(this, "getSyncBytesSent", function () {
77
92
  return _this.attributes.sync_bytes_sent;
78
93
  });
@@ -89,6 +104,9 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
89
104
  });
90
105
  this.options = _objectSpread({}, options);
91
106
  });
107
+ // Parameters:
108
+ // 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.
109
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
92
110
  (0, _defineProperty2.default)(UsageSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
93
111
  var _response$data;
94
112
  var params,