files.com 1.1.839 → 1.1.841
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 +422 -211
- 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 +489 -278
- 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 +1 -1
- data/doc/Files/AutomationVersion.html +2260 -0
- 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/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 +478 -267
- 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 +1 -1
- 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 +1 -1
- data/doc/Files/PartnerChannelTemplate.html +1 -1
- 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 +407 -196
- 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/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 +1 -1
- 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 +420 -209
- 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 +1 -1
- 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 +78 -78
- data/doc/_index.html +8 -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 +1650 -1426
- data/doc/top-level-namespace.html +1 -1
- data/docs/ai_task.md +8 -0
- data/docs/automation.md +12 -4
- data/docs/automation_version.md +109 -0
- data/docs/expectation.md +8 -0
- data/docs/scheduled_export.md +8 -0
- data/docs/sync.md +8 -0
- data/lib/files.com/models/ai_task.rb +19 -0
- data/lib/files.com/models/automation.rb +23 -4
- data/lib/files.com/models/automation_version.rb +168 -0
- data/lib/files.com/models/expectation.rb +19 -0
- data/lib/files.com/models/scheduled_export.rb +19 -0
- data/lib/files.com/models/sync.rb +19 -0
- data/lib/files.com.rb +1 -0
- metadata +4 -1
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
<div id="footer">
|
|
105
|
-
Generated on Tue Nov 24
|
|
105
|
+
Generated on Tue Nov 24 12:37:11 2026 by
|
|
106
106
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
107
107
|
0.9.45 (ruby-4.0.10).
|
|
108
108
|
</div>
|
data/docs/ai_task.md
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
3,
|
|
30
30
|
5
|
|
31
31
|
],
|
|
32
|
+
"schedule_interval_minutes": 15,
|
|
32
33
|
"schedule_times_of_day": [
|
|
33
34
|
"06:30"
|
|
34
35
|
],
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
59
60
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
60
61
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
62
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
61
63
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the AI Task schedule.
|
|
62
64
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
63
65
|
* `holiday_region` (string): Optional holiday region used by the AI Task schedule.
|
|
@@ -115,6 +117,7 @@ Files::AiTask.create(
|
|
|
115
117
|
recurring_days: [1,15],
|
|
116
118
|
schedule_id: 1,
|
|
117
119
|
schedule_days_of_week: [1,3,5],
|
|
120
|
+
schedule_interval_minutes: 15,
|
|
118
121
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
119
122
|
schedule_times_of_day: ["06:30"],
|
|
120
123
|
source: "*.pdf",
|
|
@@ -138,6 +141,7 @@ Files::AiTask.create(
|
|
|
138
141
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
139
142
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
140
143
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
144
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
141
145
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
142
146
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the AI Task schedule.
|
|
143
147
|
* `source` (string): Source glob used with `path` for action-triggered AI Tasks.
|
|
@@ -177,6 +181,7 @@ Files::AiTask.update(id,
|
|
|
177
181
|
recurring_days: [1,15],
|
|
178
182
|
schedule_id: 1,
|
|
179
183
|
schedule_days_of_week: [1,3,5],
|
|
184
|
+
schedule_interval_minutes: 15,
|
|
180
185
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
181
186
|
schedule_times_of_day: ["06:30"],
|
|
182
187
|
source: "*.pdf",
|
|
@@ -201,6 +206,7 @@ Files::AiTask.update(id,
|
|
|
201
206
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
202
207
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
203
208
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
209
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
204
210
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
205
211
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the AI Task schedule.
|
|
206
212
|
* `source` (string): Source glob used with `path` for action-triggered AI Tasks.
|
|
@@ -257,6 +263,7 @@ ai_task.update(
|
|
|
257
263
|
recurring_days: [1,15],
|
|
258
264
|
schedule_id: 1,
|
|
259
265
|
schedule_days_of_week: [1,3,5],
|
|
266
|
+
schedule_interval_minutes: 15,
|
|
260
267
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
261
268
|
schedule_times_of_day: ["06:30"],
|
|
262
269
|
source: "*.pdf",
|
|
@@ -281,6 +288,7 @@ ai_task.update(
|
|
|
281
288
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
282
289
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
283
290
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
291
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
284
292
|
* `schedule_time_zone` (string): Time zone used by the AI Task schedule.
|
|
285
293
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the AI Task schedule.
|
|
286
294
|
* `source` (string): Source glob used with `path` for action-triggered AI Tasks.
|
data/docs/automation.md
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
2,
|
|
99
99
|
4
|
|
100
100
|
],
|
|
101
|
+
"schedule_interval_minutes": 15,
|
|
101
102
|
"schedule_times_of_day": [
|
|
102
103
|
"06:30",
|
|
103
104
|
"14:30"
|
|
@@ -161,6 +162,7 @@
|
|
|
161
162
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
|
162
163
|
* `human_readable_schedule` (string): If trigger is `custom_schedule` or `daily` with times, Human readable schedule description for when the automation should be run.
|
|
163
164
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0 is Sunday, 1 is Monday, etc.
|
|
165
|
+
* `schedule_interval_minutes` (int64): 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.
|
|
164
166
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
165
167
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
166
168
|
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
|
@@ -170,7 +172,7 @@
|
|
|
170
172
|
* `user_id` (int64): User ID of the Automation's creator.
|
|
171
173
|
* `user_ids` (array(int64)): IDs of Users for the Automation (i.e. who to Request File from)
|
|
172
174
|
* `value` (object): A Hash of attributes specific to the automation type.
|
|
173
|
-
* `webhook_url` (string): If trigger is `webhook`, this is the URL
|
|
175
|
+
* `webhook_url` (string): If trigger is `webhook`, this is the URL to start the Automation. For a v2 webhook configured to upload a file, POST multipart form data with a single `file` part or send a raw body with the `X-Files-Filename` header. A JSON body is saved as `payload.json` when the header is omitted.
|
|
174
176
|
* `holiday_region` (string): Skip the automation if there is a formal, observed holiday for this region.
|
|
175
177
|
|
|
176
178
|
|
|
@@ -233,6 +235,7 @@ Files::Automation.create(
|
|
|
233
235
|
group_ids: [1,2],
|
|
234
236
|
schedule_id: 1,
|
|
235
237
|
schedule_days_of_week: [0,1,3],
|
|
238
|
+
schedule_interval_minutes: 15,
|
|
236
239
|
schedule_times_of_day: ["7:30","11:30"],
|
|
237
240
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
238
241
|
holiday_region: "us_dc",
|
|
@@ -274,7 +277,8 @@ Files::Automation.create(
|
|
|
274
277
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
275
278
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
276
279
|
* `schedule_days_of_week` (array(int64)): 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.
|
|
277
|
-
* `
|
|
280
|
+
* `schedule_interval_minutes` (int64): 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.
|
|
281
|
+
* `schedule_times_of_day` (array(string)): 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.
|
|
278
282
|
* `schedule_time_zone` (string): Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
279
283
|
* `holiday_region` (string): Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
280
284
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -347,6 +351,7 @@ Files::Automation.update(id,
|
|
|
347
351
|
group_ids: [1,2],
|
|
348
352
|
schedule_id: 1,
|
|
349
353
|
schedule_days_of_week: [0,1,3],
|
|
354
|
+
schedule_interval_minutes: 15,
|
|
350
355
|
schedule_times_of_day: ["7:30","11:30"],
|
|
351
356
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
352
357
|
holiday_region: "us_dc",
|
|
@@ -388,7 +393,8 @@ Files::Automation.update(id,
|
|
|
388
393
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
389
394
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
390
395
|
* `schedule_days_of_week` (array(int64)): 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.
|
|
391
|
-
* `
|
|
396
|
+
* `schedule_interval_minutes` (int64): 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.
|
|
397
|
+
* `schedule_times_of_day` (array(string)): 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.
|
|
392
398
|
* `schedule_time_zone` (string): Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
393
399
|
* `holiday_region` (string): Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
394
400
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -479,6 +485,7 @@ automation.update(
|
|
|
479
485
|
group_ids: [1,2],
|
|
480
486
|
schedule_id: 1,
|
|
481
487
|
schedule_days_of_week: [0,1,3],
|
|
488
|
+
schedule_interval_minutes: 15,
|
|
482
489
|
schedule_times_of_day: ["7:30","11:30"],
|
|
483
490
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
484
491
|
holiday_region: "us_dc",
|
|
@@ -520,7 +527,8 @@ automation.update(
|
|
|
520
527
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
521
528
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
522
529
|
* `schedule_days_of_week` (array(int64)): 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.
|
|
523
|
-
* `
|
|
530
|
+
* `schedule_interval_minutes` (int64): 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.
|
|
531
|
+
* `schedule_times_of_day` (array(string)): 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.
|
|
524
532
|
* `schedule_time_zone` (string): Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
525
533
|
* `holiday_region` (string): Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
526
534
|
* `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# AutomationVersion
|
|
2
|
+
|
|
3
|
+
## Example AutomationVersion Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"automation_id": 1,
|
|
9
|
+
"workspace_id": 1,
|
|
10
|
+
"version": 1,
|
|
11
|
+
"created_at": "2000-01-01T01:00:00Z",
|
|
12
|
+
"user_id": 1,
|
|
13
|
+
"username": "example",
|
|
14
|
+
"api_key_id": 1,
|
|
15
|
+
"definition": {
|
|
16
|
+
"schema_version": 1,
|
|
17
|
+
"nodes": [
|
|
18
|
+
{
|
|
19
|
+
"id": "trigger",
|
|
20
|
+
"type": "trigger_manual"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "create_reports",
|
|
24
|
+
"type": "create_folder",
|
|
25
|
+
"config": {
|
|
26
|
+
"destinations": [
|
|
27
|
+
"reports/"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"edges": [
|
|
33
|
+
{
|
|
34
|
+
"from": "trigger",
|
|
35
|
+
"to": "create_reports"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
* `id` (int64): Automation revision ID.
|
|
43
|
+
* `automation_id` (int64): ID of the Automation that owns this revision.
|
|
44
|
+
* `workspace_id` (int64): Workspace that owns the Automation. Zero is the Default Workspace.
|
|
45
|
+
* `version` (int64): Revision number within the Automation.
|
|
46
|
+
* `created_at` (date-time): Time the revision was saved.
|
|
47
|
+
* `user_id` (int64): ID of the user who saved the revision, when available.
|
|
48
|
+
* `username` (string): Username recorded when the revision was saved, when available.
|
|
49
|
+
* `api_key_id` (int64): ID of the API key used to save the revision, when available.
|
|
50
|
+
* `definition` (object): Saved Automation v2 graph definition. Included when retrieving a single revision.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## List Automation Versions
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Files::AutomationVersion.list(
|
|
59
|
+
automation_id: 1
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
* `cursor` (string): 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.
|
|
66
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
67
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
68
|
+
* `automation_id` (int64): Required - ID of the Automation that owns this revision.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Show Automation Version
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
Files::AutomationVersion.find(id)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Parameters
|
|
80
|
+
|
|
81
|
+
* `id` (int64): Required - Automation Version ID.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Restore an Automation v2 definition as a new current version
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Files::AutomationVersion.restore(id)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
* `id` (int64): Required - Automation Version ID.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Restore an Automation v2 definition as a new current version
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
automation_version = Files::AutomationVersion.find(id)
|
|
103
|
+
|
|
104
|
+
automation_version.restore
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Parameters
|
|
108
|
+
|
|
109
|
+
* `id` (int64): Required - Automation Version ID.
|
data/docs/expectation.md
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
3,
|
|
27
27
|
5
|
|
28
28
|
],
|
|
29
|
+
"schedule_interval_minutes": 15,
|
|
29
30
|
"schedule_times_of_day": [
|
|
30
31
|
"06:00"
|
|
31
32
|
],
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
76
77
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
77
78
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
79
|
+
* `schedule_interval_minutes` (int64): Set a delivery deadline every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
78
80
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
79
81
|
* `schedule_time_zone` (string): Time zone used by the Expectation schedule.
|
|
80
82
|
* `holiday_region` (string): Optional holiday region used by the Expectation schedule.
|
|
@@ -139,6 +141,7 @@ Files::Expectation.create(
|
|
|
139
141
|
recurring_days: [1,15],
|
|
140
142
|
schedule_id: 1,
|
|
141
143
|
schedule_days_of_week: [1,3,5],
|
|
144
|
+
schedule_interval_minutes: 15,
|
|
142
145
|
schedule_times_of_day: ["06:00"],
|
|
143
146
|
schedule_time_zone: "UTC",
|
|
144
147
|
holiday_region: "us",
|
|
@@ -166,6 +169,7 @@ Files::Expectation.create(
|
|
|
166
169
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
167
170
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
168
171
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
172
|
+
* `schedule_interval_minutes` (int64): Set a delivery deadline every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
169
173
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
170
174
|
* `schedule_time_zone` (string): Time zone used by the Expectation schedule.
|
|
171
175
|
* `holiday_region` (string): Optional holiday region used by the Expectation schedule.
|
|
@@ -209,6 +213,7 @@ Files::Expectation.update(id,
|
|
|
209
213
|
recurring_days: [1,15],
|
|
210
214
|
schedule_id: 1,
|
|
211
215
|
schedule_days_of_week: [1,3,5],
|
|
216
|
+
schedule_interval_minutes: 15,
|
|
212
217
|
schedule_times_of_day: ["06:00"],
|
|
213
218
|
schedule_time_zone: "UTC",
|
|
214
219
|
holiday_region: "us",
|
|
@@ -237,6 +242,7 @@ Files::Expectation.update(id,
|
|
|
237
242
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
238
243
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
239
244
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
245
|
+
* `schedule_interval_minutes` (int64): Set a delivery deadline every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
240
246
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
241
247
|
* `schedule_time_zone` (string): Time zone used by the Expectation schedule.
|
|
242
248
|
* `holiday_region` (string): Optional holiday region used by the Expectation schedule.
|
|
@@ -297,6 +303,7 @@ expectation.update(
|
|
|
297
303
|
recurring_days: [1,15],
|
|
298
304
|
schedule_id: 1,
|
|
299
305
|
schedule_days_of_week: [1,3,5],
|
|
306
|
+
schedule_interval_minutes: 15,
|
|
300
307
|
schedule_times_of_day: ["06:00"],
|
|
301
308
|
schedule_time_zone: "UTC",
|
|
302
309
|
holiday_region: "us",
|
|
@@ -325,6 +332,7 @@ expectation.update(
|
|
|
325
332
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
326
333
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
|
|
327
334
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
335
|
+
* `schedule_interval_minutes` (int64): Set a delivery deadline every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
328
336
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the Expectation schedule.
|
|
329
337
|
* `schedule_time_zone` (string): Time zone used by the Expectation schedule.
|
|
330
338
|
* `holiday_region` (string): Optional holiday region used by the Expectation schedule.
|
data/docs/scheduled_export.md
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
3,
|
|
27
27
|
5
|
|
28
28
|
],
|
|
29
|
+
"schedule_interval_minutes": 15,
|
|
29
30
|
"schedule_times_of_day": [
|
|
30
31
|
"06:30"
|
|
31
32
|
],
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
54
55
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
55
56
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
57
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
56
58
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
57
59
|
* `schedule_time_zone` (string): Time zone used by the scheduled export schedule.
|
|
58
60
|
* `holiday_region` (string): Optional holiday region used by the scheduled export schedule.
|
|
@@ -111,6 +113,7 @@ Files::ScheduledExport.create(
|
|
|
111
113
|
recurring_days: [1,15],
|
|
112
114
|
schedule_id: 1,
|
|
113
115
|
schedule_days_of_week: [1,3,5],
|
|
116
|
+
schedule_interval_minutes: 15,
|
|
114
117
|
schedule_times_of_day: ["06:30"],
|
|
115
118
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
116
119
|
holiday_region: "us"
|
|
@@ -130,6 +133,7 @@ Files::ScheduledExport.create(
|
|
|
130
133
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
131
134
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
132
135
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
136
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
133
137
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
134
138
|
* `schedule_time_zone` (string): Time zone used by the scheduled export schedule.
|
|
135
139
|
* `holiday_region` (string): Optional holiday region used by the scheduled export schedule.
|
|
@@ -152,6 +156,7 @@ Files::ScheduledExport.update(id,
|
|
|
152
156
|
recurring_days: [1,15],
|
|
153
157
|
schedule_id: 1,
|
|
154
158
|
schedule_days_of_week: [1,3,5],
|
|
159
|
+
schedule_interval_minutes: 15,
|
|
155
160
|
schedule_times_of_day: ["06:30"],
|
|
156
161
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
157
162
|
holiday_region: "us"
|
|
@@ -172,6 +177,7 @@ Files::ScheduledExport.update(id,
|
|
|
172
177
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
173
178
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
174
179
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
180
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
175
181
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
176
182
|
* `schedule_time_zone` (string): Time zone used by the scheduled export schedule.
|
|
177
183
|
* `holiday_region` (string): Optional holiday region used by the scheduled export schedule.
|
|
@@ -209,6 +215,7 @@ scheduled_export.update(
|
|
|
209
215
|
recurring_days: [1,15],
|
|
210
216
|
schedule_id: 1,
|
|
211
217
|
schedule_days_of_week: [1,3,5],
|
|
218
|
+
schedule_interval_minutes: 15,
|
|
212
219
|
schedule_times_of_day: ["06:30"],
|
|
213
220
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
214
221
|
holiday_region: "us"
|
|
@@ -229,6 +236,7 @@ scheduled_export.update(
|
|
|
229
236
|
* `recurring_days` (array(int64)): If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
230
237
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
|
|
231
238
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
239
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
232
240
|
* `schedule_times_of_day` (array(string)): Times of day in HH:MM format for the scheduled export schedule.
|
|
233
241
|
* `schedule_time_zone` (string): Time zone used by the scheduled export schedule.
|
|
234
242
|
* `holiday_region` (string): Optional holiday region used by the scheduled export schedule.
|
data/docs/sync.md
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
2,
|
|
45
45
|
4
|
|
46
46
|
],
|
|
47
|
+
"schedule_interval_minutes": 15,
|
|
47
48
|
"schedule_times_of_day": [
|
|
48
49
|
"06:30",
|
|
49
50
|
"14:30"
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
120
121
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
121
122
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
123
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
122
124
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
123
125
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
124
126
|
* `holiday_region` (string): Skip the sync if there is a formal, observed holiday for this region.
|
|
@@ -175,6 +177,7 @@ Files::Sync.create(
|
|
|
175
177
|
recurring_days: [1,15],
|
|
176
178
|
schedule_id: 1,
|
|
177
179
|
schedule_days_of_week: [0,2,4],
|
|
180
|
+
schedule_interval_minutes: 15,
|
|
178
181
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
179
182
|
schedule_times_of_day: ["06:30","14:30"],
|
|
180
183
|
src_path: "example",
|
|
@@ -204,6 +207,7 @@ Files::Sync.create(
|
|
|
204
207
|
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
205
208
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
206
209
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
210
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
207
211
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
208
212
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
209
213
|
* `src_path` (string): Absolute source path for the sync
|
|
@@ -262,6 +266,7 @@ Files::Sync.update(id,
|
|
|
262
266
|
recurring_days: [1,15],
|
|
263
267
|
schedule_id: 1,
|
|
264
268
|
schedule_days_of_week: [0,2,4],
|
|
269
|
+
schedule_interval_minutes: 15,
|
|
265
270
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
266
271
|
schedule_times_of_day: ["06:30","14:30"],
|
|
267
272
|
src_path: "example",
|
|
@@ -291,6 +296,7 @@ Files::Sync.update(id,
|
|
|
291
296
|
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
292
297
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
293
298
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
299
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
294
300
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
295
301
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
296
302
|
* `src_path` (string): Absolute source path for the sync
|
|
@@ -367,6 +373,7 @@ sync.update(
|
|
|
367
373
|
recurring_days: [1,15],
|
|
368
374
|
schedule_id: 1,
|
|
369
375
|
schedule_days_of_week: [0,2,4],
|
|
376
|
+
schedule_interval_minutes: 15,
|
|
370
377
|
schedule_time_zone: "Eastern Time (US & Canada)",
|
|
371
378
|
schedule_times_of_day: ["06:30","14:30"],
|
|
372
379
|
src_path: "example",
|
|
@@ -396,6 +403,7 @@ sync.update(
|
|
|
396
403
|
* `recurring_days` (array(int64)): If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
397
404
|
* `schedule_id` (int64): If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
|
|
398
405
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
406
|
+
* `schedule_interval_minutes` (int64): Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
399
407
|
* `schedule_time_zone` (string): Time zone for the schedule. If not set, times are interpreted as UTC.
|
|
400
408
|
* `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
401
409
|
* `src_path` (string): Absolute source path for the sync
|
|
@@ -225,6 +225,19 @@ module Files
|
|
|
225
225
|
@attributes[:schedule_days_of_week] = value
|
|
226
226
|
end
|
|
227
227
|
|
|
228
|
+
# Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
229
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
230
|
+
def schedule_interval_minutes
|
|
231
|
+
@attributes[:schedule_interval_minutes]
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
235
|
+
# @param value [Integer, nil] the new field value.
|
|
236
|
+
# @return [Integer, nil] the assigned value.
|
|
237
|
+
def schedule_interval_minutes=(value)
|
|
238
|
+
@attributes[:schedule_interval_minutes] = value
|
|
239
|
+
end
|
|
240
|
+
|
|
228
241
|
# Times of day in HH:MM format for the AI Task schedule.
|
|
229
242
|
# @return [Array<String>, nil] the field value, or nil when absent.
|
|
230
243
|
def schedule_times_of_day
|
|
@@ -349,6 +362,7 @@ module Files
|
|
|
349
362
|
# @option params [Array<Integer>] recurring_days If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
350
363
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
351
364
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
365
|
+
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
352
366
|
# @option params [String] schedule_time_zone Time zone used by the AI Task schedule.
|
|
353
367
|
# @option params [Array<String>] schedule_times_of_day Times of day in HH:MM format for the AI Task schedule.
|
|
354
368
|
# @option params [String] source Source glob used with `path` for action-triggered AI Tasks.
|
|
@@ -376,6 +390,7 @@ module Files
|
|
|
376
390
|
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if !params[:recurring_days].nil? and !params[:recurring_days].is_a?(Array)
|
|
377
391
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
378
392
|
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)
|
|
393
|
+
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)
|
|
379
394
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
380
395
|
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)
|
|
381
396
|
raise InvalidParameterError.new("Bad parameter: source must be an String") if !params[:source].nil? and !params[:source].is_a?(String)
|
|
@@ -504,6 +519,7 @@ module Files
|
|
|
504
519
|
# @option params [Array<Integer>] recurring_days If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
505
520
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
506
521
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
522
|
+
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
507
523
|
# @option params [String] schedule_time_zone Time zone used by the AI Task schedule.
|
|
508
524
|
# @option params [Array<String>] schedule_times_of_day Times of day in HH:MM format for the AI Task schedule.
|
|
509
525
|
# @option params [String] source Source glob used with `path` for action-triggered AI Tasks.
|
|
@@ -528,6 +544,7 @@ module Files
|
|
|
528
544
|
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if !params[:recurring_days].nil? and !params[:recurring_days].is_a?(Array)
|
|
529
545
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
530
546
|
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)
|
|
547
|
+
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)
|
|
531
548
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
532
549
|
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)
|
|
533
550
|
raise InvalidParameterError.new("Bad parameter: source must be an String") if !params[:source].nil? and !params[:source].is_a?(String)
|
|
@@ -576,6 +593,7 @@ module Files
|
|
|
576
593
|
# @option params [Array<Integer>] recurring_days If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
|
|
577
594
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
|
|
578
595
|
# @option params [Array<Integer>] schedule_days_of_week If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
|
|
596
|
+
# @option params [Integer] schedule_interval_minutes Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with `custom_schedule`.
|
|
579
597
|
# @option params [String] schedule_time_zone Time zone used by the AI Task schedule.
|
|
580
598
|
# @option params [Array<String>] schedule_times_of_day Times of day in HH:MM format for the AI Task schedule.
|
|
581
599
|
# @option params [String] source Source glob used with `path` for action-triggered AI Tasks.
|
|
@@ -603,6 +621,7 @@ module Files
|
|
|
603
621
|
raise InvalidParameterError.new("Bad parameter: recurring_days must be an Array") if !params[:recurring_days].nil? and !params[:recurring_days].is_a?(Array)
|
|
604
622
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
605
623
|
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)
|
|
624
|
+
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)
|
|
606
625
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
607
626
|
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)
|
|
608
627
|
raise InvalidParameterError.new("Bad parameter: source must be an String") if !params[:source].nil? and !params[:source].is_a?(String)
|
|
@@ -485,6 +485,19 @@ module Files
|
|
|
485
485
|
@attributes[:schedule_days_of_week] = value
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
+
# 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.
|
|
489
|
+
# @return [Integer, nil] the field value, or nil when absent.
|
|
490
|
+
def schedule_interval_minutes
|
|
491
|
+
@attributes[:schedule_interval_minutes]
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# Changes the local field value. Call {#save} to persist changes.
|
|
495
|
+
# @param value [Integer, nil] the new field value.
|
|
496
|
+
# @return [Integer, nil] the assigned value.
|
|
497
|
+
def schedule_interval_minutes=(value)
|
|
498
|
+
@attributes[:schedule_interval_minutes] = value
|
|
499
|
+
end
|
|
500
|
+
|
|
488
501
|
# Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
|
|
489
502
|
# @return [Array<String>, nil] the field value, or nil when absent.
|
|
490
503
|
def schedule_times_of_day
|
|
@@ -602,7 +615,7 @@ module Files
|
|
|
602
615
|
@attributes[:value] = value
|
|
603
616
|
end
|
|
604
617
|
|
|
605
|
-
# If trigger is `webhook`, this is the URL
|
|
618
|
+
# If trigger is `webhook`, this is the URL to start the Automation. For a v2 webhook configured to upload a file, POST multipart form data with a single `file` part or send a raw body with the `X-Files-Filename` header. A JSON body is saved as `payload.json` when the header is omitted.
|
|
606
619
|
# @return [String, nil] the field value, or nil when absent.
|
|
607
620
|
def webhook_url
|
|
608
621
|
@attributes[:webhook_url]
|
|
@@ -682,7 +695,8 @@ module Files
|
|
|
682
695
|
# @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.
|
|
683
696
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
684
697
|
# @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.
|
|
685
|
-
# @option params [
|
|
698
|
+
# @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
|
+
# @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.
|
|
686
700
|
# @option params [String] schedule_time_zone Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
687
701
|
# @option params [String] holiday_region Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
688
702
|
# @option params [Boolean] always_overwrite_size_matching_files Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -726,6 +740,7 @@ module Files
|
|
|
726
740
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
727
741
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
728
742
|
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
|
+
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)
|
|
729
744
|
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)
|
|
730
745
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
731
746
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if !params[:holiday_region].nil? and !params[:holiday_region].is_a?(String)
|
|
@@ -892,7 +907,8 @@ module Files
|
|
|
892
907
|
# @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.
|
|
893
908
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
894
909
|
# @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.
|
|
895
|
-
# @option params [
|
|
910
|
+
# @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
|
+
# @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.
|
|
896
912
|
# @option params [String] schedule_time_zone Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
897
913
|
# @option params [String] holiday_region Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
898
914
|
# @option params [Boolean] always_overwrite_size_matching_files Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -934,6 +950,7 @@ module Files
|
|
|
934
950
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
935
951
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
936
952
|
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
|
+
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)
|
|
937
954
|
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)
|
|
938
955
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
939
956
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if !params[:holiday_region].nil? and !params[:holiday_region].is_a?(String)
|
|
@@ -1020,7 +1037,8 @@ module Files
|
|
|
1020
1037
|
# @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.
|
|
1021
1038
|
# @option params [Integer] schedule_id If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
|
|
1022
1039
|
# @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.
|
|
1023
|
-
# @option params [
|
|
1040
|
+
# @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
|
+
# @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.
|
|
1024
1042
|
# @option params [String] schedule_time_zone Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
|
|
1025
1043
|
# @option params [String] holiday_region Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
|
|
1026
1044
|
# @option params [Boolean] always_overwrite_size_matching_files Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
@@ -1064,6 +1082,7 @@ module Files
|
|
|
1064
1082
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if !params[:group_ids].nil? and !params[:group_ids].is_a?(String)
|
|
1065
1083
|
raise InvalidParameterError.new("Bad parameter: schedule_id must be an Integer") if !params[:schedule_id].nil? and !params[:schedule_id].is_a?(Integer)
|
|
1066
1084
|
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
|
+
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)
|
|
1067
1086
|
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)
|
|
1068
1087
|
raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if !params[:schedule_time_zone].nil? and !params[:schedule_time_zone].is_a?(String)
|
|
1069
1088
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if !params[:holiday_region].nil? and !params[:holiday_region].is_a?(String)
|