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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/_VERSION +1 -1
- data/doc/Files/APIConnectionError.html +1 -1
- data/doc/Files/APIError.html +1 -1
- data/doc/Files/AccountAlreadyExistsError.html +1 -1
- data/doc/Files/AccountLineItem.html +1 -1
- data/doc/Files/AccountOverdueError.html +1 -1
- data/doc/Files/Action.html +1 -1
- data/doc/Files/ActionLog.html +1 -1
- data/doc/Files/ActionNotificationExport.html +1 -1
- data/doc/Files/ActionNotificationExportResult.html +1 -1
- data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
- data/doc/Files/AgentNode.html +1 -1
- data/doc/Files/AgentNodeConnection.html +1 -1
- data/doc/Files/AgentNodeInstance.html +1 -1
- data/doc/Files/AgentPushUpdate.html +1 -1
- data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
- data/doc/Files/AgentUnavailableError.html +1 -1
- data/doc/Files/AgentUpgradeRequiredError.html +1 -1
- data/doc/Files/AiAssistantPersonality.html +1 -1
- data/doc/Files/AiTask.html +1 -1
- data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AlreadyCompletedError.html +1 -1
- data/doc/Files/Api.html +1 -1
- data/doc/Files/ApiClient/RequestLogContext.html +1 -1
- data/doc/Files/ApiClient/TransferSettings.html +1 -1
- data/doc/Files/ApiClient.html +1 -1
- data/doc/Files/ApiKey.html +1 -1
- data/doc/Files/ApiKeyIsDisabledError.html +1 -1
- data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
- data/doc/Files/ApiKeyNotFoundError.html +1 -1
- data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
- data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
- data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
- data/doc/Files/ApiRequestLog.html +1 -1
- data/doc/Files/App.html +1 -1
- data/doc/Files/As2IncomingMessage.html +1 -1
- data/doc/Files/As2OutgoingMessage.html +1 -1
- data/doc/Files/As2Partner.html +1 -1
- data/doc/Files/As2Station.html +1 -1
- data/doc/Files/AttachmentTooLargeError.html +1 -1
- data/doc/Files/AuthenticationError.html +1 -1
- data/doc/Files/AuthenticationRequiredError.html +1 -1
- data/doc/Files/Auto.html +1 -1
- data/doc/Files/Automation.html +1041 -408
- data/doc/Files/AutomationAuthoringSchema.html +1 -1
- data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AutomationExecutionNode.html +1 -1
- data/doc/Files/AutomationLog.html +1 -1
- data/doc/Files/AutomationRun.html +335 -181
- data/doc/Files/AutomationVersion.html +1 -1
- data/doc/Files/AutomationsUnavailableError.html +1 -1
- data/doc/Files/BadRequestError.html +1 -1
- data/doc/Files/BandwidthSnapshot.html +1 -1
- data/doc/Files/Behavior.html +1 -1
- data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
- data/doc/Files/BillingInformationHiddenError.html +1 -1
- data/doc/Files/BillingPermissionRequiredError.html +1 -1
- data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
- data/doc/Files/Bundle.html +1 -1
- data/doc/Files/BundleAction.html +1 -1
- data/doc/Files/BundleDownload.html +1 -1
- data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
- data/doc/Files/BundleNotification.html +1 -1
- data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
- data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
- data/doc/Files/BundlePath.html +1 -1
- data/doc/Files/BundlePathNotFoundError.html +1 -1
- data/doc/Files/BundlePermissionRequiredError.html +1 -1
- data/doc/Files/BundleRecipient.html +1 -1
- data/doc/Files/BundleRegistration.html +1 -1
- data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
- data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
- data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
- data/doc/Files/CannotDownloadDirectoryError.html +1 -1
- data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
- data/doc/Files/CantActForOtherUserError.html +1 -1
- data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
- data/doc/Files/Certificate.html +1 -1
- data/doc/Files/ChatMessage.html +1 -1
- data/doc/Files/ChatSession.html +1 -1
- data/doc/Files/ChildSiteManagementPolicy.html +1 -1
- data/doc/Files/Clickwrap.html +1 -1
- data/doc/Files/CodeNotFoundError.html +1 -1
- data/doc/Files/ConfigurationLockedPathError.html +1 -1
- data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
- data/doc/Files/CouldNotCreateParentError.html +1 -1
- data/doc/Files/CustomDomain.html +1 -1
- data/doc/Files/DatabaseDestination.html +3858 -0
- data/doc/Files/DatetimeParseError.html +1 -1
- data/doc/Files/DesktopConfigurationProfile.html +1 -1
- data/doc/Files/DestinationExistsError.html +1 -1
- data/doc/Files/DestinationFolderLimitedError.html +1 -1
- data/doc/Files/DestinationParentConflictError.html +1 -1
- data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
- data/doc/Files/DestinationSameError.html +1 -1
- data/doc/Files/DestinationSiteMismatchError.html +1 -1
- data/doc/Files/DirectConnectionInfo.html +1 -1
- data/doc/Files/DnsRecord.html +1 -1
- data/doc/Files/DoesNotSupportSortingError.html +1 -1
- data/doc/Files/DuplicateShareRecipientError.html +1 -1
- data/doc/Files/EmailIncomingMessage.html +1 -1
- data/doc/Files/EmailLog.html +1 -1
- data/doc/Files/Error.html +1 -1
- data/doc/Files/Errors.html +1 -1
- data/doc/Files/EventChannel.html +1 -1
- data/doc/Files/EventDeliveryAttempt.html +1 -1
- data/doc/Files/EventRecord.html +1 -1
- data/doc/Files/EventSubscription.html +1 -1
- data/doc/Files/EventTarget.html +1 -1
- data/doc/Files/ExavaultApiRequestLog.html +1 -1
- data/doc/Files/ExceededRuntimeLimitError.html +1 -1
- data/doc/Files/Expectation.html +1 -1
- data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
- data/doc/Files/ExpectationEvaluation.html +1 -1
- data/doc/Files/ExpectationIncident.html +1 -1
- data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
- data/doc/Files/ExpiredPrivateKeyError.html +1 -1
- data/doc/Files/ExpiredPublicKeyError.html +1 -1
- data/doc/Files/ExportFailureError.html +1 -1
- data/doc/Files/ExportNotReadyError.html +1 -1
- data/doc/Files/ExternalEvent.html +1 -1
- data/doc/Files/FailedToChangePasswordError.html +1 -1
- data/doc/Files/File.html +1 -1
- data/doc/Files/FileAction.html +1 -1
- data/doc/Files/FileActionError.html +1 -1
- data/doc/Files/FileComment.html +1 -1
- data/doc/Files/FileCommentReaction.html +1 -1
- data/doc/Files/FileLockedError.html +1 -1
- data/doc/Files/FileMigration.html +1 -1
- data/doc/Files/FileMigrationLog.html +1 -1
- data/doc/Files/FileNotFoundError.html +1 -1
- data/doc/Files/FileNotUploadedError.html +1 -1
- data/doc/Files/FilePendingProcessingError.html +1 -1
- data/doc/Files/FileProcessingErrorError.html +1 -1
- data/doc/Files/FileTooBigToDecryptError.html +1 -1
- data/doc/Files/FileTooBigToEncryptError.html +1 -1
- data/doc/Files/FileUploadNotFoundError.html +1 -1
- data/doc/Files/FileUploadPart.html +1 -1
- data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
- data/doc/Files/FileUtils.html +1 -1
- data/doc/Files/FilenameTooLongError.html +1 -1
- data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
- data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
- data/doc/Files/Folder.html +1 -1
- data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
- data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/FolderLockedError.html +1 -1
- data/doc/Files/FolderMustNotBeAFileError.html +1 -1
- data/doc/Files/FolderNotEmptyError.html +1 -1
- data/doc/Files/FoldersNotAllowedError.html +1 -1
- data/doc/Files/FormField.html +1 -1
- data/doc/Files/FormFieldSet.html +3 -3
- data/doc/Files/FtpActionLog.html +1 -1
- data/doc/Files/FullPermissionRequiredError.html +1 -1
- data/doc/Files/GpgKey.html +1 -1
- data/doc/Files/Group.html +1 -1
- data/doc/Files/GroupNotFoundError.html +1 -1
- data/doc/Files/GroupUser.html +1 -1
- data/doc/Files/History.html +1 -1
- data/doc/Files/HistoryExport.html +1 -1
- data/doc/Files/HistoryExportResult.html +1 -1
- data/doc/Files/HistoryPermissionRequiredError.html +1 -1
- data/doc/Files/HistoryUnavailableError.html +1 -1
- data/doc/Files/HolidayCalendar.html +1 -1
- data/doc/Files/HolidayRegion.html +1 -1
- data/doc/Files/Image.html +1 -1
- data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
- data/doc/Files/InboundS3Log.html +1 -1
- data/doc/Files/InboxNotFoundError.html +1 -1
- data/doc/Files/InboxRecipient.html +1 -1
- data/doc/Files/InboxRegistration.html +1 -1
- data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
- data/doc/Files/InboxUpload.html +1 -1
- data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
- data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
- data/doc/Files/IntegrationCentricProfile.html +1 -1
- data/doc/Files/InternalGeneralErrorError.html +1 -1
- data/doc/Files/InvalidBodyError.html +1 -1
- data/doc/Files/InvalidBundleCodeError.html +1 -1
- data/doc/Files/InvalidCredentialsError.html +1 -1
- data/doc/Files/InvalidCursorError.html +1 -1
- data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
- data/doc/Files/InvalidEtagsError.html +1 -1
- data/doc/Files/InvalidFileTypeError.html +1 -1
- data/doc/Files/InvalidFilenameError.html +1 -1
- data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
- data/doc/Files/InvalidFilterFieldError.html +1 -1
- data/doc/Files/InvalidFilterParamError.html +1 -1
- data/doc/Files/InvalidFilterParamFormatError.html +1 -1
- data/doc/Files/InvalidFilterParamValueError.html +1 -1
- data/doc/Files/InvalidInputEncodingError.html +1 -1
- data/doc/Files/InvalidInterfaceError.html +1 -1
- data/doc/Files/InvalidOauthError.html +1 -1
- data/doc/Files/InvalidOauthProviderError.html +1 -1
- data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
- data/doc/Files/InvalidParameterError.html +1 -1
- data/doc/Files/InvalidPathError.html +1 -1
- data/doc/Files/InvalidPriorityColorError.html +1 -1
- data/doc/Files/InvalidRangeError.html +1 -1
- data/doc/Files/InvalidReturnToUrlError.html +1 -1
- data/doc/Files/InvalidSearchQueryError.html +1 -1
- data/doc/Files/InvalidSessionError.html +1 -1
- data/doc/Files/InvalidSiteError.html +1 -1
- data/doc/Files/InvalidSortFieldError.html +1 -1
- data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
- data/doc/Files/InvalidUploadOffsetError.html +1 -1
- data/doc/Files/InvalidUploadPartGapError.html +1 -1
- data/doc/Files/InvalidUploadPartSizeError.html +1 -1
- data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
- data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
- data/doc/Files/InvalidZipFileError.html +1 -1
- data/doc/Files/Invoice.html +1 -1
- data/doc/Files/InvoiceLineItem.html +1 -1
- data/doc/Files/IpAddress.html +1 -1
- data/doc/Files/KeyLifecycleRule.html +1 -1
- data/doc/Files/List.html +1 -1
- data/doc/Files/Lock.html +1 -1
- data/doc/Files/LockOperationBusyError.html +1 -1
- data/doc/Files/LockedOutError.html +1 -1
- data/doc/Files/LockoutRegionMismatchError.html +1 -1
- data/doc/Files/MetadataCategory.html +1 -1
- data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
- data/doc/Files/MethodNotAllowedError.html +1 -1
- data/doc/Files/MigrationInProgressError.html +1 -1
- data/doc/Files/MissingParameterError.html +1 -1
- data/doc/Files/ModelSaveErrorError.html +1 -1
- data/doc/Files/MoverAccessDeniedError.html +1 -1
- data/doc/Files/MoverPackageRequiredError.html +1 -1
- data/doc/Files/MultipleProcessingErrorsError.html +1 -1
- data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
- data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
- data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
- data/doc/Files/NestedNotFoundError.html +1 -1
- data/doc/Files/NoAccountForSiteError.html +1 -1
- data/doc/Files/NoValidInputParamsError.html +1 -1
- data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
- data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
- data/doc/Files/NotAuthenticatedError.html +1 -1
- data/doc/Files/NotAuthorizedError.html +1 -1
- data/doc/Files/NotEnqueuableSyncError.html +1 -1
- data/doc/Files/NotFoundError.html +1 -1
- data/doc/Files/NotImplementedError.html +1 -1
- data/doc/Files/Notification.html +1 -1
- data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
- data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
- data/doc/Files/OutboundConnectionLog.html +1 -1
- data/doc/Files/PartNumberTooLargeError.html +1 -1
- data/doc/Files/Partner.html +1 -1
- data/doc/Files/PartnerChannel.html +381 -170
- data/doc/Files/PartnerChannelTemplate.html +358 -147
- data/doc/Files/PartnerChannelUploadForm.html +589 -0
- data/doc/Files/PartnerConnection.html +1 -1
- data/doc/Files/PartnerSite.html +1 -1
- data/doc/Files/PartnerSiteRequest.html +1 -1
- data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
- data/doc/Files/PasswordChangeRequiredError.html +1 -1
- data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
- data/doc/Files/PathTooLongError.html +1 -1
- data/doc/Files/PathUtil.html +1 -1
- data/doc/Files/Payment.html +1 -1
- data/doc/Files/PaymentLineItem.html +1 -1
- data/doc/Files/PaymentMethodErrorError.html +1 -1
- data/doc/Files/PendingWorkEvent.html +1 -1
- data/doc/Files/Permission.html +1 -1
- data/doc/Files/PlanNotFoundError.html +1 -1
- data/doc/Files/Preview.html +1 -1
- data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
- data/doc/Files/ProcessingFailureError.html +1 -1
- data/doc/Files/PublicHostingRequestLog.html +1 -1
- data/doc/Files/PublicIpAddress.html +1 -1
- data/doc/Files/PublicKey.html +1 -1
- data/doc/Files/RateLimitedError.html +1 -1
- data/doc/Files/ReadOnlySessionError.html +1 -1
- data/doc/Files/ReadPermissionRequiredError.html +1 -1
- data/doc/Files/ReauthenticationFailedError.html +1 -1
- data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
- data/doc/Files/ReauthenticationNeededActionError.html +1 -1
- data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
- data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
- data/doc/Files/RecaptchaFailedError.html +1 -1
- data/doc/Files/RecipientAlreadySharedError.html +1 -1
- data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
- data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
- data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
- data/doc/Files/RemoteMountBackend.html +1 -1
- data/doc/Files/RemoteServer.html +1 -1
- data/doc/Files/RemoteServerConfigurationFile.html +1 -1
- data/doc/Files/RemoteServerCredential.html +1 -1
- data/doc/Files/RemoteServerErrorError.html +1 -1
- data/doc/Files/Request.html +1 -1
- data/doc/Files/RequestBodyTooLargeError.html +1 -1
- data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
- data/doc/Files/RequestParamsInvalidError.html +1 -1
- data/doc/Files/RequestParamsRequiredError.html +1 -1
- data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
- data/doc/Files/ResourceLockedError.html +1 -1
- data/doc/Files/Response.html +1 -1
- data/doc/Files/Restore.html +1 -1
- data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
- data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
- data/doc/Files/Schedule.html +1 -1
- data/doc/Files/ScheduledExport.html +1 -1
- data/doc/Files/ScimLog.html +1 -1
- data/doc/Files/SearchAllOnChildPathError.html +1 -1
- data/doc/Files/SearchQueryTooShortError.html +1 -1
- data/doc/Files/SearchTimedOutError.html +1 -1
- data/doc/Files/SearchUnavailableError.html +1 -1
- data/doc/Files/Secret.html +1 -1
- data/doc/Files/SelfManagedRequiredError.html +1 -1
- data/doc/Files/ServiceUnavailableError.html +1 -1
- data/doc/Files/Session.html +1 -1
- data/doc/Files/SettingsChange.html +1 -1
- data/doc/Files/SftpActionLog.html +1 -1
- data/doc/Files/SftpHostKey.html +1 -1
- data/doc/Files/ShareGroup.html +1 -1
- data/doc/Files/ShareGroupMember.html +1 -1
- data/doc/Files/SharedWorkflow.html +2237 -0
- data/doc/Files/SiemHttpDestination.html +1 -1
- data/doc/Files/SiemHttpDestinationEvent.html +1 -1
- data/doc/Files/Site.html +1 -1
- data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminRequiredError.html +1 -1
- data/doc/Files/SiteConfigurationError.html +1 -1
- data/doc/Files/SiteDisabledError.html +1 -1
- data/doc/Files/SiteFilesAreImmutableError.html +1 -1
- data/doc/Files/SiteNotFoundError.html +1 -1
- data/doc/Files/SiteSubdomainRedirect.html +1 -1
- data/doc/Files/SiteWasRemovedError.html +1 -1
- data/doc/Files/SizableIO.html +1 -1
- data/doc/Files/Snapshot.html +328 -143
- data/doc/Files/SsoEvent.html +1 -1
- data/doc/Files/SsoStrategy.html +1 -1
- data/doc/Files/Status.html +1 -1
- data/doc/Files/Style.html +1 -1
- data/doc/Files/SubfolderLockedError.html +1 -1
- data/doc/Files/Sync.html +1 -1
- data/doc/Files/SyncInProgressError.html +1 -1
- data/doc/Files/SyncLog.html +1 -1
- data/doc/Files/SyncRun.html +1 -1
- data/doc/Files/SyncRunLiveTransfer.html +1 -1
- data/doc/Files/SystemProfiler.html +1 -1
- data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
- data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
- data/doc/Files/TooManyLoginAttemptsError.html +1 -1
- data/doc/Files/TooManyRequestsError.html +1 -1
- data/doc/Files/TooManySharesError.html +1 -1
- data/doc/Files/Transfer/Attempts.html +1 -1
- data/doc/Files/Transfer/BufferLimitError.html +1 -1
- data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
- data/doc/Files/Transfer/ByteBudget.html +1 -1
- data/doc/Files/Transfer/CancelledError.html +1 -1
- data/doc/Files/Transfer/Checkpoint.html +1 -1
- data/doc/Files/Transfer/CheckpointError.html +1 -1
- data/doc/Files/Transfer/ClientTransport/ClientResponse.html +1 -1
- data/doc/Files/Transfer/ClientTransport/Reader.html +1 -1
- data/doc/Files/Transfer/ClientTransport.html +1 -1
- data/doc/Files/Transfer/Clock.html +1 -1
- data/doc/Files/Transfer/Control.html +1 -1
- data/doc/Files/Transfer/Controller/Attempt.html +1 -1
- data/doc/Files/Transfer/Controller.html +1 -1
- data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
- data/doc/Files/Transfer/Coordinator.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/Piece.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator.html +1 -1
- data/doc/Files/Transfer/DownloadDate.html +1 -1
- data/doc/Files/Transfer/FileSlots.html +1 -1
- data/doc/Files/Transfer/FrontendResponseError.html +1 -1
- data/doc/Files/Transfer/Holds.html +1 -1
- data/doc/Files/Transfer/HttpTransport.html +1 -1
- data/doc/Files/Transfer/Job.html +1 -1
- data/doc/Files/Transfer/Options.html +1 -1
- data/doc/Files/Transfer/PausedError.html +1 -1
- data/doc/Files/Transfer/Policy.html +1 -1
- data/doc/Files/Transfer/RequestPermits.html +1 -1
- data/doc/Files/Transfer/SourceChangedError.html +1 -1
- data/doc/Files/Transfer/StorageResponse.html +1 -1
- data/doc/Files/Transfer/StorageRetry.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator.html +1 -1
- data/doc/Files/Transfer/UploadPlan.html +1 -1
- data/doc/Files/Transfer/UrlExpired.html +1 -1
- data/doc/Files/Transfer/VersionChangedError.html +1 -1
- data/doc/Files/Transfer.html +1 -1
- data/doc/Files/TrialExpiredError.html +1 -1
- data/doc/Files/TrialLockedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
- data/doc/Files/URI.html +1 -1
- data/doc/Files/UnrecognizedSortIndexError.html +1 -1
- data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
- data/doc/Files/UnsupportedMediaTypeError.html +1 -1
- data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
- data/doc/Files/UploadFinalization.html +1 -1
- data/doc/Files/UploadsUnavailableError.html +1 -1
- data/doc/Files/UsageByTopLevelDir.html +1 -1
- data/doc/Files/UsageDailySnapshot.html +1 -1
- data/doc/Files/UsageSnapshot.html +1 -1
- data/doc/Files/User.html +179 -179
- data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
- data/doc/Files/UserCipherUse.html +1 -1
- data/doc/Files/UserIdInvalidError.html +1 -1
- data/doc/Files/UserIdOnUserEndpointError.html +1 -1
- data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
- data/doc/Files/UserLifecycleRule.html +1 -1
- data/doc/Files/UserNotFoundError.html +1 -1
- data/doc/Files/UserRequest.html +1 -1
- data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
- data/doc/Files/UserRequiredError.html +1 -1
- data/doc/Files/UserSecurityEvent.html +1 -1
- data/doc/Files/UserSftpClientUse.html +1 -1
- data/doc/Files/Util/LogSettings.html +1 -1
- data/doc/Files/Util.html +1 -1
- data/doc/Files/WebDavActionLog.html +1 -1
- data/doc/Files/WebhookTest.html +1 -1
- data/doc/Files/Workspace.html +1 -1
- data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
- data/doc/Files/WritePermissionRequiredError.html +1 -1
- data/doc/Files/ZipListEntry.html +1 -1
- data/doc/Files.html +106 -106
- data/doc/_index.html +22 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +3353 -2849
- data/doc/top-level-namespace.html +1 -1
- data/docs/automation.md +30 -0
- data/docs/automation_run.md +10 -6
- data/docs/database_destination.md +148 -0
- data/docs/form_field_set.md +1 -1
- data/docs/partner_channel.md +13 -0
- data/docs/partner_channel_template.md +13 -0
- data/docs/partner_channel_upload_form.md +13 -0
- data/docs/shared_workflow.md +118 -0
- data/docs/site.md +2 -2
- data/docs/snapshot.md +6 -2
- data/docs/user.md +8 -8
- data/lib/files.com/models/automation.rb +57 -0
- data/lib/files.com/models/automation_run.rb +28 -16
- data/lib/files.com/models/database_destination.rb +315 -0
- data/lib/files.com/models/form_field_set.rb +1 -1
- data/lib/files.com/models/partner_channel.rb +19 -0
- data/lib/files.com/models/partner_channel_template.rb +19 -0
- data/lib/files.com/models/partner_channel_upload_form.rb +32 -0
- data/lib/files.com/models/shared_workflow.rb +182 -0
- data/lib/files.com/models/snapshot.rb +15 -0
- data/lib/files.com/models/user.rb +10 -10
- data/lib/files.com.rb +3 -0
- metadata +10 -1
data/docs/user.md
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"workspace_admin": true,
|
|
82
82
|
"site_id": 1,
|
|
83
83
|
"workspace_id": 1,
|
|
84
|
-
"
|
|
84
|
+
"preferred_workspace_id": 1,
|
|
85
85
|
"skip_welcome_screen": true,
|
|
86
86
|
"ftp_tls_session_reuse_required": "use_system_setting",
|
|
87
87
|
"ssl_required": "always_require",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
* `workspace_admin` (boolean): Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions.
|
|
174
174
|
* `site_id` (int64): Site ID
|
|
175
175
|
* `workspace_id` (int64): ID of the Workspace the user belongs to. 0 is the Default Workspace.
|
|
176
|
-
* `
|
|
176
|
+
* `preferred_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
|
|
177
177
|
* `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
|
|
178
178
|
* `ftp_tls_session_reuse_required` (string): FTP TLS session reuse requirement: use_system_setting, always_require, or never_require
|
|
179
179
|
* `ssl_required` (string): SSL required setting
|
|
@@ -263,7 +263,7 @@ Files::User.create(
|
|
|
263
263
|
bypass_site_allowed_ips: false,
|
|
264
264
|
dav_permission: true,
|
|
265
265
|
desktop_configuration_profile_id: 1,
|
|
266
|
-
|
|
266
|
+
preferred_workspace_id: 1,
|
|
267
267
|
disabled: true,
|
|
268
268
|
filesystem_layout: "site_root",
|
|
269
269
|
ftp_permission: true,
|
|
@@ -337,7 +337,7 @@ Files::User.create(
|
|
|
337
337
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
|
338
338
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
|
339
339
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
340
|
-
* `
|
|
340
|
+
* `preferred_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
|
|
341
341
|
* `disabled` (boolean): 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.
|
|
342
342
|
* `filesystem_layout` (string): File system layout
|
|
343
343
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
@@ -446,7 +446,7 @@ Files::User.update(id,
|
|
|
446
446
|
bypass_site_allowed_ips: false,
|
|
447
447
|
dav_permission: true,
|
|
448
448
|
desktop_configuration_profile_id: 1,
|
|
449
|
-
|
|
449
|
+
preferred_workspace_id: 1,
|
|
450
450
|
disabled: true,
|
|
451
451
|
filesystem_layout: "site_root",
|
|
452
452
|
ftp_permission: true,
|
|
@@ -523,7 +523,7 @@ Files::User.update(id,
|
|
|
523
523
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
|
524
524
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
|
525
525
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
526
|
-
* `
|
|
526
|
+
* `preferred_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
|
|
527
527
|
* `disabled` (boolean): 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.
|
|
528
528
|
* `filesystem_layout` (string): File system layout
|
|
529
529
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
@@ -658,7 +658,7 @@ user.update(
|
|
|
658
658
|
bypass_site_allowed_ips: false,
|
|
659
659
|
dav_permission: true,
|
|
660
660
|
desktop_configuration_profile_id: 1,
|
|
661
|
-
|
|
661
|
+
preferred_workspace_id: 1,
|
|
662
662
|
disabled: true,
|
|
663
663
|
filesystem_layout: "site_root",
|
|
664
664
|
ftp_permission: true,
|
|
@@ -735,7 +735,7 @@ user.update(
|
|
|
735
735
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
|
736
736
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
|
737
737
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned directly to this user, if any.
|
|
738
|
-
* `
|
|
738
|
+
* `preferred_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
|
|
739
739
|
* `disabled` (boolean): 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.
|
|
740
740
|
* `filesystem_layout` (string): File system layout
|
|
741
741
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
|
@@ -537,6 +537,45 @@ module Files
|
|
|
537
537
|
@attributes[:source] = value
|
|
538
538
|
end
|
|
539
539
|
|
|
540
|
+
# Users who can start this Shared Workflow.
|
|
541
|
+
# @return [Array<Integer>, nil] the field value, or nil when absent.
|
|
542
|
+
def shared_trigger_user_ids
|
|
543
|
+
@attributes[:shared_trigger_user_ids]
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
547
|
+
# @param value [Array<Integer>, nil] the new field value.
|
|
548
|
+
# @return [Array<Integer>, nil] the assigned value.
|
|
549
|
+
def shared_trigger_user_ids=(value)
|
|
550
|
+
@attributes[:shared_trigger_user_ids] = value
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
# Groups whose members can start this Shared Workflow.
|
|
554
|
+
# @return [Array<Integer>, nil] the field value, or nil when absent.
|
|
555
|
+
def shared_trigger_group_ids
|
|
556
|
+
@attributes[:shared_trigger_group_ids]
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
560
|
+
# @param value [Array<Integer>, nil] the new field value.
|
|
561
|
+
# @return [Array<Integer>, nil] the assigned value.
|
|
562
|
+
def shared_trigger_group_ids=(value)
|
|
563
|
+
@attributes[:shared_trigger_group_ids] = value
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
# Partners whose users can start this Shared Workflow.
|
|
567
|
+
# @return [Array<Integer>, nil] the field value, or nil when absent.
|
|
568
|
+
def shared_trigger_partner_ids
|
|
569
|
+
@attributes[:shared_trigger_partner_ids]
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
573
|
+
# @param value [Array<Integer>, nil] the new field value.
|
|
574
|
+
# @return [Array<Integer>, nil] the assigned value.
|
|
575
|
+
def shared_trigger_partner_ids=(value)
|
|
576
|
+
@attributes[:shared_trigger_partner_ids] = value
|
|
577
|
+
end
|
|
578
|
+
|
|
540
579
|
# IDs of Syncs to run by this Automation.
|
|
541
580
|
# @return [Array<Integer>, nil] the field value, or nil when absent.
|
|
542
581
|
def sync_ids
|
|
@@ -694,6 +733,9 @@ module Files
|
|
|
694
733
|
# @option params [String] user_ids A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
695
734
|
# @option params [String] group_ids A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
696
735
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
736
|
+
# @option params [Array<Integer>] shared_trigger_user_ids Users who can start this Shared Workflow.
|
|
737
|
+
# @option params [Array<Integer>] shared_trigger_group_ids Groups whose members can start this Shared Workflow.
|
|
738
|
+
# @option params [Array<Integer>] shared_trigger_partner_ids Partners whose users can start this Shared Workflow.
|
|
697
739
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
698
740
|
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`. For v2 Automations, set this field in the Scheduled trigger's definition.
|
|
699
741
|
# @option params [Array<String>] schedule_times_of_day Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id` or `schedule_interval_minutes`. For `daily` triggers, the default is midnight UTC.
|
|
@@ -739,6 +781,9 @@ module Files
|
|
|
739
781
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if !params[:user_ids].nil? and !params[:user_ids].is_a?(String)
|
|
740
782
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
741
783
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
784
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_user_ids must be an Array") if !params[:shared_trigger_user_ids].nil? and !params[:shared_trigger_user_ids].is_a?(Array)
|
|
785
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_group_ids must be an Array") if !params[:shared_trigger_group_ids].nil? and !params[:shared_trigger_group_ids].is_a?(Array)
|
|
786
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_partner_ids must be an Array") if !params[:shared_trigger_partner_ids].nil? and !params[:shared_trigger_partner_ids].is_a?(Array)
|
|
742
787
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if !params[:schedule_days_of_week].nil? and !params[:schedule_days_of_week].is_a?(Array)
|
|
743
788
|
raise InvalidParameterError.new("Bad parameter: schedule_interval_minutes must be an Integer") if !params[:schedule_interval_minutes].nil? and !params[:schedule_interval_minutes].is_a?(Integer)
|
|
744
789
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if !params[:schedule_times_of_day].nil? and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -906,6 +951,9 @@ module Files
|
|
|
906
951
|
# @option params [String] user_ids A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
907
952
|
# @option params [String] group_ids A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
908
953
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
954
|
+
# @option params [Array<Integer>] shared_trigger_user_ids Users who can start this Shared Workflow.
|
|
955
|
+
# @option params [Array<Integer>] shared_trigger_group_ids Groups whose members can start this Shared Workflow.
|
|
956
|
+
# @option params [Array<Integer>] shared_trigger_partner_ids Partners whose users can start this Shared Workflow.
|
|
909
957
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
910
958
|
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`. For v2 Automations, set this field in the Scheduled trigger's definition.
|
|
911
959
|
# @option params [Array<String>] schedule_times_of_day Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id` or `schedule_interval_minutes`. For `daily` triggers, the default is midnight UTC.
|
|
@@ -949,6 +997,9 @@ module Files
|
|
|
949
997
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if !params[:user_ids].nil? and !params[:user_ids].is_a?(String)
|
|
950
998
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
951
999
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
1000
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_user_ids must be an Array") if !params[:shared_trigger_user_ids].nil? and !params[:shared_trigger_user_ids].is_a?(Array)
|
|
1001
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_group_ids must be an Array") if !params[:shared_trigger_group_ids].nil? and !params[:shared_trigger_group_ids].is_a?(Array)
|
|
1002
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_partner_ids must be an Array") if !params[:shared_trigger_partner_ids].nil? and !params[:shared_trigger_partner_ids].is_a?(Array)
|
|
952
1003
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if !params[:schedule_days_of_week].nil? and !params[:schedule_days_of_week].is_a?(Array)
|
|
953
1004
|
raise InvalidParameterError.new("Bad parameter: schedule_interval_minutes must be an Integer") if !params[:schedule_interval_minutes].nil? and !params[:schedule_interval_minutes].is_a?(Integer)
|
|
954
1005
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if !params[:schedule_times_of_day].nil? and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -1036,6 +1087,9 @@ module Files
|
|
|
1036
1087
|
# @option params [String] user_ids A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
1037
1088
|
# @option params [String] group_ids A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
1038
1089
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
1090
|
+
# @option params [Array<Integer>] shared_trigger_user_ids Users who can start this Shared Workflow.
|
|
1091
|
+
# @option params [Array<Integer>] shared_trigger_group_ids Groups whose members can start this Shared Workflow.
|
|
1092
|
+
# @option params [Array<Integer>] shared_trigger_partner_ids Partners whose users can start this Shared Workflow.
|
|
1039
1093
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
1040
1094
|
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`. For v2 Automations, set this field in the Scheduled trigger's definition.
|
|
1041
1095
|
# @option params [Array<String>] schedule_times_of_day Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id` or `schedule_interval_minutes`. For `daily` triggers, the default is midnight UTC.
|
|
@@ -1081,6 +1135,9 @@ module Files
|
|
|
1081
1135
|
raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if !params[:user_ids].nil? and !params[:user_ids].is_a?(String)
|
|
1082
1136
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
1083
1137
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
1138
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_user_ids must be an Array") if !params[:shared_trigger_user_ids].nil? and !params[:shared_trigger_user_ids].is_a?(Array)
|
|
1139
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_group_ids must be an Array") if !params[:shared_trigger_group_ids].nil? and !params[:shared_trigger_group_ids].is_a?(Array)
|
|
1140
|
+
raise InvalidParameterError.new("Bad parameter: shared_trigger_partner_ids must be an Array") if !params[:shared_trigger_partner_ids].nil? and !params[:shared_trigger_partner_ids].is_a?(Array)
|
|
1084
1141
|
raise InvalidParameterError.new("Bad parameter: schedule_days_of_week must be an Array") if !params[:schedule_days_of_week].nil? and !params[:schedule_days_of_week].is_a?(Array)
|
|
1085
1142
|
raise InvalidParameterError.new("Bad parameter: schedule_interval_minutes must be an Integer") if !params[:schedule_interval_minutes].nil? and !params[:schedule_interval_minutes].is_a?(Integer)
|
|
1086
1143
|
raise InvalidParameterError.new("Bad parameter: schedule_times_of_day must be an Array") if !params[:schedule_times_of_day].nil? and !params[:schedule_times_of_day].is_a?(Array)
|
|
@@ -23,6 +23,24 @@ module Files
|
|
|
23
23
|
@attributes[:id]
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Automation run completion/failure date/time.
|
|
27
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
28
|
+
def completed_at
|
|
29
|
+
@attributes[:completed_at]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Automation run start date/time.
|
|
33
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
34
|
+
def created_at
|
|
35
|
+
@attributes[:created_at]
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# The status of the AutomationRun. One of `queued`, `running`, `success`, `partial_failure`, `failure`, `skipped`, or `canceled`.
|
|
39
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
40
|
+
def status
|
|
41
|
+
@attributes[:status]
|
|
42
|
+
end
|
|
43
|
+
|
|
26
44
|
# ID of the associated Automation.
|
|
27
45
|
# @return [Integer, nil] the field value, or nil when absent.
|
|
28
46
|
def automation_id
|
|
@@ -47,22 +65,22 @@ module Files
|
|
|
47
65
|
@attributes[:workspace_id]
|
|
48
66
|
end
|
|
49
67
|
|
|
50
|
-
#
|
|
51
|
-
# @return [
|
|
52
|
-
def
|
|
53
|
-
@attributes[:
|
|
68
|
+
# User who initiated a Shared Workflow run.
|
|
69
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
70
|
+
def initiating_user_id
|
|
71
|
+
@attributes[:initiating_user_id]
|
|
54
72
|
end
|
|
55
73
|
|
|
56
|
-
#
|
|
74
|
+
# Interface from which the Shared Workflow was started.
|
|
57
75
|
# @return [String, nil] the field value, or nil when absent.
|
|
58
|
-
def
|
|
59
|
-
@attributes[:
|
|
76
|
+
def initiating_interface
|
|
77
|
+
@attributes[:initiating_interface]
|
|
60
78
|
end
|
|
61
79
|
|
|
62
|
-
#
|
|
80
|
+
# Date/time at which cancellation was requested.
|
|
63
81
|
# @return [String, nil] the field value, or nil when absent.
|
|
64
|
-
def
|
|
65
|
-
@attributes[:
|
|
82
|
+
def cancel_requested_at
|
|
83
|
+
@attributes[:cancel_requested_at]
|
|
66
84
|
end
|
|
67
85
|
|
|
68
86
|
# If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
|
|
@@ -107,12 +125,6 @@ module Files
|
|
|
107
125
|
@attributes[:runtime]
|
|
108
126
|
end
|
|
109
127
|
|
|
110
|
-
# The status of the AutomationRun. One of `queued`, `running`, `success`, `partial_failure`, `failure`, `skipped`, or `canceled`.
|
|
111
|
-
# @return [String, nil] the field value, or nil when absent.
|
|
112
|
-
def status
|
|
113
|
-
@attributes[:status]
|
|
114
|
-
end
|
|
115
|
-
|
|
116
128
|
# Count of successful operations.
|
|
117
129
|
# @return [Integer, nil] the field value, or nil when absent.
|
|
118
130
|
def successful_operations
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
# Files::DatabaseDestination is the Ruby SDK's representation of Files.com API DatabaseDestination objects.
|
|
5
|
+
# Each instance keeps its API field values in +attributes+.
|
|
6
|
+
class DatabaseDestination
|
|
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
|
+
# Database Destination ID.
|
|
21
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
22
|
+
def id
|
|
23
|
+
@attributes[:id]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
27
|
+
# @param value [Integer, nil] the new field value.
|
|
28
|
+
# @return [Integer, nil] the assigned value.
|
|
29
|
+
def id=(value)
|
|
30
|
+
@attributes[:id] = value
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Workspace ID. 0 means the default workspace.
|
|
34
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
35
|
+
def workspace_id
|
|
36
|
+
@attributes[:workspace_id]
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
40
|
+
# @param value [Integer, nil] the new field value.
|
|
41
|
+
# @return [Integer, nil] the assigned value.
|
|
42
|
+
def workspace_id=(value)
|
|
43
|
+
@attributes[:workspace_id] = value
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Name of the destination.
|
|
47
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
48
|
+
def name
|
|
49
|
+
@attributes[:name]
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
53
|
+
# @param value [String, nil] the new field value.
|
|
54
|
+
# @return [String, nil] the assigned value.
|
|
55
|
+
def name=(value)
|
|
56
|
+
@attributes[:name] = value
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Database provider.
|
|
60
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
61
|
+
def provider
|
|
62
|
+
@attributes[:provider]
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
66
|
+
# @param value [String, nil] the new field value.
|
|
67
|
+
# @return [String, nil] the assigned value.
|
|
68
|
+
def provider=(value)
|
|
69
|
+
@attributes[:provider] = value
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation.
|
|
73
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
74
|
+
def config
|
|
75
|
+
@attributes[:config]
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
79
|
+
# @param value [Hash, nil] the new field value.
|
|
80
|
+
# @return [Hash, nil] the assigned value.
|
|
81
|
+
def config=(value)
|
|
82
|
+
@attributes[:config] = value
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login.
|
|
86
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
87
|
+
def secret_id
|
|
88
|
+
@attributes[:secret_id]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
92
|
+
# @param value [Integer, nil] the new field value.
|
|
93
|
+
# @return [Integer, nil] the assigned value.
|
|
94
|
+
def secret_id=(value)
|
|
95
|
+
@attributes[:secret_id] = value
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# When the destination was created.
|
|
99
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
100
|
+
def created_at
|
|
101
|
+
@attributes[:created_at]
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# When the destination was last updated.
|
|
105
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
106
|
+
def updated_at
|
|
107
|
+
@attributes[:updated_at]
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Update Database Destination
|
|
111
|
+
#
|
|
112
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
113
|
+
# @option params [String] name Name of the destination.
|
|
114
|
+
# @option params [Integer] secret_id ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login.
|
|
115
|
+
# @option params [Hash] config Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation.
|
|
116
|
+
# @return [Array(Files::Response, Hash)] the response and persisted request options.
|
|
117
|
+
# @raise [Files::MissingParameterError] if a required parameter or the current object primary key is missing.
|
|
118
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
119
|
+
# @raise [Files::Error] if the API request fails.
|
|
120
|
+
def update(params = {})
|
|
121
|
+
params = (params || {}).dup
|
|
122
|
+
params[:id] = @attributes[:id]
|
|
123
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
124
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
125
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
126
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
127
|
+
raise InvalidParameterError.new("Bad parameter: config must be an Hash") if !params[:config].nil? and !params[:config].is_a?(Hash)
|
|
128
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
129
|
+
|
|
130
|
+
response, options = Api.send_request("/database_destinations/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("DatabaseDestination") }
|
|
131
|
+
@attributes = response.data
|
|
132
|
+
@options = @options.merge(options)
|
|
133
|
+
[ response, options ]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Delete Database Destination
|
|
137
|
+
#
|
|
138
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
139
|
+
# @return [Array(Files::Response, Hash)] the response and persisted request options.
|
|
140
|
+
# @raise [Files::MissingParameterError] if a required parameter or the current object primary key is missing.
|
|
141
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
142
|
+
# @raise [Files::Error] if the API request fails.
|
|
143
|
+
def delete(params = {})
|
|
144
|
+
params = (params || {}).dup
|
|
145
|
+
params[:id] = @attributes[:id]
|
|
146
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
147
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
148
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
149
|
+
|
|
150
|
+
response, options = Api.send_request("/database_destinations/#{@attributes[:id]}", :delete, params, @options)
|
|
151
|
+
@options = @options.merge(options)
|
|
152
|
+
[ response, options ]
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Calls {#delete} and discards its response.
|
|
156
|
+
# @param (see #delete)
|
|
157
|
+
# @option (see #delete)
|
|
158
|
+
# @raise (see #delete)
|
|
159
|
+
# @return [nil]
|
|
160
|
+
def destroy(params = {})
|
|
161
|
+
delete(params)
|
|
162
|
+
nil
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Persists local attributes by creating or updating this record.
|
|
166
|
+
# @return [true] after the request succeeds.
|
|
167
|
+
# @raise [Files::Error] if the API request fails.
|
|
168
|
+
def save
|
|
169
|
+
if @attributes[:id]
|
|
170
|
+
update(@attributes)
|
|
171
|
+
else
|
|
172
|
+
new_obj = DatabaseDestination.create(@attributes, @options)
|
|
173
|
+
@attributes = new_obj.attributes
|
|
174
|
+
@options = @options.merge(new_obj.options)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
true
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# List Database Destinations
|
|
181
|
+
#
|
|
182
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
183
|
+
# @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.
|
|
184
|
+
# @option params [Integer] per_page Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
185
|
+
# @option params [Hash] sort_by If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
186
|
+
# @option params [Hash] filter If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
|
|
187
|
+
# @option params [Hash] filter_prefix If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
188
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
189
|
+
# @return [Files::List] a lazy first page; use #auto_paging_each to visit every page.
|
|
190
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
191
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
192
|
+
# @raise [Files::Error] if the API request fails.
|
|
193
|
+
def self.list(params = {}, options = {})
|
|
194
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if !params[:cursor].nil? and !params[:cursor].is_a?(String)
|
|
195
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if !params[:per_page].nil? and !params[:per_page].is_a?(Integer)
|
|
196
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if !params[:sort_by].nil? and !params[:sort_by].is_a?(Hash)
|
|
197
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if !params[:filter].nil? and !params[:filter].is_a?(Hash)
|
|
198
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if !params[:filter_prefix].nil? and !params[:filter_prefix].is_a?(Hash)
|
|
199
|
+
|
|
200
|
+
list_options = options.dup
|
|
201
|
+
List.new(DatabaseDestination, params) do |page_params, &check_page|
|
|
202
|
+
response, page_options = Api.send_request("/database_destinations", :get, page_params, list_options, &check_page)
|
|
203
|
+
list_options = list_options.merge(page_options)
|
|
204
|
+
[ response, page_options ]
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# (see .list)
|
|
209
|
+
def self.all(params = {}, options = {})
|
|
210
|
+
list(params, options)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Show Database Destination
|
|
214
|
+
#
|
|
215
|
+
# @param id [Integer] Database Destination ID.
|
|
216
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
217
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
218
|
+
# @return [Files::DatabaseDestination] the returned record.
|
|
219
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
220
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
221
|
+
# @raise [Files::Error] if the API request fails.
|
|
222
|
+
def self.find(id, params = {}, options = {})
|
|
223
|
+
params = (params || {}).dup
|
|
224
|
+
params[:id] = id
|
|
225
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
226
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
227
|
+
|
|
228
|
+
response, options = Api.send_request("/database_destinations/#{params[:id]}", :get, params, options) { |reply| reply.require_object("DatabaseDestination") }
|
|
229
|
+
DatabaseDestination.new(response.data, options)
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# (see .find)
|
|
233
|
+
def self.get(id, params = {}, options = {})
|
|
234
|
+
find(id, params, options)
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Create Database Destination
|
|
238
|
+
#
|
|
239
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
240
|
+
# @option params [String] name Required. Name of the destination.
|
|
241
|
+
# @option params [String] provider Required. Database provider.
|
|
242
|
+
# @option params [Hash] config Required. Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation.
|
|
243
|
+
# @option params [Integer] secret_id Required. ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login.
|
|
244
|
+
# @option params [Integer] workspace_id Workspace ID. 0 means the default workspace.
|
|
245
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
246
|
+
# @return [Files::DatabaseDestination] the returned record.
|
|
247
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
248
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
249
|
+
# @raise [Files::Error] if the API request fails.
|
|
250
|
+
def self.create(params = {}, options = {})
|
|
251
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
252
|
+
raise InvalidParameterError.new("Bad parameter: provider must be an String") if !params[:provider].nil? and !params[:provider].is_a?(String)
|
|
253
|
+
raise InvalidParameterError.new("Bad parameter: config must be an Hash") if !params[:config].nil? and !params[:config].is_a?(Hash)
|
|
254
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
255
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if !params[:workspace_id].nil? and !params[:workspace_id].is_a?(Integer)
|
|
256
|
+
raise MissingParameterError.new("Parameter missing: name") if params[:name].nil?
|
|
257
|
+
raise MissingParameterError.new("Parameter missing: provider") if params[:provider].nil?
|
|
258
|
+
raise MissingParameterError.new("Parameter missing: config") if params[:config].nil?
|
|
259
|
+
raise MissingParameterError.new("Parameter missing: secret_id") if params[:secret_id].nil?
|
|
260
|
+
|
|
261
|
+
response, options = Api.send_request("/database_destinations", :post, params, options) { |reply| reply.require_object("DatabaseDestination") }
|
|
262
|
+
DatabaseDestination.new(response.data, options)
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Update Database Destination
|
|
266
|
+
#
|
|
267
|
+
# @param id [Integer] Database Destination ID.
|
|
268
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
269
|
+
# @option params [String] name Name of the destination.
|
|
270
|
+
# @option params [Integer] secret_id ID of a Secret in the same Workspace. Use a Token Secret for Snowflake, a service account Key/Value Secret for BigQuery, or a Username/Password Secret for a database login.
|
|
271
|
+
# @option params [Hash] config Provider settings for the destination. Use the schema matching provider. The connection address and table are fixed after creation.
|
|
272
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
273
|
+
# @return [Files::DatabaseDestination] the returned record.
|
|
274
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
275
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
276
|
+
# @raise [Files::Error] if the API request fails.
|
|
277
|
+
def self.update(id, params = {}, options = {})
|
|
278
|
+
params = (params || {}).dup
|
|
279
|
+
params[:id] = id
|
|
280
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
281
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
282
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
283
|
+
raise InvalidParameterError.new("Bad parameter: config must be an Hash") if !params[:config].nil? and !params[:config].is_a?(Hash)
|
|
284
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
285
|
+
|
|
286
|
+
response, options = Api.send_request("/database_destinations/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("DatabaseDestination") }
|
|
287
|
+
DatabaseDestination.new(response.data, options)
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Delete Database Destination
|
|
291
|
+
#
|
|
292
|
+
# @param id [Integer] Database Destination ID.
|
|
293
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
294
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
295
|
+
# @return [nil]
|
|
296
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
297
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
298
|
+
# @raise [Files::Error] if the API request fails.
|
|
299
|
+
def self.delete(id, params = {}, options = {})
|
|
300
|
+
params = (params || {}).dup
|
|
301
|
+
params[:id] = id
|
|
302
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
303
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
304
|
+
|
|
305
|
+
Api.send_request("/database_destinations/#{params[:id]}", :delete, params, options)
|
|
306
|
+
nil
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# (see .delete)
|
|
310
|
+
def self.destroy(id, params = {}, options = {})
|
|
311
|
+
delete(id, params, options)
|
|
312
|
+
nil
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
end
|
|
@@ -121,7 +121,7 @@ module Files
|
|
|
121
121
|
@attributes[:skip_company] = value
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
# Form Field Set is in use by an active Inbox
|
|
124
|
+
# Form Field Set is in use by an active Inbox, Share Link, Partner Channel upload destination, or Shared Trigger.
|
|
125
125
|
# @return [Boolean, nil] the field value, or nil when absent.
|
|
126
126
|
def in_use
|
|
127
127
|
@attributes[:in_use]
|
|
@@ -186,6 +186,19 @@ module Files
|
|
|
186
186
|
@attributes[:from_partner_managed_folder_paths] = value
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
+
# Form Field Sets attached to From Partner upload destinations.
|
|
190
|
+
# @return [Array<Hash>, nil] the field value, or nil when absent.
|
|
191
|
+
def from_partner_upload_forms
|
|
192
|
+
@attributes[:from_partner_upload_forms]
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
196
|
+
# @param value [Array<Hash>, nil] the new field value.
|
|
197
|
+
# @return [Array<Hash>, nil] the assigned value.
|
|
198
|
+
def from_partner_upload_forms=(value)
|
|
199
|
+
@attributes[:from_partner_upload_forms] = value
|
|
200
|
+
end
|
|
201
|
+
|
|
189
202
|
# Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
190
203
|
# @return [String, nil] the field value, or nil when absent.
|
|
191
204
|
def effective_to_partner_folder_name
|
|
@@ -258,6 +271,7 @@ module Files
|
|
|
258
271
|
# @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 Channel must remain one-way.
|
|
259
272
|
# @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
|
|
260
273
|
# @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
|
|
274
|
+
# @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Channel has no managed folders. Providing this replaces all assignments, and an empty array removes them.
|
|
261
275
|
# @option params [String] from_partner_route_path Optional route path for files uploaded by the Partner.
|
|
262
276
|
# @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
|
|
263
277
|
# @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
|
|
@@ -276,6 +290,7 @@ module Files
|
|
|
276
290
|
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) }
|
|
277
291
|
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)
|
|
278
292
|
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)
|
|
293
|
+
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)
|
|
279
294
|
raise InvalidParameterError.new("Bad parameter: from_partner_route_path must be an String") if !params[:from_partner_route_path].nil? and !params[:from_partner_route_path].is_a?(String)
|
|
280
295
|
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)
|
|
281
296
|
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)
|
|
@@ -395,6 +410,7 @@ module Files
|
|
|
395
410
|
# @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 Channel must remain one-way.
|
|
396
411
|
# @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
|
|
397
412
|
# @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
|
|
413
|
+
# @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Channel has no managed folders. Providing this replaces all assignments, and an empty array removes them.
|
|
398
414
|
# @option params [String] from_partner_route_path Optional route path for files uploaded by the Partner.
|
|
399
415
|
# @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
|
|
400
416
|
# @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
|
|
@@ -412,6 +428,7 @@ module Files
|
|
|
412
428
|
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) }
|
|
413
429
|
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)
|
|
414
430
|
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)
|
|
431
|
+
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)
|
|
415
432
|
raise InvalidParameterError.new("Bad parameter: from_partner_route_path must be an String") if !params[:from_partner_route_path].nil? and !params[:from_partner_route_path].is_a?(String)
|
|
416
433
|
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)
|
|
417
434
|
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)
|
|
@@ -434,6 +451,7 @@ module Files
|
|
|
434
451
|
# @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 Channel must remain one-way.
|
|
435
452
|
# @option params [String] from_partner_folder_name Optional Channel-level from-Partner folder name override.
|
|
436
453
|
# @option params [Array<String>] from_partner_managed_folder_paths Managed folder paths inside the from-Partner folder.
|
|
454
|
+
# @option params [Array<Hash>] from_partner_upload_forms Form Field Sets for From Partner upload destinations. Each entry has a `path` relative to the From Partner folder and a `form_field_set_id`. Use an empty `path` when the Channel has no managed folders. Providing this replaces all assignments, and an empty array removes them.
|
|
437
455
|
# @option params [String] from_partner_route_path Optional route path for files uploaded by the Partner.
|
|
438
456
|
# @option params [String] to_partner_folder_name Optional Channel-level to-Partner folder name override.
|
|
439
457
|
# @option params [Array<String>] to_partner_managed_folder_paths Managed folder paths inside the to-Partner folder.
|
|
@@ -452,6 +470,7 @@ module Files
|
|
|
452
470
|
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) }
|
|
453
471
|
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)
|
|
454
472
|
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)
|
|
473
|
+
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)
|
|
455
474
|
raise InvalidParameterError.new("Bad parameter: from_partner_route_path must be an String") if !params[:from_partner_route_path].nil? and !params[:from_partner_route_path].is_a?(String)
|
|
456
475
|
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)
|
|
457
476
|
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)
|