files.com 1.1.841 → 1.1.843

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.
Files changed (469) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/_VERSION +1 -1
  4. data/doc/Files/APIConnectionError.html +1 -1
  5. data/doc/Files/APIError.html +1 -1
  6. data/doc/Files/AccountAlreadyExistsError.html +1 -1
  7. data/doc/Files/AccountLineItem.html +1 -1
  8. data/doc/Files/AccountOverdueError.html +1 -1
  9. data/doc/Files/Action.html +1 -1
  10. data/doc/Files/ActionLog.html +1 -1
  11. data/doc/Files/ActionNotificationExport.html +1 -1
  12. data/doc/Files/ActionNotificationExportResult.html +1 -1
  13. data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
  14. data/doc/Files/AgentNode.html +1 -1
  15. data/doc/Files/AgentNodeConnection.html +1 -1
  16. data/doc/Files/AgentNodeInstance.html +1 -1
  17. data/doc/Files/AgentPushUpdate.html +1 -1
  18. data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
  19. data/doc/Files/AgentUnavailableError.html +1 -1
  20. data/doc/Files/AgentUpgradeRequiredError.html +1 -1
  21. data/doc/Files/AiAssistantPersonality.html +1 -1
  22. data/doc/Files/AiTask.html +1 -1
  23. data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
  24. data/doc/Files/AlreadyCompletedError.html +1 -1
  25. data/doc/Files/Api.html +1 -1
  26. data/doc/Files/ApiClient/RequestLogContext.html +1 -1
  27. data/doc/Files/ApiClient/TransferSettings.html +1 -1
  28. data/doc/Files/ApiClient.html +1 -1
  29. data/doc/Files/ApiKey.html +1 -1
  30. data/doc/Files/ApiKeyIsDisabledError.html +1 -1
  31. data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
  32. data/doc/Files/ApiKeyNotFoundError.html +1 -1
  33. data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
  34. data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
  35. data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
  36. data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
  37. data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
  38. data/doc/Files/ApiRequestLog.html +1 -1
  39. data/doc/Files/App.html +1 -1
  40. data/doc/Files/As2IncomingMessage.html +1 -1
  41. data/doc/Files/As2OutgoingMessage.html +1 -1
  42. data/doc/Files/As2Partner.html +1 -1
  43. data/doc/Files/As2Station.html +1 -1
  44. data/doc/Files/AttachmentTooLargeError.html +1 -1
  45. data/doc/Files/AuthenticationError.html +1 -1
  46. data/doc/Files/AuthenticationRequiredError.html +1 -1
  47. data/doc/Files/Auto.html +1 -1
  48. data/doc/Files/Automation.html +1041 -408
  49. data/doc/Files/AutomationAuthoringSchema.html +1 -1
  50. data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
  51. data/doc/Files/AutomationExecutionNode.html +1 -1
  52. data/doc/Files/AutomationLog.html +1 -1
  53. data/doc/Files/AutomationRun.html +335 -181
  54. data/doc/Files/AutomationVersion.html +1 -1
  55. data/doc/Files/AutomationsUnavailableError.html +1 -1
  56. data/doc/Files/BadRequestError.html +1 -1
  57. data/doc/Files/BandwidthSnapshot.html +1 -1
  58. data/doc/Files/Behavior.html +1 -1
  59. data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
  60. data/doc/Files/BillingInformationHiddenError.html +1 -1
  61. data/doc/Files/BillingPermissionRequiredError.html +1 -1
  62. data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
  63. data/doc/Files/Bundle.html +1 -1
  64. data/doc/Files/BundleAction.html +1 -1
  65. data/doc/Files/BundleDownload.html +1 -1
  66. data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
  67. data/doc/Files/BundleNotification.html +1 -1
  68. data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
  69. data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
  70. data/doc/Files/BundlePath.html +1 -1
  71. data/doc/Files/BundlePathNotFoundError.html +1 -1
  72. data/doc/Files/BundlePermissionRequiredError.html +1 -1
  73. data/doc/Files/BundleRecipient.html +1 -1
  74. data/doc/Files/BundleRegistration.html +1 -1
  75. data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
  76. data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
  77. data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
  78. data/doc/Files/CannotDownloadDirectoryError.html +1 -1
  79. data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
  80. data/doc/Files/CantActForOtherUserError.html +1 -1
  81. data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
  82. data/doc/Files/Certificate.html +1 -1
  83. data/doc/Files/ChatMessage.html +1 -1
  84. data/doc/Files/ChatSession.html +1 -1
  85. data/doc/Files/ChildSiteManagementPolicy.html +1 -1
  86. data/doc/Files/Clickwrap.html +1 -1
  87. data/doc/Files/CodeNotFoundError.html +1 -1
  88. data/doc/Files/ConfigurationLockedPathError.html +1 -1
  89. data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
  90. data/doc/Files/CouldNotCreateParentError.html +1 -1
  91. data/doc/Files/CustomDomain.html +1 -1
  92. data/doc/Files/DatabaseDestination.html +3858 -0
  93. data/doc/Files/DatetimeParseError.html +1 -1
  94. data/doc/Files/DesktopConfigurationProfile.html +1 -1
  95. data/doc/Files/DestinationExistsError.html +1 -1
  96. data/doc/Files/DestinationFolderLimitedError.html +1 -1
  97. data/doc/Files/DestinationParentConflictError.html +1 -1
  98. data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
  99. data/doc/Files/DestinationSameError.html +1 -1
  100. data/doc/Files/DestinationSiteMismatchError.html +1 -1
  101. data/doc/Files/DirectConnectionInfo.html +1 -1
  102. data/doc/Files/DnsRecord.html +1 -1
  103. data/doc/Files/DoesNotSupportSortingError.html +1 -1
  104. data/doc/Files/DuplicateShareRecipientError.html +1 -1
  105. data/doc/Files/EmailIncomingMessage.html +1 -1
  106. data/doc/Files/EmailLog.html +1 -1
  107. data/doc/Files/Error.html +1 -1
  108. data/doc/Files/Errors.html +1 -1
  109. data/doc/Files/EventChannel.html +1 -1
  110. data/doc/Files/EventDeliveryAttempt.html +1 -1
  111. data/doc/Files/EventRecord.html +1 -1
  112. data/doc/Files/EventSubscription.html +1 -1
  113. data/doc/Files/EventTarget.html +1 -1
  114. data/doc/Files/ExavaultApiRequestLog.html +1 -1
  115. data/doc/Files/ExceededRuntimeLimitError.html +1 -1
  116. data/doc/Files/Expectation.html +1 -1
  117. data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
  118. data/doc/Files/ExpectationEvaluation.html +1 -1
  119. data/doc/Files/ExpectationIncident.html +1 -1
  120. data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
  121. data/doc/Files/ExpiredPrivateKeyError.html +1 -1
  122. data/doc/Files/ExpiredPublicKeyError.html +1 -1
  123. data/doc/Files/ExportFailureError.html +1 -1
  124. data/doc/Files/ExportNotReadyError.html +1 -1
  125. data/doc/Files/ExternalEvent.html +1 -1
  126. data/doc/Files/FailedToChangePasswordError.html +1 -1
  127. data/doc/Files/File.html +1 -1
  128. data/doc/Files/FileAction.html +1 -1
  129. data/doc/Files/FileActionError.html +1 -1
  130. data/doc/Files/FileComment.html +1 -1
  131. data/doc/Files/FileCommentReaction.html +1 -1
  132. data/doc/Files/FileLockedError.html +1 -1
  133. data/doc/Files/FileMigration.html +1 -1
  134. data/doc/Files/FileMigrationLog.html +1 -1
  135. data/doc/Files/FileNotFoundError.html +1 -1
  136. data/doc/Files/FileNotUploadedError.html +1 -1
  137. data/doc/Files/FilePendingProcessingError.html +1 -1
  138. data/doc/Files/FileProcessingErrorError.html +1 -1
  139. data/doc/Files/FileTooBigToDecryptError.html +1 -1
  140. data/doc/Files/FileTooBigToEncryptError.html +1 -1
  141. data/doc/Files/FileUploadNotFoundError.html +1 -1
  142. data/doc/Files/FileUploadPart.html +1 -1
  143. data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
  144. data/doc/Files/FileUtils.html +1 -1
  145. data/doc/Files/FilenameTooLongError.html +1 -1
  146. data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
  147. data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
  148. data/doc/Files/Folder.html +1 -1
  149. data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
  150. data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
  151. data/doc/Files/FolderLockedError.html +1 -1
  152. data/doc/Files/FolderMustNotBeAFileError.html +1 -1
  153. data/doc/Files/FolderNotEmptyError.html +1 -1
  154. data/doc/Files/FoldersNotAllowedError.html +1 -1
  155. data/doc/Files/FormField.html +1 -1
  156. data/doc/Files/FormFieldSet.html +3 -3
  157. data/doc/Files/FtpActionLog.html +1 -1
  158. data/doc/Files/FullPermissionRequiredError.html +1 -1
  159. data/doc/Files/GpgKey.html +1 -1
  160. data/doc/Files/Group.html +1 -1
  161. data/doc/Files/GroupNotFoundError.html +1 -1
  162. data/doc/Files/GroupUser.html +1 -1
  163. data/doc/Files/History.html +1 -1
  164. data/doc/Files/HistoryExport.html +1 -1
  165. data/doc/Files/HistoryExportResult.html +1 -1
  166. data/doc/Files/HistoryPermissionRequiredError.html +1 -1
  167. data/doc/Files/HistoryUnavailableError.html +1 -1
  168. data/doc/Files/HolidayCalendar.html +1 -1
  169. data/doc/Files/HolidayRegion.html +1 -1
  170. data/doc/Files/Image.html +1 -1
  171. data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
  172. data/doc/Files/InboundS3Log.html +1 -1
  173. data/doc/Files/InboxNotFoundError.html +1 -1
  174. data/doc/Files/InboxRecipient.html +1 -1
  175. data/doc/Files/InboxRegistration.html +1 -1
  176. data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
  177. data/doc/Files/InboxUpload.html +1 -1
  178. data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
  179. data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
  180. data/doc/Files/IntegrationCentricProfile.html +1 -1
  181. data/doc/Files/InternalGeneralErrorError.html +1 -1
  182. data/doc/Files/InvalidBodyError.html +1 -1
  183. data/doc/Files/InvalidBundleCodeError.html +1 -1
  184. data/doc/Files/InvalidCredentialsError.html +1 -1
  185. data/doc/Files/InvalidCursorError.html +1 -1
  186. data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
  187. data/doc/Files/InvalidEtagsError.html +1 -1
  188. data/doc/Files/InvalidFileTypeError.html +1 -1
  189. data/doc/Files/InvalidFilenameError.html +1 -1
  190. data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
  191. data/doc/Files/InvalidFilterFieldError.html +1 -1
  192. data/doc/Files/InvalidFilterParamError.html +1 -1
  193. data/doc/Files/InvalidFilterParamFormatError.html +1 -1
  194. data/doc/Files/InvalidFilterParamValueError.html +1 -1
  195. data/doc/Files/InvalidInputEncodingError.html +1 -1
  196. data/doc/Files/InvalidInterfaceError.html +1 -1
  197. data/doc/Files/InvalidOauthError.html +1 -1
  198. data/doc/Files/InvalidOauthProviderError.html +1 -1
  199. data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
  200. data/doc/Files/InvalidParameterError.html +1 -1
  201. data/doc/Files/InvalidPathError.html +1 -1
  202. data/doc/Files/InvalidPriorityColorError.html +1 -1
  203. data/doc/Files/InvalidRangeError.html +1 -1
  204. data/doc/Files/InvalidReturnToUrlError.html +1 -1
  205. data/doc/Files/InvalidSearchQueryError.html +1 -1
  206. data/doc/Files/InvalidSessionError.html +1 -1
  207. data/doc/Files/InvalidSiteError.html +1 -1
  208. data/doc/Files/InvalidSortFieldError.html +1 -1
  209. data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
  210. data/doc/Files/InvalidUploadOffsetError.html +1 -1
  211. data/doc/Files/InvalidUploadPartGapError.html +1 -1
  212. data/doc/Files/InvalidUploadPartSizeError.html +1 -1
  213. data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
  214. data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
  215. data/doc/Files/InvalidZipFileError.html +1 -1
  216. data/doc/Files/Invoice.html +1 -1
  217. data/doc/Files/InvoiceLineItem.html +1 -1
  218. data/doc/Files/IpAddress.html +1 -1
  219. data/doc/Files/KeyLifecycleRule.html +1 -1
  220. data/doc/Files/List.html +1 -1
  221. data/doc/Files/Lock.html +1 -1
  222. data/doc/Files/LockOperationBusyError.html +1 -1
  223. data/doc/Files/LockedOutError.html +1 -1
  224. data/doc/Files/LockoutRegionMismatchError.html +1 -1
  225. data/doc/Files/MetadataCategory.html +1 -1
  226. data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
  227. data/doc/Files/MethodNotAllowedError.html +1 -1
  228. data/doc/Files/MigrationInProgressError.html +1 -1
  229. data/doc/Files/MissingParameterError.html +1 -1
  230. data/doc/Files/ModelSaveErrorError.html +1 -1
  231. data/doc/Files/MoverAccessDeniedError.html +1 -1
  232. data/doc/Files/MoverPackageRequiredError.html +1 -1
  233. data/doc/Files/MultipleProcessingErrorsError.html +1 -1
  234. data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
  235. data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
  236. data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
  237. data/doc/Files/NestedNotFoundError.html +1 -1
  238. data/doc/Files/NoAccountForSiteError.html +1 -1
  239. data/doc/Files/NoValidInputParamsError.html +1 -1
  240. data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
  241. data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
  242. data/doc/Files/NotAuthenticatedError.html +1 -1
  243. data/doc/Files/NotAuthorizedError.html +1 -1
  244. data/doc/Files/NotEnqueuableSyncError.html +1 -1
  245. data/doc/Files/NotFoundError.html +1 -1
  246. data/doc/Files/NotImplementedError.html +1 -1
  247. data/doc/Files/Notification.html +1 -1
  248. data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
  249. data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
  250. data/doc/Files/OutboundConnectionLog.html +1 -1
  251. data/doc/Files/PartNumberTooLargeError.html +1 -1
  252. data/doc/Files/Partner.html +1 -1
  253. data/doc/Files/PartnerChannel.html +381 -170
  254. data/doc/Files/PartnerChannelTemplate.html +358 -147
  255. data/doc/Files/PartnerChannelUploadForm.html +589 -0
  256. data/doc/Files/PartnerConnection.html +1 -1
  257. data/doc/Files/PartnerSite.html +1 -1
  258. data/doc/Files/PartnerSiteRequest.html +1 -1
  259. data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
  260. data/doc/Files/PasswordChangeRequiredError.html +1 -1
  261. data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
  262. data/doc/Files/PathTooLongError.html +1 -1
  263. data/doc/Files/PathUtil.html +1 -1
  264. data/doc/Files/Payment.html +1 -1
  265. data/doc/Files/PaymentLineItem.html +1 -1
  266. data/doc/Files/PaymentMethodErrorError.html +1 -1
  267. data/doc/Files/PendingWorkEvent.html +1 -1
  268. data/doc/Files/Permission.html +1 -1
  269. data/doc/Files/PlanNotFoundError.html +1 -1
  270. data/doc/Files/Preview.html +1 -1
  271. data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
  272. data/doc/Files/ProcessingFailureError.html +1 -1
  273. data/doc/Files/PublicHostingRequestLog.html +1 -1
  274. data/doc/Files/PublicIpAddress.html +1 -1
  275. data/doc/Files/PublicKey.html +1 -1
  276. data/doc/Files/RateLimitedError.html +1 -1
  277. data/doc/Files/ReadOnlySessionError.html +1 -1
  278. data/doc/Files/ReadPermissionRequiredError.html +1 -1
  279. data/doc/Files/ReauthenticationFailedError.html +1 -1
  280. data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
  281. data/doc/Files/ReauthenticationNeededActionError.html +1 -1
  282. data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
  283. data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
  284. data/doc/Files/RecaptchaFailedError.html +1 -1
  285. data/doc/Files/RecipientAlreadySharedError.html +1 -1
  286. data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
  287. data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
  288. data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
  289. data/doc/Files/RemoteMountBackend.html +1 -1
  290. data/doc/Files/RemoteServer.html +1 -1
  291. data/doc/Files/RemoteServerConfigurationFile.html +1 -1
  292. data/doc/Files/RemoteServerCredential.html +1 -1
  293. data/doc/Files/RemoteServerErrorError.html +1 -1
  294. data/doc/Files/Request.html +1 -1
  295. data/doc/Files/RequestBodyTooLargeError.html +1 -1
  296. data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
  297. data/doc/Files/RequestParamsInvalidError.html +1 -1
  298. data/doc/Files/RequestParamsRequiredError.html +1 -1
  299. data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
  300. data/doc/Files/ResourceLockedError.html +1 -1
  301. data/doc/Files/Response.html +1 -1
  302. data/doc/Files/Restore.html +1 -1
  303. data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
  304. data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
  305. data/doc/Files/Schedule.html +1 -1
  306. data/doc/Files/ScheduledExport.html +1 -1
  307. data/doc/Files/ScimLog.html +1 -1
  308. data/doc/Files/SearchAllOnChildPathError.html +1 -1
  309. data/doc/Files/SearchQueryTooShortError.html +1 -1
  310. data/doc/Files/SearchTimedOutError.html +1 -1
  311. data/doc/Files/SearchUnavailableError.html +1 -1
  312. data/doc/Files/Secret.html +1 -1
  313. data/doc/Files/SelfManagedRequiredError.html +1 -1
  314. data/doc/Files/ServiceUnavailableError.html +1 -1
  315. data/doc/Files/Session.html +1 -1
  316. data/doc/Files/SettingsChange.html +1 -1
  317. data/doc/Files/SftpActionLog.html +1 -1
  318. data/doc/Files/SftpHostKey.html +1 -1
  319. data/doc/Files/ShareGroup.html +1 -1
  320. data/doc/Files/ShareGroupMember.html +1 -1
  321. data/doc/Files/SharedWorkflow.html +2237 -0
  322. data/doc/Files/SiemHttpDestination.html +1 -1
  323. data/doc/Files/SiemHttpDestinationEvent.html +1 -1
  324. data/doc/Files/Site.html +1 -1
  325. data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  326. data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
  327. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
  328. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  329. data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
  330. data/doc/Files/SiteAdminRequiredError.html +1 -1
  331. data/doc/Files/SiteConfigurationError.html +1 -1
  332. data/doc/Files/SiteDisabledError.html +1 -1
  333. data/doc/Files/SiteFilesAreImmutableError.html +1 -1
  334. data/doc/Files/SiteNotFoundError.html +1 -1
  335. data/doc/Files/SiteSubdomainRedirect.html +1 -1
  336. data/doc/Files/SiteWasRemovedError.html +1 -1
  337. data/doc/Files/SizableIO.html +1 -1
  338. data/doc/Files/Snapshot.html +328 -143
  339. data/doc/Files/SsoEvent.html +1 -1
  340. data/doc/Files/SsoStrategy.html +1 -1
  341. data/doc/Files/Status.html +1 -1
  342. data/doc/Files/Style.html +1 -1
  343. data/doc/Files/SubfolderLockedError.html +1 -1
  344. data/doc/Files/Sync.html +1 -1
  345. data/doc/Files/SyncInProgressError.html +1 -1
  346. data/doc/Files/SyncLog.html +1 -1
  347. data/doc/Files/SyncRun.html +1 -1
  348. data/doc/Files/SyncRunLiveTransfer.html +1 -1
  349. data/doc/Files/SystemProfiler.html +1 -1
  350. data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
  351. data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
  352. data/doc/Files/TooManyLoginAttemptsError.html +1 -1
  353. data/doc/Files/TooManyRequestsError.html +1 -1
  354. data/doc/Files/TooManySharesError.html +1 -1
  355. data/doc/Files/Transfer/Attempts.html +1 -1
  356. data/doc/Files/Transfer/BufferLimitError.html +1 -1
  357. data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
  358. data/doc/Files/Transfer/ByteBudget.html +1 -1
  359. data/doc/Files/Transfer/CancelledError.html +1 -1
  360. data/doc/Files/Transfer/Checkpoint.html +1 -1
  361. data/doc/Files/Transfer/CheckpointError.html +1 -1
  362. data/doc/Files/Transfer/ClientTransport/ClientResponse.html +1 -1
  363. data/doc/Files/Transfer/ClientTransport/Reader.html +1 -1
  364. data/doc/Files/Transfer/ClientTransport.html +1 -1
  365. data/doc/Files/Transfer/Clock.html +1 -1
  366. data/doc/Files/Transfer/Control.html +1 -1
  367. data/doc/Files/Transfer/Controller/Attempt.html +1 -1
  368. data/doc/Files/Transfer/Controller.html +1 -1
  369. data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
  370. data/doc/Files/Transfer/Coordinator.html +1 -1
  371. data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +1 -1
  372. data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +1 -1
  373. data/doc/Files/Transfer/DownloadCoordinator/Piece.html +1 -1
  374. data/doc/Files/Transfer/DownloadCoordinator.html +1 -1
  375. data/doc/Files/Transfer/DownloadDate.html +1 -1
  376. data/doc/Files/Transfer/FileSlots.html +1 -1
  377. data/doc/Files/Transfer/FrontendResponseError.html +1 -1
  378. data/doc/Files/Transfer/Holds.html +1 -1
  379. data/doc/Files/Transfer/HttpTransport.html +1 -1
  380. data/doc/Files/Transfer/Job.html +1 -1
  381. data/doc/Files/Transfer/Options.html +1 -1
  382. data/doc/Files/Transfer/PausedError.html +1 -1
  383. data/doc/Files/Transfer/Policy.html +1 -1
  384. data/doc/Files/Transfer/RequestPermits.html +1 -1
  385. data/doc/Files/Transfer/SourceChangedError.html +1 -1
  386. data/doc/Files/Transfer/StorageResponse.html +1 -1
  387. data/doc/Files/Transfer/StorageRetry.html +1 -1
  388. data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
  389. data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
  390. data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
  391. data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
  392. data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
  393. data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
  394. data/doc/Files/Transfer/UploadCoordinator.html +1 -1
  395. data/doc/Files/Transfer/UploadPlan.html +1 -1
  396. data/doc/Files/Transfer/UrlExpired.html +1 -1
  397. data/doc/Files/Transfer/VersionChangedError.html +1 -1
  398. data/doc/Files/Transfer.html +1 -1
  399. data/doc/Files/TrialExpiredError.html +1 -1
  400. data/doc/Files/TrialLockedError.html +1 -1
  401. data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
  402. data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
  403. data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
  404. data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
  405. data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
  406. data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
  407. data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
  408. data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
  409. data/doc/Files/URI.html +1 -1
  410. data/doc/Files/UnrecognizedSortIndexError.html +1 -1
  411. data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
  412. data/doc/Files/UnsupportedMediaTypeError.html +1 -1
  413. data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
  414. data/doc/Files/UploadFinalization.html +1 -1
  415. data/doc/Files/UploadsUnavailableError.html +1 -1
  416. data/doc/Files/UsageByTopLevelDir.html +1 -1
  417. data/doc/Files/UsageDailySnapshot.html +1 -1
  418. data/doc/Files/UsageSnapshot.html +1 -1
  419. data/doc/Files/User.html +179 -179
  420. data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
  421. data/doc/Files/UserCipherUse.html +1 -1
  422. data/doc/Files/UserIdInvalidError.html +1 -1
  423. data/doc/Files/UserIdOnUserEndpointError.html +1 -1
  424. data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
  425. data/doc/Files/UserLifecycleRule.html +1 -1
  426. data/doc/Files/UserNotFoundError.html +1 -1
  427. data/doc/Files/UserRequest.html +1 -1
  428. data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
  429. data/doc/Files/UserRequiredError.html +1 -1
  430. data/doc/Files/UserSecurityEvent.html +1 -1
  431. data/doc/Files/UserSftpClientUse.html +1 -1
  432. data/doc/Files/Util/LogSettings.html +1 -1
  433. data/doc/Files/Util.html +1 -1
  434. data/doc/Files/WebDavActionLog.html +1 -1
  435. data/doc/Files/WebhookTest.html +1 -1
  436. data/doc/Files/Workspace.html +1 -1
  437. data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
  438. data/doc/Files/WritePermissionRequiredError.html +1 -1
  439. data/doc/Files/ZipListEntry.html +1 -1
  440. data/doc/Files.html +106 -106
  441. data/doc/_index.html +22 -1
  442. data/doc/class_list.html +1 -1
  443. data/doc/file.README.html +1 -1
  444. data/doc/index.html +1 -1
  445. data/doc/method_list.html +3353 -2849
  446. data/doc/top-level-namespace.html +1 -1
  447. data/docs/automation.md +30 -0
  448. data/docs/automation_run.md +10 -6
  449. data/docs/database_destination.md +148 -0
  450. data/docs/form_field_set.md +1 -1
  451. data/docs/partner_channel.md +13 -0
  452. data/docs/partner_channel_template.md +13 -0
  453. data/docs/partner_channel_upload_form.md +13 -0
  454. data/docs/shared_workflow.md +118 -0
  455. data/docs/site.md +2 -2
  456. data/docs/snapshot.md +6 -2
  457. data/docs/user.md +8 -8
  458. data/lib/files.com/models/automation.rb +57 -0
  459. data/lib/files.com/models/automation_run.rb +28 -16
  460. data/lib/files.com/models/database_destination.rb +315 -0
  461. data/lib/files.com/models/form_field_set.rb +1 -1
  462. data/lib/files.com/models/partner_channel.rb +19 -0
  463. data/lib/files.com/models/partner_channel_template.rb +19 -0
  464. data/lib/files.com/models/partner_channel_upload_form.rb +32 -0
  465. data/lib/files.com/models/shared_workflow.rb +182 -0
  466. data/lib/files.com/models/snapshot.rb +15 -0
  467. data/lib/files.com/models/user.rb +10 -10
  468. data/lib/files.com.rb +3 -0
  469. metadata +10 -1
@@ -173,6 +173,19 @@ module Files
173
173
  @attributes[:from_partner_managed_folder_paths] = value
174
174
  end
175
175
 
176
+ # Form Field Sets attached to From Partner upload destinations. Managed Partner Channels receive copies of these assignments.
177
+ # @return [Array<Hash>, nil] the field value, or nil when absent.
178
+ def from_partner_upload_forms
179
+ @attributes[:from_partner_upload_forms]
180
+ end
181
+
182
+ # Changes the local field value. Call {#save} to persist changes.
183
+ # @param value [Array<Hash>, nil] the new field value.
184
+ # @return [Array<Hash>, nil] the assigned value.
185
+ def from_partner_upload_forms=(value)
186
+ @attributes[:from_partner_upload_forms] = value
187
+ end
188
+
176
189
  # Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
177
190
  # @return [String, nil] the field value, or nil when absent.
178
191
  def effective_to_partner_folder_name
@@ -206,6 +219,7 @@ module Files
206
219
  # @option params [Boolean] use_channel_root Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
207
220
  # @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
208
221
  # @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
222
+ # @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations, copied to managed Partner Channels. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Template has no managed folders. Providing this replaces all assignments, and an empty array removes them.
209
223
  # @option params [String] from_partner_route_path_pattern Optional route path pattern for files uploaded by the Partner. Supports `{{partner_name}}`.
210
224
  # @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
211
225
  # @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
@@ -225,6 +239,7 @@ module Files
225
239
  raise InvalidParameterError.new("Bad parameter: use_channel_root must be a single value, not #{params[:use_channel_root].class}") if [ Array, Hash ].any? { |klass| params[:use_channel_root].is_a?(klass) }
226
240
  raise InvalidParameterError.new("Bad parameter: from_partner_folder_name must be an String") if !params[:from_partner_folder_name].nil? and !params[:from_partner_folder_name].is_a?(String)
227
241
  raise InvalidParameterError.new("Bad parameter: from_partner_managed_folder_paths must be an Array") if !params[:from_partner_managed_folder_paths].nil? and !params[:from_partner_managed_folder_paths].is_a?(Array)
242
+ raise InvalidParameterError.new("Bad parameter: from_partner_upload_forms must be an Array") if !params[:from_partner_upload_forms].nil? and !params[:from_partner_upload_forms].is_a?(Array)
228
243
  raise InvalidParameterError.new("Bad parameter: from_partner_route_path_pattern must be an String") if !params[:from_partner_route_path_pattern].nil? and !params[:from_partner_route_path_pattern].is_a?(String)
229
244
  raise InvalidParameterError.new("Bad parameter: to_partner_folder_name must be an String") if !params[:to_partner_folder_name].nil? and !params[:to_partner_folder_name].is_a?(String)
230
245
  raise InvalidParameterError.new("Bad parameter: to_partner_managed_folder_paths must be an Array") if !params[:to_partner_managed_folder_paths].nil? and !params[:to_partner_managed_folder_paths].is_a?(Array)
@@ -345,6 +360,7 @@ module Files
345
360
  # @option params [Boolean] use_channel_root Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
346
361
  # @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
347
362
  # @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
363
+ # @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations, copied to managed Partner Channels. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Template has no managed folders. Providing this replaces all assignments, and an empty array removes them.
348
364
  # @option params [String] from_partner_route_path_pattern Optional route path pattern for files uploaded by the Partner. Supports `{{partner_name}}`.
349
365
  # @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
350
366
  # @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
@@ -362,6 +378,7 @@ module Files
362
378
  raise InvalidParameterError.new("Bad parameter: use_channel_root must be a single value, not #{params[:use_channel_root].class}") if [ Array, Hash ].any? { |klass| params[:use_channel_root].is_a?(klass) }
363
379
  raise InvalidParameterError.new("Bad parameter: from_partner_folder_name must be an String") if !params[:from_partner_folder_name].nil? and !params[:from_partner_folder_name].is_a?(String)
364
380
  raise InvalidParameterError.new("Bad parameter: from_partner_managed_folder_paths must be an Array") if !params[:from_partner_managed_folder_paths].nil? and !params[:from_partner_managed_folder_paths].is_a?(Array)
381
+ raise InvalidParameterError.new("Bad parameter: from_partner_upload_forms must be an Array") if !params[:from_partner_upload_forms].nil? and !params[:from_partner_upload_forms].is_a?(Array)
365
382
  raise InvalidParameterError.new("Bad parameter: from_partner_route_path_pattern must be an String") if !params[:from_partner_route_path_pattern].nil? and !params[:from_partner_route_path_pattern].is_a?(String)
366
383
  raise InvalidParameterError.new("Bad parameter: to_partner_folder_name must be an String") if !params[:to_partner_folder_name].nil? and !params[:to_partner_folder_name].is_a?(String)
367
384
  raise InvalidParameterError.new("Bad parameter: to_partner_managed_folder_paths must be an Array") if !params[:to_partner_managed_folder_paths].nil? and !params[:to_partner_managed_folder_paths].is_a?(Array)
@@ -384,6 +401,7 @@ module Files
384
401
  # @option params [Boolean] use_channel_root Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
385
402
  # @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
386
403
  # @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
404
+ # @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations, copied to managed Partner Channels. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Template has no managed folders. Providing this replaces all assignments, and an empty array removes them.
387
405
  # @option params [String] from_partner_route_path_pattern Optional route path pattern for files uploaded by the Partner. Supports `{{partner_name}}`.
388
406
  # @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
389
407
  # @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
@@ -403,6 +421,7 @@ module Files
403
421
  raise InvalidParameterError.new("Bad parameter: use_channel_root must be a single value, not #{params[:use_channel_root].class}") if [ Array, Hash ].any? { |klass| params[:use_channel_root].is_a?(klass) }
404
422
  raise InvalidParameterError.new("Bad parameter: from_partner_folder_name must be an String") if !params[:from_partner_folder_name].nil? and !params[:from_partner_folder_name].is_a?(String)
405
423
  raise InvalidParameterError.new("Bad parameter: from_partner_managed_folder_paths must be an Array") if !params[:from_partner_managed_folder_paths].nil? and !params[:from_partner_managed_folder_paths].is_a?(Array)
424
+ raise InvalidParameterError.new("Bad parameter: from_partner_upload_forms must be an Array") if !params[:from_partner_upload_forms].nil? and !params[:from_partner_upload_forms].is_a?(Array)
406
425
  raise InvalidParameterError.new("Bad parameter: from_partner_route_path_pattern must be an String") if !params[:from_partner_route_path_pattern].nil? and !params[:from_partner_route_path_pattern].is_a?(String)
407
426
  raise InvalidParameterError.new("Bad parameter: to_partner_folder_name must be an String") if !params[:to_partner_folder_name].nil? and !params[:to_partner_folder_name].is_a?(String)
408
427
  raise InvalidParameterError.new("Bad parameter: to_partner_managed_folder_paths must be an Array") if !params[:to_partner_managed_folder_paths].nil? and !params[:to_partner_managed_folder_paths].is_a?(Array)
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ # Files::PartnerChannelUploadForm is the Ruby SDK's representation of Files.com API PartnerChannelUploadForm objects.
5
+ # Each instance keeps its API field values in +attributes+.
6
+ class PartnerChannelUploadForm
7
+ # @return [Hash] request configuration retained for later operations on this record.
8
+ attr_reader :options
9
+ # @return [Hash] API field values keyed by Symbol.
10
+ attr_reader :attributes
11
+
12
+ # Builds a local record without sending an API request.
13
+ # @param attributes [Hash] API field values keyed by Symbol.
14
+ # @param options [Hash] request configuration; see {Files::Api.send_request}.
15
+ def initialize(attributes = {}, options = {})
16
+ @attributes = attributes || {}
17
+ @options = options || {}
18
+ end
19
+
20
+ # Upload destination path relative to the From Partner folder. Must be a configured leaf managed folder path, or an empty string for the From Partner folder when no managed folders are configured. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
21
+ # @return [String, nil] the field value, or nil when absent.
22
+ def path
23
+ @attributes[:path]
24
+ end
25
+
26
+ # ID of the Form Field Set answered for uploads to this destination. Must be in the same Workspace and contain at least one custom field.
27
+ # @return [Integer, nil] the field value, or nil when absent.
28
+ def form_field_set_id
29
+ @attributes[:form_field_set_id]
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,182 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ # Files::SharedWorkflow is the Ruby SDK's representation of Files.com API SharedWorkflow objects.
5
+ # Each instance keeps its API field values in +attributes+.
6
+ class SharedWorkflow
7
+ # @return [Hash] request configuration retained for later operations on this record.
8
+ attr_reader :options
9
+ # @return [Hash] API field values keyed by Symbol.
10
+ attr_reader :attributes
11
+
12
+ # Builds a local record without sending an API request.
13
+ # @param attributes [Hash] API field values keyed by Symbol.
14
+ # @param options [Hash] request configuration; see {Files::Api.send_request}.
15
+ def initialize(attributes = {}, options = {})
16
+ @attributes = attributes || {}
17
+ @options = options || {}
18
+ end
19
+
20
+ # Shared Workflow ID.
21
+ # @return [Integer, nil] the field value, or nil when absent.
22
+ def id
23
+ @attributes[:id]
24
+ end
25
+
26
+ # Name displayed to recipients.
27
+ # @return [String, nil] the field value, or nil when absent.
28
+ def name
29
+ @attributes[:name]
30
+ end
31
+
32
+ # Description displayed to recipients.
33
+ # @return [String, nil] the field value, or nil when absent.
34
+ def description
35
+ @attributes[:description]
36
+ end
37
+
38
+ # Revision required when submitting a Shared Workflow run.
39
+ # @return [String, nil] the field value, or nil when absent.
40
+ def submission_revision
41
+ @attributes[:submission_revision]
42
+ end
43
+
44
+ # Current custom questions in display order.
45
+ # @return [Array<Hash>, nil] the field value, or nil when absent.
46
+ def form_fields
47
+ @attributes[:form_fields]
48
+ end
49
+
50
+ # Run a Shared Workflow
51
+ #
52
+ # @param params [Hash] API parameters, keyed by Symbol.
53
+ # @option params [String] submission_revision Required. Revision returned when opening the Shared Workflow.
54
+ # @option params [String] submission_id Required. Client-generated UUID used to retry the same submission without starting another run.
55
+ # @option params [String] file_path Required. Path of a file the recipient can read, including a file uploaded to a Snapshot created for this workflow.
56
+ # @return [Array(Files::Response, Hash)] the response and persisted request options.
57
+ # @raise [Files::MissingParameterError] if a required parameter or the current object primary key is missing.
58
+ # @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
59
+ # @raise [Files::Error] if the API request fails.
60
+ def run_workflow(params = {})
61
+ params = (params || {}).dup
62
+ params[:id] = @attributes[:id]
63
+ raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
64
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
65
+ raise InvalidParameterError.new("Bad parameter: submission_revision must be an String") if !params[:submission_revision].nil? and !params[:submission_revision].is_a?(String)
66
+ raise InvalidParameterError.new("Bad parameter: submission_id must be an String") if !params[:submission_id].nil? and !params[:submission_id].is_a?(String)
67
+ raise InvalidParameterError.new("Bad parameter: file_path must be an String") if !params[:file_path].nil? and !params[:file_path].is_a?(String)
68
+ raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
69
+ raise MissingParameterError.new("Parameter missing: submission_revision") if params[:submission_revision].nil?
70
+ raise MissingParameterError.new("Parameter missing: submission_id") if params[:submission_id].nil?
71
+ raise MissingParameterError.new("Parameter missing: file_path") if params[:file_path].nil?
72
+
73
+ response, options = Api.send_request("/shared_workflows/#{@attributes[:id]}/run_workflow", :post, params, @options)
74
+ @options = @options.merge(options)
75
+ [ response, options ]
76
+ end
77
+
78
+ # List Shared Workflows
79
+ #
80
+ # @param params [Hash] API parameters, keyed by Symbol.
81
+ # @option params [String] cursor Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
82
+ # @option params [Integer] per_page Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
83
+ # @option params [Hash] sort_by If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
84
+ # @param options [Hash] Request configuration; see {Files::Api.send_request}.
85
+ # @return [Files::List] a lazy first page; use #auto_paging_each to visit every page.
86
+ # @raise [Files::MissingParameterError] if a required parameter is missing.
87
+ # @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
88
+ # @raise [Files::Error] if the API request fails.
89
+ def self.list(params = {}, options = {})
90
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if !params[:cursor].nil? and !params[:cursor].is_a?(String)
91
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if !params[:per_page].nil? and !params[:per_page].is_a?(Integer)
92
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if !params[:sort_by].nil? and !params[:sort_by].is_a?(Hash)
93
+
94
+ list_options = options.dup
95
+ List.new(SharedWorkflow, params) do |page_params, &check_page|
96
+ response, page_options = Api.send_request("/shared_workflows", :get, page_params, list_options, &check_page)
97
+ list_options = list_options.merge(page_options)
98
+ [ response, page_options ]
99
+ end
100
+ end
101
+
102
+ # (see .list)
103
+ def self.all(params = {}, options = {})
104
+ list(params, options)
105
+ end
106
+
107
+ # Show Shared Workflow
108
+ #
109
+ # @param id [Integer] Shared Workflow ID.
110
+ # @param params [Hash] API parameters, keyed by Symbol.
111
+ # @param options [Hash] Request configuration; see {Files::Api.send_request}.
112
+ # @return [Files::SharedWorkflow] the returned record.
113
+ # @raise [Files::MissingParameterError] if a required parameter is missing.
114
+ # @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
115
+ # @raise [Files::Error] if the API request fails.
116
+ def self.find(id, params = {}, options = {})
117
+ params = (params || {}).dup
118
+ params[:id] = id
119
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
120
+ raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
121
+
122
+ response, options = Api.send_request("/shared_workflows/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SharedWorkflow") }
123
+ SharedWorkflow.new(response.data, options)
124
+ end
125
+
126
+ # (see .find)
127
+ def self.get(id, params = {}, options = {})
128
+ find(id, params, options)
129
+ end
130
+
131
+ # Show a Shared Workflow run started by the recipient
132
+ #
133
+ # @param id [Integer] Shared Workflow ID.
134
+ # @param run_id [Integer] ID of the run returned by the Shared Workflow submission.
135
+ # @param params [Hash] API parameters, keyed by Symbol.
136
+ # @param options [Hash] Request configuration; see {Files::Api.send_request}.
137
+ # @return [Files::AutomationRun] the returned record.
138
+ # @raise [Files::MissingParameterError] if a required parameter is missing.
139
+ # @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
140
+ # @raise [Files::Error] if the API request fails.
141
+ def self.find_run(id, run_id, params = {}, options = {})
142
+ params = (params || {}).dup
143
+ params[:id] = id
144
+ params[:run_id] = run_id
145
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
146
+ raise InvalidParameterError.new("Bad parameter: run_id must be an Integer") if !params[:run_id].nil? and !params[:run_id].is_a?(Integer)
147
+ raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
148
+ raise MissingParameterError.new("Parameter missing: run_id") if params[:run_id].nil?
149
+
150
+ response, options = Api.send_request("/shared_workflows/#{params[:id]}/runs/#{params[:run_id]}", :get, params, options) { |reply| reply.require_object("AutomationRun") }
151
+ AutomationRun.new(response.data, options)
152
+ end
153
+
154
+ # Run a Shared Workflow
155
+ #
156
+ # @param id [Integer] Shared Workflow ID.
157
+ # @param params [Hash] API parameters, keyed by Symbol.
158
+ # @option params [String] submission_revision Required. Revision returned when opening the Shared Workflow.
159
+ # @option params [String] submission_id Required. Client-generated UUID used to retry the same submission without starting another run.
160
+ # @option params [String] file_path Required. Path of a file the recipient can read, including a file uploaded to a Snapshot created for this workflow.
161
+ # @param options [Hash] Request configuration; see {Files::Api.send_request}.
162
+ # @return [Files::AutomationRun] the returned record.
163
+ # @raise [Files::MissingParameterError] if a required parameter is missing.
164
+ # @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
165
+ # @raise [Files::Error] if the API request fails.
166
+ def self.run_workflow(id, params = {}, options = {})
167
+ params = (params || {}).dup
168
+ params[:id] = id
169
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
170
+ raise InvalidParameterError.new("Bad parameter: submission_revision must be an String") if !params[:submission_revision].nil? and !params[:submission_revision].is_a?(String)
171
+ raise InvalidParameterError.new("Bad parameter: submission_id must be an String") if !params[:submission_id].nil? and !params[:submission_id].is_a?(String)
172
+ raise InvalidParameterError.new("Bad parameter: file_path must be an String") if !params[:file_path].nil? and !params[:file_path].is_a?(String)
173
+ raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
174
+ raise MissingParameterError.new("Parameter missing: submission_revision") if params[:submission_revision].nil?
175
+ raise MissingParameterError.new("Parameter missing: submission_id") if params[:submission_id].nil?
176
+ raise MissingParameterError.new("Parameter missing: file_path") if params[:file_path].nil?
177
+
178
+ response, options = Api.send_request("/shared_workflows/#{params[:id]}/run_workflow", :post, params, options) { |reply| reply.require_object("AutomationRun") }
179
+ AutomationRun.new(response.data, options)
180
+ end
181
+ end
182
+ end
@@ -108,6 +108,19 @@ module Files
108
108
  @attributes[:workspace_id] = value
109
109
  end
110
110
 
111
+ # Shared Workflow for which the Snapshot was created.
112
+ # @return [Integer, nil] the field value, or nil when absent.
113
+ def shared_workflow_id
114
+ @attributes[:shared_workflow_id]
115
+ end
116
+
117
+ # Changes the local field value. Call {#save} to persist changes.
118
+ # @param value [Integer, nil] the new field value.
119
+ # @return [Integer, nil] the assigned value.
120
+ def shared_workflow_id=(value)
121
+ @attributes[:shared_workflow_id] = value
122
+ end
123
+
111
124
  # An array of paths to add to the snapshot.
112
125
  # @return [Array<String>, nil] the field value, or nil when absent.
113
126
  def paths
@@ -268,6 +281,7 @@ module Files
268
281
  # @option params [String] name A name for the snapshot.
269
282
  # @option params [Array<String>] paths An array of paths to add to the snapshot.
270
283
  # @option params [Integer] workspace_id Workspace ID. `0` means the default workspace.
284
+ # @option params [Integer] shared_workflow_id Shared Workflow for which the Snapshot was created.
271
285
  # @param options [Hash] Request configuration; see {Files::Api.send_request}.
272
286
  # @return [Files::Snapshot] the returned record.
273
287
  # @raise [Files::MissingParameterError] if a required parameter is missing.
@@ -278,6 +292,7 @@ module Files
278
292
  raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
279
293
  raise InvalidParameterError.new("Bad parameter: paths must be an Array") if !params[:paths].nil? and !params[:paths].is_a?(Array)
280
294
  raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if !params[:workspace_id].nil? and !params[:workspace_id].is_a?(Integer)
295
+ raise InvalidParameterError.new("Bad parameter: shared_workflow_id must be an Integer") if !params[:shared_workflow_id].nil? and !params[:shared_workflow_id].is_a?(Integer)
281
296
 
282
297
  response, options = Api.send_request("/snapshots", :post, params, options) { |reply| reply.require_object("Snapshot") }
283
298
  Snapshot.new(response.data, options)
@@ -987,15 +987,15 @@ module Files
987
987
 
988
988
  # Workspace ID the user should land in by default when more than one Workspace is available.
989
989
  # @return [Integer, nil] the field value, or nil when absent.
990
- def default_workspace_id
991
- @attributes[:default_workspace_id]
990
+ def preferred_workspace_id
991
+ @attributes[:preferred_workspace_id]
992
992
  end
993
993
 
994
994
  # Changes the local field value. Call {#save} to persist changes.
995
995
  # @param value [Integer, nil] the new field value.
996
996
  # @return [Integer, nil] the assigned value.
997
- def default_workspace_id=(value)
998
- @attributes[:default_workspace_id] = value
997
+ def preferred_workspace_id=(value)
998
+ @attributes[:preferred_workspace_id] = value
999
999
  end
1000
1000
 
1001
1001
  # Skip Welcome page in the UI?
@@ -1405,7 +1405,7 @@ module Files
1405
1405
  # @option params [Boolean] bypass_site_allowed_ips Allow this user to skip site-wide IP blacklists?
1406
1406
  # @option params [Boolean] dav_permission Can the user connect with WebDAV?
1407
1407
  # @option params [Integer] desktop_configuration_profile_id Desktop Configuration Profile ID assigned directly to this user, if any.
1408
- # @option params [Integer] default_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1408
+ # @option params [Integer] preferred_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1409
1409
  # @option params [Boolean] disabled Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
1410
1410
  # @option params [String] filesystem_layout File system layout
1411
1411
  # @option params [Boolean] ftp_permission Can the user access with FTP/FTPS?
@@ -1484,7 +1484,7 @@ module Files
1484
1484
  raise InvalidParameterError.new("Bad parameter: bypass_site_allowed_ips must be a single value, not #{params[:bypass_site_allowed_ips].class}") if [ Array, Hash ].any? { |klass| params[:bypass_site_allowed_ips].is_a?(klass) }
1485
1485
  raise InvalidParameterError.new("Bad parameter: dav_permission must be a single value, not #{params[:dav_permission].class}") if [ Array, Hash ].any? { |klass| params[:dav_permission].is_a?(klass) }
1486
1486
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if !params[:desktop_configuration_profile_id].nil? and !params[:desktop_configuration_profile_id].is_a?(Integer)
1487
- raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if !params[:default_workspace_id].nil? and !params[:default_workspace_id].is_a?(Integer)
1487
+ raise InvalidParameterError.new("Bad parameter: preferred_workspace_id must be an Integer") if !params[:preferred_workspace_id].nil? and !params[:preferred_workspace_id].is_a?(Integer)
1488
1488
  raise InvalidParameterError.new("Bad parameter: disabled must be a single value, not #{params[:disabled].class}") if [ Array, Hash ].any? { |klass| params[:disabled].is_a?(klass) }
1489
1489
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if !params[:filesystem_layout].nil? and !params[:filesystem_layout].is_a?(String)
1490
1490
  raise InvalidParameterError.new("Bad parameter: ftp_permission must be a single value, not #{params[:ftp_permission].class}") if [ Array, Hash ].any? { |klass| params[:ftp_permission].is_a?(klass) }
@@ -1685,7 +1685,7 @@ module Files
1685
1685
  # @option params [Boolean] bypass_site_allowed_ips Allow this user to skip site-wide IP blacklists?
1686
1686
  # @option params [Boolean] dav_permission Can the user connect with WebDAV?
1687
1687
  # @option params [Integer] desktop_configuration_profile_id Desktop Configuration Profile ID assigned directly to this user, if any.
1688
- # @option params [Integer] default_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1688
+ # @option params [Integer] preferred_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1689
1689
  # @option params [Boolean] disabled Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
1690
1690
  # @option params [String] filesystem_layout File system layout
1691
1691
  # @option params [Boolean] ftp_permission Can the user access with FTP/FTPS?
@@ -1759,7 +1759,7 @@ module Files
1759
1759
  raise InvalidParameterError.new("Bad parameter: bypass_site_allowed_ips must be a single value, not #{params[:bypass_site_allowed_ips].class}") if [ Array, Hash ].any? { |klass| params[:bypass_site_allowed_ips].is_a?(klass) }
1760
1760
  raise InvalidParameterError.new("Bad parameter: dav_permission must be a single value, not #{params[:dav_permission].class}") if [ Array, Hash ].any? { |klass| params[:dav_permission].is_a?(klass) }
1761
1761
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if !params[:desktop_configuration_profile_id].nil? and !params[:desktop_configuration_profile_id].is_a?(Integer)
1762
- raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if !params[:default_workspace_id].nil? and !params[:default_workspace_id].is_a?(Integer)
1762
+ raise InvalidParameterError.new("Bad parameter: preferred_workspace_id must be an Integer") if !params[:preferred_workspace_id].nil? and !params[:preferred_workspace_id].is_a?(Integer)
1763
1763
  raise InvalidParameterError.new("Bad parameter: disabled must be a single value, not #{params[:disabled].class}") if [ Array, Hash ].any? { |klass| params[:disabled].is_a?(klass) }
1764
1764
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if !params[:filesystem_layout].nil? and !params[:filesystem_layout].is_a?(String)
1765
1765
  raise InvalidParameterError.new("Bad parameter: ftp_permission must be a single value, not #{params[:ftp_permission].class}") if [ Array, Hash ].any? { |klass| params[:ftp_permission].is_a?(klass) }
@@ -1895,7 +1895,7 @@ module Files
1895
1895
  # @option params [Boolean] bypass_site_allowed_ips Allow this user to skip site-wide IP blacklists?
1896
1896
  # @option params [Boolean] dav_permission Can the user connect with WebDAV?
1897
1897
  # @option params [Integer] desktop_configuration_profile_id Desktop Configuration Profile ID assigned directly to this user, if any.
1898
- # @option params [Integer] default_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1898
+ # @option params [Integer] preferred_workspace_id Workspace ID the user should land in by default when more than one Workspace is available.
1899
1899
  # @option params [Boolean] disabled Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
1900
1900
  # @option params [String] filesystem_layout File system layout
1901
1901
  # @option params [Boolean] ftp_permission Can the user access with FTP/FTPS?
@@ -1974,7 +1974,7 @@ module Files
1974
1974
  raise InvalidParameterError.new("Bad parameter: bypass_site_allowed_ips must be a single value, not #{params[:bypass_site_allowed_ips].class}") if [ Array, Hash ].any? { |klass| params[:bypass_site_allowed_ips].is_a?(klass) }
1975
1975
  raise InvalidParameterError.new("Bad parameter: dav_permission must be a single value, not #{params[:dav_permission].class}") if [ Array, Hash ].any? { |klass| params[:dav_permission].is_a?(klass) }
1976
1976
  raise InvalidParameterError.new("Bad parameter: desktop_configuration_profile_id must be an Integer") if !params[:desktop_configuration_profile_id].nil? and !params[:desktop_configuration_profile_id].is_a?(Integer)
1977
- raise InvalidParameterError.new("Bad parameter: default_workspace_id must be an Integer") if !params[:default_workspace_id].nil? and !params[:default_workspace_id].is_a?(Integer)
1977
+ raise InvalidParameterError.new("Bad parameter: preferred_workspace_id must be an Integer") if !params[:preferred_workspace_id].nil? and !params[:preferred_workspace_id].is_a?(Integer)
1978
1978
  raise InvalidParameterError.new("Bad parameter: disabled must be a single value, not #{params[:disabled].class}") if [ Array, Hash ].any? { |klass| params[:disabled].is_a?(klass) }
1979
1979
  raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if !params[:filesystem_layout].nil? and !params[:filesystem_layout].is_a?(String)
1980
1980
  raise InvalidParameterError.new("Bad parameter: ftp_permission must be a single value, not #{params[:ftp_permission].class}") if [ Array, Hash ].any? { |klass| params[:ftp_permission].is_a?(klass) }
data/lib/files.com.rb CHANGED
@@ -89,6 +89,7 @@ require "files.com/models/chat_session"
89
89
  require "files.com/models/child_site_management_policy"
90
90
  require "files.com/models/clickwrap"
91
91
  require "files.com/models/custom_domain"
92
+ require "files.com/models/database_destination"
92
93
  require "files.com/models/desktop_configuration_profile"
93
94
  require "files.com/models/direct_connection_info"
94
95
  require "files.com/models/dns_record"
@@ -141,6 +142,7 @@ require "files.com/models/outbound_connection_log"
141
142
  require "files.com/models/partner"
142
143
  require "files.com/models/partner_channel"
143
144
  require "files.com/models/partner_channel_template"
145
+ require "files.com/models/partner_channel_upload_form"
144
146
  require "files.com/models/partner_connection"
145
147
  require "files.com/models/partner_site"
146
148
  require "files.com/models/partner_site_request"
@@ -169,6 +171,7 @@ require "files.com/models/sftp_action_log"
169
171
  require "files.com/models/sftp_host_key"
170
172
  require "files.com/models/share_group"
171
173
  require "files.com/models/share_group_member"
174
+ require "files.com/models/shared_workflow"
172
175
  require "files.com/models/siem_http_destination"
173
176
  require "files.com/models/siem_http_destination_event"
174
177
  require "files.com/models/site"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.841
4
+ version: 1.1.843
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
@@ -260,6 +260,7 @@ files:
260
260
  - doc/Files/ContactAdminForPasswordChangeHelpError.html
261
261
  - doc/Files/CouldNotCreateParentError.html
262
262
  - doc/Files/CustomDomain.html
263
+ - doc/Files/DatabaseDestination.html
263
264
  - doc/Files/DatetimeParseError.html
264
265
  - doc/Files/DesktopConfigurationProfile.html
265
266
  - doc/Files/DestinationExistsError.html
@@ -422,6 +423,7 @@ files:
422
423
  - doc/Files/Partner.html
423
424
  - doc/Files/PartnerChannel.html
424
425
  - doc/Files/PartnerChannelTemplate.html
426
+ - doc/Files/PartnerChannelUploadForm.html
425
427
  - doc/Files/PartnerConnection.html
426
428
  - doc/Files/PartnerSite.html
427
429
  - doc/Files/PartnerSiteRequest.html
@@ -487,6 +489,7 @@ files:
487
489
  - doc/Files/SftpHostKey.html
488
490
  - doc/Files/ShareGroup.html
489
491
  - doc/Files/ShareGroupMember.html
492
+ - doc/Files/SharedWorkflow.html
490
493
  - doc/Files/SiemHttpDestination.html
491
494
  - doc/Files/SiemHttpDestinationEvent.html
492
495
  - doc/Files/Site.html
@@ -659,6 +662,7 @@ files:
659
662
  - docs/child_site_management_policy.md
660
663
  - docs/clickwrap.md
661
664
  - docs/custom_domain.md
665
+ - docs/database_destination.md
662
666
  - docs/desktop_configuration_profile.md
663
667
  - docs/direct_connection_info.md
664
668
  - docs/dns_record.md
@@ -712,6 +716,7 @@ files:
712
716
  - docs/partner.md
713
717
  - docs/partner_channel.md
714
718
  - docs/partner_channel_template.md
719
+ - docs/partner_channel_upload_form.md
715
720
  - docs/partner_connection.md
716
721
  - docs/partner_site.md
717
722
  - docs/partner_site_request.md
@@ -740,6 +745,7 @@ files:
740
745
  - docs/sftp_host_key.md
741
746
  - docs/share_group.md
742
747
  - docs/share_group_member.md
748
+ - docs/shared_workflow.md
743
749
  - docs/siem_http_destination.md
744
750
  - docs/siem_http_destination_event.md
745
751
  - docs/site.md
@@ -814,6 +820,7 @@ files:
814
820
  - lib/files.com/models/child_site_management_policy.rb
815
821
  - lib/files.com/models/clickwrap.rb
816
822
  - lib/files.com/models/custom_domain.rb
823
+ - lib/files.com/models/database_destination.rb
817
824
  - lib/files.com/models/desktop_configuration_profile.rb
818
825
  - lib/files.com/models/dir.rb
819
826
  - lib/files.com/models/direct_connection_info.rb
@@ -868,6 +875,7 @@ files:
868
875
  - lib/files.com/models/partner.rb
869
876
  - lib/files.com/models/partner_channel.rb
870
877
  - lib/files.com/models/partner_channel_template.rb
878
+ - lib/files.com/models/partner_channel_upload_form.rb
871
879
  - lib/files.com/models/partner_connection.rb
872
880
  - lib/files.com/models/partner_site.rb
873
881
  - lib/files.com/models/partner_site_request.rb
@@ -896,6 +904,7 @@ files:
896
904
  - lib/files.com/models/sftp_host_key.rb
897
905
  - lib/files.com/models/share_group.rb
898
906
  - lib/files.com/models/share_group_member.rb
907
+ - lib/files.com/models/shared_workflow.rb
899
908
  - lib/files.com/models/siem_http_destination.rb
900
909
  - lib/files.com/models/siem_http_destination_event.rb
901
910
  - lib/files.com/models/site.rb