files.com 1.1.671 → 1.1.673
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/_VERSION +1 -1
- data/docs/action_log.md +1 -21
- data/docs/action_notification_export_result.md +0 -17
- data/docs/ai_assistant_personality.md +0 -14
- data/docs/ai_task.md +0 -14
- data/docs/api_key.md +1 -27
- data/docs/api_request_log.md +1 -21
- data/docs/app.md +0 -15
- data/docs/as2_incoming_message.md +0 -18
- data/docs/as2_outgoing_message.md +0 -18
- data/docs/as2_partner.md +0 -14
- data/docs/as2_station.md +0 -14
- data/docs/automation.md +1 -22
- data/docs/automation_log.md +1 -21
- data/docs/automation_run.md +0 -19
- data/docs/bandwidth_snapshot.md +0 -18
- data/docs/behavior.md +0 -14
- data/docs/bundle.md +1 -50
- data/docs/bundle_action.md +0 -25
- data/docs/bundle_download.md +0 -23
- data/docs/bundle_notification.md +0 -19
- data/docs/bundle_recipient.md +0 -21
- data/docs/bundle_registration.md +0 -61
- data/docs/chat_session.md +2 -14
- data/docs/child_site_management_policy.md +0 -9
- data/docs/clickwrap.md +0 -13
- data/docs/custom_domain.md +0 -13
- data/docs/desktop_configuration_profile.md +0 -14
- data/docs/dns_record.md +0 -9
- data/docs/email_incoming_message.md +0 -19
- data/docs/email_log.md +1 -20
- data/docs/event_channel.md +0 -14
- data/docs/event_delivery_attempt.md +0 -14
- data/docs/event_record.md +0 -19
- data/docs/event_subscription.md +0 -14
- data/docs/event_target.md +0 -14
- data/docs/exavault_api_request_log.md +1 -21
- data/docs/expectation.md +0 -14
- data/docs/expectation_evaluation.md +0 -14
- data/docs/expectation_incident.md +0 -14
- data/docs/external_event.md +0 -18
- data/docs/file.md +2 -90
- data/docs/file_migration.md +0 -32
- data/docs/file_migration_log.md +1 -20
- data/docs/file_upload_part.md +1 -3
- data/docs/folder.md +0 -20
- data/docs/form_field_set.md +0 -15
- data/docs/ftp_action_log.md +1 -21
- data/docs/gpg_key.md +0 -21
- data/docs/group.md +0 -19
- data/docs/group_user.md +2 -22
- data/docs/history.md +0 -85
- data/docs/history_export_result.md +0 -17
- data/docs/holiday_region.md +0 -9
- data/docs/inbound_s3_log.md +1 -21
- data/docs/inbox_recipient.md +0 -19
- data/docs/inbox_registration.md +0 -57
- data/docs/inbox_upload.md +0 -18
- data/docs/invoice.md +0 -9
- data/docs/ip_address.md +0 -59
- data/docs/key_lifecycle_rule.md +0 -14
- data/docs/lock.md +0 -15
- data/docs/message.md +0 -17
- data/docs/message_comment.md +0 -18
- data/docs/message_comment_reaction.md +0 -18
- data/docs/message_reaction.md +0 -17
- data/docs/metadata_category.md +0 -13
- data/docs/notification.md +0 -20
- data/docs/outbound_connection_log.md +1 -21
- data/docs/partner.md +0 -14
- data/docs/partner_channel.md +0 -14
- data/docs/partner_site_request.md +0 -14
- data/docs/payment.md +0 -9
- data/docs/pending_work_event.md +0 -18
- data/docs/permission.md +0 -22
- data/docs/preview.md +0 -57
- data/docs/project.md +0 -9
- data/docs/public_hosting_request_log.md +1 -21
- data/docs/public_key.md +0 -21
- data/docs/remote_bandwidth_snapshot.md +0 -18
- data/docs/remote_mount_backend.md +0 -13
- data/docs/remote_server.md +0 -233
- data/docs/remote_server_credential.md +0 -15
- data/docs/request.md +0 -17
- data/docs/restore.md +0 -14
- data/docs/scheduled_export.md +0 -15
- data/docs/scim_log.md +0 -13
- data/docs/session.md +1 -232
- data/docs/settings_change.md +0 -16
- data/docs/sftp_action_log.md +1 -21
- data/docs/sftp_host_key.md +0 -9
- data/docs/share_group.md +0 -15
- data/docs/siem_http_destination.md +0 -9
- data/docs/siem_http_destination_event.md +0 -18
- data/docs/site.md +0 -179
- data/docs/site_subdomain_redirect.md +0 -13
- data/docs/snapshot.md +0 -9
- data/docs/sso_event.md +0 -19
- data/docs/sso_strategy.md +0 -406
- data/docs/sync.md +0 -14
- data/docs/sync_log.md +1 -20
- data/docs/sync_run.md +0 -21
- data/docs/usage_daily_snapshot.md +0 -18
- data/docs/usage_snapshot.md +0 -9
- data/docs/user.md +2 -49
- data/docs/user_cipher_use.md +0 -21
- data/docs/user_lifecycle_rule.md +0 -14
- data/docs/user_request.md +0 -9
- data/docs/user_security_event.md +0 -18
- data/docs/user_sftp_client_use.md +0 -15
- data/docs/web_dav_action_log.md +1 -21
- data/docs/workspace.md +0 -15
- data/lib/files.com/models/action_log.rb +0 -24
- data/lib/files.com/models/action_notification_export_result.rb +0 -12
- data/lib/files.com/models/ai_assistant_personality.rb +0 -11
- data/lib/files.com/models/ai_task.rb +0 -11
- data/lib/files.com/models/api_key.rb +5 -39
- data/lib/files.com/models/api_request_log.rb +0 -24
- data/lib/files.com/models/app.rb +0 -13
- data/lib/files.com/models/as2_incoming_message.rb +0 -19
- data/lib/files.com/models/as2_outgoing_message.rb +0 -19
- data/lib/files.com/models/as2_partner.rb +0 -11
- data/lib/files.com/models/as2_station.rb +0 -11
- data/lib/files.com/models/automation.rb +0 -30
- data/lib/files.com/models/automation_log.rb +0 -24
- data/lib/files.com/models/automation_run.rb +0 -16
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/behavior.rb +0 -11
- data/lib/files.com/models/bundle.rb +0 -52
- data/lib/files.com/models/bundle_action.rb +0 -25
- data/lib/files.com/models/bundle_download.rb +0 -23
- data/lib/files.com/models/bundle_notification.rb +0 -15
- data/lib/files.com/models/bundle_recipient.rb +0 -27
- data/lib/files.com/models/bundle_registration.rb +0 -125
- data/lib/files.com/models/chat_session.rb +5 -11
- data/lib/files.com/models/child_site_management_policy.rb +0 -5
- data/lib/files.com/models/clickwrap.rb +0 -9
- data/lib/files.com/models/custom_domain.rb +0 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
- data/lib/files.com/models/dns_record.rb +0 -5
- data/lib/files.com/models/email_incoming_message.rb +0 -21
- data/lib/files.com/models/email_log.rb +0 -22
- data/lib/files.com/models/event_channel.rb +0 -11
- data/lib/files.com/models/event_delivery_attempt.rb +0 -11
- data/lib/files.com/models/event_record.rb +0 -21
- data/lib/files.com/models/event_subscription.rb +0 -11
- data/lib/files.com/models/event_target.rb +0 -11
- data/lib/files.com/models/exavault_api_request_log.rb +0 -24
- data/lib/files.com/models/expectation.rb +0 -11
- data/lib/files.com/models/expectation_evaluation.rb +0 -11
- data/lib/files.com/models/expectation_incident.rb +0 -11
- data/lib/files.com/models/external_event.rb +0 -19
- data/lib/files.com/models/file.rb +67 -207
- data/lib/files.com/models/file_migration.rb +0 -27
- data/lib/files.com/models/file_migration_log.rb +0 -22
- data/lib/files.com/models/file_upload_part.rb +0 -5
- data/lib/files.com/models/folder.rb +0 -69
- data/lib/files.com/models/form_field_set.rb +0 -9
- data/lib/files.com/models/ftp_action_log.rb +0 -24
- data/lib/files.com/models/gpg_key.rb +0 -21
- data/lib/files.com/models/group.rb +0 -16
- data/lib/files.com/models/group_user.rb +1 -21
- data/lib/files.com/models/history.rb +0 -94
- data/lib/files.com/models/history_export_result.rb +0 -12
- data/lib/files.com/models/holiday_region.rb +0 -5
- data/lib/files.com/models/inbound_s3_log.rb +0 -24
- data/lib/files.com/models/inbox_recipient.rb +0 -25
- data/lib/files.com/models/inbox_registration.rb +0 -121
- data/lib/files.com/models/inbox_upload.rb +0 -19
- data/lib/files.com/models/invoice.rb +0 -5
- data/lib/files.com/models/ip_address.rb +0 -37
- data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/lock.rb +0 -27
- data/lib/files.com/models/message.rb +0 -12
- data/lib/files.com/models/message_comment.rb +0 -14
- data/lib/files.com/models/message_comment_reaction.rb +0 -14
- data/lib/files.com/models/message_reaction.rb +0 -12
- data/lib/files.com/models/metadata_category.rb +0 -9
- data/lib/files.com/models/notification.rb +0 -18
- data/lib/files.com/models/outbound_connection_log.rb +0 -24
- data/lib/files.com/models/partner.rb +0 -11
- data/lib/files.com/models/partner_channel.rb +0 -11
- data/lib/files.com/models/partner_site_request.rb +0 -11
- data/lib/files.com/models/payment.rb +0 -5
- data/lib/files.com/models/pending_work_event.rb +0 -19
- data/lib/files.com/models/permission.rb +0 -22
- data/lib/files.com/models/preview.rb +0 -57
- data/lib/files.com/models/project.rb +0 -5
- data/lib/files.com/models/public_hosting_request_log.rb +0 -24
- data/lib/files.com/models/public_key.rb +0 -21
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/remote_mount_backend.rb +0 -9
- data/lib/files.com/models/remote_server.rb +0 -297
- data/lib/files.com/models/remote_server_credential.rb +0 -13
- data/lib/files.com/models/request.rb +0 -12
- data/lib/files.com/models/restore.rb +0 -11
- data/lib/files.com/models/scheduled_export.rb +0 -13
- data/lib/files.com/models/scim_log.rb +0 -9
- data/lib/files.com/models/session.rb +0 -493
- data/lib/files.com/models/settings_change.rb +0 -16
- data/lib/files.com/models/sftp_action_log.rb +0 -24
- data/lib/files.com/models/sftp_host_key.rb +0 -5
- data/lib/files.com/models/share_group.rb +0 -9
- data/lib/files.com/models/siem_http_destination.rb +0 -5
- data/lib/files.com/models/siem_http_destination_event.rb +0 -19
- data/lib/files.com/models/site.rb +0 -1021
- data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
- data/lib/files.com/models/snapshot.rb +0 -5
- data/lib/files.com/models/sso_event.rb +0 -21
- data/lib/files.com/models/sso_strategy.rb +0 -632
- data/lib/files.com/models/sync.rb +0 -11
- data/lib/files.com/models/sync_log.rb +0 -22
- data/lib/files.com/models/sync_run.rb +0 -21
- data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
- data/lib/files.com/models/usage_snapshot.rb +0 -5
- data/lib/files.com/models/user.rb +0 -59
- data/lib/files.com/models/user_cipher_use.rb +0 -21
- data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/user_request.rb +0 -5
- data/lib/files.com/models/user_security_event.rb +0 -19
- data/lib/files.com/models/user_sftp_client_use.rb +0 -9
- data/lib/files.com/models/web_dav_action_log.rb +0 -24
- data/lib/files.com/models/workspace.rb +0 -13
- data/lib/files.com/path_util.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +0 -59
- data/shared/normalization_for_comparison_test_data.json +3 -1
- data/spec/models/file_underscore_destinations_spec.rb +24 -0
- data/spec/path_util_spec.rb +5 -0
- metadata +2 -119
- data/docs/account.md +0 -155
- data/docs/action_webhook_failure.md +0 -28
- data/docs/agent_proxy_identity.md +0 -49
- data/docs/agent_proxy_identity_endpoint.md +0 -11
- data/docs/agent_proxy_identity_result.md +0 -24
- data/docs/agent_v2_auth.md +0 -17
- data/docs/announcement.md +0 -57
- data/docs/blog_post.md +0 -57
- data/docs/bundle_recipient_registration.md +0 -39
- data/docs/certificate.md +0 -258
- data/docs/child_site.md +0 -583
- data/docs/clickwrap_acceptance.md +0 -30
- data/docs/client_log.md +0 -17
- data/docs/crash_report.md +0 -50
- data/docs/custom_domain_for_proxy.md +0 -23
- data/docs/email_preference.md +0 -108
- data/docs/email_preference_bundle_notification.md +0 -15
- data/docs/email_preference_notification.md +0 -17
- data/docs/export.md +0 -90
- data/docs/front_end_server.md +0 -111
- data/docs/frontend_metric.md +0 -34
- data/docs/inbox.md +0 -102
- data/docs/inbox_recipient_registration.md +0 -35
- data/docs/ip.md +0 -63
- data/docs/ip_abuse_entry.md +0 -47
- data/docs/label.md +0 -9
- data/docs/lead.md +0 -161
- data/docs/monitoring_stat.md +0 -38
- data/docs/monitoring_stats.md +0 -15
- data/docs/mover_package.md +0 -68
- data/docs/nps_response.md +0 -75
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -19
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -107
- data/docs/public_hosting_session_pairing.md +0 -15
- data/docs/public_inbox.md +0 -121
- data/docs/public_url.md +0 -59
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +0 -83
- data/docs/release_package.md +0 -19
- data/docs/revision.md +0 -40
- data/docs/safe_plan.md +0 -0
- data/docs/session_available_site.md +0 -26
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -498
- data/docs/ssl_certificate.md +0 -37
- data/docs/staging_site.md +0 -591
- data/docs/support_request.md +0 -126
- data/docs/sync_api_usage_snapshot.md +0 -23
- data/docs/sync_api_usage_snapshot_report.md +0 -71
- data/docs/sync_bandwidth_snapshot.md +0 -48
- data/docs/two_factor_authentication_method.md +0 -169
- data/docs/warning.md +0 -36
- data/docs/webauthn_sign_request.md +0 -13
- data/docs/zip_download.md +0 -32
- data/docs/zip_download_file.md +0 -45
- data/docs/zip_download_files.md +0 -23
- data/lib/files.com/models/account.rb +0 -346
- data/lib/files.com/models/action_webhook_failure.rb +0 -34
- data/lib/files.com/models/agent_proxy_identity.rb +0 -47
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
- data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
- data/lib/files.com/models/agent_v2_auth.rb +0 -32
- data/lib/files.com/models/announcement.rb +0 -89
- data/lib/files.com/models/blog_post.rb +0 -84
- data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
- data/lib/files.com/models/certificate.rb +0 -455
- data/lib/files.com/models/child_site.rb +0 -1756
- data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
- data/lib/files.com/models/client_log.rb +0 -25
- data/lib/files.com/models/crash_report.rb +0 -151
- data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
- data/lib/files.com/models/email_preference.rb +0 -124
- data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/export.rb +0 -153
- data/lib/files.com/models/front_end_server.rb +0 -335
- data/lib/files.com/models/frontend_metric.rb +0 -65
- data/lib/files.com/models/inbox.rb +0 -123
- data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
- data/lib/files.com/models/ip.rb +0 -82
- data/lib/files.com/models/ip_abuse_entry.rb +0 -96
- data/lib/files.com/models/label.rb +0 -22
- data/lib/files.com/models/lead.rb +0 -434
- data/lib/files.com/models/monitoring_stat.rb +0 -43
- data/lib/files.com/models/monitoring_stats.rb +0 -22
- data/lib/files.com/models/mover_package.rb +0 -80
- data/lib/files.com/models/nps_response.rb +0 -128
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -37
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -209
- data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
- data/lib/files.com/models/public_inbox.rb +0 -142
- data/lib/files.com/models/public_url.rb +0 -177
- data/lib/files.com/models/regional_migration.rb +0 -12
- data/lib/files.com/models/release.rb +0 -153
- data/lib/files.com/models/release_package.rb +0 -37
- data/lib/files.com/models/revision.rb +0 -53
- data/lib/files.com/models/safe_plan.rb +0 -12
- data/lib/files.com/models/session_available_site.rb +0 -47
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -1072
- data/lib/files.com/models/ssl_certificate.rb +0 -77
- data/lib/files.com/models/staging_site.rb +0 -1781
- data/lib/files.com/models/support_request.rb +0 -209
- data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
- data/lib/files.com/models/warning.rb +0 -38
- data/lib/files.com/models/webauthn_sign_request.rb +0 -17
- data/lib/files.com/models/zip_download.rb +0 -73
- data/lib/files.com/models/zip_download_file.rb +0 -111
- data/lib/files.com/models/zip_download_files.rb +0 -42
|
@@ -119,21 +119,5 @@ module Files
|
|
|
119
119
|
def self.get(id, params = {}, options = {})
|
|
120
120
|
find(id, params, options)
|
|
121
121
|
end
|
|
122
|
-
|
|
123
|
-
# Parameters:
|
|
124
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
125
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
126
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
127
|
-
# automation_id (required) - int64 - ID of the associated Automation.
|
|
128
|
-
def self.create_export(params = {}, options = {})
|
|
129
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
130
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
131
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
132
|
-
raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params[:automation_id] and !params[:automation_id].is_a?(Integer)
|
|
133
|
-
raise MissingParameterError.new("Parameter missing: automation_id") unless params[:automation_id]
|
|
134
|
-
|
|
135
|
-
response, options = Api.send_request("/automation_runs/create_export", :post, params, options)
|
|
136
|
-
Export.new(response.data, options)
|
|
137
|
-
end
|
|
138
122
|
end
|
|
139
123
|
end
|
|
@@ -81,24 +81,5 @@ module Files
|
|
|
81
81
|
def self.all(params = {}, options = {})
|
|
82
82
|
list(params, options)
|
|
83
83
|
end
|
|
84
|
-
|
|
85
|
-
# Parameters:
|
|
86
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `logged_at`.
|
|
87
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
88
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
|
89
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
|
|
90
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
|
91
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
|
|
92
|
-
def self.create_export(params = {}, options = {})
|
|
93
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
94
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
95
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
96
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
97
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
98
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
99
|
-
|
|
100
|
-
response, options = Api.send_request("/bandwidth_snapshots/create_export", :post, params, options)
|
|
101
|
-
Export.new(response.data, options)
|
|
102
|
-
end
|
|
103
84
|
end
|
|
104
85
|
end
|
|
@@ -254,17 +254,6 @@ module Files
|
|
|
254
254
|
nil
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
-
# Parameters:
|
|
258
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
259
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
260
|
-
def self.create_export(params = {}, options = {})
|
|
261
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
262
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
263
|
-
|
|
264
|
-
response, options = Api.send_request("/behaviors/create_export", :post, params, options)
|
|
265
|
-
Export.new(response.data, options)
|
|
266
|
-
end
|
|
267
|
-
|
|
268
257
|
# Parameters:
|
|
269
258
|
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
270
259
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
@@ -428,15 +428,6 @@ module Files
|
|
|
428
428
|
@attributes[:bundlepaths] = value
|
|
429
429
|
end
|
|
430
430
|
|
|
431
|
-
# int64 - Site id
|
|
432
|
-
def site_id
|
|
433
|
-
@attributes[:site_id]
|
|
434
|
-
end
|
|
435
|
-
|
|
436
|
-
def site_id=(value)
|
|
437
|
-
@attributes[:site_id] = value
|
|
438
|
-
end
|
|
439
|
-
|
|
440
431
|
# string - Password for this bundle.
|
|
441
432
|
def password
|
|
442
433
|
@attributes[:password]
|
|
@@ -496,7 +487,6 @@ module Files
|
|
|
496
487
|
# Parameters:
|
|
497
488
|
# to - array(string) - A list of email addresses to share this bundle with. Required unless `recipients` is used.
|
|
498
489
|
# note - string - Note to include in email.
|
|
499
|
-
# method - string - The method to use, must be email or null
|
|
500
490
|
# recipients - array(object) - A list of recipients to share this bundle with. Required unless `to` is used.
|
|
501
491
|
def share(params = {})
|
|
502
492
|
params ||= {}
|
|
@@ -505,7 +495,6 @@ module Files
|
|
|
505
495
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
506
496
|
raise InvalidParameterError.new("Bad parameter: to must be an Array") if params[:to] and !params[:to].is_a?(Array)
|
|
507
497
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
508
|
-
raise InvalidParameterError.new("Bad parameter: method must be an String") if params[:method] and !params[:method].is_a?(String)
|
|
509
498
|
raise InvalidParameterError.new("Bad parameter: recipients must be an Array") if params[:recipients] and !params[:recipients].is_a?(Array)
|
|
510
499
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
511
500
|
|
|
@@ -648,21 +637,6 @@ module Files
|
|
|
648
637
|
find(id, params, options)
|
|
649
638
|
end
|
|
650
639
|
|
|
651
|
-
# Parameters:
|
|
652
|
-
# code (required) - string - Bundle code
|
|
653
|
-
# imported_from_file_ac - boolean - Is bundle imported from File.ac?
|
|
654
|
-
# bundle_registration_code - string - Bundle registration cookie code
|
|
655
|
-
# recipient_code - string - Bundle recipient code
|
|
656
|
-
def self.get_info(params = {}, options = {})
|
|
657
|
-
raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
|
|
658
|
-
raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
|
|
659
|
-
raise InvalidParameterError.new("Bad parameter: recipient_code must be an String") if params[:recipient_code] and !params[:recipient_code].is_a?(String)
|
|
660
|
-
raise MissingParameterError.new("Parameter missing: code") unless params[:code]
|
|
661
|
-
|
|
662
|
-
response, options = Api.send_request("/bundles/info", :get, params, options)
|
|
663
|
-
Bundle.new(response.data, options)
|
|
664
|
-
end
|
|
665
|
-
|
|
666
640
|
# Parameters:
|
|
667
641
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
668
642
|
# paths (required) - array(string) - A list of paths to include in this bundle.
|
|
@@ -721,36 +695,11 @@ module Files
|
|
|
721
695
|
Bundle.new(response.data, options)
|
|
722
696
|
end
|
|
723
697
|
|
|
724
|
-
# Parameters:
|
|
725
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
726
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
727
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `group_id`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ group_id, expires_at ]` and `[ user_id, expires_at ]`.
|
|
728
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
729
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
730
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
731
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
732
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
733
|
-
# deleted - boolean - If true, only list deleted Share Links.
|
|
734
|
-
def self.create_export(params = {}, options = {})
|
|
735
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
736
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
737
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
738
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
739
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
740
|
-
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
741
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
742
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
743
|
-
|
|
744
|
-
response, options = Api.send_request("/bundles/create_export", :post, params, options)
|
|
745
|
-
Export.new(response.data, options)
|
|
746
|
-
end
|
|
747
|
-
|
|
748
698
|
# Send email(s) with a link to bundle
|
|
749
699
|
#
|
|
750
700
|
# Parameters:
|
|
751
701
|
# to - array(string) - A list of email addresses to share this bundle with. Required unless `recipients` is used.
|
|
752
702
|
# note - string - Note to include in email.
|
|
753
|
-
# method - string - The method to use, must be email or null
|
|
754
703
|
# recipients - array(object) - A list of recipients to share this bundle with. Required unless `to` is used.
|
|
755
704
|
def self.share(id, params = {}, options = {})
|
|
756
705
|
params ||= {}
|
|
@@ -758,7 +707,6 @@ module Files
|
|
|
758
707
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
759
708
|
raise InvalidParameterError.new("Bad parameter: to must be an Array") if params[:to] and !params[:to].is_a?(Array)
|
|
760
709
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
761
|
-
raise InvalidParameterError.new("Bad parameter: method must be an String") if params[:method] and !params[:method].is_a?(String)
|
|
762
710
|
raise InvalidParameterError.new("Bad parameter: recipients must be an Array") if params[:recipients] and !params[:recipients].is_a?(Array)
|
|
763
711
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
764
712
|
|
|
@@ -107,30 +107,5 @@ module Files
|
|
|
107
107
|
def self.all(params = {}, options = {})
|
|
108
108
|
list(params, options)
|
|
109
109
|
end
|
|
110
|
-
|
|
111
|
-
# Parameters:
|
|
112
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
113
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `bundle_registration_id`.
|
|
114
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ bundle_id, created_at ]`, `[ bundle_registration_id, created_at ]`, `[ bundle_id, bundle_registration_id ]` or `[ bundle_id, bundle_registration_id, created_at ]`.
|
|
115
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
116
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
117
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
118
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
119
|
-
# bundle_id - int64 - Bundle ID
|
|
120
|
-
# bundle_registration_id - int64 - Bundle Registration ID
|
|
121
|
-
def self.create_export(params = {}, options = {})
|
|
122
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
123
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
124
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
125
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
126
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
127
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
128
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
129
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
130
|
-
raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
|
|
131
|
-
|
|
132
|
-
response, options = Api.send_request("/bundle_actions/create_export", :post, params, options)
|
|
133
|
-
Export.new(response.data, options)
|
|
134
|
-
end
|
|
135
110
|
end
|
|
136
111
|
end
|
|
@@ -65,28 +65,5 @@ module Files
|
|
|
65
65
|
def self.all(params = {}, options = {})
|
|
66
66
|
list(params, options)
|
|
67
67
|
end
|
|
68
|
-
|
|
69
|
-
# Parameters:
|
|
70
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `created_at`.
|
|
71
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
72
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
73
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
74
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
75
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
76
|
-
# bundle_id - int64 - Bundle ID
|
|
77
|
-
# bundle_registration_id - int64 - BundleRegistration ID
|
|
78
|
-
def self.create_export(params = {}, options = {})
|
|
79
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
80
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
81
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
82
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
83
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
84
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
85
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
86
|
-
raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
|
|
87
|
-
|
|
88
|
-
response, options = Api.send_request("/bundle_downloads/create_export", :post, params, options)
|
|
89
|
-
Export.new(response.data, options)
|
|
90
|
-
end
|
|
91
68
|
end
|
|
92
69
|
end
|
|
@@ -176,21 +176,6 @@ module Files
|
|
|
176
176
|
BundleNotification.new(response.data, options)
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
-
# Parameters:
|
|
180
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
181
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
|
|
182
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
|
183
|
-
# bundle_id - int64 - Bundle ID
|
|
184
|
-
def self.create_export(params = {}, options = {})
|
|
185
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
186
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
187
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
188
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
189
|
-
|
|
190
|
-
response, options = Api.send_request("/bundle_notifications/create_export", :post, params, options)
|
|
191
|
-
Export.new(response.data, options)
|
|
192
|
-
end
|
|
193
|
-
|
|
194
179
|
# Parameters:
|
|
195
180
|
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
|
196
181
|
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
|
@@ -81,15 +81,6 @@ module Files
|
|
|
81
81
|
@attributes[:bundle_id] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# string - The method to use, must be email or null
|
|
85
|
-
def method
|
|
86
|
-
@attributes[:method]
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
def method=(value)
|
|
90
|
-
@attributes[:method] = value
|
|
91
|
-
end
|
|
92
|
-
|
|
93
84
|
# boolean - Set to true to share the link with the recipient upon creation.
|
|
94
85
|
def share_after_create
|
|
95
86
|
@attributes[:share_after_create]
|
|
@@ -142,7 +133,6 @@ module Files
|
|
|
142
133
|
# name - string - Name of recipient.
|
|
143
134
|
# company - string - Company of recipient.
|
|
144
135
|
# note - string - Note to include in email.
|
|
145
|
-
# method - string - The method to use, must be email or null
|
|
146
136
|
# share_after_create - boolean - Set to true to share the link with the recipient upon creation.
|
|
147
137
|
def self.create(params = {}, options = {})
|
|
148
138
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
@@ -151,28 +141,11 @@ module Files
|
|
|
151
141
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
152
142
|
raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
|
|
153
143
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
154
|
-
raise InvalidParameterError.new("Bad parameter: method must be an String") if params[:method] and !params[:method].is_a?(String)
|
|
155
144
|
raise MissingParameterError.new("Parameter missing: bundle_id") unless params[:bundle_id]
|
|
156
145
|
raise MissingParameterError.new("Parameter missing: recipient") unless params[:recipient]
|
|
157
146
|
|
|
158
147
|
response, options = Api.send_request("/bundle_recipients", :post, params, options)
|
|
159
148
|
BundleRecipient.new(response.data, options)
|
|
160
149
|
end
|
|
161
|
-
|
|
162
|
-
# Parameters:
|
|
163
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
164
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
|
|
165
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
|
166
|
-
# bundle_id (required) - int64 - List recipients for the bundle with this ID.
|
|
167
|
-
def self.create_export(params = {}, options = {})
|
|
168
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
169
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
170
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
171
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
172
|
-
raise MissingParameterError.new("Parameter missing: bundle_id") unless params[:bundle_id]
|
|
173
|
-
|
|
174
|
-
response, options = Api.send_request("/bundle_recipients/create_export", :post, params, options)
|
|
175
|
-
Export.new(response.data, options)
|
|
176
|
-
end
|
|
177
150
|
end
|
|
178
151
|
end
|
|
@@ -14,152 +14,71 @@ module Files
|
|
|
14
14
|
@attributes[:code]
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def code=(value)
|
|
18
|
-
@attributes[:code] = value
|
|
19
|
-
end
|
|
20
|
-
|
|
21
17
|
# string - Registrant name
|
|
22
18
|
def name
|
|
23
19
|
@attributes[:name]
|
|
24
20
|
end
|
|
25
21
|
|
|
26
|
-
def name=(value)
|
|
27
|
-
@attributes[:name] = value
|
|
28
|
-
end
|
|
29
|
-
|
|
30
22
|
# string - Registrant company name
|
|
31
23
|
def company
|
|
32
24
|
@attributes[:company]
|
|
33
25
|
end
|
|
34
26
|
|
|
35
|
-
def company=(value)
|
|
36
|
-
@attributes[:company] = value
|
|
37
|
-
end
|
|
38
|
-
|
|
39
27
|
# string - Registrant email address
|
|
40
28
|
def email
|
|
41
29
|
@attributes[:email]
|
|
42
30
|
end
|
|
43
31
|
|
|
44
|
-
def email=(value)
|
|
45
|
-
@attributes[:email] = value
|
|
46
|
-
end
|
|
47
|
-
|
|
48
32
|
# string - Registrant IP Address
|
|
49
33
|
def ip
|
|
50
34
|
@attributes[:ip]
|
|
51
35
|
end
|
|
52
36
|
|
|
53
|
-
def ip=(value)
|
|
54
|
-
@attributes[:ip] = value
|
|
55
|
-
end
|
|
56
|
-
|
|
57
37
|
# string - InboxRegistration cookie code, if there is an associated InboxRegistration
|
|
58
38
|
def inbox_code
|
|
59
39
|
@attributes[:inbox_code]
|
|
60
40
|
end
|
|
61
41
|
|
|
62
|
-
def inbox_code=(value)
|
|
63
|
-
@attributes[:inbox_code] = value
|
|
64
|
-
end
|
|
65
|
-
|
|
66
42
|
# string - Clickwrap text that was shown to the registrant
|
|
67
43
|
def clickwrap_body
|
|
68
44
|
@attributes[:clickwrap_body]
|
|
69
45
|
end
|
|
70
46
|
|
|
71
|
-
def clickwrap_body=(value)
|
|
72
|
-
@attributes[:clickwrap_body] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
47
|
# int64 - Id of associated form field set
|
|
76
48
|
def form_field_set_id
|
|
77
49
|
@attributes[:form_field_set_id]
|
|
78
50
|
end
|
|
79
51
|
|
|
80
|
-
def form_field_set_id=(value)
|
|
81
|
-
@attributes[:form_field_set_id] = value
|
|
82
|
-
end
|
|
83
|
-
|
|
84
52
|
# object - Data for form field set with form field ids as keys and user data as values
|
|
85
53
|
def form_field_data
|
|
86
54
|
@attributes[:form_field_data]
|
|
87
55
|
end
|
|
88
56
|
|
|
89
|
-
def form_field_data=(value)
|
|
90
|
-
@attributes[:form_field_data] = value
|
|
91
|
-
end
|
|
92
|
-
|
|
93
57
|
# string - Bundle URL code
|
|
94
58
|
def bundle_code
|
|
95
59
|
@attributes[:bundle_code]
|
|
96
60
|
end
|
|
97
61
|
|
|
98
|
-
def bundle_code=(value)
|
|
99
|
-
@attributes[:bundle_code] = value
|
|
100
|
-
end
|
|
101
|
-
|
|
102
62
|
# int64 - Id of associated bundle
|
|
103
63
|
def bundle_id
|
|
104
64
|
@attributes[:bundle_id]
|
|
105
65
|
end
|
|
106
66
|
|
|
107
|
-
def bundle_id=(value)
|
|
108
|
-
@attributes[:bundle_id] = value
|
|
109
|
-
end
|
|
110
|
-
|
|
111
67
|
# int64 - Id of associated bundle recipient
|
|
112
68
|
def bundle_recipient_id
|
|
113
69
|
@attributes[:bundle_recipient_id]
|
|
114
70
|
end
|
|
115
71
|
|
|
116
|
-
def bundle_recipient_id=(value)
|
|
117
|
-
@attributes[:bundle_recipient_id] = value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
72
|
# int64 - Workspace ID. `0` means the default workspace.
|
|
121
73
|
def workspace_id
|
|
122
74
|
@attributes[:workspace_id]
|
|
123
75
|
end
|
|
124
76
|
|
|
125
|
-
def workspace_id=(value)
|
|
126
|
-
@attributes[:workspace_id] = value
|
|
127
|
-
end
|
|
128
|
-
|
|
129
77
|
# date-time - Registration creation date/time
|
|
130
78
|
def created_at
|
|
131
79
|
@attributes[:created_at]
|
|
132
80
|
end
|
|
133
81
|
|
|
134
|
-
# string - Bundle recipient registration code
|
|
135
|
-
def bundle_recipient_registration_code
|
|
136
|
-
@attributes[:bundle_recipient_registration_code]
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
def bundle_recipient_registration_code=(value)
|
|
140
|
-
@attributes[:bundle_recipient_registration_code] = value
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
# string - Public bundle password.
|
|
144
|
-
def password
|
|
145
|
-
@attributes[:password]
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
def password=(value)
|
|
149
|
-
@attributes[:password] = value
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
def save
|
|
153
|
-
if @attributes[:id]
|
|
154
|
-
raise NotImplementedError.new("The BundleRegistration object doesn't support updates.")
|
|
155
|
-
else
|
|
156
|
-
new_obj = BundleRegistration.create(@attributes, @options)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
@attributes = new_obj.attributes
|
|
160
|
-
true
|
|
161
|
-
end
|
|
162
|
-
|
|
163
82
|
# Parameters:
|
|
164
83
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
165
84
|
# 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.
|
|
@@ -181,49 +100,5 @@ module Files
|
|
|
181
100
|
def self.all(params = {}, options = {})
|
|
182
101
|
list(params, options)
|
|
183
102
|
end
|
|
184
|
-
|
|
185
|
-
# Parameters:
|
|
186
|
-
# bundle_recipient_registration_code - string - Bundle recipient registration code
|
|
187
|
-
# password - string - Public bundle password.
|
|
188
|
-
# company - string - Registrant company name
|
|
189
|
-
# email - string - Registrant email address
|
|
190
|
-
# name - string - Registrant name
|
|
191
|
-
# bundle_code (required) - string - Bundle URL code
|
|
192
|
-
def self.create(params = {}, options = {})
|
|
193
|
-
raise InvalidParameterError.new("Bad parameter: bundle_recipient_registration_code must be an String") if params[:bundle_recipient_registration_code] and !params[:bundle_recipient_registration_code].is_a?(String)
|
|
194
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
195
|
-
raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
|
|
196
|
-
raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
|
|
197
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
198
|
-
raise InvalidParameterError.new("Bad parameter: bundle_code must be an String") if params[:bundle_code] and !params[:bundle_code].is_a?(String)
|
|
199
|
-
raise MissingParameterError.new("Parameter missing: bundle_code") unless params[:bundle_code]
|
|
200
|
-
|
|
201
|
-
response, options = Api.send_request("/bundle_registrations", :post, params, options)
|
|
202
|
-
BundleRegistration.new(response.data, options)
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
# Parameters:
|
|
206
|
-
# bundle_registration_code (required) - string - Bundle registration cookie code
|
|
207
|
-
# upload_in_progress - boolean - Flag that indicates if current upload is going during this registration session
|
|
208
|
-
def self.last_activity(params = {}, options = {})
|
|
209
|
-
raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
|
|
210
|
-
raise MissingParameterError.new("Parameter missing: bundle_registration_code") unless params[:bundle_registration_code]
|
|
211
|
-
|
|
212
|
-
Api.send_request("/bundle_registrations/last_activity", :post, params, options)
|
|
213
|
-
nil
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
# Parameters:
|
|
217
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
218
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `bundle_id` or `created_at`.
|
|
219
|
-
# bundle_id - int64 - ID of the associated Bundle
|
|
220
|
-
def self.create_export(params = {}, options = {})
|
|
221
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
222
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
223
|
-
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
|
224
|
-
|
|
225
|
-
response, options = Api.send_request("/bundle_registrations/create_export", :post, params, options)
|
|
226
|
-
Export.new(response.data, options)
|
|
227
|
-
end
|
|
228
103
|
end
|
|
229
104
|
end
|
|
@@ -14,6 +14,11 @@ module Files
|
|
|
14
14
|
@attributes[:id]
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
# string - Short AI-generated chat title.
|
|
18
|
+
def title
|
|
19
|
+
@attributes[:title]
|
|
20
|
+
end
|
|
21
|
+
|
|
17
22
|
# int64 - User ID.
|
|
18
23
|
def user_id
|
|
19
24
|
@attributes[:user_id]
|
|
@@ -79,16 +84,5 @@ module Files
|
|
|
79
84
|
def self.get(id, params = {}, options = {})
|
|
80
85
|
find(id, params, options)
|
|
81
86
|
end
|
|
82
|
-
|
|
83
|
-
# Parameters:
|
|
84
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
85
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`, `user_id` or `workspace_id`.
|
|
86
|
-
def self.create_export(params = {}, options = {})
|
|
87
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
88
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
89
|
-
|
|
90
|
-
response, options = Api.send_request("/chat_sessions/create_export", :post, params, options)
|
|
91
|
-
Export.new(response.data, options)
|
|
92
|
-
end
|
|
93
87
|
end
|
|
94
88
|
end
|
|
@@ -178,11 +178,6 @@ module Files
|
|
|
178
178
|
ChildSiteManagementPolicy.new(response.data, options)
|
|
179
179
|
end
|
|
180
180
|
|
|
181
|
-
def self.create_export(params = {}, options = {})
|
|
182
|
-
response, options = Api.send_request("/child_site_management_policies/create_export", :post, params, options)
|
|
183
|
-
Export.new(response.data, options)
|
|
184
|
-
end
|
|
185
|
-
|
|
186
181
|
# Parameters:
|
|
187
182
|
# value - object - Policy configuration data. Attributes differ by policy type. For more information, refer to the Value Hash section of the developer documentation.
|
|
188
183
|
# skip_child_site_ids - array(int64) - IDs of child sites that this policy has been exempted from. If `skip_child_site_ids` is empty, the policy will be applied to all child sites. To apply a policy to a child site that has been exempted, remove it from `skip_child_site_ids` or set it to an empty array (`[]`).
|
|
@@ -161,15 +161,6 @@ module Files
|
|
|
161
161
|
Clickwrap.new(response.data, options)
|
|
162
162
|
end
|
|
163
163
|
|
|
164
|
-
# Parameters:
|
|
165
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
166
|
-
def self.create_export(params = {}, options = {})
|
|
167
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
168
|
-
|
|
169
|
-
response, options = Api.send_request("/clickwraps/create_export", :post, params, options)
|
|
170
|
-
Export.new(response.data, options)
|
|
171
|
-
end
|
|
172
|
-
|
|
173
164
|
# Parameters:
|
|
174
165
|
# name - string - Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
|
175
166
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
@@ -177,15 +177,6 @@ module Files
|
|
|
177
177
|
CustomDomain.new(response.data, options)
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
# Parameters:
|
|
181
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
182
|
-
def self.create_export(params = {}, options = {})
|
|
183
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
184
|
-
|
|
185
|
-
response, options = Api.send_request("/custom_domains/create_export", :post, params, options)
|
|
186
|
-
Export.new(response.data, options)
|
|
187
|
-
end
|
|
188
|
-
|
|
189
180
|
# Parameters:
|
|
190
181
|
# destination - string - Where this custom domain routes. Can be `site_alias`, `public_hosting`, or `s3_endpoint`.
|
|
191
182
|
# folder_behavior_id - int64 - Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior.
|
|
@@ -160,17 +160,6 @@ module Files
|
|
|
160
160
|
DesktopConfigurationProfile.new(response.data, options)
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
-
# Parameters:
|
|
164
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
|
|
165
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
166
|
-
def self.create_export(params = {}, options = {})
|
|
167
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
168
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
169
|
-
|
|
170
|
-
response, options = Api.send_request("/desktop_configuration_profiles/create_export", :post, params, options)
|
|
171
|
-
Export.new(response.data, options)
|
|
172
|
-
end
|
|
173
|
-
|
|
174
163
|
# Parameters:
|
|
175
164
|
# name - string - Profile name
|
|
176
165
|
# workspace_id - int64 - Workspace ID
|
|
@@ -44,10 +44,5 @@ module Files
|
|
|
44
44
|
def self.all(params = {}, options = {})
|
|
45
45
|
list(params, options)
|
|
46
46
|
end
|
|
47
|
-
|
|
48
|
-
def self.create_export(params = {}, options = {})
|
|
49
|
-
response, options = Api.send_request("/dns_records/create_export", :post, params, options)
|
|
50
|
-
Export.new(response.data, options)
|
|
51
|
-
end
|
|
52
47
|
end
|
|
53
48
|
end
|
|
@@ -83,26 +83,5 @@ module Files
|
|
|
83
83
|
def self.all(params = {}, options = {})
|
|
84
84
|
list(params, options)
|
|
85
85
|
end
|
|
86
|
-
|
|
87
|
-
# Parameters:
|
|
88
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
|
|
89
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ inbox_id, created_at ]`, `[ sender, created_at ]`, `[ status, created_at ]`, `[ inbox_id, status ]`, `[ status, sender ]`, `[ inbox_id, status, created_at ]`, `[ status, sender, created_at ]`, `[ inbox_id, status, sender ]` or `[ inbox_id, status, sender, created_at ]`.
|
|
90
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
91
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
92
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
|
|
93
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
94
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
95
|
-
def self.create_export(params = {}, options = {})
|
|
96
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
97
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
98
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
99
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
100
|
-
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
101
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
102
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
103
|
-
|
|
104
|
-
response, options = Api.send_request("/email_incoming_messages/create_export", :post, params, options)
|
|
105
|
-
Export.new(response.data, options)
|
|
106
|
-
end
|
|
107
86
|
end
|
|
108
87
|
end
|