files.com 1.1.847 → 1.1.849
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 +3 -3
- data/doc/Files/AiTask.html +4 -4
- 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 +3 -3
- 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/ApplicationConnection.html +4002 -0
- data/doc/Files/As2IncomingMessage.html +2 -2
- data/doc/Files/As2OutgoingMessage.html +1 -1
- data/doc/Files/As2Partner.html +3 -3
- data/doc/Files/As2Station.html +3 -3
- 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 +1290 -699
- data/doc/Files/AutomationApplication.html +743 -0
- data/doc/Files/AutomationApplicationAction.html +1128 -0
- 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 +161 -84
- data/doc/Files/AutomationVersion.html +119 -42
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +6 -6
- data/doc/Files/ChatMessage.html +1 -1
- data/doc/Files/ChatSession.html +1 -1
- data/doc/Files/ChildSiteManagementPolicy.html +3 -3
- data/doc/Files/Clickwrap.html +3 -3
- 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 +7 -7
- data/doc/Files/DatabaseDestination.html +3 -3
- data/doc/Files/DatetimeParseError.html +1 -1
- data/doc/Files/DesktopConfigurationProfile.html +3 -3
- 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 +3 -3
- data/doc/Files/EventDeliveryAttempt.html +1 -1
- data/doc/Files/EventRecord.html +1 -1
- data/doc/Files/EventSubscription.html +3 -3
- data/doc/Files/EventTarget.html +3 -3
- data/doc/Files/ExavaultApiRequestLog.html +1 -1
- data/doc/Files/ExceededRuntimeLimitError.html +1 -1
- data/doc/Files/Expectation.html +4 -4
- data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
- data/doc/Files/ExpectationEvaluation.html +1 -1
- data/doc/Files/ExpectationIncident.html +4 -4
- 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 +12 -12
- data/doc/Files/FileAction.html +1 -1
- data/doc/Files/FileActionError.html +1 -1
- data/doc/Files/FileComment.html +3 -3
- data/doc/Files/FileCommentReaction.html +2 -2
- 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 +3 -3
- data/doc/Files/Group.html +3 -3
- data/doc/Files/GroupNotFoundError.html +1 -1
- data/doc/Files/GroupUser.html +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/doc/Files/List.html +1 -1
- data/doc/Files/Lock.html +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/doc/Files/PartnerChannel.html +3 -3
- data/doc/Files/PartnerChannelTemplate.html +3 -3
- data/doc/Files/PartnerChannelUploadForm.html +1 -1
- data/doc/Files/PartnerConnection.html +1 -1
- data/doc/Files/PartnerSite.html +2 -2
- data/doc/Files/PartnerSiteRequest.html +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +4 -4
- data/doc/Files/RemoteServer.html +5 -5
- data/doc/Files/RemoteServerConfigurationFile.html +1 -1
- data/doc/Files/RemoteServerCredential.html +3 -3
- data/doc/Files/RemoteServerErrorError.html +1 -1
- data/doc/Files/Request.html +2 -2
- 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 +3 -3
- data/doc/Files/ScheduledExport.html +3 -3
- 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 +3 -3
- 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 +3 -3
- data/doc/Files/ShareGroup.html +3 -3
- data/doc/Files/ShareGroupMember.html +1 -1
- data/doc/Files/SharedWorkflow.html +2 -2
- data/doc/Files/SiemHttpDestination.html +3 -3
- 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 +2 -2
- data/doc/Files/SiteWasRemovedError.html +1 -1
- data/doc/Files/SizableIO.html +1 -1
- data/doc/Files/Snapshot.html +4 -4
- data/doc/Files/SsoEvent.html +1 -1
- data/doc/Files/SsoStrategy.html +2 -2
- data/doc/Files/Status.html +1 -1
- data/doc/Files/Style.html +3 -3
- data/doc/Files/SubfolderLockedError.html +1 -1
- data/doc/Files/Sync.html +5 -5
- 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 +6 -6
- data/doc/Files/UserAdditionalEmailRecipient.html +3 -3
- 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 +3 -3
- data/doc/Files/UserNotFoundError.html +1 -1
- data/doc/Files/UserRequest.html +2 -2
- 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 +3 -3
- 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 +3119 -2671
- data/doc/top-level-namespace.html +1 -1
- data/docs/application_connection.md +146 -0
- data/docs/automation.md +33 -0
- data/docs/automation_application.md +17 -0
- data/docs/automation_application_action.md +38 -0
- data/docs/automation_run.md +2 -0
- data/docs/automation_version.md +3 -1
- data/docs/bundle.md +1 -0
- data/docs/custom_domain.md +4 -4
- data/lib/files.com/models/ai_assistant_personality.rb +2 -2
- data/lib/files.com/models/ai_task.rb +3 -3
- data/lib/files.com/models/api_key.rb +2 -2
- data/lib/files.com/models/application_connection.rb +323 -0
- data/lib/files.com/models/as2_incoming_message.rb +1 -1
- data/lib/files.com/models/as2_partner.rb +2 -2
- data/lib/files.com/models/as2_station.rb +2 -2
- data/lib/files.com/models/automation.rb +64 -4
- data/lib/files.com/models/automation_application.rb +44 -0
- data/lib/files.com/models/automation_application_action.rb +74 -0
- data/lib/files.com/models/automation_run.rb +8 -2
- data/lib/files.com/models/automation_version.rb +7 -1
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle.rb +4 -4
- data/lib/files.com/models/bundle_notification.rb +2 -2
- data/lib/files.com/models/certificate.rb +5 -5
- data/lib/files.com/models/child_site_management_policy.rb +2 -2
- data/lib/files.com/models/clickwrap.rb +2 -2
- data/lib/files.com/models/custom_domain.rb +6 -6
- data/lib/files.com/models/database_destination.rb +2 -2
- data/lib/files.com/models/desktop_configuration_profile.rb +2 -2
- data/lib/files.com/models/event_channel.rb +2 -2
- data/lib/files.com/models/event_subscription.rb +2 -2
- data/lib/files.com/models/event_target.rb +2 -2
- data/lib/files.com/models/expectation.rb +3 -3
- data/lib/files.com/models/expectation_incident.rb +3 -3
- data/lib/files.com/models/file.rb +11 -11
- data/lib/files.com/models/file_comment.rb +2 -2
- data/lib/files.com/models/file_comment_reaction.rb +1 -1
- data/lib/files.com/models/form_field_set.rb +2 -2
- data/lib/files.com/models/gpg_key.rb +2 -2
- data/lib/files.com/models/group.rb +2 -2
- data/lib/files.com/models/group_user.rb +2 -2
- data/lib/files.com/models/holiday_calendar.rb +2 -2
- data/lib/files.com/models/integration_centric_profile.rb +2 -2
- data/lib/files.com/models/key_lifecycle_rule.rb +2 -2
- data/lib/files.com/models/lock.rb +1 -1
- data/lib/files.com/models/metadata_category.rb +2 -2
- data/lib/files.com/models/notification.rb +2 -2
- data/lib/files.com/models/partner.rb +2 -2
- data/lib/files.com/models/partner_channel.rb +2 -2
- data/lib/files.com/models/partner_channel_template.rb +2 -2
- data/lib/files.com/models/partner_site.rb +1 -1
- data/lib/files.com/models/partner_site_request.rb +1 -1
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/public_key.rb +2 -2
- data/lib/files.com/models/remote_mount_backend.rb +3 -3
- data/lib/files.com/models/remote_server.rb +4 -4
- data/lib/files.com/models/remote_server_credential.rb +2 -2
- data/lib/files.com/models/request.rb +1 -1
- data/lib/files.com/models/schedule.rb +2 -2
- data/lib/files.com/models/scheduled_export.rb +2 -2
- data/lib/files.com/models/secret.rb +2 -2
- data/lib/files.com/models/sftp_host_key.rb +2 -2
- data/lib/files.com/models/share_group.rb +2 -2
- data/lib/files.com/models/shared_workflow.rb +1 -1
- data/lib/files.com/models/siem_http_destination.rb +2 -2
- data/lib/files.com/models/site_subdomain_redirect.rb +1 -1
- data/lib/files.com/models/snapshot.rb +3 -3
- data/lib/files.com/models/sso_strategy.rb +1 -1
- data/lib/files.com/models/style.rb +2 -2
- data/lib/files.com/models/sync.rb +4 -4
- data/lib/files.com/models/user.rb +5 -5
- data/lib/files.com/models/user_additional_email_recipient.rb +2 -2
- data/lib/files.com/models/user_lifecycle_rule.rb +2 -2
- data/lib/files.com/models/user_request.rb +1 -1
- data/lib/files.com/models/workspace.rb +2 -2
- data/lib/files.com.rb +3 -0
- metadata +10 -1
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
# Files::ApplicationConnection is the Ruby SDK's representation of Files.com API ApplicationConnection objects.
|
|
5
|
+
# Each instance keeps its API field values in +attributes+.
|
|
6
|
+
class ApplicationConnection
|
|
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
|
+
# Connection 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 that owns this connection.
|
|
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
|
+
# Connection display name.
|
|
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
|
+
# Application key from the Automation applications list.
|
|
60
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
61
|
+
def application_key
|
|
62
|
+
@attributes[:application_key]
|
|
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 application_key=(value)
|
|
69
|
+
@attributes[:application_key] = value
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# HTTPS origin for this connection.
|
|
73
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
74
|
+
def origin
|
|
75
|
+
@attributes[:origin]
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
79
|
+
# @param value [String, nil] the new field value.
|
|
80
|
+
# @return [String, nil] the assigned value.
|
|
81
|
+
def origin=(value)
|
|
82
|
+
@attributes[:origin] = value
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# ID of the credential in the Secret Store, if the connection uses a credential.
|
|
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
|
+
# Current credential type and placement, without the secret value.
|
|
99
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
100
|
+
def authentication
|
|
101
|
+
@attributes[:authentication]
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
105
|
+
# @param value [Hash, nil] the new field value.
|
|
106
|
+
# @return [Hash, nil] the assigned value.
|
|
107
|
+
def authentication=(value)
|
|
108
|
+
@attributes[:authentication] = value
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Time the connection was created.
|
|
112
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
113
|
+
def created_at
|
|
114
|
+
@attributes[:created_at]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Time the connection was updated.
|
|
118
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
119
|
+
def updated_at
|
|
120
|
+
@attributes[:updated_at]
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Update Application Connection
|
|
124
|
+
#
|
|
125
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
126
|
+
# @option params [String] name Connection display name.
|
|
127
|
+
# @option params [Integer] secret_id ID of the credential in the Secret Store, if the connection uses a credential.
|
|
128
|
+
# @return [Array(Files::Response, Hash)] the response and persisted request options.
|
|
129
|
+
# @raise [Files::MissingParameterError] if a required parameter or the current object primary key is missing.
|
|
130
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
131
|
+
# @raise [Files::Error] if the API request fails.
|
|
132
|
+
def update(params = {})
|
|
133
|
+
params = (params || {}).dup
|
|
134
|
+
params[:id] = @attributes[:id]
|
|
135
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
136
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
137
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
138
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
139
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
140
|
+
|
|
141
|
+
response, options = Api.send_request("/application_connections/#{params[:id]}", :patch, params, @options) { |reply| reply.require_object("ApplicationConnection") }
|
|
142
|
+
@attributes = response.data
|
|
143
|
+
@options = @options.merge(options)
|
|
144
|
+
[ response, options ]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Delete Application Connection
|
|
148
|
+
#
|
|
149
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
150
|
+
# @return [Array(Files::Response, Hash)] the response and persisted request options.
|
|
151
|
+
# @raise [Files::MissingParameterError] if a required parameter or the current object primary key is missing.
|
|
152
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
153
|
+
# @raise [Files::Error] if the API request fails.
|
|
154
|
+
def delete(params = {})
|
|
155
|
+
params = (params || {}).dup
|
|
156
|
+
params[:id] = @attributes[:id]
|
|
157
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
158
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
159
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
160
|
+
|
|
161
|
+
response, options = Api.send_request("/application_connections/#{params[:id]}", :delete, params, @options)
|
|
162
|
+
@options = @options.merge(options)
|
|
163
|
+
[ response, options ]
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Calls {#delete} and discards its response.
|
|
167
|
+
# @param (see #delete)
|
|
168
|
+
# @option (see #delete)
|
|
169
|
+
# @raise (see #delete)
|
|
170
|
+
# @return [nil]
|
|
171
|
+
def destroy(params = {})
|
|
172
|
+
delete(params)
|
|
173
|
+
nil
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Persists local attributes by creating or updating this record.
|
|
177
|
+
# @return [true] after the request succeeds.
|
|
178
|
+
# @raise [Files::Error] if the API request fails.
|
|
179
|
+
def save
|
|
180
|
+
if @attributes[:id]
|
|
181
|
+
update(@attributes)
|
|
182
|
+
else
|
|
183
|
+
new_obj = ApplicationConnection.create(@attributes, @options)
|
|
184
|
+
@attributes = new_obj.attributes
|
|
185
|
+
@options = @options.merge(new_obj.options)
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
true
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# List Application Connections
|
|
192
|
+
#
|
|
193
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
194
|
+
# @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.
|
|
195
|
+
# @option params [Integer] per_page Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
196
|
+
# @option params [Hash] sort_by If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `application_key`.
|
|
197
|
+
# @option params [Hash] filter If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `application_key`. Valid field combinations are `[ workspace_id, application_key ]`.
|
|
198
|
+
# @option params [Hash] filter_prefix If set, return records where the specified field is prefixed by the supplied value. Valid fields are `application_key`.
|
|
199
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
200
|
+
# @return [Files::List] a lazy first page; use #auto_paging_each to visit every page.
|
|
201
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
202
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
203
|
+
# @raise [Files::Error] if the API request fails.
|
|
204
|
+
def self.list(params = {}, options = {})
|
|
205
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if !params[:cursor].nil? and !params[:cursor].is_a?(String)
|
|
206
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if !params[:per_page].nil? and !params[:per_page].is_a?(Integer)
|
|
207
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if !params[:sort_by].nil? and !params[:sort_by].is_a?(Hash)
|
|
208
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if !params[:filter].nil? and !params[:filter].is_a?(Hash)
|
|
209
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if !params[:filter_prefix].nil? and !params[:filter_prefix].is_a?(Hash)
|
|
210
|
+
|
|
211
|
+
list_options = options.dup
|
|
212
|
+
List.new(ApplicationConnection, params) do |page_params, &check_page|
|
|
213
|
+
response, page_options = Api.send_request("/application_connections", :get, page_params, list_options, &check_page)
|
|
214
|
+
list_options = list_options.merge(page_options)
|
|
215
|
+
[ response, page_options ]
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# (see .list)
|
|
220
|
+
def self.all(params = {}, options = {})
|
|
221
|
+
list(params, options)
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Show Application Connection
|
|
225
|
+
#
|
|
226
|
+
# @param id [Integer] Application Connection ID.
|
|
227
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
228
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
229
|
+
# @return [Files::ApplicationConnection] the returned record.
|
|
230
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
231
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
232
|
+
# @raise [Files::Error] if the API request fails.
|
|
233
|
+
def self.find(id, params = {}, options = {})
|
|
234
|
+
params = (params || {}).dup
|
|
235
|
+
params[:id] = id
|
|
236
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
237
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
238
|
+
|
|
239
|
+
response, options = Api.send_request("/application_connections/#{params[:id]}", :get, params, options) { |reply| reply.require_object("ApplicationConnection") }
|
|
240
|
+
ApplicationConnection.new(response.data, options)
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# (see .find)
|
|
244
|
+
def self.get(id, params = {}, options = {})
|
|
245
|
+
find(id, params, options)
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Create Application Connection
|
|
249
|
+
#
|
|
250
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
251
|
+
# @option params [String] name Required. Connection display name.
|
|
252
|
+
# @option params [Integer] secret_id ID of the credential in the Secret Store, if the connection uses a credential.
|
|
253
|
+
# @option params [String] application_key Required. Application key from the Automation applications list.
|
|
254
|
+
# @option params [String] origin Required. HTTPS origin for this connection.
|
|
255
|
+
# @option params [Integer] workspace_id Workspace that owns this connection.
|
|
256
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
257
|
+
# @return [Files::ApplicationConnection] the returned record.
|
|
258
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
259
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
260
|
+
# @raise [Files::Error] if the API request fails.
|
|
261
|
+
def self.create(params = {}, options = {})
|
|
262
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
263
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
264
|
+
raise InvalidParameterError.new("Bad parameter: application_key must be an String") if !params[:application_key].nil? and !params[:application_key].is_a?(String)
|
|
265
|
+
raise InvalidParameterError.new("Bad parameter: origin must be an String") if !params[:origin].nil? and !params[:origin].is_a?(String)
|
|
266
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if !params[:workspace_id].nil? and !params[:workspace_id].is_a?(Integer)
|
|
267
|
+
raise MissingParameterError.new("Parameter missing: name") if params[:name].nil?
|
|
268
|
+
raise MissingParameterError.new("Parameter missing: application_key") if params[:application_key].nil?
|
|
269
|
+
raise MissingParameterError.new("Parameter missing: origin") if params[:origin].nil?
|
|
270
|
+
|
|
271
|
+
response, options = Api.send_request("/application_connections", :post, params, options) { |reply| reply.require_object("ApplicationConnection") }
|
|
272
|
+
ApplicationConnection.new(response.data, options)
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# Update Application Connection
|
|
276
|
+
#
|
|
277
|
+
# @param id [Integer] Application Connection ID.
|
|
278
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
279
|
+
# @option params [String] name Connection display name.
|
|
280
|
+
# @option params [Integer] secret_id ID of the credential in the Secret Store, if the connection uses a credential.
|
|
281
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
282
|
+
# @return [Files::ApplicationConnection] the returned record.
|
|
283
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
284
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
285
|
+
# @raise [Files::Error] if the API request fails.
|
|
286
|
+
def self.update(id, params = {}, options = {})
|
|
287
|
+
params = (params || {}).dup
|
|
288
|
+
params[:id] = id
|
|
289
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
290
|
+
raise InvalidParameterError.new("Bad parameter: name must be an String") if !params[:name].nil? and !params[:name].is_a?(String)
|
|
291
|
+
raise InvalidParameterError.new("Bad parameter: secret_id must be an Integer") if !params[:secret_id].nil? and !params[:secret_id].is_a?(Integer)
|
|
292
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
293
|
+
|
|
294
|
+
response, options = Api.send_request("/application_connections/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("ApplicationConnection") }
|
|
295
|
+
ApplicationConnection.new(response.data, options)
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Delete Application Connection
|
|
299
|
+
#
|
|
300
|
+
# @param id [Integer] Application Connection ID.
|
|
301
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
302
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
303
|
+
# @return [nil]
|
|
304
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
305
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
306
|
+
# @raise [Files::Error] if the API request fails.
|
|
307
|
+
def self.delete(id, params = {}, options = {})
|
|
308
|
+
params = (params || {}).dup
|
|
309
|
+
params[:id] = id
|
|
310
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
311
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
312
|
+
|
|
313
|
+
Api.send_request("/application_connections/#{params[:id]}", :delete, params, options)
|
|
314
|
+
nil
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# (see .delete)
|
|
318
|
+
def self.destroy(id, params = {}, options = {})
|
|
319
|
+
delete(id, params, options)
|
|
320
|
+
nil
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
end
|
|
@@ -247,7 +247,7 @@ module Files
|
|
|
247
247
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
248
248
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
249
249
|
|
|
250
|
-
response, options = Api.send_request("/as2_incoming_messages/#{
|
|
250
|
+
response, options = Api.send_request("/as2_incoming_messages/#{params[:id]}/replay", :post, params, @options)
|
|
251
251
|
@options = @options.merge(options)
|
|
252
252
|
[ response, options ]
|
|
253
253
|
end
|
|
@@ -356,7 +356,7 @@ module Files
|
|
|
356
356
|
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if !params[:pkcs12_password].nil? and !params[:pkcs12_password].is_a?(String)
|
|
357
357
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
358
358
|
|
|
359
|
-
response, options = Api.send_request("/as2_partners/#{
|
|
359
|
+
response, options = Api.send_request("/as2_partners/#{params[:id]}", :patch, params, @options) { |reply| reply.require_object("As2Partner") }
|
|
360
360
|
@attributes = response.data
|
|
361
361
|
@options = @options.merge(options)
|
|
362
362
|
[ response, options ]
|
|
@@ -376,7 +376,7 @@ module Files
|
|
|
376
376
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
377
377
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
378
378
|
|
|
379
|
-
response, options = Api.send_request("/as2_partners/#{
|
|
379
|
+
response, options = Api.send_request("/as2_partners/#{params[:id]}", :delete, params, @options)
|
|
380
380
|
@options = @options.merge(options)
|
|
381
381
|
[ response, options ]
|
|
382
382
|
end
|
|
@@ -290,7 +290,7 @@ module Files
|
|
|
290
290
|
raise InvalidParameterError.new("Bad parameter: pkcs12_password must be an String") if !params[:pkcs12_password].nil? and !params[:pkcs12_password].is_a?(String)
|
|
291
291
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
292
292
|
|
|
293
|
-
response, options = Api.send_request("/as2_stations/#{
|
|
293
|
+
response, options = Api.send_request("/as2_stations/#{params[:id]}", :patch, params, @options) { |reply| reply.require_object("As2Station") }
|
|
294
294
|
@attributes = response.data
|
|
295
295
|
@options = @options.merge(options)
|
|
296
296
|
[ response, options ]
|
|
@@ -310,7 +310,7 @@ module Files
|
|
|
310
310
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
311
311
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
312
312
|
|
|
313
|
-
response, options = Api.send_request("/as2_stations/#{
|
|
313
|
+
response, options = Api.send_request("/as2_stations/#{params[:id]}", :delete, params, @options)
|
|
314
314
|
@options = @options.merge(options)
|
|
315
315
|
[ response, options ]
|
|
316
316
|
end
|
|
@@ -134,6 +134,19 @@ module Files
|
|
|
134
134
|
@attributes[:definition] = value
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
+
# Normalized application action metadata keyed by pinned action fingerprint.
|
|
138
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
139
|
+
def application_actions
|
|
140
|
+
@attributes[:application_actions]
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
144
|
+
# @param value [Hash, nil] the new field value.
|
|
145
|
+
# @return [Hash, nil] the assigned value.
|
|
146
|
+
def application_actions=(value)
|
|
147
|
+
@attributes[:application_actions] = value
|
|
148
|
+
end
|
|
149
|
+
|
|
137
150
|
# If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
138
151
|
# @return [String, nil] the field value, or nil when absent.
|
|
139
152
|
def destination_replace_from
|
|
@@ -694,7 +707,7 @@ module Files
|
|
|
694
707
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
695
708
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
696
709
|
|
|
697
|
-
response, options = Api.send_request("/automations/#{
|
|
710
|
+
response, options = Api.send_request("/automations/#{params[:id]}/upgrade", :post, params, @options)
|
|
698
711
|
@options = @options.merge(options)
|
|
699
712
|
[ response, options ]
|
|
700
713
|
end
|
|
@@ -715,7 +728,7 @@ module Files
|
|
|
715
728
|
raise InvalidParameterError.new("Bad parameter: items must be an Array") if !params[:items].nil? and !params[:items].is_a?(Array)
|
|
716
729
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
717
730
|
|
|
718
|
-
response, options = Api.send_request("/automations/#{
|
|
731
|
+
response, options = Api.send_request("/automations/#{params[:id]}/manual_run", :post, params, @options)
|
|
719
732
|
@options = @options.merge(options)
|
|
720
733
|
[ response, options ]
|
|
721
734
|
end
|
|
@@ -812,7 +825,7 @@ module Files
|
|
|
812
825
|
raise InvalidParameterError.new("Bad parameter: automation must be an String") if !params[:automation].nil? and !params[:automation].is_a?(String)
|
|
813
826
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
814
827
|
|
|
815
|
-
response, options = Api.send_request("/automations/#{
|
|
828
|
+
response, options = Api.send_request("/automations/#{params[:id]}", :patch, params, @options) { |reply| reply.require_object("Automation") }
|
|
816
829
|
@attributes = response.data
|
|
817
830
|
@options = @options.merge(options)
|
|
818
831
|
[ response, options ]
|
|
@@ -832,7 +845,7 @@ module Files
|
|
|
832
845
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
833
846
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
834
847
|
|
|
835
|
-
response, options = Api.send_request("/automations/#{
|
|
848
|
+
response, options = Api.send_request("/automations/#{params[:id]}", :delete, params, @options)
|
|
836
849
|
@options = @options.merge(options)
|
|
837
850
|
[ response, options ]
|
|
838
851
|
end
|
|
@@ -925,6 +938,53 @@ module Files
|
|
|
925
938
|
find(id, params, options)
|
|
926
939
|
end
|
|
927
940
|
|
|
941
|
+
# List actions available for an Automation application
|
|
942
|
+
#
|
|
943
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
944
|
+
# @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.
|
|
945
|
+
# @option params [Integer] per_page Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
946
|
+
# @option params [String] application_key Required. Application key returned by the Automation applications list.
|
|
947
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
948
|
+
# @return [Files::List] a lazy first page; use #auto_paging_each to visit every page.
|
|
949
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
950
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
951
|
+
# @raise [Files::Error] if the API request fails.
|
|
952
|
+
def self.list_application_actions(params = {}, options = {})
|
|
953
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if !params[:cursor].nil? and !params[:cursor].is_a?(String)
|
|
954
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if !params[:per_page].nil? and !params[:per_page].is_a?(Integer)
|
|
955
|
+
raise InvalidParameterError.new("Bad parameter: application_key must be an String") if !params[:application_key].nil? and !params[:application_key].is_a?(String)
|
|
956
|
+
raise MissingParameterError.new("Parameter missing: application_key") if params[:application_key].nil?
|
|
957
|
+
|
|
958
|
+
list_options = options.dup
|
|
959
|
+
List.new(AutomationApplicationAction, params) do |page_params, &check_page|
|
|
960
|
+
response, page_options = Api.send_request("/automations/application_actions", :get, page_params, list_options, &check_page)
|
|
961
|
+
list_options = list_options.merge(page_options)
|
|
962
|
+
[ response, page_options ]
|
|
963
|
+
end
|
|
964
|
+
end
|
|
965
|
+
|
|
966
|
+
# List applications available in the Automation builder
|
|
967
|
+
#
|
|
968
|
+
# @param params [Hash] API parameters, keyed by Symbol.
|
|
969
|
+
# @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.
|
|
970
|
+
# @option params [Integer] per_page Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
971
|
+
# @param options [Hash] Request configuration; see {Files::Api.send_request}.
|
|
972
|
+
# @return [Files::List] a lazy first page; use #auto_paging_each to visit every page.
|
|
973
|
+
# @raise [Files::MissingParameterError] if a required parameter is missing.
|
|
974
|
+
# @raise [Files::InvalidParameterError] if a parameter has an invalid Ruby type.
|
|
975
|
+
# @raise [Files::Error] if the API request fails.
|
|
976
|
+
def self.list_applications(params = {}, options = {})
|
|
977
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if !params[:cursor].nil? and !params[:cursor].is_a?(String)
|
|
978
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if !params[:per_page].nil? and !params[:per_page].is_a?(Integer)
|
|
979
|
+
|
|
980
|
+
list_options = options.dup
|
|
981
|
+
List.new(AutomationApplication, params) do |page_params, &check_page|
|
|
982
|
+
response, page_options = Api.send_request("/automations/applications", :get, page_params, list_options, &check_page)
|
|
983
|
+
list_options = list_options.merge(page_options)
|
|
984
|
+
[ response, page_options ]
|
|
985
|
+
end
|
|
986
|
+
end
|
|
987
|
+
|
|
928
988
|
# Show the Automation v2 authoring schema and active node catalog
|
|
929
989
|
#
|
|
930
990
|
# @param params [Hash] API parameters, keyed by Symbol.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
# Files::AutomationApplication is the Ruby SDK's representation of Files.com API AutomationApplication objects.
|
|
5
|
+
# Each instance keeps its API field values in +attributes+.
|
|
6
|
+
class AutomationApplication
|
|
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
|
+
# Stable application key.
|
|
21
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
22
|
+
def key
|
|
23
|
+
@attributes[:key]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Application display name.
|
|
27
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
28
|
+
def name
|
|
29
|
+
@attributes[:name]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Application branding key.
|
|
33
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
34
|
+
def brand
|
|
35
|
+
@attributes[:brand]
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# URL of the application's square logo image.
|
|
39
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
40
|
+
def logo_url
|
|
41
|
+
@attributes[:logo_url]
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
# Files::AutomationApplicationAction is the Ruby SDK's representation of Files.com API AutomationApplicationAction objects.
|
|
5
|
+
# Each instance keeps its API field values in +attributes+.
|
|
6
|
+
class AutomationApplicationAction
|
|
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
|
+
# Application that provides the action.
|
|
21
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
22
|
+
def application
|
|
23
|
+
@attributes[:application]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Stable action key within the application.
|
|
27
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
28
|
+
def key
|
|
29
|
+
@attributes[:key]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Action display name.
|
|
33
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
34
|
+
def name
|
|
35
|
+
@attributes[:name]
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# What the action does.
|
|
39
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
40
|
+
def description
|
|
41
|
+
@attributes[:description]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Fingerprint of the action contract shown to the author.
|
|
45
|
+
# @return [String, nil] the field value, or nil when absent.
|
|
46
|
+
def fingerprint
|
|
47
|
+
@attributes[:fingerprint]
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Normalized input fields.
|
|
51
|
+
# @return [Array<Hash>, nil] the field value, or nil when absent.
|
|
52
|
+
def fields
|
|
53
|
+
@attributes[:fields]
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Normalized output schema.
|
|
57
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
58
|
+
def output
|
|
59
|
+
@attributes[:output]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# HTTPS origins supported by this action.
|
|
63
|
+
# @return [Array<String>, nil] the field value, or nil when absent.
|
|
64
|
+
def origins
|
|
65
|
+
@attributes[:origins]
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Authentication types accepted by this action.
|
|
69
|
+
# @return [Array<Hash>, nil] the field value, or nil when absent.
|
|
70
|
+
def authentication
|
|
71
|
+
@attributes[:authentication]
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -143,6 +143,12 @@ module Files
|
|
|
143
143
|
@attributes[:definition]
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
+
# Normalized application action metadata keyed by pinned action fingerprint.
|
|
147
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
148
|
+
def application_actions
|
|
149
|
+
@attributes[:application_actions]
|
|
150
|
+
end
|
|
151
|
+
|
|
146
152
|
# Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
|
|
147
153
|
# @return [Hash, nil] the field value, or nil when absent.
|
|
148
154
|
def node_states
|
|
@@ -184,7 +190,7 @@ module Files
|
|
|
184
190
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
185
191
|
raise MissingParameterError.new("Parameter missing: node_id") if params[:node_id].nil?
|
|
186
192
|
|
|
187
|
-
response, options = Api.send_request("/automation_runs/#{
|
|
193
|
+
response, options = Api.send_request("/automation_runs/#{params[:id]}/rerun", :post, params, @options)
|
|
188
194
|
@options = @options.merge(options)
|
|
189
195
|
[ response, options ]
|
|
190
196
|
end
|
|
@@ -203,7 +209,7 @@ module Files
|
|
|
203
209
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
204
210
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
205
211
|
|
|
206
|
-
response, options = Api.send_request("/automation_runs/#{
|
|
212
|
+
response, options = Api.send_request("/automation_runs/#{params[:id]}/cancel", :post, params, @options)
|
|
207
213
|
@options = @options.merge(options)
|
|
208
214
|
[ response, options ]
|
|
209
215
|
end
|
|
@@ -71,6 +71,12 @@ module Files
|
|
|
71
71
|
@attributes[:definition]
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
+
# Normalized application action metadata keyed by pinned action fingerprint.
|
|
75
|
+
# @return [Hash, nil] the field value, or nil when absent.
|
|
76
|
+
def application_actions
|
|
77
|
+
@attributes[:application_actions]
|
|
78
|
+
end
|
|
79
|
+
|
|
74
80
|
# Restore an Automation v2 definition as a new current version
|
|
75
81
|
#
|
|
76
82
|
# @param params [Hash] API parameters, keyed by Symbol.
|
|
@@ -85,7 +91,7 @@ module Files
|
|
|
85
91
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
86
92
|
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
87
93
|
|
|
88
|
-
response, options = Api.send_request("/automation_versions/#{
|
|
94
|
+
response, options = Api.send_request("/automation_versions/#{params[:id]}/restore", :post, params, @options)
|
|
89
95
|
@options = @options.merge(options)
|
|
90
96
|
[ response, options ]
|
|
91
97
|
end
|