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
|
@@ -54,16 +54,7 @@ module Files
|
|
|
54
54
|
@attributes[:username] = value
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
#
|
|
58
|
-
def name
|
|
59
|
-
@attributes[:name]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
def name=(value)
|
|
63
|
-
@attributes[:name] = value
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
# int64
|
|
57
|
+
# int64 - Group User ID.
|
|
67
58
|
def id
|
|
68
59
|
@attributes[:id]
|
|
69
60
|
end
|
|
@@ -157,17 +148,6 @@ module Files
|
|
|
157
148
|
GroupUser.new(response.data, options)
|
|
158
149
|
end
|
|
159
150
|
|
|
160
|
-
# Parameters:
|
|
161
|
-
# group_id - int64 - Group ID. If provided, will return group_users of this group.
|
|
162
|
-
# user_id - int64 - User ID. If provided, will return group_users of this user.
|
|
163
|
-
def self.create_export(params = {}, options = {})
|
|
164
|
-
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
165
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
166
|
-
|
|
167
|
-
response, options = Api.send_request("/group_users/create_export", :post, params, options)
|
|
168
|
-
Export.new(response.data, options)
|
|
169
|
-
end
|
|
170
|
-
|
|
171
151
|
# Parameters:
|
|
172
152
|
# group_id (required) - int64 - Group ID to add user to.
|
|
173
153
|
# user_id (required) - int64 - User ID to add to group.
|
|
@@ -201,99 +201,5 @@ module Files
|
|
|
201
201
|
def self.all(params = {}, options = {})
|
|
202
202
|
list(params, options)
|
|
203
203
|
end
|
|
204
|
-
|
|
205
|
-
# Parameters:
|
|
206
|
-
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
207
|
-
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
208
|
-
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
209
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
210
|
-
# path (required) - string - Path to operate on.
|
|
211
|
-
def self.list_for_file_create_export(path, params = {}, options = {})
|
|
212
|
-
params ||= {}
|
|
213
|
-
params[:path] = path
|
|
214
|
-
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
|
215
|
-
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
|
216
|
-
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
|
217
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
218
|
-
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
219
|
-
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
220
|
-
|
|
221
|
-
response, options = Api.send_request("/history/files/create_export", :post, params, options)
|
|
222
|
-
Export.new(response.data, options)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
# Parameters:
|
|
226
|
-
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
227
|
-
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
228
|
-
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
229
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
230
|
-
# path (required) - string - Path to operate on.
|
|
231
|
-
def self.list_for_folder_create_export(path, params = {}, options = {})
|
|
232
|
-
params ||= {}
|
|
233
|
-
params[:path] = path
|
|
234
|
-
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
|
235
|
-
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
|
236
|
-
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
|
237
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
238
|
-
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
239
|
-
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
240
|
-
|
|
241
|
-
response, options = Api.send_request("/history/folders/create_export", :post, params, options)
|
|
242
|
-
Export.new(response.data, options)
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
# Parameters:
|
|
246
|
-
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
247
|
-
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
248
|
-
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
249
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
250
|
-
# user_id (required) - int64 - User ID.
|
|
251
|
-
def self.list_for_user_create_export(user_id, params = {}, options = {})
|
|
252
|
-
params ||= {}
|
|
253
|
-
params[:user_id] = user_id
|
|
254
|
-
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
|
255
|
-
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
|
256
|
-
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
|
257
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
258
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
259
|
-
raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
|
|
260
|
-
|
|
261
|
-
response, options = Api.send_request("/history/users/#{params[:user_id]}/create_export", :post, params, options)
|
|
262
|
-
Export.new(response.data, options)
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
# Parameters:
|
|
266
|
-
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
267
|
-
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
268
|
-
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
269
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
270
|
-
def self.list_logins_create_export(params = {}, options = {})
|
|
271
|
-
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
|
272
|
-
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
|
273
|
-
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
|
274
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
275
|
-
|
|
276
|
-
response, options = Api.send_request("/history/login/create_export", :post, params, options)
|
|
277
|
-
Export.new(response.data, options)
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
# Parameters:
|
|
281
|
-
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
282
|
-
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
283
|
-
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
284
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
285
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`. Valid field combinations are `[ ]`, `[ path ]`, `[ path ]` or `[ path ]`.
|
|
286
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
287
|
-
def self.list_create_export(params = {}, options = {})
|
|
288
|
-
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
|
289
|
-
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
|
290
|
-
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
|
291
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
292
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
293
|
-
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
294
|
-
|
|
295
|
-
response, options = Api.send_request("/history/create_export", :post, params, options)
|
|
296
|
-
Export.new(response.data, options)
|
|
297
|
-
end
|
|
298
204
|
end
|
|
299
205
|
end
|
|
@@ -159,17 +159,5 @@ module Files
|
|
|
159
159
|
def self.all(params = {}, options = {})
|
|
160
160
|
list(params, options)
|
|
161
161
|
end
|
|
162
|
-
|
|
163
|
-
# Parameters:
|
|
164
|
-
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
165
|
-
# history_export_id (required) - int64 - ID of the associated history export.
|
|
166
|
-
def self.create_export(params = {}, options = {})
|
|
167
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
168
|
-
raise InvalidParameterError.new("Bad parameter: history_export_id must be an Integer") if params[:history_export_id] and !params[:history_export_id].is_a?(Integer)
|
|
169
|
-
raise MissingParameterError.new("Parameter missing: history_export_id") unless params[:history_export_id]
|
|
170
|
-
|
|
171
|
-
response, options = Api.send_request("/history_export_results/create_export", :post, params, options)
|
|
172
|
-
Export.new(response.data, options)
|
|
173
|
-
end
|
|
174
162
|
end
|
|
175
163
|
end
|
|
@@ -30,10 +30,5 @@ module Files
|
|
|
30
30
|
Api.send_request("/holiday_regions/supported", :get, params, options)
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
|
-
|
|
34
|
-
def self.supported_create_export(params = {}, options = {})
|
|
35
|
-
response, options = Api.send_request("/holiday_regions/supported/create_export", :post, params, options)
|
|
36
|
-
Export.new(response.data, options)
|
|
37
|
-
end
|
|
38
33
|
end
|
|
39
34
|
end
|
|
@@ -64,11 +64,6 @@ module Files
|
|
|
64
64
|
@attributes[:created_at]
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
# string - Log Type
|
|
68
|
-
def log_type
|
|
69
|
-
@attributes[:log_type]
|
|
70
|
-
end
|
|
71
|
-
|
|
72
67
|
# Parameters:
|
|
73
68
|
# 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.
|
|
74
69
|
# per_page - int64 - Number of records to show per page. (Max: 2000, 1,000 or less is recommended).
|
|
@@ -96,24 +91,5 @@ module Files
|
|
|
96
91
|
def self.all(params = {}, options = {})
|
|
97
92
|
list(params, options)
|
|
98
93
|
end
|
|
99
|
-
|
|
100
|
-
# Parameters:
|
|
101
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `operation`, `status`, `path`, `client_ip` or `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
102
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
103
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
104
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `status`, `path` or `client_ip`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
105
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
106
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
|
|
107
|
-
def self.create_export(params = {}, options = {})
|
|
108
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
109
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
110
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
111
|
-
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
112
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
113
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
114
|
-
|
|
115
|
-
response, options = Api.send_request("/inbound_s3_logs/create_export", :post, params, options)
|
|
116
|
-
Export.new(response.data, options)
|
|
117
|
-
end
|
|
118
94
|
end
|
|
119
95
|
end
|
|
@@ -63,15 +63,6 @@ module Files
|
|
|
63
63
|
@attributes[:inbox_id] = value
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
# string - The method to use, must be email or null
|
|
67
|
-
def method
|
|
68
|
-
@attributes[:method]
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def method=(value)
|
|
72
|
-
@attributes[:method] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
66
|
# boolean - Set to true to share the link with the recipient upon creation.
|
|
76
67
|
def share_after_create
|
|
77
68
|
@attributes[:share_after_create]
|
|
@@ -121,7 +112,6 @@ module Files
|
|
|
121
112
|
# name - string - Name of recipient.
|
|
122
113
|
# company - string - Company of recipient.
|
|
123
114
|
# note - string - Note to include in email.
|
|
124
|
-
# method - string - The method to use, must be email or null
|
|
125
115
|
# share_after_create - boolean - Set to true to share the link with the recipient upon creation.
|
|
126
116
|
def self.create(params = {}, options = {})
|
|
127
117
|
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
|
@@ -129,26 +119,11 @@ module Files
|
|
|
129
119
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
130
120
|
raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
|
|
131
121
|
raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
|
|
132
|
-
raise InvalidParameterError.new("Bad parameter: method must be an String") if params[:method] and !params[:method].is_a?(String)
|
|
133
122
|
raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
|
|
134
123
|
raise MissingParameterError.new("Parameter missing: recipient") unless params[:recipient]
|
|
135
124
|
|
|
136
125
|
response, options = Api.send_request("/inbox_recipients", :post, params, options)
|
|
137
126
|
InboxRecipient.new(response.data, options)
|
|
138
127
|
end
|
|
139
|
-
|
|
140
|
-
# Parameters:
|
|
141
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
142
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
|
143
|
-
# inbox_id (required) - int64 - List recipients for the inbox with this ID.
|
|
144
|
-
def self.create_export(params = {}, options = {})
|
|
145
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
146
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
147
|
-
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
|
148
|
-
raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
|
|
149
|
-
|
|
150
|
-
response, options = Api.send_request("/inbox_recipients/create_export", :post, params, options)
|
|
151
|
-
Export.new(response.data, options)
|
|
152
|
-
end
|
|
153
128
|
end
|
|
154
129
|
end
|
|
@@ -14,143 +14,61 @@ 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 - Clickwrap text that was shown to the registrant
|
|
58
38
|
def clickwrap_body
|
|
59
39
|
@attributes[:clickwrap_body]
|
|
60
40
|
end
|
|
61
41
|
|
|
62
|
-
def clickwrap_body=(value)
|
|
63
|
-
@attributes[:clickwrap_body] = value
|
|
64
|
-
end
|
|
65
|
-
|
|
66
42
|
# int64 - Id of associated form field set
|
|
67
43
|
def form_field_set_id
|
|
68
44
|
@attributes[:form_field_set_id]
|
|
69
45
|
end
|
|
70
46
|
|
|
71
|
-
def form_field_set_id=(value)
|
|
72
|
-
@attributes[:form_field_set_id] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
47
|
# object - Data for form field set with form field ids as keys and user data as values
|
|
76
48
|
def form_field_data
|
|
77
49
|
@attributes[:form_field_data]
|
|
78
50
|
end
|
|
79
51
|
|
|
80
|
-
def form_field_data=(value)
|
|
81
|
-
@attributes[:form_field_data] = value
|
|
82
|
-
end
|
|
83
|
-
|
|
84
52
|
# int64 - Id of associated inbox
|
|
85
53
|
def inbox_id
|
|
86
54
|
@attributes[:inbox_id]
|
|
87
55
|
end
|
|
88
56
|
|
|
89
|
-
def inbox_id=(value)
|
|
90
|
-
@attributes[:inbox_id] = value
|
|
91
|
-
end
|
|
92
|
-
|
|
93
57
|
# int64 - Id of associated inbox recipient
|
|
94
58
|
def inbox_recipient_id
|
|
95
59
|
@attributes[:inbox_recipient_id]
|
|
96
60
|
end
|
|
97
61
|
|
|
98
|
-
def inbox_recipient_id=(value)
|
|
99
|
-
@attributes[:inbox_recipient_id] = value
|
|
100
|
-
end
|
|
101
|
-
|
|
102
62
|
# string - Title of associated inbox
|
|
103
63
|
def inbox_title
|
|
104
64
|
@attributes[:inbox_title]
|
|
105
65
|
end
|
|
106
66
|
|
|
107
|
-
def inbox_title=(value)
|
|
108
|
-
@attributes[:inbox_title] = value
|
|
109
|
-
end
|
|
110
|
-
|
|
111
67
|
# date-time - Registration creation date/time
|
|
112
68
|
def created_at
|
|
113
69
|
@attributes[:created_at]
|
|
114
70
|
end
|
|
115
71
|
|
|
116
|
-
# string - Inbox URL code
|
|
117
|
-
def inbox_code
|
|
118
|
-
@attributes[:inbox_code]
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
def inbox_code=(value)
|
|
122
|
-
@attributes[:inbox_code] = value
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
# string - Inbox recipient registration code
|
|
126
|
-
def inbox_recipient_registration_code
|
|
127
|
-
@attributes[:inbox_recipient_registration_code]
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
def inbox_recipient_registration_code=(value)
|
|
131
|
-
@attributes[:inbox_recipient_registration_code] = value
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
# string - Inbox password
|
|
135
|
-
def password
|
|
136
|
-
@attributes[:password]
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
def password=(value)
|
|
140
|
-
@attributes[:password] = value
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
def save
|
|
144
|
-
if @attributes[:id]
|
|
145
|
-
raise NotImplementedError.new("The InboxRegistration object doesn't support updates.")
|
|
146
|
-
else
|
|
147
|
-
new_obj = InboxRegistration.create(@attributes, @options)
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
@attributes = new_obj.attributes
|
|
151
|
-
true
|
|
152
|
-
end
|
|
153
|
-
|
|
154
72
|
# Parameters:
|
|
155
73
|
# 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.
|
|
156
74
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
@@ -168,44 +86,5 @@ module Files
|
|
|
168
86
|
def self.all(params = {}, options = {})
|
|
169
87
|
list(params, options)
|
|
170
88
|
end
|
|
171
|
-
|
|
172
|
-
# Parameters:
|
|
173
|
-
# inbox_code (required) - string - Inbox URL code
|
|
174
|
-
# inbox_recipient_registration_code - string - Inbox recipient registration code
|
|
175
|
-
# password - string - Inbox password
|
|
176
|
-
# name - string - Registrant name
|
|
177
|
-
# company - string - Registrant company name
|
|
178
|
-
# email - string - Registrant email address
|
|
179
|
-
def self.create(params = {}, options = {})
|
|
180
|
-
raise InvalidParameterError.new("Bad parameter: inbox_code must be an String") if params[:inbox_code] and !params[:inbox_code].is_a?(String)
|
|
181
|
-
raise InvalidParameterError.new("Bad parameter: inbox_recipient_registration_code must be an String") if params[:inbox_recipient_registration_code] and !params[:inbox_recipient_registration_code].is_a?(String)
|
|
182
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
183
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
184
|
-
raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
|
|
185
|
-
raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
|
|
186
|
-
raise MissingParameterError.new("Parameter missing: inbox_code") unless params[:inbox_code]
|
|
187
|
-
|
|
188
|
-
response, options = Api.send_request("/inbox_registrations", :post, params, options)
|
|
189
|
-
InboxRegistration.new(response.data, options)
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
# Parameters:
|
|
193
|
-
# inbox_registration_code (required) - string - Inbox registration cookie code
|
|
194
|
-
def self.last_activity(params = {}, options = {})
|
|
195
|
-
raise InvalidParameterError.new("Bad parameter: inbox_registration_code must be an String") if params[:inbox_registration_code] and !params[:inbox_registration_code].is_a?(String)
|
|
196
|
-
raise MissingParameterError.new("Parameter missing: inbox_registration_code") unless params[:inbox_registration_code]
|
|
197
|
-
|
|
198
|
-
Api.send_request("/inbox_registrations/last_activity", :post, params, options)
|
|
199
|
-
nil
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
# Parameters:
|
|
203
|
-
# folder_behavior_id - int64 - ID of the associated Inbox. This is required if the user is not a site admin.
|
|
204
|
-
def self.create_export(params = {}, options = {})
|
|
205
|
-
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
|
|
206
|
-
|
|
207
|
-
response, options = Api.send_request("/inbox_registrations/create_export", :post, params, options)
|
|
208
|
-
Export.new(response.data, options)
|
|
209
|
-
end
|
|
210
89
|
end
|
|
211
90
|
end
|
|
@@ -51,24 +51,5 @@ module Files
|
|
|
51
51
|
def self.all(params = {}, options = {})
|
|
52
52
|
list(params, options)
|
|
53
53
|
end
|
|
54
|
-
|
|
55
|
-
# Parameters:
|
|
56
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
57
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ folder_behavior_id, created_at ]`, `[ inbox_registration_id, created_at ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ folder_behavior_id, inbox_registration_id, created_at ]`.
|
|
58
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
59
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
60
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
61
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
62
|
-
def self.create_export(params = {}, options = {})
|
|
63
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
64
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
65
|
-
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
|
66
|
-
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
|
67
|
-
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
68
|
-
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
69
|
-
|
|
70
|
-
response, options = Api.send_request("/inbox_uploads/create_export", :post, params, options)
|
|
71
|
-
Export.new(response.data, options)
|
|
72
|
-
end
|
|
73
54
|
end
|
|
74
55
|
end
|
|
@@ -113,10 +113,5 @@ module Files
|
|
|
113
113
|
def self.get(id, params = {}, options = {})
|
|
114
114
|
find(id, params, options)
|
|
115
115
|
end
|
|
116
|
-
|
|
117
|
-
def self.create_export(params = {}, options = {})
|
|
118
|
-
response, options = Api.send_request("/invoices/create_export", :post, params, options)
|
|
119
|
-
Export.new(response.data, options)
|
|
120
|
-
end
|
|
121
116
|
end
|
|
122
117
|
end
|
|
@@ -45,18 +45,6 @@ module Files
|
|
|
45
45
|
list(params, options)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
# Parameters:
|
|
49
|
-
# 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.
|
|
50
|
-
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
51
|
-
def self.get_active(params = {}, options = {})
|
|
52
|
-
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
53
|
-
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
54
|
-
|
|
55
|
-
List.new(PublicIpAddress, params) do
|
|
56
|
-
Api.send_request("/ip_addresses/active", :get, params, options)
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
48
|
# Parameters:
|
|
61
49
|
# 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.
|
|
62
50
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
@@ -92,30 +80,5 @@ module Files
|
|
|
92
80
|
Api.send_request("/ip_addresses/reserved", :get, params, options)
|
|
93
81
|
end
|
|
94
82
|
end
|
|
95
|
-
|
|
96
|
-
def self.active_create_export(params = {}, options = {})
|
|
97
|
-
response, options = Api.send_request("/ip_addresses/active/create_export", :post, params, options)
|
|
98
|
-
Export.new(response.data, options)
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
def self.smartfile_reserved_create_export(params = {}, options = {})
|
|
102
|
-
response, options = Api.send_request("/ip_addresses/smartfile-reserved/create_export", :post, params, options)
|
|
103
|
-
Export.new(response.data, options)
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
def self.exavault_reserved_create_export(params = {}, options = {})
|
|
107
|
-
response, options = Api.send_request("/ip_addresses/exavault-reserved/create_export", :post, params, options)
|
|
108
|
-
Export.new(response.data, options)
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
def self.reserved_create_export(params = {}, options = {})
|
|
112
|
-
response, options = Api.send_request("/ip_addresses/reserved/create_export", :post, params, options)
|
|
113
|
-
Export.new(response.data, options)
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
def self.create_export(params = {}, options = {})
|
|
117
|
-
response, options = Api.send_request("/ip_addresses/create_export", :post, params, options)
|
|
118
|
-
Export.new(response.data, options)
|
|
119
|
-
end
|
|
120
83
|
end
|
|
121
84
|
end
|
|
@@ -174,17 +174,6 @@ module Files
|
|
|
174
174
|
KeyLifecycleRule.new(response.data, options)
|
|
175
175
|
end
|
|
176
176
|
|
|
177
|
-
# Parameters:
|
|
178
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `key_type`.
|
|
179
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type` and `workspace_id`. Valid field combinations are `[ workspace_id, key_type ]`.
|
|
180
|
-
def self.create_export(params = {}, options = {})
|
|
181
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
182
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
183
|
-
|
|
184
|
-
response, options = Api.send_request("/key_lifecycle_rules/create_export", :post, params, options)
|
|
185
|
-
Export.new(response.data, options)
|
|
186
|
-
end
|
|
187
|
-
|
|
188
177
|
# Parameters:
|
|
189
178
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
|
|
190
179
|
# expiration_days - int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
|
|
@@ -117,25 +117,14 @@ module Files
|
|
|
117
117
|
@attributes[:username] = value
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
# string
|
|
121
|
-
def bundle_registration_code
|
|
122
|
-
@attributes[:bundle_registration_code]
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
def bundle_registration_code=(value)
|
|
126
|
-
@attributes[:bundle_registration_code] = value
|
|
127
|
-
end
|
|
128
|
-
|
|
129
120
|
# Parameters:
|
|
130
121
|
# token (required) - string - Lock token
|
|
131
|
-
# bundle_registration_code - string
|
|
132
122
|
def delete(params = {})
|
|
133
123
|
params ||= {}
|
|
134
124
|
params[:path] = @attributes[:path]
|
|
135
125
|
raise MissingParameterError.new("Current object doesn't have a path") unless @attributes[:path]
|
|
136
126
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
137
127
|
raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
|
|
138
|
-
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)
|
|
139
128
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
140
129
|
raise MissingParameterError.new("Parameter missing: token") unless params[:token]
|
|
141
130
|
|
|
@@ -158,14 +147,12 @@ module Files
|
|
|
158
147
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
159
148
|
# path (required) - string - Path to operate on.
|
|
160
149
|
# include_children - boolean - Include locks from children objects?
|
|
161
|
-
# bundle_registration_code - string
|
|
162
150
|
def self.list_for(path, params = {}, options = {})
|
|
163
151
|
params ||= {}
|
|
164
152
|
params[:path] = path
|
|
165
153
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
166
154
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
167
155
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
168
|
-
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)
|
|
169
156
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
170
157
|
|
|
171
158
|
List.new(Lock, params) do
|
|
@@ -175,27 +162,15 @@ module Files
|
|
|
175
162
|
|
|
176
163
|
# Parameters:
|
|
177
164
|
# path (required) - string - Path
|
|
178
|
-
# token - string
|
|
179
|
-
# type - string
|
|
180
165
|
# allow_access_by_any_user - boolean - Can lock be modified by users other than its creator?
|
|
181
|
-
# scope - string
|
|
182
166
|
# exclusive - boolean - Is lock exclusive?
|
|
183
|
-
# depth - string
|
|
184
167
|
# recursive - boolean - Does lock apply to subfolders?
|
|
185
|
-
# owner - string
|
|
186
168
|
# timeout - int64 - Lock timeout in seconds
|
|
187
|
-
# bundle_registration_code - string
|
|
188
169
|
def self.create(path, params = {}, options = {})
|
|
189
170
|
params ||= {}
|
|
190
171
|
params[:path] = path
|
|
191
172
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
192
|
-
raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
|
|
193
|
-
raise InvalidParameterError.new("Bad parameter: type must be an String") if params[:type] and !params[:type].is_a?(String)
|
|
194
|
-
raise InvalidParameterError.new("Bad parameter: scope must be an String") if params[:scope] and !params[:scope].is_a?(String)
|
|
195
|
-
raise InvalidParameterError.new("Bad parameter: depth must be an String") if params[:depth] and !params[:depth].is_a?(String)
|
|
196
|
-
raise InvalidParameterError.new("Bad parameter: owner must be an String") if params[:owner] and !params[:owner].is_a?(String)
|
|
197
173
|
raise InvalidParameterError.new("Bad parameter: timeout must be an Integer") if params[:timeout] and !params[:timeout].is_a?(Integer)
|
|
198
|
-
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)
|
|
199
174
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
200
175
|
|
|
201
176
|
response, options = Api.send_request("/locks/#{params[:path]}", :post, params, options)
|
|
@@ -204,13 +179,11 @@ module Files
|
|
|
204
179
|
|
|
205
180
|
# Parameters:
|
|
206
181
|
# token (required) - string - Lock token
|
|
207
|
-
# bundle_registration_code - string
|
|
208
182
|
def self.delete(path, params = {}, options = {})
|
|
209
183
|
params ||= {}
|
|
210
184
|
params[:path] = path
|
|
211
185
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
212
186
|
raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
|
|
213
|
-
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)
|
|
214
187
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
215
188
|
raise MissingParameterError.new("Parameter missing: token") unless params[:token]
|
|
216
189
|
|