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
|
@@ -31,78 +31,6 @@ module Files
|
|
|
31
31
|
@attributes[:language] = value
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# string - AWS Secret Key for validating AWS-style signatures in the Inbound S3 endpoint.
|
|
35
|
-
def aws_secret_key
|
|
36
|
-
@attributes[:aws_secret_key]
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def aws_secret_key=(value)
|
|
40
|
-
@attributes[:aws_secret_key] = value
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
# int64 - AI Assistant Personality ID for the in-app AI Assistant.
|
|
44
|
-
def ai_assistant_personality_id
|
|
45
|
-
@attributes[:ai_assistant_personality_id]
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
def ai_assistant_personality_id=(value)
|
|
49
|
-
@attributes[:ai_assistant_personality_id] = value
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
# string - System prompt for the in-app AI Assistant.
|
|
53
|
-
def ai_assistant_personality_system_prompt
|
|
54
|
-
@attributes[:ai_assistant_personality_system_prompt]
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
def ai_assistant_personality_system_prompt=(value)
|
|
58
|
-
@attributes[:ai_assistant_personality_system_prompt] = value
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# string - Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
|
62
|
-
def login_token
|
|
63
|
-
@attributes[:login_token]
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
def login_token=(value)
|
|
67
|
-
@attributes[:login_token] = value
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
# string - Domain to use with `login_token`.
|
|
71
|
-
def login_token_domain
|
|
72
|
-
@attributes[:login_token_domain]
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
def login_token_domain=(value)
|
|
76
|
-
@attributes[:login_token_domain] = value
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
# int64 - Workspace ID the user should land in by default when more than one Workspace is available.
|
|
80
|
-
def default_workspace_id
|
|
81
|
-
@attributes[:default_workspace_id]
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
def default_workspace_id=(value)
|
|
85
|
-
@attributes[:default_workspace_id] = value
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
# int64 - Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
|
89
|
-
def max_dir_listing_size
|
|
90
|
-
@attributes[:max_dir_listing_size]
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
def max_dir_listing_size=(value)
|
|
94
|
-
@attributes[:max_dir_listing_size] = value
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
# boolean - Can access multiple regions?
|
|
98
|
-
def multiple_regions
|
|
99
|
-
@attributes[:multiple_regions]
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
def multiple_regions=(value)
|
|
103
|
-
@attributes[:multiple_regions] = value
|
|
104
|
-
end
|
|
105
|
-
|
|
106
34
|
# boolean - Is this session read only?
|
|
107
35
|
def read_only
|
|
108
36
|
@attributes[:read_only]
|
|
@@ -112,24 +40,6 @@ module Files
|
|
|
112
40
|
@attributes[:read_only] = value
|
|
113
41
|
end
|
|
114
42
|
|
|
115
|
-
# string - Root path to restrict the user's session to.
|
|
116
|
-
def root_path
|
|
117
|
-
@attributes[:root_path]
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
def root_path=(value)
|
|
121
|
-
@attributes[:root_path] = value
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
# string - Initial path to start the user's session in.
|
|
125
|
-
def home_path
|
|
126
|
-
@attributes[:home_path]
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
def home_path=(value)
|
|
130
|
-
@attributes[:home_path] = value
|
|
131
|
-
end
|
|
132
|
-
|
|
133
43
|
# boolean - Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
|
134
44
|
def sftp_insecure_ciphers
|
|
135
45
|
@attributes[:sftp_insecure_ciphers]
|
|
@@ -139,177 +49,6 @@ module Files
|
|
|
139
49
|
@attributes[:sftp_insecure_ciphers] = value
|
|
140
50
|
end
|
|
141
51
|
|
|
142
|
-
# int64 - Site ID
|
|
143
|
-
def site_id
|
|
144
|
-
@attributes[:site_id]
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
def site_id=(value)
|
|
148
|
-
@attributes[:site_id] = value
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
# boolean - Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
|
152
|
-
def ssl_required
|
|
153
|
-
@attributes[:ssl_required]
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
def ssl_required=(value)
|
|
157
|
-
@attributes[:ssl_required] = value
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
# date-time - Session timeout datetime
|
|
161
|
-
def timeout_at
|
|
162
|
-
@attributes[:timeout_at]
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
def timeout_at=(value)
|
|
166
|
-
@attributes[:timeout_at] = value
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
# boolean - Can this session tolerate IP and User-Agent mismatches?
|
|
170
|
-
def trusted
|
|
171
|
-
@attributes[:trusted]
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
def trusted=(value)
|
|
175
|
-
@attributes[:trusted] = value
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
# boolean - If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
|
179
|
-
def two_factor_setup_needed
|
|
180
|
-
@attributes[:two_factor_setup_needed]
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
def two_factor_setup_needed=(value)
|
|
184
|
-
@attributes[:two_factor_setup_needed] = value
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
# boolean - Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
|
188
|
-
def allowed_2fa_method_sms
|
|
189
|
-
@attributes[:allowed_2fa_method_sms]
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
def allowed_2fa_method_sms=(value)
|
|
193
|
-
@attributes[:allowed_2fa_method_sms] = value
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
# boolean - Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
|
197
|
-
def allowed_2fa_method_totp
|
|
198
|
-
@attributes[:allowed_2fa_method_totp]
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
def allowed_2fa_method_totp=(value)
|
|
202
|
-
@attributes[:allowed_2fa_method_totp] = value
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
# boolean - Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
|
206
|
-
def allowed_2fa_method_webauthn
|
|
207
|
-
@attributes[:allowed_2fa_method_webauthn]
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
def allowed_2fa_method_webauthn=(value)
|
|
211
|
-
@attributes[:allowed_2fa_method_webauthn] = value
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
# boolean - Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
|
215
|
-
def allowed_2fa_method_yubi
|
|
216
|
-
@attributes[:allowed_2fa_method_yubi]
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
def allowed_2fa_method_yubi=(value)
|
|
220
|
-
@attributes[:allowed_2fa_method_yubi] = value
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
# boolean - Calculate CRC32 checksum for incoming files?
|
|
224
|
-
def calculate_file_checksums_crc32
|
|
225
|
-
@attributes[:calculate_file_checksums_crc32]
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
def calculate_file_checksums_crc32=(value)
|
|
229
|
-
@attributes[:calculate_file_checksums_crc32] = value
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
# boolean - Calculate MD5 checksum for incoming files?
|
|
233
|
-
def calculate_file_checksums_md5
|
|
234
|
-
@attributes[:calculate_file_checksums_md5]
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
def calculate_file_checksums_md5=(value)
|
|
238
|
-
@attributes[:calculate_file_checksums_md5] = value
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
# boolean - Calculate SHA1 checksum for incoming files?
|
|
242
|
-
def calculate_file_checksums_sha1
|
|
243
|
-
@attributes[:calculate_file_checksums_sha1]
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
def calculate_file_checksums_sha1=(value)
|
|
247
|
-
@attributes[:calculate_file_checksums_sha1] = value
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
# boolean - Calculate SHA256 checksum for incoming files?
|
|
251
|
-
def calculate_file_checksums_sha256
|
|
252
|
-
@attributes[:calculate_file_checksums_sha256]
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
def calculate_file_checksums_sha256=(value)
|
|
256
|
-
@attributes[:calculate_file_checksums_sha256] = value
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
# boolean - Use legacy checksums mode?
|
|
260
|
-
def legacy_checksums_mode
|
|
261
|
-
@attributes[:legacy_checksums_mode]
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
def legacy_checksums_mode=(value)
|
|
265
|
-
@attributes[:legacy_checksums_mode] = value
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
# boolean - Finalize partial SFTP uploads?
|
|
269
|
-
def finalize_partial_uploads
|
|
270
|
-
@attributes[:finalize_partial_uploads]
|
|
271
|
-
end
|
|
272
|
-
|
|
273
|
-
def finalize_partial_uploads=(value)
|
|
274
|
-
@attributes[:finalize_partial_uploads] = value
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# boolean - Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
|
278
|
-
def use_provided_modified_at
|
|
279
|
-
@attributes[:use_provided_modified_at]
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
def use_provided_modified_at=(value)
|
|
283
|
-
@attributes[:use_provided_modified_at] = value
|
|
284
|
-
end
|
|
285
|
-
|
|
286
|
-
# boolean - Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
|
287
|
-
def windows_mode_ftp
|
|
288
|
-
@attributes[:windows_mode_ftp]
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
def windows_mode_ftp=(value)
|
|
292
|
-
@attributes[:windows_mode_ftp] = value
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
# boolean
|
|
296
|
-
def user_belongs_to_parent_site
|
|
297
|
-
@attributes[:user_belongs_to_parent_site]
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
def user_belongs_to_parent_site=(value)
|
|
301
|
-
@attributes[:user_belongs_to_parent_site] = value
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
# int64 - User ID of the Site Admin who initiated a Read-Only session impersonating this session's user
|
|
305
|
-
def impersonator_user_id
|
|
306
|
-
@attributes[:impersonator_user_id]
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
def impersonator_user_id=(value)
|
|
310
|
-
@attributes[:impersonator_user_id] = value
|
|
311
|
-
end
|
|
312
|
-
|
|
313
52
|
# string - Username to sign in as
|
|
314
53
|
def username
|
|
315
54
|
@attributes[:username]
|
|
@@ -328,105 +67,6 @@ module Files
|
|
|
328
67
|
@attributes[:password] = value
|
|
329
68
|
end
|
|
330
69
|
|
|
331
|
-
# string - AWS Access Key ID for signing in with AWS credentials
|
|
332
|
-
def aws_access_key_id
|
|
333
|
-
@attributes[:aws_access_key_id]
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
def aws_access_key_id=(value)
|
|
337
|
-
@attributes[:aws_access_key_id] = value
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
# string
|
|
341
|
-
def change_password
|
|
342
|
-
@attributes[:change_password]
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
def change_password=(value)
|
|
346
|
-
@attributes[:change_password] = value
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
# string
|
|
350
|
-
def change_password_confirmation
|
|
351
|
-
@attributes[:change_password_confirmation]
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
def change_password_confirmation=(value)
|
|
355
|
-
@attributes[:change_password_confirmation] = value
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
# string
|
|
359
|
-
def interface
|
|
360
|
-
@attributes[:interface]
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
def interface=(value)
|
|
364
|
-
@attributes[:interface] = value
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
# string
|
|
368
|
-
def ssh_client_identification
|
|
369
|
-
@attributes[:ssh_client_identification]
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
def ssh_client_identification=(value)
|
|
373
|
-
@attributes[:ssh_client_identification] = value
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
# string
|
|
377
|
-
def locale
|
|
378
|
-
@attributes[:locale]
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
def locale=(value)
|
|
382
|
-
@attributes[:locale] = value
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
# boolean
|
|
386
|
-
def no_cookie
|
|
387
|
-
@attributes[:no_cookie]
|
|
388
|
-
end
|
|
389
|
-
|
|
390
|
-
def no_cookie=(value)
|
|
391
|
-
@attributes[:no_cookie] = value
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
# string
|
|
395
|
-
def oauth_provider
|
|
396
|
-
@attributes[:oauth_provider]
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
def oauth_provider=(value)
|
|
400
|
-
@attributes[:oauth_provider] = value
|
|
401
|
-
end
|
|
402
|
-
|
|
403
|
-
# string
|
|
404
|
-
def oauth_label
|
|
405
|
-
@attributes[:oauth_label]
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
def oauth_label=(value)
|
|
409
|
-
@attributes[:oauth_label] = value
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
# string
|
|
413
|
-
def oauth_code
|
|
414
|
-
@attributes[:oauth_code]
|
|
415
|
-
end
|
|
416
|
-
|
|
417
|
-
def oauth_code=(value)
|
|
418
|
-
@attributes[:oauth_code] = value
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
# string
|
|
422
|
-
def oauth_state
|
|
423
|
-
@attributes[:oauth_state]
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
def oauth_state=(value)
|
|
427
|
-
@attributes[:oauth_state] = value
|
|
428
|
-
end
|
|
429
|
-
|
|
430
70
|
# string - If this user has a 2FA device, provide its OTP or code here.
|
|
431
71
|
def otp
|
|
432
72
|
@attributes[:otp]
|
|
@@ -459,32 +99,11 @@ module Files
|
|
|
459
99
|
# Parameters:
|
|
460
100
|
# username - string - Username to sign in as
|
|
461
101
|
# password - string - Password for sign in
|
|
462
|
-
# aws_access_key_id - string - AWS Access Key ID for signing in with AWS credentials
|
|
463
|
-
# change_password - string
|
|
464
|
-
# change_password_confirmation - string
|
|
465
|
-
# interface - string
|
|
466
|
-
# ssh_client_identification - string
|
|
467
|
-
# locale - string
|
|
468
|
-
# no_cookie - boolean
|
|
469
|
-
# oauth_provider - string
|
|
470
|
-
# oauth_label - string
|
|
471
|
-
# oauth_code - string
|
|
472
|
-
# oauth_state - string
|
|
473
102
|
# otp - string - If this user has a 2FA device, provide its OTP or code here.
|
|
474
103
|
# partial_session_id - string - Identifier for a partially-completed login
|
|
475
104
|
def self.create(params = {}, options = {})
|
|
476
105
|
raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
|
|
477
106
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
478
|
-
raise InvalidParameterError.new("Bad parameter: aws_access_key_id must be an String") if params[:aws_access_key_id] and !params[:aws_access_key_id].is_a?(String)
|
|
479
|
-
raise InvalidParameterError.new("Bad parameter: change_password must be an String") if params[:change_password] and !params[:change_password].is_a?(String)
|
|
480
|
-
raise InvalidParameterError.new("Bad parameter: change_password_confirmation must be an String") if params[:change_password_confirmation] and !params[:change_password_confirmation].is_a?(String)
|
|
481
|
-
raise InvalidParameterError.new("Bad parameter: interface must be an String") if params[:interface] and !params[:interface].is_a?(String)
|
|
482
|
-
raise InvalidParameterError.new("Bad parameter: ssh_client_identification must be an String") if params[:ssh_client_identification] and !params[:ssh_client_identification].is_a?(String)
|
|
483
|
-
raise InvalidParameterError.new("Bad parameter: locale must be an String") if params[:locale] and !params[:locale].is_a?(String)
|
|
484
|
-
raise InvalidParameterError.new("Bad parameter: oauth_provider must be an String") if params[:oauth_provider] and !params[:oauth_provider].is_a?(String)
|
|
485
|
-
raise InvalidParameterError.new("Bad parameter: oauth_label must be an String") if params[:oauth_label] and !params[:oauth_label].is_a?(String)
|
|
486
|
-
raise InvalidParameterError.new("Bad parameter: oauth_code must be an String") if params[:oauth_code] and !params[:oauth_code].is_a?(String)
|
|
487
|
-
raise InvalidParameterError.new("Bad parameter: oauth_state must be an String") if params[:oauth_state] and !params[:oauth_state].is_a?(String)
|
|
488
107
|
raise InvalidParameterError.new("Bad parameter: otp must be an String") if params[:otp] and !params[:otp].is_a?(String)
|
|
489
108
|
raise InvalidParameterError.new("Bad parameter: partial_session_id must be an String") if params[:partial_session_id] and !params[:partial_session_id].is_a?(String)
|
|
490
109
|
|
|
@@ -492,118 +111,6 @@ module Files
|
|
|
492
111
|
Session.new(response.data, options)
|
|
493
112
|
end
|
|
494
113
|
|
|
495
|
-
# Parameters:
|
|
496
|
-
# subdomain (required) - string - Site subdomain to login to
|
|
497
|
-
def self.subdomain(params = {}, options = {})
|
|
498
|
-
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
|
499
|
-
raise MissingParameterError.new("Parameter missing: subdomain") unless params[:subdomain]
|
|
500
|
-
|
|
501
|
-
response, options = Api.send_request("/sessions/subdomain", :post, params, options)
|
|
502
|
-
Session.new(response.data, options)
|
|
503
|
-
end
|
|
504
|
-
|
|
505
|
-
# Parameters:
|
|
506
|
-
# user_id (required) - string - User id to login as
|
|
507
|
-
def self.as_user(params = {}, options = {})
|
|
508
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an String") if params[:user_id] and !params[:user_id].is_a?(String)
|
|
509
|
-
raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
|
|
510
|
-
|
|
511
|
-
response, options = Api.send_request("/sessions/as_user", :post, params, options)
|
|
512
|
-
Session.new(response.data, options)
|
|
513
|
-
end
|
|
514
|
-
|
|
515
|
-
# Parameters:
|
|
516
|
-
# session_id (required) - string - Session ID to convert to a trusted session
|
|
517
|
-
def self.trusted(params = {}, options = {})
|
|
518
|
-
raise InvalidParameterError.new("Bad parameter: session_id must be an String") if params[:session_id] and !params[:session_id].is_a?(String)
|
|
519
|
-
raise MissingParameterError.new("Parameter missing: session_id") unless params[:session_id]
|
|
520
|
-
|
|
521
|
-
response, options = Api.send_request("/sessions/trusted", :post, params, options)
|
|
522
|
-
Session.new(response.data, options)
|
|
523
|
-
end
|
|
524
|
-
|
|
525
|
-
# Parameters:
|
|
526
|
-
# code (required) - string
|
|
527
|
-
# password (required) - string
|
|
528
|
-
# confirm_password - string
|
|
529
|
-
# interface - string
|
|
530
|
-
# locale - string
|
|
531
|
-
# otp - string
|
|
532
|
-
def self.forgot_reset(params = {}, options = {})
|
|
533
|
-
raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
|
|
534
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
535
|
-
raise InvalidParameterError.new("Bad parameter: confirm_password must be an String") if params[:confirm_password] and !params[:confirm_password].is_a?(String)
|
|
536
|
-
raise InvalidParameterError.new("Bad parameter: interface must be an String") if params[:interface] and !params[:interface].is_a?(String)
|
|
537
|
-
raise InvalidParameterError.new("Bad parameter: locale must be an String") if params[:locale] and !params[:locale].is_a?(String)
|
|
538
|
-
raise InvalidParameterError.new("Bad parameter: otp must be an String") if params[:otp] and !params[:otp].is_a?(String)
|
|
539
|
-
raise MissingParameterError.new("Parameter missing: code") unless params[:code]
|
|
540
|
-
raise MissingParameterError.new("Parameter missing: password") unless params[:password]
|
|
541
|
-
|
|
542
|
-
Api.send_request("/sessions/forgot/reset", :post, params, options)
|
|
543
|
-
nil
|
|
544
|
-
end
|
|
545
|
-
|
|
546
|
-
# Parameters:
|
|
547
|
-
# code (required) - string
|
|
548
|
-
def self.forgot_validate(params = {}, options = {})
|
|
549
|
-
raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
|
|
550
|
-
raise MissingParameterError.new("Parameter missing: code") unless params[:code]
|
|
551
|
-
|
|
552
|
-
Api.send_request("/sessions/forgot/validate", :post, params, options)
|
|
553
|
-
nil
|
|
554
|
-
end
|
|
555
|
-
|
|
556
|
-
# Parameters:
|
|
557
|
-
# email - string
|
|
558
|
-
# username - string
|
|
559
|
-
# username_or_email - string
|
|
560
|
-
def self.forgot(params = {}, options = {})
|
|
561
|
-
raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
|
|
562
|
-
raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
|
|
563
|
-
raise InvalidParameterError.new("Bad parameter: username_or_email must be an String") if params[:username_or_email] and !params[:username_or_email].is_a?(String)
|
|
564
|
-
|
|
565
|
-
Api.send_request("/sessions/forgot", :post, params, options)
|
|
566
|
-
nil
|
|
567
|
-
end
|
|
568
|
-
|
|
569
|
-
# Parameters:
|
|
570
|
-
# return_to (required) - string - Public Hosting URL to return to after authentication
|
|
571
|
-
def self.public_hosting(params = {}, options = {})
|
|
572
|
-
raise InvalidParameterError.new("Bad parameter: return_to must be an String") if params[:return_to] and !params[:return_to].is_a?(String)
|
|
573
|
-
raise MissingParameterError.new("Parameter missing: return_to") unless params[:return_to]
|
|
574
|
-
|
|
575
|
-
response, options = Api.send_request("/sessions/public_hosting", :post, params, options)
|
|
576
|
-
PublicHostingSessionPairing.new(response.data, options)
|
|
577
|
-
end
|
|
578
|
-
|
|
579
|
-
# Parameters:
|
|
580
|
-
# key (required) - string - The pairing key to reserve for login. Cannot be reused
|
|
581
|
-
def self.pairing_key(key, params = {}, options = {})
|
|
582
|
-
params ||= {}
|
|
583
|
-
params[:key] = key
|
|
584
|
-
raise InvalidParameterError.new("Bad parameter: key must be an String") if params[:key] and !params[:key].is_a?(String)
|
|
585
|
-
raise MissingParameterError.new("Parameter missing: key") unless params[:key]
|
|
586
|
-
|
|
587
|
-
response, options = Api.send_request("/sessions/pairing_key/#{params[:key]}", :post, params, options)
|
|
588
|
-
PairedApiKey.new(response.data, options)
|
|
589
|
-
end
|
|
590
|
-
|
|
591
|
-
# Parameters:
|
|
592
|
-
# provider (required) - string
|
|
593
|
-
# label - string
|
|
594
|
-
# state - string
|
|
595
|
-
# host - string
|
|
596
|
-
def self.oauth(params = {}, options = {})
|
|
597
|
-
raise InvalidParameterError.new("Bad parameter: provider must be an String") if params[:provider] and !params[:provider].is_a?(String)
|
|
598
|
-
raise InvalidParameterError.new("Bad parameter: label must be an String") if params[:label] and !params[:label].is_a?(String)
|
|
599
|
-
raise InvalidParameterError.new("Bad parameter: state must be an String") if params[:state] and !params[:state].is_a?(String)
|
|
600
|
-
raise InvalidParameterError.new("Bad parameter: host must be an String") if params[:host] and !params[:host].is_a?(String)
|
|
601
|
-
raise MissingParameterError.new("Parameter missing: provider") unless params[:provider]
|
|
602
|
-
|
|
603
|
-
response, options = Api.send_request("/sessions/oauth", :post, params, options)
|
|
604
|
-
OauthRedirect.new(response.data, options)
|
|
605
|
-
end
|
|
606
|
-
|
|
607
114
|
def self.delete(params = {}, options = {})
|
|
608
115
|
Api.send_request("/sessions", :delete, params, options)
|
|
609
116
|
nil
|
|
@@ -24,11 +24,6 @@ module Files
|
|
|
24
24
|
@attributes[:created_at]
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
# string - Log Type.
|
|
28
|
-
def log_type
|
|
29
|
-
@attributes[:log_type]
|
|
30
|
-
end
|
|
31
|
-
|
|
32
27
|
# int64 - The user id responsible for this change.
|
|
33
28
|
def user_id
|
|
34
29
|
@attributes[:user_id]
|
|
@@ -68,16 +63,5 @@ module Files
|
|
|
68
63
|
def self.all(params = {}, options = {})
|
|
69
64
|
list(params, options)
|
|
70
65
|
end
|
|
71
|
-
|
|
72
|
-
# Parameters:
|
|
73
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
|
|
74
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
|
75
|
-
def self.create_export(params = {}, options = {})
|
|
76
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
77
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
78
|
-
|
|
79
|
-
response, options = Api.send_request("/settings_changes/create_export", :post, params, options)
|
|
80
|
-
Export.new(response.data, options)
|
|
81
|
-
end
|
|
82
66
|
end
|
|
83
67
|
end
|