files.com 1.0.190 → 1.0.193
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/Errors.md +186 -0
- package/docs/models/AccountLineItem.md +53 -0
- package/docs/models/Action.md +37 -0
- package/docs/models/ActionNotificationExport.md +82 -0
- package/docs/models/ActionNotificationExportResult.md +49 -0
- package/docs/models/ActionWebhookFailure.md +16 -0
- package/docs/models/ApiKey.md +183 -0
- package/docs/models/App.md +66 -0
- package/docs/models/As2IncomingMessage.md +104 -0
- package/docs/models/As2OutgoingMessage.md +96 -0
- package/docs/models/As2Partner.md +141 -0
- package/docs/models/As2Station.md +142 -0
- package/docs/models/Auto.md +11 -0
- package/docs/models/Automation.md +257 -0
- package/docs/models/AutomationRun.md +61 -0
- package/docs/models/BandwidthSnapshot.md +50 -0
- package/docs/models/Behavior.md +195 -0
- package/docs/models/Bundle.md +330 -0
- package/docs/models/BundleDownload.md +44 -0
- package/docs/models/BundleRecipient.md +76 -0
- package/docs/models/BundleRegistration.md +53 -0
- package/docs/models/Clickwrap.md +120 -0
- package/docs/models/DnsRecord.md +33 -0
- package/docs/models/Errors.md +17 -0
- package/docs/models/ExternalEvent.md +84 -0
- package/docs/models/File.md +339 -0
- package/docs/models/FileAction.md +13 -0
- package/docs/models/FileComment.md +98 -0
- package/docs/models/FileCommentReaction.md +50 -0
- package/docs/models/FileMigration.md +40 -0
- package/docs/models/FileUploadPart.md +39 -0
- package/docs/models/Folder.md +90 -0
- package/docs/models/FormField.md +29 -0
- package/docs/models/FormFieldSet.md +170 -0
- package/docs/models/Group.md +140 -0
- package/docs/models/GroupUser.md +116 -0
- package/docs/models/History.md +151 -0
- package/docs/models/HistoryExport.md +130 -0
- package/docs/models/HistoryExportResult.md +75 -0
- package/docs/models/Image.md +13 -0
- package/docs/models/InboxRecipient.md +76 -0
- package/docs/models/InboxRegistration.md +47 -0
- package/docs/models/InboxUpload.md +42 -0
- package/docs/models/Invoice.md +82 -0
- package/docs/models/InvoiceLineItem.md +27 -0
- package/docs/models/IpAddress.md +51 -0
- package/docs/models/Lock.md +92 -0
- package/docs/models/Message.md +134 -0
- package/docs/models/MessageComment.md +114 -0
- package/docs/models/MessageCommentReaction.md +79 -0
- package/docs/models/MessageReaction.md +79 -0
- package/docs/models/Notification.md +241 -0
- package/docs/models/Payment.md +82 -0
- package/docs/models/PaymentLineItem.md +19 -0
- package/docs/models/Permission.md +94 -0
- package/docs/models/Preview.md +19 -0
- package/docs/models/Priority.md +30 -0
- package/docs/models/Project.md +98 -0
- package/docs/models/PublicIpAddress.md +17 -0
- package/docs/models/PublicKey.md +112 -0
- package/docs/models/RemoteBandwidthSnapshot.md +42 -0
- package/docs/models/RemoteServer.md +385 -0
- package/docs/models/Request.md +97 -0
- package/docs/models/Session.md +50 -0
- package/docs/models/SettingsChange.md +44 -0
- package/docs/models/Site.md +607 -0
- package/docs/models/SsoStrategy.md +139 -0
- package/docs/models/Status.md +30 -0
- package/docs/models/Style.md +76 -0
- package/docs/models/UsageDailySnapshot.md +56 -0
- package/docs/models/UsageSnapshot.md +63 -0
- package/docs/models/User.md +465 -0
- package/docs/models/UserCipherUse.md +39 -0
- package/docs/models/UserRequest.md +80 -0
- package/docs/models/WebhookTest.md +59 -0
- package/lib/Api.js +12 -11
- package/lib/Errors.js +3125 -0
- package/lib/models/AccountLineItem.js +8 -0
- package/lib/models/Action.js +8 -0
- package/lib/models/ActionNotificationExport.js +21 -13
- package/lib/models/ActionNotificationExportResult.js +13 -5
- package/lib/models/ActionWebhookFailure.js +12 -4
- package/lib/models/ApiKey.js +33 -25
- package/lib/models/App.js +10 -2
- package/lib/models/As2IncomingMessage.js +11 -3
- package/lib/models/As2OutgoingMessage.js +11 -3
- package/lib/models/As2Partner.js +34 -26
- package/lib/models/As2Station.js +32 -24
- package/lib/models/Auto.js +8 -0
- package/lib/models/Automation.js +51 -43
- package/lib/models/AutomationRun.js +16 -8
- package/lib/models/BandwidthSnapshot.js +10 -2
- package/lib/models/Behavior.js +46 -38
- package/lib/models/Bundle.js +51 -43
- package/lib/models/BundleDownload.js +12 -4
- package/lib/models/BundleRecipient.js +22 -14
- package/lib/models/BundleRegistration.js +12 -4
- package/lib/models/Clickwrap.js +31 -23
- package/lib/models/DnsRecord.js +10 -2
- package/lib/models/Errors.js +8 -0
- package/lib/models/ExternalEvent.js +18 -10
- package/lib/models/File.js +68 -60
- package/lib/models/FileAction.js +8 -0
- package/lib/models/FileComment.js +27 -19
- package/lib/models/FileCommentReaction.js +18 -10
- package/lib/models/FileMigration.js +11 -3
- package/lib/models/FileUploadPart.js +8 -0
- package/lib/models/Folder.js +19 -11
- package/lib/models/FormField.js +8 -0
- package/lib/models/FormFieldSet.js +27 -19
- package/lib/models/Group.js +30 -22
- package/lib/models/GroupUser.js +32 -24
- package/lib/models/History.js +42 -34
- package/lib/models/HistoryExport.js +34 -26
- package/lib/models/HistoryExportResult.js +13 -5
- package/lib/models/Image.js +8 -0
- package/lib/models/InboxRecipient.js +22 -14
- package/lib/models/InboxRegistration.js +11 -3
- package/lib/models/InboxUpload.js +12 -4
- package/lib/models/Invoice.js +13 -5
- package/lib/models/InvoiceLineItem.js +8 -0
- package/lib/models/IpAddress.js +12 -4
- package/lib/models/Lock.js +24 -16
- package/lib/models/Message.js +37 -29
- package/lib/models/MessageComment.js +29 -21
- package/lib/models/MessageCommentReaction.js +24 -16
- package/lib/models/MessageReaction.js +24 -16
- package/lib/models/Notification.js +38 -30
- package/lib/models/Payment.js +13 -5
- package/lib/models/PaymentLineItem.js +8 -0
- package/lib/models/Permission.js +23 -15
- package/lib/models/Preview.js +8 -0
- package/lib/models/Priority.js +13 -5
- package/lib/models/Project.js +25 -17
- package/lib/models/PublicIpAddress.js +8 -0
- package/lib/models/PublicKey.js +29 -21
- package/lib/models/RemoteBandwidthSnapshot.js +10 -2
- package/lib/models/RemoteServer.js +113 -105
- package/lib/models/Request.js +27 -19
- package/lib/models/Session.js +13 -5
- package/lib/models/SettingsChange.js +10 -2
- package/lib/models/Site.js +65 -57
- package/lib/models/SsoStrategy.js +17 -9
- package/lib/models/Status.js +8 -0
- package/lib/models/Style.js +20 -12
- package/lib/models/UsageDailySnapshot.js +10 -2
- package/lib/models/UsageSnapshot.js +10 -2
- package/lib/models/User.js +85 -77
- package/lib/models/UserCipherUse.js +11 -3
- package/lib/models/UserRequest.js +24 -16
- package/lib/models/WebhookTest.js +16 -8
- package/package.json +1 -1
- package/src/Api.js +4 -8
- package/src/Errors.js +221 -0
- package/src/models/AccountLineItem.js +1 -0
- package/src/models/Action.js +1 -0
- package/src/models/ActionNotificationExport.js +14 -13
- package/src/models/ActionNotificationExportResult.js +6 -5
- package/src/models/ActionWebhookFailure.js +5 -4
- package/src/models/ApiKey.js +26 -25
- package/src/models/App.js +3 -2
- package/src/models/As2IncomingMessage.js +4 -3
- package/src/models/As2OutgoingMessage.js +4 -3
- package/src/models/As2Partner.js +27 -26
- package/src/models/As2Station.js +25 -24
- package/src/models/Auto.js +1 -0
- package/src/models/Automation.js +44 -43
- package/src/models/AutomationRun.js +9 -8
- package/src/models/BandwidthSnapshot.js +3 -2
- package/src/models/Behavior.js +39 -38
- package/src/models/Bundle.js +44 -43
- package/src/models/BundleDownload.js +5 -4
- package/src/models/BundleRecipient.js +15 -14
- package/src/models/BundleRegistration.js +5 -4
- package/src/models/Clickwrap.js +24 -23
- package/src/models/DnsRecord.js +3 -2
- package/src/models/Errors.js +1 -0
- package/src/models/ExternalEvent.js +11 -10
- package/src/models/File.js +61 -60
- package/src/models/FileAction.js +1 -0
- package/src/models/FileComment.js +20 -19
- package/src/models/FileCommentReaction.js +11 -10
- package/src/models/FileMigration.js +4 -3
- package/src/models/FileUploadPart.js +1 -0
- package/src/models/Folder.js +12 -11
- package/src/models/FormField.js +1 -0
- package/src/models/FormFieldSet.js +20 -19
- package/src/models/Group.js +23 -22
- package/src/models/GroupUser.js +25 -24
- package/src/models/History.js +35 -34
- package/src/models/HistoryExport.js +27 -26
- package/src/models/HistoryExportResult.js +6 -5
- package/src/models/Image.js +1 -0
- package/src/models/InboxRecipient.js +15 -14
- package/src/models/InboxRegistration.js +4 -3
- package/src/models/InboxUpload.js +5 -4
- package/src/models/Invoice.js +6 -5
- package/src/models/InvoiceLineItem.js +1 -0
- package/src/models/IpAddress.js +5 -4
- package/src/models/Lock.js +17 -16
- package/src/models/Message.js +30 -29
- package/src/models/MessageComment.js +22 -21
- package/src/models/MessageCommentReaction.js +17 -16
- package/src/models/MessageReaction.js +17 -16
- package/src/models/Notification.js +31 -30
- package/src/models/Payment.js +6 -5
- package/src/models/PaymentLineItem.js +1 -0
- package/src/models/Permission.js +16 -15
- package/src/models/Preview.js +1 -0
- package/src/models/Priority.js +6 -5
- package/src/models/Project.js +18 -17
- package/src/models/PublicIpAddress.js +1 -0
- package/src/models/PublicKey.js +22 -21
- package/src/models/RemoteBandwidthSnapshot.js +3 -2
- package/src/models/RemoteServer.js +106 -105
- package/src/models/Request.js +20 -19
- package/src/models/Session.js +6 -5
- package/src/models/SettingsChange.js +3 -2
- package/src/models/Site.js +58 -57
- package/src/models/SsoStrategy.js +10 -9
- package/src/models/Status.js +1 -0
- package/src/models/Style.js +13 -12
- package/src/models/UsageDailySnapshot.js +3 -2
- package/src/models/UsageSnapshot.js +3 -2
- package/src/models/User.js +78 -77
- package/src/models/UserCipherUse.js +4 -3
- package/src/models/UserRequest.js +17 -16
- package/src/models/WebhookTest.js +9 -8
- package/test/src/index.js +46 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.193
|
package/docs/Errors.md
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
# Errors
|
2
|
+
|
3
|
+
There are many custom `Error` classes defined by this SDK that you can test against in your code.
|
4
|
+
|
5
|
+
The library of errors can be imported as follows:
|
6
|
+
|
7
|
+
`import * as errors from 'files.com/lib/Errors'`
|
8
|
+
|
9
|
+
If using `require()` you can import using the following (note the lack of `.default`):
|
10
|
+
|
11
|
+
`const errors = require('files.com/lib/Errors')`
|
12
|
+
|
13
|
+
## Core Errors
|
14
|
+
|
15
|
+
### FilesError
|
16
|
+
|
17
|
+
This is the base class for all other errors defined by this SDK. It is never thrown directly.
|
18
|
+
|
19
|
+
### FilesApiError
|
20
|
+
|
21
|
+
This is the base class for failed API requests. Its properties include the message text and `code` associated with the network response.
|
22
|
+
|
23
|
+
## General Errors
|
24
|
+
|
25
|
+
The following errors may be thrown for general failures not related to an API request.
|
26
|
+
|
27
|
+
### ConfigurationError
|
28
|
+
### EmptyPropertyError
|
29
|
+
### InvalidParameterError
|
30
|
+
### MissingParameterError
|
31
|
+
### NotImplementedError
|
32
|
+
|
33
|
+
## API Error Groups
|
34
|
+
|
35
|
+
Each of these error classes is used as the base class for each associated error. These errors are never thrown directly.
|
36
|
+
|
37
|
+
### BadRequestError
|
38
|
+
### NotAuthenticatedError
|
39
|
+
### NotAuthorizedError
|
40
|
+
### NotFoundError
|
41
|
+
### ProcessingFailureError
|
42
|
+
### RateLimitedError
|
43
|
+
### ServiceUnavailableError
|
44
|
+
### SiteConfigurationError
|
45
|
+
|
46
|
+
## Grouped API Errors
|
47
|
+
|
48
|
+
These errors are derived from the error groups listed above.
|
49
|
+
|
50
|
+
### BadRequest_AttachmentTooLargeError
|
51
|
+
### BadRequest_CannotDownloadDirectoryError
|
52
|
+
### BadRequest_CantMoveWithMultipleLocationsError
|
53
|
+
### BadRequest_DatetimeParseError
|
54
|
+
### BadRequest_DestinationSameError
|
55
|
+
### BadRequest_FolderMustNotBeAFileError
|
56
|
+
### BadRequest_InvalidBodyError
|
57
|
+
### BadRequest_InvalidCursorError
|
58
|
+
### BadRequest_InvalidEtagsError
|
59
|
+
### BadRequest_InvalidFilterCombinationError
|
60
|
+
### BadRequest_InvalidFilterFieldError
|
61
|
+
### BadRequest_InvalidInputEncodingError
|
62
|
+
### BadRequest_InvalidInterfaceError
|
63
|
+
### BadRequest_InvalidOauthProviderError
|
64
|
+
### BadRequest_InvalidReturnToUrlError
|
65
|
+
### BadRequest_InvalidUploadOffsetError
|
66
|
+
### BadRequest_InvalidUploadPartGapError
|
67
|
+
### BadRequest_InvalidUploadPartSizeError
|
68
|
+
### BadRequest_MethodNotAllowedError
|
69
|
+
### BadRequest_NoValidInputParamsError
|
70
|
+
### BadRequest_OperationOnNonScimResourceError
|
71
|
+
### BadRequest_PartNumberTooLargeError
|
72
|
+
### BadRequest_ReauthenticationNeededFieldsError
|
73
|
+
### BadRequest_RequestParamPathCannotHaveTrailingWhitespaceError
|
74
|
+
### BadRequest_RequestParamsContainInvalidCharacterError
|
75
|
+
### BadRequest_RequestParamsInvalidError
|
76
|
+
### BadRequest_RequestParamsRequiredError
|
77
|
+
### BadRequest_SearchAllOnChildPathError
|
78
|
+
### BadRequest_UnsupportedCurrencyError
|
79
|
+
### BadRequest_UnsupportedHttpResponseFormatError
|
80
|
+
### BadRequest_UnsupportedMediaTypeError
|
81
|
+
### BadRequest_UserIdInvalidError
|
82
|
+
### BadRequest_UserIdOnUserEndpointError
|
83
|
+
### BadRequest_UserRequiredError
|
84
|
+
### NotAuthenticated_AuthenticationRequiredError
|
85
|
+
### NotAuthenticated_BundleRegistrationCodeFailedError
|
86
|
+
### NotAuthenticated_InboxRegistrationCodeFailedError
|
87
|
+
### NotAuthenticated_InvalidCredentialsError
|
88
|
+
### NotAuthenticated_InvalidOauthError
|
89
|
+
### NotAuthenticated_InvalidOrExpiredCodeError
|
90
|
+
### NotAuthenticated_InvalidUsernameOrPasswordError
|
91
|
+
### NotAuthenticated_LockedOutError
|
92
|
+
### NotAuthenticated_LockoutRegionMismatchError
|
93
|
+
### NotAuthenticated_OneTimePasswordIncorrectError
|
94
|
+
### NotAuthenticated_TwoFactorAuthenticationErrorError
|
95
|
+
### NotAuthenticated_TwoFactorAuthenticationSetupExpiredError
|
96
|
+
### NotAuthorized_ApiKeyIsDisabledError
|
97
|
+
### NotAuthorized_ApiKeyIsPathRestrictedError
|
98
|
+
### NotAuthorized_ApiKeyOnlyForDesktopAppError
|
99
|
+
### NotAuthorized_ApiKeyOnlyForMobileAppError
|
100
|
+
### NotAuthorized_ApiKeyOnlyForOfficeIntegrationError
|
101
|
+
### NotAuthorized_BillingPermissionRequiredError
|
102
|
+
### NotAuthorized_BundleMaximumUsesReachedError
|
103
|
+
### NotAuthorized_CannotLoginWhileUsingKeyError
|
104
|
+
### NotAuthorized_CantActForOtherUserError
|
105
|
+
### NotAuthorized_ContactAdminForPasswordChangeHelpError
|
106
|
+
### NotAuthorized_FolderAdminOrBillingPermissionRequiredError
|
107
|
+
### NotAuthorized_FolderAdminPermissionRequiredError
|
108
|
+
### NotAuthorized_FullPermissionRequiredError
|
109
|
+
### NotAuthorized_HistoryPermissionRequiredError
|
110
|
+
### NotAuthorized_InsufficientPermissionForParamsError
|
111
|
+
### NotAuthorized_MustAuthenticateWithApiKeyError
|
112
|
+
### NotAuthorized_NeedAdminPermissionForInboxError
|
113
|
+
### NotAuthorized_NonAdminsMustQueryByFolderOrPathError
|
114
|
+
### NotAuthorized_NotAllowedToCreateBundleError
|
115
|
+
### NotAuthorized_PasswordChangeNotRequiredError
|
116
|
+
### NotAuthorized_PasswordChangeRequiredError
|
117
|
+
### NotAuthorized_ReadOnlySessionError
|
118
|
+
### NotAuthorized_ReadPermissionRequiredError
|
119
|
+
### NotAuthorized_ReauthenticationFailedError
|
120
|
+
### NotAuthorized_ReauthenticationFailedFinalError
|
121
|
+
### NotAuthorized_ReauthenticationNeededActionError
|
122
|
+
### NotAuthorized_SelfManagedRequiredError
|
123
|
+
### NotAuthorized_SiteAdminRequiredError
|
124
|
+
### NotAuthorized_SiteFilesAreImmutableError
|
125
|
+
### NotAuthorized_TwoFactorAuthenticationRequiredError
|
126
|
+
### NotAuthorized_UserIdWithoutSiteAdminError
|
127
|
+
### NotAuthorized_WritePermissionRequiredError
|
128
|
+
### NotAuthorized_ZipDownloadIpMismatchError
|
129
|
+
### NotFound_ApiKeyNotFoundError
|
130
|
+
### NotFound_BundlePathNotFoundError
|
131
|
+
### NotFound_CodeNotFoundError
|
132
|
+
### NotFound_FileNotFoundError
|
133
|
+
### NotFound_FileUploadNotFoundError
|
134
|
+
### NotFound_FolderNotFoundError
|
135
|
+
### NotFound_GroupNotFoundError
|
136
|
+
### NotFound_InboxNotFoundError
|
137
|
+
### NotFound_NestedNotFoundError
|
138
|
+
### NotFound_PlanNotFoundError
|
139
|
+
### NotFound_SiteNotFoundError
|
140
|
+
### NotFound_UserNotFoundError
|
141
|
+
### ProcessingFailure_BundleOnlyAllowsPreviewsError
|
142
|
+
### ProcessingFailure_CouldNotCreateParentError
|
143
|
+
### ProcessingFailure_DestinationExistsError
|
144
|
+
### ProcessingFailure_DestinationFolderLimitedError
|
145
|
+
### ProcessingFailure_DestinationParentConflictError
|
146
|
+
### ProcessingFailure_DestinationParentDoesNotExistError
|
147
|
+
### ProcessingFailure_ExpiredPrivateKeyError
|
148
|
+
### ProcessingFailure_ExpiredPublicKeyError
|
149
|
+
### ProcessingFailure_ExportFailureError
|
150
|
+
### ProcessingFailure_ExportNotReadyError
|
151
|
+
### ProcessingFailure_FailedToChangePasswordError
|
152
|
+
### ProcessingFailure_FileLockedError
|
153
|
+
### ProcessingFailure_FileNotUploadedError
|
154
|
+
### ProcessingFailure_FilePendingProcessingError
|
155
|
+
### ProcessingFailure_FileTooBigToDecryptError
|
156
|
+
### ProcessingFailure_FileTooBigToEncryptError
|
157
|
+
### ProcessingFailure_FileUploadedToWrongRegionError
|
158
|
+
### ProcessingFailure_FolderLockedError
|
159
|
+
### ProcessingFailure_FolderNotEmptyError
|
160
|
+
### ProcessingFailure_HistoryUnavailableError
|
161
|
+
### ProcessingFailure_InvalidBundleCodeError
|
162
|
+
### ProcessingFailure_InvalidFileTypeError
|
163
|
+
### ProcessingFailure_InvalidFilenameError
|
164
|
+
### ProcessingFailure_InvalidRangeError
|
165
|
+
### ProcessingFailure_ModelSaveErrorError
|
166
|
+
### ProcessingFailure_MultipartUploadsRequiredForRemotesError
|
167
|
+
### ProcessingFailure_MultipleProcessingErrorsError
|
168
|
+
### ProcessingFailure_PathTooLongError
|
169
|
+
### ProcessingFailure_RecipientAlreadySharedError
|
170
|
+
### ProcessingFailure_RemoteServerErrorError
|
171
|
+
### ProcessingFailure_ResourceLockedError
|
172
|
+
### ProcessingFailure_SubfolderLockedError
|
173
|
+
### ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError
|
174
|
+
### ProcessingFailure_UpdatesNotAllowedForRemotesError
|
175
|
+
### RateLimited_ReauthenticationRateLimitedError
|
176
|
+
### RateLimited_TooManyConcurrentRequestsError
|
177
|
+
### RateLimited_TooManyLoginAttemptsError
|
178
|
+
### RateLimited_TooManyRequestsError
|
179
|
+
### ServiceUnavailable_UploadsUnavailableError
|
180
|
+
### SiteConfiguration_AccountAlreadyExistsError
|
181
|
+
### SiteConfiguration_AccountOverdueError
|
182
|
+
### SiteConfiguration_NoAccountForSiteError
|
183
|
+
### SiteConfiguration_SiteWasRemovedError
|
184
|
+
### SiteConfiguration_TrialExpiredError
|
185
|
+
### SiteConfiguration_TrialLockedError
|
186
|
+
### SiteConfiguration_UserRequestsEnabledRequiredError
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# AccountLineItem
|
2
|
+
|
3
|
+
## Example AccountLineItem Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"id": 1,
|
8
|
+
"amount": 1.0,
|
9
|
+
"balance": 1.0,
|
10
|
+
"created_at": "2000-01-01T01:00:00Z",
|
11
|
+
"currency": "USD",
|
12
|
+
"download_uri": "https://url...",
|
13
|
+
"invoice_line_items": {
|
14
|
+
"amount": 1.0,
|
15
|
+
"created_at": "2000-01-01T01:00:00Z",
|
16
|
+
"description": "Service from 2019-01-01 through 2019-12-31",
|
17
|
+
"type": "invoice",
|
18
|
+
"service_end_at": "2000-01-01T01:00:00Z",
|
19
|
+
"service_start_at": "2000-01-01T01:00:00Z",
|
20
|
+
"updated_at": "2000-01-01T01:00:00Z",
|
21
|
+
"plan": "Enterprise",
|
22
|
+
"site": "My site"
|
23
|
+
},
|
24
|
+
"method": "paypal",
|
25
|
+
"payment_line_items": {
|
26
|
+
"amount": 1.0,
|
27
|
+
"created_at": "2000-01-01T01:00:00Z",
|
28
|
+
"invoice_id": 1,
|
29
|
+
"payment_id": 1,
|
30
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
31
|
+
},
|
32
|
+
"payment_reversed_at": "2000-01-01T01:00:00Z",
|
33
|
+
"payment_type": "",
|
34
|
+
"site_name": "My Site",
|
35
|
+
"type": "invoice",
|
36
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
37
|
+
}
|
38
|
+
```
|
39
|
+
|
40
|
+
* `id` (int64): Line item Id
|
41
|
+
* `amount` (double): Line item amount
|
42
|
+
* `balance` (double): Line item balance
|
43
|
+
* `created_at` (date-time): Line item created at
|
44
|
+
* `currency` (string): Line item currency
|
45
|
+
* `download_uri` (string): Line item download uri
|
46
|
+
* `invoice_line_items` (InvoiceLineItem): Associated invoice line items
|
47
|
+
* `method` (string): Line item payment method
|
48
|
+
* `payment_line_items` (PaymentLineItem): Associated payment line items
|
49
|
+
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
|
50
|
+
* `payment_type` (string): Type of payment if applicable
|
51
|
+
* `site_name` (string): Site name this line item is for
|
52
|
+
* `type` (string): Type of line item, either payment or invoice
|
53
|
+
* `updated_at` (date-time): Line item updated at
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Action
|
2
|
+
|
3
|
+
## Example Action Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"id": 1,
|
8
|
+
"path": "",
|
9
|
+
"when": "2000-01-01T01:00:00Z",
|
10
|
+
"destination": "/to_path",
|
11
|
+
"display": "Actual text of the action here.",
|
12
|
+
"ip": "192.283.128.182",
|
13
|
+
"source": "/from_path",
|
14
|
+
"targets": [
|
15
|
+
|
16
|
+
],
|
17
|
+
"user_id": 1,
|
18
|
+
"username": "user",
|
19
|
+
"action": "create",
|
20
|
+
"failure_type": "none",
|
21
|
+
"interface": "web"
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
25
|
+
* `id` (int64): Action ID
|
26
|
+
* `path` (string): Path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
27
|
+
* `when` (date-time): Action occurrence date/time
|
28
|
+
* `destination` (string): The destination path for this action, if applicable
|
29
|
+
* `display` (string): Friendly displayed output
|
30
|
+
* `ip` (string): IP Address that performed this action
|
31
|
+
* `source` (string): The source path for this action, if applicable
|
32
|
+
* `targets` (array): Targets
|
33
|
+
* `user_id` (int64): User ID
|
34
|
+
* `username` (string): Username
|
35
|
+
* `action` (string): Type of action
|
36
|
+
* `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
|
37
|
+
* `interface` (string): Interface on which this action occurred.
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# ActionNotificationExport
|
2
|
+
|
3
|
+
## Example ActionNotificationExport Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"id": 1,
|
8
|
+
"export_version": "20201213.2",
|
9
|
+
"start_at": "2000-01-01T01:00:00Z",
|
10
|
+
"end_at": "2000-01-01T01:00:00Z",
|
11
|
+
"status": "ready",
|
12
|
+
"query_path": "MyFile.txt",
|
13
|
+
"query_folder": "MyFolder",
|
14
|
+
"query_message": "Connection Refused",
|
15
|
+
"query_request_method": "GET",
|
16
|
+
"query_request_url": "http://example.com/webhook",
|
17
|
+
"query_status": "200",
|
18
|
+
"query_success": true,
|
19
|
+
"results_url": "https://files.com/action_notification_results.csv"
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
23
|
+
* `id` (int64): History Export ID
|
24
|
+
* `export_version` (string): Version of the underlying records for the export.
|
25
|
+
* `start_at` (date-time): Start date/time of export range.
|
26
|
+
* `end_at` (date-time): End date/time of export range.
|
27
|
+
* `status` (string): Status of export. Valid values: `building`, `ready`, or `failed`
|
28
|
+
* `query_path` (string): Return notifications that were triggered by actions on this specific path.
|
29
|
+
* `query_folder` (string): Return notifications that were triggered by actions in this folder.
|
30
|
+
* `query_message` (string): Error message associated with the request, if any.
|
31
|
+
* `query_request_method` (string): The HTTP request method used by the webhook.
|
32
|
+
* `query_request_url` (string): The target webhook URL.
|
33
|
+
* `query_status` (string): The HTTP status returned from the server in response to the webhook request.
|
34
|
+
* `query_success` (boolean): true if the webhook request succeeded (i.e. returned a 200 or 204 response status). false otherwise.
|
35
|
+
* `results_url` (string): If `status` is `ready`, this will be a URL where all the results can be downloaded at once as a CSV.
|
36
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
37
|
+
|
38
|
+
---
|
39
|
+
|
40
|
+
## Show Action Notification Export
|
41
|
+
|
42
|
+
```
|
43
|
+
await ActionNotificationExport.find(id)
|
44
|
+
```
|
45
|
+
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
* `id` (int64): Required - Action Notification Export ID.
|
50
|
+
|
51
|
+
---
|
52
|
+
|
53
|
+
## Create Action Notification Export
|
54
|
+
|
55
|
+
```
|
56
|
+
await ActionNotificationExport.create({
|
57
|
+
'user_id': 1,
|
58
|
+
'start_at': "2000-01-01T01:00:00Z",
|
59
|
+
'end_at': "2000-01-01T01:00:00Z",
|
60
|
+
'query_message': "Connection Refused",
|
61
|
+
'query_request_method': "GET",
|
62
|
+
'query_request_url': "http://example.com/webhook",
|
63
|
+
'query_status': "200",
|
64
|
+
'query_success': true,
|
65
|
+
'query_path': "MyFile.txt",
|
66
|
+
'query_folder': "MyFolder",
|
67
|
+
})
|
68
|
+
```
|
69
|
+
|
70
|
+
|
71
|
+
### Parameters
|
72
|
+
|
73
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
74
|
+
* `start_at` (string): Start date/time of export range.
|
75
|
+
* `end_at` (string): End date/time of export range.
|
76
|
+
* `query_message` (string): Error message associated with the request, if any.
|
77
|
+
* `query_request_method` (string): The HTTP request method used by the webhook.
|
78
|
+
* `query_request_url` (string): The target webhook URL.
|
79
|
+
* `query_status` (string): The HTTP status returned from the server in response to the webhook request.
|
80
|
+
* `query_success` (boolean): true if the webhook request succeeded (i.e. returned a 200 or 204 response status). false otherwise.
|
81
|
+
* `query_path` (string): Return notifications that were triggered by actions on this specific path.
|
82
|
+
* `query_folder` (string): Return notifications that were triggered by actions in this folder.
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# ActionNotificationExportResult
|
2
|
+
|
3
|
+
## Example ActionNotificationExportResult Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"id": 1,
|
8
|
+
"created_at": 1,
|
9
|
+
"status": 200,
|
10
|
+
"message": "Success",
|
11
|
+
"success": true,
|
12
|
+
"request_headers": "{\"User-Agent\":\"Files.com Webhook\"}",
|
13
|
+
"request_method": "GET",
|
14
|
+
"request_url": "www.example.com/webhook_receiver",
|
15
|
+
"path": "MyFolder/MyFile.txt",
|
16
|
+
"folder": "MyFolder"
|
17
|
+
}
|
18
|
+
```
|
19
|
+
|
20
|
+
* `id` (int64): Notification ID
|
21
|
+
* `created_at` (int64): When the notification was sent.
|
22
|
+
* `status` (int64): HTTP status code returned in the webhook response.
|
23
|
+
* `message` (string): A message indicating the overall status of the webhook notification.
|
24
|
+
* `success` (boolean): `true` if the webhook succeeded by receiving a 200 or 204 response.
|
25
|
+
* `request_headers` (string): A JSON-encoded string with headers that were sent with the webhook.
|
26
|
+
* `request_method` (string): The HTTP verb used to perform the webhook.
|
27
|
+
* `request_url` (string): The webhook request URL.
|
28
|
+
* `path` (string): The path to the actual file that triggered this notification. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
29
|
+
* `folder` (string): The folder associated with the triggering action for this notification.
|
30
|
+
|
31
|
+
---
|
32
|
+
|
33
|
+
## List Action Notification Export Results
|
34
|
+
|
35
|
+
```
|
36
|
+
await ActionNotificationExportResult.list({
|
37
|
+
'user_id': 1,
|
38
|
+
'per_page': 1,
|
39
|
+
'action_notification_export_id': 1,
|
40
|
+
})
|
41
|
+
```
|
42
|
+
|
43
|
+
|
44
|
+
### Parameters
|
45
|
+
|
46
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
47
|
+
* `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.
|
48
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
49
|
+
* `action_notification_export_id` (int64): Required - ID of the associated action notification export.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
---
|
3
|
+
|
4
|
+
## retry Action Webhook Failure
|
5
|
+
|
6
|
+
```
|
7
|
+
const action_webhook_failure = new ActionWebhookFailure()
|
8
|
+
action_webhook_failure.path = myFilePath
|
9
|
+
|
10
|
+
await action_webhook_failure.retry()
|
11
|
+
```
|
12
|
+
|
13
|
+
### Parameters
|
14
|
+
|
15
|
+
* `id` (int64): Required - Action Webhook Failure ID.
|
16
|
+
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# ApiKey
|
2
|
+
|
3
|
+
## Example ApiKey Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"id": 1,
|
8
|
+
"descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
|
9
|
+
"created_at": "2000-01-01T01:00:00Z",
|
10
|
+
"expires_at": "2000-01-01T01:00:00Z",
|
11
|
+
"key": "[key]",
|
12
|
+
"last_use_at": "2000-01-01T01:00:00Z",
|
13
|
+
"name": "My Main API Key",
|
14
|
+
"path": "shared/docs",
|
15
|
+
"permission_set": "full",
|
16
|
+
"platform": "win32",
|
17
|
+
"user_id": 1
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
21
|
+
* `id` (int64): API Key ID
|
22
|
+
* `descriptive_label` (string): Unique label that describes this API key. Useful for external systems where you may have API keys from multiple accounts and want a human-readable label for each key.
|
23
|
+
* `created_at` (date-time): Time which API Key was created
|
24
|
+
* `expires_at` (date-time): API Key expiration date
|
25
|
+
* `key` (string): API Key actual key string
|
26
|
+
* `last_use_at` (date-time): API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
|
27
|
+
* `name` (string): Internal name for the API Key. For your use.
|
28
|
+
* `path` (string): Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
29
|
+
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
30
|
+
* `platform` (string): If this API key represents a Desktop app, what platform was it created on?
|
31
|
+
* `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
## List Api Keys
|
36
|
+
|
37
|
+
```
|
38
|
+
await ApiKey.list({
|
39
|
+
'user_id': 1,
|
40
|
+
'per_page': 1,
|
41
|
+
})
|
42
|
+
```
|
43
|
+
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
48
|
+
* `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.
|
49
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
50
|
+
* `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 `expires_at`.
|
51
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
|
52
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
|
53
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `expires_at`.
|
54
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
|
55
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
|
56
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `expires_at`.
|
57
|
+
|
58
|
+
---
|
59
|
+
|
60
|
+
## Show information about current API key. (Requires current API connection to be using an API key.)
|
61
|
+
|
62
|
+
```
|
63
|
+
await ApiKey.findCurrent
|
64
|
+
```
|
65
|
+
|
66
|
+
|
67
|
+
---
|
68
|
+
|
69
|
+
## Show Api Key
|
70
|
+
|
71
|
+
```
|
72
|
+
await ApiKey.find(id)
|
73
|
+
```
|
74
|
+
|
75
|
+
|
76
|
+
### Parameters
|
77
|
+
|
78
|
+
* `id` (int64): Required - Api Key ID.
|
79
|
+
|
80
|
+
---
|
81
|
+
|
82
|
+
## Create Api Key
|
83
|
+
|
84
|
+
```
|
85
|
+
await ApiKey.create({
|
86
|
+
'user_id': 1,
|
87
|
+
'name': "My Main API Key",
|
88
|
+
'expires_at': "2000-01-01T01:00:00Z",
|
89
|
+
'permission_set': "full",
|
90
|
+
'path': "shared/docs",
|
91
|
+
})
|
92
|
+
```
|
93
|
+
|
94
|
+
|
95
|
+
### Parameters
|
96
|
+
|
97
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
98
|
+
* `name` (string): Internal name for the API Key. For your use.
|
99
|
+
* `expires_at` (string): API Key expiration date
|
100
|
+
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
101
|
+
* `path` (string): Folder path restriction for this api key.
|
102
|
+
|
103
|
+
---
|
104
|
+
|
105
|
+
## Update current API key. (Requires current API connection to be using an API key.)
|
106
|
+
|
107
|
+
```
|
108
|
+
await ApiKey.updateCurrent({
|
109
|
+
'expires_at': "2000-01-01T01:00:00Z",
|
110
|
+
'name': "My Main API Key",
|
111
|
+
'permission_set': "full",
|
112
|
+
})
|
113
|
+
```
|
114
|
+
|
115
|
+
|
116
|
+
### Parameters
|
117
|
+
|
118
|
+
* `expires_at` (string): API Key expiration date
|
119
|
+
* `name` (string): Internal name for the API Key. For your use.
|
120
|
+
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
121
|
+
|
122
|
+
---
|
123
|
+
|
124
|
+
## Delete current API key. (Requires current API connection to be using an API key.)
|
125
|
+
|
126
|
+
```
|
127
|
+
await ApiKey.deleteCurrent
|
128
|
+
```
|
129
|
+
|
130
|
+
|
131
|
+
---
|
132
|
+
|
133
|
+
## Update Api Key
|
134
|
+
|
135
|
+
```
|
136
|
+
const [api_key] = await ApiKey.list()
|
137
|
+
|
138
|
+
await api_key.update({
|
139
|
+
'name': "My Main API Key",
|
140
|
+
'expires_at': "2000-01-01T01:00:00Z",
|
141
|
+
'permission_set': "full",
|
142
|
+
})
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
* `id` (int64): Required - Api Key ID.
|
148
|
+
* `name` (string): Internal name for the API Key. For your use.
|
149
|
+
* `expires_at` (string): API Key expiration date
|
150
|
+
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
151
|
+
|
152
|
+
### Example Response
|
153
|
+
|
154
|
+
```json
|
155
|
+
{
|
156
|
+
"id": 1,
|
157
|
+
"descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
|
158
|
+
"created_at": "2000-01-01T01:00:00Z",
|
159
|
+
"expires_at": "2000-01-01T01:00:00Z",
|
160
|
+
"key": "[key]",
|
161
|
+
"last_use_at": "2000-01-01T01:00:00Z",
|
162
|
+
"name": "My Main API Key",
|
163
|
+
"path": "shared/docs",
|
164
|
+
"permission_set": "full",
|
165
|
+
"platform": "win32",
|
166
|
+
"user_id": 1
|
167
|
+
}
|
168
|
+
```
|
169
|
+
|
170
|
+
---
|
171
|
+
|
172
|
+
## Delete Api Key
|
173
|
+
|
174
|
+
```
|
175
|
+
const [api_key] = await ApiKey.list()
|
176
|
+
|
177
|
+
await api_key.delete()
|
178
|
+
```
|
179
|
+
|
180
|
+
### Parameters
|
181
|
+
|
182
|
+
* `id` (int64): Required - Api Key ID.
|
183
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# App
|
2
|
+
|
3
|
+
## Example App Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"name": "",
|
8
|
+
"extended_description": "",
|
9
|
+
"short_description": "",
|
10
|
+
"documentation_links": "Important Info => http://files.test/learn-more",
|
11
|
+
"icon_url": "",
|
12
|
+
"logo_url": "",
|
13
|
+
"screenshot_list_urls": [
|
14
|
+
""
|
15
|
+
],
|
16
|
+
"logo_thumbnail_url": "",
|
17
|
+
"sso_strategy_type": "",
|
18
|
+
"remote_server_type": "",
|
19
|
+
"folder_behavior_type": "",
|
20
|
+
"external_homepage_url": "",
|
21
|
+
"marketing_youtube_url": "",
|
22
|
+
"tutorial_youtube_url": "",
|
23
|
+
"app_type": "",
|
24
|
+
"featured": true
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
28
|
+
* `name` (string): Name of the App
|
29
|
+
* `extended_description` (string): Long form description of the App
|
30
|
+
* `short_description` (string): Short description of the App
|
31
|
+
* `documentation_links` (object): Collection of named links to documentation
|
32
|
+
* `icon_url` (string): App icon
|
33
|
+
* `logo_url` (string): Full size logo for the App
|
34
|
+
* `screenshot_list_urls` (string): Screenshots of the App
|
35
|
+
* `logo_thumbnail_url` (string): Logo thumbnail for the App
|
36
|
+
* `sso_strategy_type` (string): Associated SSO Strategy type, if any
|
37
|
+
* `remote_server_type` (string): Associated Remote Server type, if any
|
38
|
+
* `folder_behavior_type` (string): Associated Folder Behavior type, if any
|
39
|
+
* `external_homepage_url` (string): Link to external homepage
|
40
|
+
* `marketing_youtube_url` (string): Marketing video page
|
41
|
+
* `tutorial_youtube_url` (string): Tutorial video page
|
42
|
+
* `app_type` (string): The type of the App
|
43
|
+
* `featured` (boolean): Is featured on the App listing?
|
44
|
+
|
45
|
+
---
|
46
|
+
|
47
|
+
## List Apps
|
48
|
+
|
49
|
+
```
|
50
|
+
await App.list({
|
51
|
+
'per_page': 1,
|
52
|
+
})
|
53
|
+
```
|
54
|
+
|
55
|
+
|
56
|
+
### Parameters
|
57
|
+
|
58
|
+
* `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.
|
59
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
60
|
+
* `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 `name` and `app_type`.
|
61
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
62
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
63
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
64
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
65
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|
66
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
|