lockally 0.3.2 → 0.5.0
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/CONTRIBUTING.md +36 -0
- data/README.md +38 -21
- data/docs/APIKey.md +7 -1
- data/docs/AdminApi.md +3 -3
- data/docs/AdminsApi.md +1 -1
- data/docs/AgentsApi.md +2 -2
- data/docs/AiApi.md +1 -1
- data/docs/AliasesApi.md +1 -1
- data/docs/ApiKeysApi.md +161 -8
- data/docs/BatchResult.md +3 -1
- data/docs/BulkUpsertExternalContacts200Response.md +24 -0
- data/docs/BulkUpsertExternalContacts200ResponseResultsInner.md +26 -0
- data/docs/BulkUpsertExternalContactsRequest.md +18 -0
- data/docs/BulkUpsertExternalContactsRequestContactsInner.md +36 -0
- data/docs/Contact.md +5 -1
- data/docs/ContactsApi.md +285 -0
- data/docs/CreateApiKey201Response.md +6 -0
- data/docs/CreateApiKeyRequest.md +3 -1
- data/docs/CreateEncryptionKey201Response.md +3 -1
- data/docs/CreateEncryptionKeyRequest.md +1 -1
- data/docs/CreateEncryptionRecoveryRequest.md +1 -1
- data/docs/DashboardApi.md +4 -4
- data/docs/DomainsApi.md +15 -8
- data/docs/EncryptionApi.md +82 -7
- data/docs/ExternalContactInput.md +34 -0
- data/docs/GetEncryptionKey200Response.md +11 -1
- data/docs/GetEncryptionStatus200Response.md +22 -0
- data/docs/GetEncryptionStatus200ResponseMailboxesInner.md +26 -0
- data/docs/MailboxesApi.md +4 -282
- data/docs/Message.md +5 -1
- data/docs/MessageDetail.md +4 -0
- data/docs/MigrationDNSCheck.md +20 -0
- data/docs/MigrationDomainDNS.md +26 -0
- data/docs/MigrationsApi.md +4 -4
- data/docs/RotateApiKeyRequest.md +18 -0
- data/docs/RotateEncryptionKeyRequest.md +1 -1
- data/docs/SendApi.md +14 -6
- data/docs/SendEmailBatchRequest.md +3 -1
- data/docs/SendEmailRequest.md +8 -0
- data/docs/SignupRequest.md +1 -1
- data/docs/TemplatesApi.md +12 -5
- data/docs/TenantApi.md +138 -1
- data/docs/TenantHealthCheck.md +24 -0
- data/docs/TenantHealthReport.md +22 -0
- data/docs/TestApi.md +1 -1
- data/docs/TrackingPolicy.md +24 -0
- data/docs/UpdateApiKeyRequest.md +22 -0
- data/docs/UpdateTrackingPolicyRequest.md +20 -0
- data/docs/UsersApi.md +7 -5
- data/docs/WebhooksApi.md +3 -3
- data/git_push.sh +2 -2
- data/lib/lockally/api/add_ons_api.rb +2 -2
- data/lib/lockally/api/admin_api.rb +8 -8
- data/lib/lockally/api/admins_api.rb +4 -4
- data/lib/lockally/api/agents_api.rb +6 -6
- data/lib/lockally/api/ai_api.rb +4 -4
- data/lib/lockally/api/aliases_api.rb +4 -4
- data/lib/lockally/api/api_keys_api.rb +166 -8
- data/lib/lockally/api/billing_api.rb +2 -2
- data/lib/lockally/api/calendars_api.rb +2 -2
- data/lib/lockally/api/contact_lists_api.rb +2 -2
- data/lib/lockally/api/contacts_api.rb +322 -2
- data/lib/lockally/api/dashboard_api.rb +5 -5
- data/lib/lockally/api/directory_api.rb +2 -2
- data/lib/lockally/api/distribution_lists_api.rb +2 -2
- data/lib/lockally/api/domains_api.rb +22 -8
- data/lib/lockally/api/drafts_api.rb +2 -2
- data/lib/lockally/api/encryption_api.rb +69 -4
- data/lib/lockally/api/health_api.rb +2 -2
- data/lib/lockally/api/ip_pools_api.rb +2 -2
- data/lib/lockally/api/mailboxes_api.rb +10 -267
- data/lib/lockally/api/migrations_api.rb +5 -5
- data/lib/lockally/api/resources_api.rb +2 -2
- data/lib/lockally/api/send_api.rb +30 -10
- data/lib/lockally/api/signup_api.rb +2 -2
- data/lib/lockally/api/suppressions_api.rb +2 -2
- data/lib/lockally/api/templates_api.rb +16 -2
- data/lib/lockally/api/tenant_api.rb +129 -4
- data/lib/lockally/api/test_api.rb +4 -4
- data/lib/lockally/api/users_api.rb +8 -6
- data/lib/lockally/api/webhooks_api.rb +8 -8
- data/lib/lockally/api_client.rb +2 -2
- data/lib/lockally/api_error.rb +2 -2
- data/lib/lockally/api_model_base.rb +2 -2
- data/lib/lockally/configuration.rb +2 -2
- data/lib/lockally/models/activate_add_on200_response.rb +2 -2
- data/lib/lockally/models/add_calendar_member_request.rb +2 -2
- data/lib/lockally/models/add_contact_list_member_request.rb +2 -2
- data/lib/lockally/models/add_on.rb +2 -2
- data/lib/lockally/models/add_shared_member_request.rb +2 -2
- data/lib/lockally/models/admin.rb +2 -2
- data/lib/lockally/models/admin_full.rb +2 -2
- data/lib/lockally/models/admin_login200_response.rb +2 -2
- data/lib/lockally/models/admin_login_request.rb +2 -2
- data/lib/lockally/models/agent_send_result.rb +2 -2
- data/lib/lockally/models/ai_config.rb +2 -2
- data/lib/lockally/models/ai_config_update.rb +2 -2
- data/lib/lockally/models/annotations.rb +2 -2
- data/lib/lockally/models/api_key.rb +36 -6
- data/lib/lockally/models/attachment.rb +2 -2
- data/lib/lockally/models/audit_event.rb +2 -2
- data/lib/lockally/models/batch_lookup_public_keys200_response.rb +2 -2
- data/lib/lockally/models/batch_lookup_public_keys200_response_data_inner.rb +2 -2
- data/lib/lockally/models/batch_result.rb +16 -6
- data/lib/lockally/models/billing_status.rb +2 -2
- data/lib/lockally/models/bulk_upsert_external_contacts200_response.rb +244 -0
- data/lib/lockally/models/bulk_upsert_external_contacts200_response_results_inner.rb +258 -0
- data/lib/lockally/models/bulk_upsert_external_contacts_request.rb +184 -0
- data/lib/lockally/models/bulk_upsert_external_contacts_request_contacts_inner.rb +329 -0
- data/lib/lockally/models/calendar.rb +2 -2
- data/lib/lockally/models/calendar_event.rb +2 -2
- data/lib/lockally/models/calendar_integration.rb +2 -2
- data/lib/lockally/models/calendar_member.rb +2 -2
- data/lib/lockally/models/calendar_policies.rb +2 -2
- data/lib/lockally/models/classification.rb +2 -2
- data/lib/lockally/models/contact.rb +26 -6
- data/lib/lockally/models/contact_list.rb +2 -2
- data/lib/lockally/models/contact_lookup.rb +2 -2
- data/lib/lockally/models/contact_lookup_contact.rb +2 -2
- data/lib/lockally/models/contact_lookup_history.rb +2 -2
- data/lib/lockally/models/create_ai_units_checkout200_response.rb +2 -2
- data/lib/lockally/models/create_alias_request.rb +2 -2
- data/lib/lockally/models/create_api_key201_response.rb +33 -3
- data/lib/lockally/models/create_api_key_request.rb +16 -6
- data/lib/lockally/models/create_billing_checkout200_response.rb +2 -2
- data/lib/lockally/models/create_billing_checkout_request.rb +2 -2
- data/lib/lockally/models/create_calendar_event_request.rb +2 -2
- data/lib/lockally/models/create_calendar_integration_request.rb +2 -2
- data/lib/lockally/models/create_calendar_request.rb +2 -2
- data/lib/lockally/models/create_contact_list_request.rb +2 -2
- data/lib/lockally/models/create_contact_request.rb +2 -2
- data/lib/lockally/models/create_dedicated_ip_request_request.rb +2 -2
- data/lib/lockally/models/create_distribution_list_request.rb +2 -2
- data/lib/lockally/models/create_domain_request.rb +2 -2
- data/lib/lockally/models/create_encryption_key201_response.rb +15 -6
- data/lib/lockally/models/create_encryption_key_request.rb +2 -19
- data/lib/lockally/models/create_encryption_recovery_request.rb +2 -19
- data/lib/lockally/models/create_mailbox_request.rb +2 -2
- data/lib/lockally/models/create_migration_credential_request.rb +2 -2
- data/lib/lockally/models/create_migration_credential_request_credentials.rb +2 -2
- data/lib/lockally/models/create_migration_request.rb +2 -2
- data/lib/lockally/models/create_resource_request.rb +2 -2
- data/lib/lockally/models/create_suppression_request.rb +2 -2
- data/lib/lockally/models/create_units_checkout200_response.rb +2 -2
- data/lib/lockally/models/create_units_checkout_request.rb +2 -2
- data/lib/lockally/models/create_user_request.rb +2 -2
- data/lib/lockally/models/create_webhook_request.rb +2 -2
- data/lib/lockally/models/dedicated_ip_request.rb +2 -2
- data/lib/lockally/models/directory_permissions.rb +2 -2
- data/lib/lockally/models/discover_migration202_response.rb +2 -2
- data/lib/lockally/models/distribution_list_detail.rb +2 -2
- data/lib/lockally/models/distribution_list_summary.rb +2 -2
- data/lib/lockally/models/dns_record.rb +2 -2
- data/lib/lockally/models/domain.rb +2 -2
- data/lib/lockally/models/draft.rb +2 -2
- data/lib/lockally/models/draft_list.rb +2 -2
- data/lib/lockally/models/draft_result.rb +2 -2
- data/lib/lockally/models/export_mailbox201_response.rb +2 -2
- data/lib/lockally/models/external_contact_input.rb +287 -0
- data/lib/lockally/models/gal_settings.rb +2 -2
- data/lib/lockally/models/get_add_on_status200_response.rb +2 -2
- data/lib/lockally/models/get_audit_summary200_response.rb +2 -2
- data/lib/lockally/models/get_calendar_overview200_response.rb +2 -2
- data/lib/lockally/models/get_calendar_overview200_response_activity_inner.rb +2 -2
- data/lib/lockally/models/get_calendar_security200_response.rb +2 -2
- data/lib/lockally/models/get_calendar_security200_response_alerts_inner.rb +2 -2
- data/lib/lockally/models/get_calendar_security200_response_delegated_access_inner.rb +2 -2
- data/lib/lockally/models/get_calendar_security200_response_external_sharing.rb +2 -2
- data/lib/lockally/models/get_calendar_security200_response_public_calendar_list_inner.rb +2 -2
- data/lib/lockally/models/get_contact_list200_response.rb +2 -2
- data/lib/lockally/models/get_contact_list200_response_members_inner.rb +2 -2
- data/lib/lockally/models/get_contact_lists200_response.rb +2 -2
- data/lib/lockally/models/get_contact_lists200_response_data_inner.rb +2 -2
- data/lib/lockally/models/get_current_admin200_response.rb +2 -2
- data/lib/lockally/models/get_directory_activity200_response.rb +2 -2
- data/lib/lockally/models/get_directory_activity200_response_data_inner.rb +2 -2
- data/lib/lockally/models/get_directory_stats200_response.rb +2 -2
- data/lib/lockally/models/get_domains_status200_response.rb +2 -2
- data/lib/lockally/models/get_domains_status200_response_domains_inner.rb +2 -2
- data/lib/lockally/models/get_domains_status200_response_domains_inner_checks_inner.rb +2 -2
- data/lib/lockally/models/get_encryption_key200_response.rb +51 -6
- data/lib/lockally/models/{list_vacation_responders200_response.rb → get_encryption_status200_response.rb} +31 -30
- data/lib/lockally/models/get_encryption_status200_response_mailboxes_inner.rb +183 -0
- data/lib/lockally/models/get_integrations_summary200_response.rb +2 -2
- data/lib/lockally/models/get_integrations_summary200_response_api_keys_inner.rb +2 -2
- data/lib/lockally/models/get_integrations_summary200_response_webhooks_inner.rb +2 -2
- data/lib/lockally/models/get_ip_assignment200_response.rb +2 -2
- data/lib/lockally/models/get_security200_response.rb +2 -2
- data/lib/lockally/models/get_security200_response_alerts_inner.rb +2 -2
- data/lib/lockally/models/get_security200_response_stats_inner.rb +2 -2
- data/lib/lockally/models/get_storage200_response.rb +2 -2
- data/lib/lockally/models/get_storage200_response_top_mailboxes_inner.rb +2 -2
- data/lib/lockally/models/get_storage200_response_top_messages_inner.rb +2 -2
- data/lib/lockally/models/get_usage200_response.rb +2 -2
- data/lib/lockally/models/get_user_insights200_response.rb +2 -2
- data/lib/lockally/models/health_check200_response.rb +2 -2
- data/lib/lockally/models/inbox.rb +2 -2
- data/lib/lockally/models/inbox_list.rb +2 -2
- data/lib/lockally/models/injection_risk.rb +2 -2
- data/lib/lockally/models/invite_admin_request.rb +2 -2
- data/lib/lockally/models/list_add_ons200_response.rb +2 -2
- data/lib/lockally/models/list_admins200_response.rb +2 -2
- data/lib/lockally/models/list_aliases200_response.rb +2 -2
- data/lib/lockally/models/list_api_keys200_response.rb +2 -2
- data/lib/lockally/models/list_calendar_events200_response.rb +2 -2
- data/lib/lockally/models/list_calendar_integrations200_response.rb +2 -2
- data/lib/lockally/models/list_calendar_members200_response.rb +2 -2
- data/lib/lockally/models/list_calendars200_response.rb +2 -2
- data/lib/lockally/models/list_contact_lists200_response.rb +2 -2
- data/lib/lockally/models/list_contacts200_response.rb +2 -2
- data/lib/lockally/models/list_dedicated_ip_requests200_response.rb +2 -2
- data/lib/lockally/models/list_distribution_lists200_response.rb +2 -2
- data/lib/lockally/models/list_domains200_response.rb +2 -2
- data/lib/lockally/models/list_mailboxes200_response.rb +2 -2
- data/lib/lockally/models/list_messages200_response.rb +2 -2
- data/lib/lockally/models/list_migration_credentials200_response.rb +2 -2
- data/lib/lockally/models/list_migration_events200_response.rb +2 -2
- data/lib/lockally/models/list_migration_mailboxes200_response.rb +2 -2
- data/lib/lockally/models/list_migrations200_response.rb +2 -2
- data/lib/lockally/models/list_resources200_response.rb +2 -2
- data/lib/lockally/models/list_shared_members200_response.rb +2 -2
- data/lib/lockally/models/list_suppressions200_response.rb +2 -2
- data/lib/lockally/models/list_templates200_response.rb +2 -2
- data/lib/lockally/models/list_users200_response.rb +2 -2
- data/lib/lockally/models/list_webhooks200_response.rb +2 -2
- data/lib/lockally/models/mailbox.rb +2 -2
- data/lib/lockally/models/mailbox_grant.rb +2 -2
- data/lib/lockally/models/mailbox_grant_list.rb +2 -2
- data/lib/lockally/models/map_migration_request.rb +2 -2
- data/lib/lockally/models/map_migration_request_mappings_inner.rb +2 -2
- data/lib/lockally/models/mark_read_result.rb +2 -2
- data/lib/lockally/models/message.rb +30 -6
- data/lib/lockally/models/message_detail.rb +27 -3
- data/lib/lockally/models/message_stats.rb +2 -2
- data/lib/lockally/models/message_stats_counts.rb +2 -2
- data/lib/lockally/models/message_stats_rates.rb +2 -2
- data/lib/lockally/models/message_stats_window.rb +2 -2
- data/lib/lockally/models/migration.rb +2 -2
- data/lib/lockally/models/migration_credential.rb +2 -2
- data/lib/lockally/models/{vacation_params.rb → migration_dns_check.rb} +39 -54
- data/lib/lockally/models/migration_domain_dns.rb +269 -0
- data/lib/lockally/models/migration_event.rb +2 -2
- data/lib/lockally/models/migration_mailbox.rb +2 -2
- data/lib/lockally/models/migration_progress.rb +2 -2
- data/lib/lockally/models/migration_progress_mailboxes_inner.rb +2 -2
- data/lib/lockally/models/migration_settings.rb +2 -2
- data/lib/lockally/models/model_alias.rb +2 -2
- data/lib/lockally/models/plan_catalog_entry.rb +2 -2
- data/lib/lockally/models/policy_flags.rb +2 -2
- data/lib/lockally/models/problem.rb +2 -2
- data/lib/lockally/models/replace_distribution_list_members200_response.rb +2 -2
- data/lib/lockally/models/replace_distribution_list_members_request.rb +2 -2
- data/lib/lockally/models/resource.rb +2 -2
- data/lib/lockally/models/return_path.rb +2 -2
- data/lib/lockally/models/return_path_check.rb +2 -2
- data/lib/lockally/models/rotate_api_key_request.rb +178 -0
- data/lib/lockally/models/rotate_encryption_key_request.rb +2 -19
- data/lib/lockally/models/send_email200_response.rb +2 -2
- data/lib/lockally/models/send_email202_response.rb +2 -2
- data/lib/lockally/models/send_email_batch200_response.rb +2 -2
- data/lib/lockally/models/send_email_batch_request.rb +18 -6
- data/lib/lockally/models/send_email_request.rb +85 -3
- data/lib/lockally/models/send_email_request_attachments_inner.rb +2 -2
- data/lib/lockally/models/send_message.rb +2 -2
- data/lib/lockally/models/shared_member.rb +2 -2
- data/lib/lockally/models/signup_request.rb +3 -2
- data/lib/lockally/models/simulated_inbound.rb +2 -2
- data/lib/lockally/models/start_conversation_request.rb +2 -2
- data/lib/lockally/models/start_migration202_response.rb +2 -2
- data/lib/lockally/models/suppression.rb +2 -2
- data/lib/lockally/models/template.rb +2 -2
- data/lib/lockally/models/template_input.rb +2 -2
- data/lib/lockally/models/tenant.rb +2 -2
- data/lib/lockally/models/tenant_health_check.rb +245 -0
- data/lib/lockally/models/tenant_health_report.rb +237 -0
- data/lib/lockally/models/thread.rb +2 -2
- data/lib/lockally/models/thread_classification.rb +2 -2
- data/lib/lockally/models/thread_list.rb +2 -2
- data/lib/lockally/models/thread_message.rb +2 -2
- data/lib/lockally/models/thread_message_body.rb +2 -2
- data/lib/lockally/models/thread_message_body_body.rb +2 -2
- data/lib/lockally/models/thread_summary.rb +2 -2
- data/lib/lockally/models/tracking_policy.rb +227 -0
- data/lib/lockally/models/unit_bundle.rb +2 -2
- data/lib/lockally/models/update_admin_request.rb +2 -2
- data/lib/lockally/models/update_api_key_request.rb +189 -0
- data/lib/lockally/models/update_calendar_event_request.rb +2 -2
- data/lib/lockally/models/update_calendar_integration_request.rb +2 -2
- data/lib/lockally/models/update_calendar_member_request.rb +2 -2
- data/lib/lockally/models/update_calendar_policies_request.rb +2 -2
- data/lib/lockally/models/update_calendar_request.rb +2 -2
- data/lib/lockally/models/update_contact_list_request.rb +2 -2
- data/lib/lockally/models/update_contact_request.rb +2 -2
- data/lib/lockally/models/update_directory_permissions_request.rb +2 -2
- data/lib/lockally/models/update_gal_settings_request.rb +2 -2
- data/lib/lockally/models/update_mailbox_request.rb +2 -2
- data/lib/lockally/models/update_migration_mailbox_request.rb +2 -2
- data/lib/lockally/models/update_migration_request.rb +2 -2
- data/lib/lockally/models/update_resource_request.rb +2 -2
- data/lib/lockally/models/{set_vacation_responder_request.rb → update_tracking_policy_request.rb} +18 -37
- data/lib/lockally/models/update_user_request.rb +2 -2
- data/lib/lockally/models/update_webhook_request.rb +2 -2
- data/lib/lockally/models/user.rb +2 -2
- data/lib/lockally/models/user_event.rb +2 -2
- data/lib/lockally/models/webhook.rb +2 -2
- data/lib/lockally/models/whoami.rb +2 -2
- data/lib/lockally/models/whoami_key.rb +2 -2
- data/lib/lockally/models/whoami_tenant.rb +2 -2
- data/lib/lockally/version.rb +3 -3
- data/lib/lockally.rb +17 -6
- data/lockally.gemspec +6 -6
- data/spec/api/add_ons_api_spec.rb +2 -2
- data/spec/api/admin_api_spec.rb +5 -5
- data/spec/api/admins_api_spec.rb +3 -3
- data/spec/api/agents_api_spec.rb +4 -4
- data/spec/api/ai_api_spec.rb +3 -3
- data/spec/api/aliases_api_spec.rb +3 -3
- data/spec/api/api_keys_api_spec.rb +33 -5
- data/spec/api/billing_api_spec.rb +2 -2
- data/spec/api/calendars_api_spec.rb +2 -2
- data/spec/api/contact_lists_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +53 -2
- data/spec/api/dashboard_api_spec.rb +3 -3
- data/spec/api/directory_api_spec.rb +2 -2
- data/spec/api/distribution_lists_api_spec.rb +2 -2
- data/spec/api/domains_api_spec.rb +7 -5
- data/spec/api/drafts_api_spec.rb +2 -2
- data/spec/api/encryption_api_spec.rb +18 -3
- data/spec/api/health_api_spec.rb +2 -2
- data/spec/api/ip_pools_api_spec.rb +2 -2
- data/spec/api/mailboxes_api_spec.rb +6 -54
- data/spec/api/migrations_api_spec.rb +3 -3
- data/spec/api/resources_api_spec.rb +2 -2
- data/spec/api/send_api_spec.rb +10 -6
- data/spec/api/signup_api_spec.rb +2 -2
- data/spec/api/suppressions_api_spec.rb +2 -2
- data/spec/api/templates_api_spec.rb +4 -2
- data/spec/api/tenant_api_spec.rb +26 -3
- data/spec/api/test_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +5 -4
- data/spec/api/webhooks_api_spec.rb +5 -5
- data/spec/models/activate_add_on200_response_spec.rb +2 -2
- data/spec/models/add_calendar_member_request_spec.rb +2 -2
- data/spec/models/add_contact_list_member_request_spec.rb +2 -2
- data/spec/models/add_on_spec.rb +2 -2
- data/spec/models/add_shared_member_request_spec.rb +2 -2
- data/spec/models/admin_full_spec.rb +2 -2
- data/spec/models/admin_login200_response_spec.rb +2 -2
- data/spec/models/admin_login_request_spec.rb +2 -2
- data/spec/models/admin_spec.rb +2 -2
- data/spec/models/agent_send_result_spec.rb +2 -2
- data/spec/models/ai_config_spec.rb +2 -2
- data/spec/models/ai_config_update_spec.rb +2 -2
- data/spec/models/annotations_spec.rb +2 -2
- data/spec/models/api_key_spec.rb +20 -2
- data/spec/models/attachment_spec.rb +2 -2
- data/spec/models/audit_event_spec.rb +2 -2
- data/spec/models/batch_lookup_public_keys200_response_data_inner_spec.rb +2 -2
- data/spec/models/batch_lookup_public_keys200_response_spec.rb +2 -2
- data/spec/models/batch_result_spec.rb +8 -2
- data/spec/models/billing_status_spec.rb +2 -2
- data/spec/models/bulk_upsert_external_contacts200_response_results_inner_spec.rb +64 -0
- data/spec/models/bulk_upsert_external_contacts200_response_spec.rb +54 -0
- data/spec/models/bulk_upsert_external_contacts_request_contacts_inner_spec.rb +98 -0
- data/spec/models/bulk_upsert_external_contacts_request_spec.rb +36 -0
- data/spec/models/calendar_event_spec.rb +2 -2
- data/spec/models/calendar_integration_spec.rb +2 -2
- data/spec/models/calendar_member_spec.rb +2 -2
- data/spec/models/calendar_policies_spec.rb +2 -2
- data/spec/models/calendar_spec.rb +2 -2
- data/spec/models/classification_spec.rb +2 -2
- data/spec/models/contact_list_spec.rb +2 -2
- data/spec/models/contact_lookup_contact_spec.rb +2 -2
- data/spec/models/contact_lookup_history_spec.rb +2 -2
- data/spec/models/contact_lookup_spec.rb +2 -2
- data/spec/models/contact_spec.rb +14 -2
- data/spec/models/create_ai_units_checkout200_response_spec.rb +2 -2
- data/spec/models/create_alias_request_spec.rb +2 -2
- data/spec/models/create_api_key201_response_spec.rb +20 -2
- data/spec/models/create_api_key_request_spec.rb +8 -2
- data/spec/models/create_billing_checkout200_response_spec.rb +2 -2
- data/spec/models/create_billing_checkout_request_spec.rb +2 -2
- data/spec/models/create_calendar_event_request_spec.rb +2 -2
- data/spec/models/create_calendar_integration_request_spec.rb +2 -2
- data/spec/models/create_calendar_request_spec.rb +2 -2
- data/spec/models/create_contact_list_request_spec.rb +2 -2
- data/spec/models/create_contact_request_spec.rb +2 -2
- data/spec/models/create_dedicated_ip_request_request_spec.rb +2 -2
- data/spec/models/create_distribution_list_request_spec.rb +2 -2
- data/spec/models/create_domain_request_spec.rb +2 -2
- data/spec/models/create_encryption_key201_response_spec.rb +8 -2
- data/spec/models/create_encryption_key_request_spec.rb +2 -2
- data/spec/models/create_encryption_recovery_request_spec.rb +2 -2
- data/spec/models/create_mailbox_request_spec.rb +2 -2
- data/spec/models/create_migration_credential_request_credentials_spec.rb +2 -2
- data/spec/models/create_migration_credential_request_spec.rb +2 -2
- data/spec/models/create_migration_request_spec.rb +2 -2
- data/spec/models/create_resource_request_spec.rb +2 -2
- data/spec/models/create_suppression_request_spec.rb +2 -2
- data/spec/models/create_units_checkout200_response_spec.rb +2 -2
- data/spec/models/create_units_checkout_request_spec.rb +2 -2
- data/spec/models/create_user_request_spec.rb +2 -2
- data/spec/models/create_webhook_request_spec.rb +2 -2
- data/spec/models/dedicated_ip_request_spec.rb +2 -2
- data/spec/models/directory_permissions_spec.rb +2 -2
- data/spec/models/discover_migration202_response_spec.rb +2 -2
- data/spec/models/distribution_list_detail_spec.rb +2 -2
- data/spec/models/distribution_list_summary_spec.rb +2 -2
- data/spec/models/dns_record_spec.rb +2 -2
- data/spec/models/domain_spec.rb +2 -2
- data/spec/models/draft_list_spec.rb +2 -2
- data/spec/models/draft_result_spec.rb +2 -2
- data/spec/models/draft_spec.rb +2 -2
- data/spec/models/export_mailbox201_response_spec.rb +2 -2
- data/spec/models/external_contact_input_spec.rb +92 -0
- data/spec/models/gal_settings_spec.rb +2 -2
- data/spec/models/get_add_on_status200_response_spec.rb +2 -2
- data/spec/models/get_audit_summary200_response_spec.rb +2 -2
- data/spec/models/get_calendar_overview200_response_activity_inner_spec.rb +2 -2
- data/spec/models/get_calendar_overview200_response_spec.rb +2 -2
- data/spec/models/get_calendar_security200_response_alerts_inner_spec.rb +2 -2
- data/spec/models/get_calendar_security200_response_delegated_access_inner_spec.rb +2 -2
- data/spec/models/get_calendar_security200_response_external_sharing_spec.rb +2 -2
- data/spec/models/get_calendar_security200_response_public_calendar_list_inner_spec.rb +2 -2
- data/spec/models/get_calendar_security200_response_spec.rb +2 -2
- data/spec/models/get_contact_list200_response_members_inner_spec.rb +2 -2
- data/spec/models/get_contact_list200_response_spec.rb +2 -2
- data/spec/models/get_contact_lists200_response_data_inner_spec.rb +2 -2
- data/spec/models/get_contact_lists200_response_spec.rb +2 -2
- data/spec/models/get_current_admin200_response_spec.rb +2 -2
- data/spec/models/get_directory_activity200_response_data_inner_spec.rb +2 -2
- data/spec/models/get_directory_activity200_response_spec.rb +2 -2
- data/spec/models/get_directory_stats200_response_spec.rb +2 -2
- data/spec/models/get_domains_status200_response_domains_inner_checks_inner_spec.rb +2 -2
- data/spec/models/get_domains_status200_response_domains_inner_spec.rb +2 -2
- data/spec/models/get_domains_status200_response_spec.rb +2 -2
- data/spec/models/get_encryption_key200_response_spec.rb +32 -2
- data/spec/models/get_encryption_status200_response_mailboxes_inner_spec.rb +60 -0
- data/spec/models/get_encryption_status200_response_spec.rb +48 -0
- data/spec/models/get_integrations_summary200_response_api_keys_inner_spec.rb +2 -2
- data/spec/models/get_integrations_summary200_response_spec.rb +2 -2
- data/spec/models/get_integrations_summary200_response_webhooks_inner_spec.rb +2 -2
- data/spec/models/get_ip_assignment200_response_spec.rb +2 -2
- data/spec/models/get_security200_response_alerts_inner_spec.rb +2 -2
- data/spec/models/get_security200_response_spec.rb +2 -2
- data/spec/models/get_security200_response_stats_inner_spec.rb +2 -2
- data/spec/models/get_storage200_response_spec.rb +2 -2
- data/spec/models/get_storage200_response_top_mailboxes_inner_spec.rb +2 -2
- data/spec/models/get_storage200_response_top_messages_inner_spec.rb +2 -2
- data/spec/models/get_usage200_response_spec.rb +2 -2
- data/spec/models/get_user_insights200_response_spec.rb +2 -2
- data/spec/models/health_check200_response_spec.rb +2 -2
- data/spec/models/inbox_list_spec.rb +2 -2
- data/spec/models/inbox_spec.rb +2 -2
- data/spec/models/injection_risk_spec.rb +2 -2
- data/spec/models/invite_admin_request_spec.rb +2 -2
- data/spec/models/list_add_ons200_response_spec.rb +2 -2
- data/spec/models/list_admins200_response_spec.rb +2 -2
- data/spec/models/list_aliases200_response_spec.rb +2 -2
- data/spec/models/list_api_keys200_response_spec.rb +2 -2
- data/spec/models/list_calendar_events200_response_spec.rb +2 -2
- data/spec/models/list_calendar_integrations200_response_spec.rb +2 -2
- data/spec/models/list_calendar_members200_response_spec.rb +2 -2
- data/spec/models/list_calendars200_response_spec.rb +2 -2
- data/spec/models/list_contact_lists200_response_spec.rb +2 -2
- data/spec/models/list_contacts200_response_spec.rb +2 -2
- data/spec/models/list_dedicated_ip_requests200_response_spec.rb +2 -2
- data/spec/models/list_distribution_lists200_response_spec.rb +2 -2
- data/spec/models/list_domains200_response_spec.rb +2 -2
- data/spec/models/list_mailboxes200_response_spec.rb +2 -2
- data/spec/models/list_messages200_response_spec.rb +2 -2
- data/spec/models/list_migration_credentials200_response_spec.rb +2 -2
- data/spec/models/list_migration_events200_response_spec.rb +2 -2
- data/spec/models/list_migration_mailboxes200_response_spec.rb +2 -2
- data/spec/models/list_migrations200_response_spec.rb +2 -2
- data/spec/models/list_resources200_response_spec.rb +2 -2
- data/spec/models/list_shared_members200_response_spec.rb +2 -2
- data/spec/models/list_suppressions200_response_spec.rb +2 -2
- data/spec/models/list_templates200_response_spec.rb +2 -2
- data/spec/models/list_users200_response_spec.rb +2 -2
- data/spec/models/list_webhooks200_response_spec.rb +2 -2
- data/spec/models/mailbox_grant_list_spec.rb +2 -2
- data/spec/models/mailbox_grant_spec.rb +2 -2
- data/spec/models/mailbox_spec.rb +2 -2
- data/spec/models/map_migration_request_mappings_inner_spec.rb +2 -2
- data/spec/models/map_migration_request_spec.rb +2 -2
- data/spec/models/mark_read_result_spec.rb +2 -2
- data/spec/models/message_detail_spec.rb +14 -2
- data/spec/models/message_spec.rb +14 -2
- data/spec/models/message_stats_counts_spec.rb +2 -2
- data/spec/models/message_stats_rates_spec.rb +2 -2
- data/spec/models/message_stats_spec.rb +2 -2
- data/spec/models/message_stats_window_spec.rb +2 -2
- data/spec/models/migration_credential_spec.rb +2 -2
- data/spec/models/migration_dns_check_spec.rb +42 -0
- data/spec/models/migration_domain_dns_spec.rb +60 -0
- data/spec/models/migration_event_spec.rb +2 -2
- data/spec/models/migration_mailbox_spec.rb +2 -2
- data/spec/models/migration_progress_mailboxes_inner_spec.rb +2 -2
- data/spec/models/migration_progress_spec.rb +2 -2
- data/spec/models/migration_settings_spec.rb +2 -2
- data/spec/models/migration_spec.rb +2 -2
- data/spec/models/model_alias_spec.rb +2 -2
- data/spec/models/plan_catalog_entry_spec.rb +2 -2
- data/spec/models/policy_flags_spec.rb +2 -2
- data/spec/models/problem_spec.rb +2 -2
- data/spec/models/replace_distribution_list_members200_response_spec.rb +2 -2
- data/spec/models/replace_distribution_list_members_request_spec.rb +2 -2
- data/spec/models/resource_spec.rb +2 -2
- data/spec/models/return_path_check_spec.rb +2 -2
- data/spec/models/return_path_spec.rb +2 -2
- data/spec/models/rotate_api_key_request_spec.rb +36 -0
- data/spec/models/rotate_encryption_key_request_spec.rb +2 -2
- data/spec/models/send_email200_response_spec.rb +2 -2
- data/spec/models/send_email202_response_spec.rb +2 -2
- data/spec/models/send_email_batch200_response_spec.rb +2 -2
- data/spec/models/send_email_batch_request_spec.rb +8 -2
- data/spec/models/send_email_request_attachments_inner_spec.rb +2 -2
- data/spec/models/send_email_request_spec.rb +26 -2
- data/spec/models/send_message_spec.rb +2 -2
- data/spec/models/shared_member_spec.rb +2 -2
- data/spec/models/signup_request_spec.rb +2 -2
- data/spec/models/simulated_inbound_spec.rb +2 -2
- data/spec/models/start_conversation_request_spec.rb +2 -2
- data/spec/models/start_migration202_response_spec.rb +2 -2
- data/spec/models/suppression_spec.rb +2 -2
- data/spec/models/template_input_spec.rb +2 -2
- data/spec/models/template_spec.rb +2 -2
- data/spec/models/tenant_health_check_spec.rb +54 -0
- data/spec/models/tenant_health_report_spec.rb +48 -0
- data/spec/models/tenant_spec.rb +2 -2
- data/spec/models/thread_classification_spec.rb +2 -2
- data/spec/models/thread_list_spec.rb +2 -2
- data/spec/models/thread_message_body_body_spec.rb +2 -2
- data/spec/models/thread_message_body_spec.rb +2 -2
- data/spec/models/thread_message_spec.rb +2 -2
- data/spec/models/thread_spec.rb +2 -2
- data/spec/models/thread_summary_spec.rb +2 -2
- data/spec/models/tracking_policy_spec.rb +54 -0
- data/spec/models/unit_bundle_spec.rb +2 -2
- data/spec/models/update_admin_request_spec.rb +2 -2
- data/spec/models/update_api_key_request_spec.rb +48 -0
- data/spec/models/update_calendar_event_request_spec.rb +2 -2
- data/spec/models/update_calendar_integration_request_spec.rb +2 -2
- data/spec/models/update_calendar_member_request_spec.rb +2 -2
- data/spec/models/update_calendar_policies_request_spec.rb +2 -2
- data/spec/models/update_calendar_request_spec.rb +2 -2
- data/spec/models/update_contact_list_request_spec.rb +2 -2
- data/spec/models/update_contact_request_spec.rb +2 -2
- data/spec/models/update_directory_permissions_request_spec.rb +2 -2
- data/spec/models/update_gal_settings_request_spec.rb +2 -2
- data/spec/models/update_mailbox_request_spec.rb +2 -2
- data/spec/models/update_migration_mailbox_request_spec.rb +2 -2
- data/spec/models/update_migration_request_spec.rb +2 -2
- data/spec/models/update_resource_request_spec.rb +2 -2
- data/spec/models/update_tracking_policy_request_spec.rb +42 -0
- data/spec/models/update_user_request_spec.rb +2 -2
- data/spec/models/update_webhook_request_spec.rb +2 -2
- data/spec/models/user_event_spec.rb +2 -2
- data/spec/models/user_spec.rb +2 -2
- data/spec/models/webhook_spec.rb +2 -2
- data/spec/models/whoami_key_spec.rb +2 -2
- data/spec/models/whoami_spec.rb +2 -2
- data/spec/models/whoami_tenant_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +274 -233
- data/docs/ListVacationResponders200Response.md +0 -18
- data/docs/SetVacationResponderRequest.md +0 -20
- data/docs/VacationParams.md +0 -24
- data/docs/VacationResponder.md +0 -30
- data/lib/lockally/models/vacation_responder.rb +0 -305
- data/spec/models/list_vacation_responders200_response_spec.rb +0 -36
- data/spec/models/set_vacation_responder_request_spec.rb +0 -42
- data/spec/models/vacation_params_spec.rb +0 -54
- data/spec/models/vacation_responder_spec.rb +0 -72
data/docs/EncryptionApi.md
CHANGED
|
@@ -8,7 +8,8 @@ All URIs are relative to *https://api.lockally.com*
|
|
|
8
8
|
| [**create_encryption_key**](EncryptionApi.md#create_encryption_key) | **POST** /v1/encryption/keys | Upload an encryption key pair |
|
|
9
9
|
| [**create_encryption_recovery**](EncryptionApi.md#create_encryption_recovery) | **POST** /v1/encryption/recovery | Store an encryption recovery blob |
|
|
10
10
|
| [**get_encryption_key**](EncryptionApi.md#get_encryption_key) | **GET** /v1/encryption/keys/{email} | Get encryption key for a mailbox |
|
|
11
|
-
| [**
|
|
11
|
+
| [**get_encryption_status**](EncryptionApi.md#get_encryption_status) | **GET** /v1/encryption/status | End-to-end encryption status for the workspace |
|
|
12
|
+
| [**rotate_encryption_key**](EncryptionApi.md#rotate_encryption_key) | **POST** /v1/encryption/keys/rotate | Re-seal an encryption key under a new password |
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
## batch_lookup_public_keys
|
|
@@ -84,6 +85,8 @@ end
|
|
|
84
85
|
|
|
85
86
|
Upload an encryption key pair
|
|
86
87
|
|
|
88
|
+
Only the mailbox's own webmail session may call this; an API key is refused with 403. The private key is sealed under that mailbox's password, which an administrator never has. `mailbox_email`, if sent, must be the caller's own mailbox. A mailbox that already has a key is starting over: the old key is kept inactive, not destroyed, and the new one starts without a recovery code.
|
|
89
|
+
|
|
87
90
|
### Examples
|
|
88
91
|
|
|
89
92
|
```ruby
|
|
@@ -96,7 +99,7 @@ Lockally.configure do |config|
|
|
|
96
99
|
end
|
|
97
100
|
|
|
98
101
|
api_instance = Lockally::EncryptionApi.new
|
|
99
|
-
create_encryption_key_request = Lockally::CreateEncryptionKeyRequest.new({
|
|
102
|
+
create_encryption_key_request = Lockally::CreateEncryptionKeyRequest.new({public_key: 'public_key_example', encrypted_private_key: 'encrypted_private_key_example'}) # CreateEncryptionKeyRequest |
|
|
100
103
|
|
|
101
104
|
begin
|
|
102
105
|
# Upload an encryption key pair
|
|
@@ -151,6 +154,8 @@ end
|
|
|
151
154
|
|
|
152
155
|
Store an encryption recovery blob
|
|
153
156
|
|
|
157
|
+
Only the mailbox's own webmail session may call this; an API key is refused with 403. The private key is sealed under that mailbox's password, which an administrator never has. `mailbox_email`, if sent, must be the caller's own mailbox. The blob is the private key sealed under a recovery code the browser generated; the code itself is never sent. Replaces any earlier one.
|
|
158
|
+
|
|
154
159
|
### Examples
|
|
155
160
|
|
|
156
161
|
```ruby
|
|
@@ -163,7 +168,7 @@ Lockally.configure do |config|
|
|
|
163
168
|
end
|
|
164
169
|
|
|
165
170
|
api_instance = Lockally::EncryptionApi.new
|
|
166
|
-
create_encryption_recovery_request = Lockally::CreateEncryptionRecoveryRequest.new({
|
|
171
|
+
create_encryption_recovery_request = Lockally::CreateEncryptionRecoveryRequest.new({recovery_blob: 'recovery_blob_example'}) # CreateEncryptionRecoveryRequest |
|
|
167
172
|
|
|
168
173
|
begin
|
|
169
174
|
# Store an encryption recovery blob
|
|
@@ -217,6 +222,8 @@ nil (empty response body)
|
|
|
217
222
|
|
|
218
223
|
Get encryption key for a mailbox
|
|
219
224
|
|
|
225
|
+
Anyone in the workspace gets the public key. The mailbox's own webmail session also gets its sealed private key, its sealed recovery copy and the recovery state.
|
|
226
|
+
|
|
220
227
|
### Examples
|
|
221
228
|
|
|
222
229
|
```ruby
|
|
@@ -278,11 +285,79 @@ end
|
|
|
278
285
|
- **Accept**: application/json, application/problem+json
|
|
279
286
|
|
|
280
287
|
|
|
288
|
+
## get_encryption_status
|
|
289
|
+
|
|
290
|
+
> <GetEncryptionStatus200Response> get_encryption_status
|
|
291
|
+
|
|
292
|
+
End-to-end encryption status for the workspace
|
|
293
|
+
|
|
294
|
+
For administrators: whether the add-on is on, and for each mailbox whether it has a key and a recovery code. Carries no key material.
|
|
295
|
+
|
|
296
|
+
### Examples
|
|
297
|
+
|
|
298
|
+
```ruby
|
|
299
|
+
require 'time'
|
|
300
|
+
require 'lockally'
|
|
301
|
+
# setup authorization
|
|
302
|
+
Lockally.configure do |config|
|
|
303
|
+
# Configure Bearer authorization (lk_live_<prefix>_<secret>): bearerAuth
|
|
304
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
api_instance = Lockally::EncryptionApi.new
|
|
308
|
+
|
|
309
|
+
begin
|
|
310
|
+
# End-to-end encryption status for the workspace
|
|
311
|
+
result = api_instance.get_encryption_status
|
|
312
|
+
p result
|
|
313
|
+
rescue Lockally::ApiError => e
|
|
314
|
+
puts "Error when calling EncryptionApi->get_encryption_status: #{e}"
|
|
315
|
+
end
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
#### Using the get_encryption_status_with_http_info variant
|
|
319
|
+
|
|
320
|
+
This returns an Array which contains the response data, status code and headers.
|
|
321
|
+
|
|
322
|
+
> <Array(<GetEncryptionStatus200Response>, Integer, Hash)> get_encryption_status_with_http_info
|
|
323
|
+
|
|
324
|
+
```ruby
|
|
325
|
+
begin
|
|
326
|
+
# End-to-end encryption status for the workspace
|
|
327
|
+
data, status_code, headers = api_instance.get_encryption_status_with_http_info
|
|
328
|
+
p status_code # => 2xx
|
|
329
|
+
p headers # => { ... }
|
|
330
|
+
p data # => <GetEncryptionStatus200Response>
|
|
331
|
+
rescue Lockally::ApiError => e
|
|
332
|
+
puts "Error when calling EncryptionApi->get_encryption_status_with_http_info: #{e}"
|
|
333
|
+
end
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### Parameters
|
|
337
|
+
|
|
338
|
+
This endpoint does not need any parameter.
|
|
339
|
+
|
|
340
|
+
### Return type
|
|
341
|
+
|
|
342
|
+
[**GetEncryptionStatus200Response**](GetEncryptionStatus200Response.md)
|
|
343
|
+
|
|
344
|
+
### Authorization
|
|
345
|
+
|
|
346
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
347
|
+
|
|
348
|
+
### HTTP request headers
|
|
349
|
+
|
|
350
|
+
- **Content-Type**: Not defined
|
|
351
|
+
- **Accept**: application/json, application/problem+json
|
|
352
|
+
|
|
353
|
+
|
|
281
354
|
## rotate_encryption_key
|
|
282
355
|
|
|
283
356
|
> rotate_encryption_key(rotate_encryption_key_request)
|
|
284
357
|
|
|
285
|
-
|
|
358
|
+
Re-seal an encryption key under a new password
|
|
359
|
+
|
|
360
|
+
Only the mailbox's own webmail session may call this; an API key is refused with 403. The private key is sealed under that mailbox's password, which an administrator never has. `mailbox_email`, if sent, must be the caller's own mailbox. The key pair does not change, so every message stays readable.
|
|
286
361
|
|
|
287
362
|
### Examples
|
|
288
363
|
|
|
@@ -296,10 +371,10 @@ Lockally.configure do |config|
|
|
|
296
371
|
end
|
|
297
372
|
|
|
298
373
|
api_instance = Lockally::EncryptionApi.new
|
|
299
|
-
rotate_encryption_key_request = Lockally::RotateEncryptionKeyRequest.new({
|
|
374
|
+
rotate_encryption_key_request = Lockally::RotateEncryptionKeyRequest.new({encrypted_private_key: 'encrypted_private_key_example'}) # RotateEncryptionKeyRequest |
|
|
300
375
|
|
|
301
376
|
begin
|
|
302
|
-
#
|
|
377
|
+
# Re-seal an encryption key under a new password
|
|
303
378
|
api_instance.rotate_encryption_key(rotate_encryption_key_request)
|
|
304
379
|
rescue Lockally::ApiError => e
|
|
305
380
|
puts "Error when calling EncryptionApi->rotate_encryption_key: #{e}"
|
|
@@ -314,7 +389,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
|
314
389
|
|
|
315
390
|
```ruby
|
|
316
391
|
begin
|
|
317
|
-
#
|
|
392
|
+
# Re-seal an encryption key under a new password
|
|
318
393
|
data, status_code, headers = api_instance.rotate_encryption_key_with_http_info(rotate_encryption_key_request)
|
|
319
394
|
p status_code # => 2xx
|
|
320
395
|
p headers # => { ... }
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Lockally::ExternalContactInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **email** | **String** | | |
|
|
8
|
+
| **name** | **String** | Defaults to the email address when empty. | [optional] |
|
|
9
|
+
| **phone** | **String** | | [optional] |
|
|
10
|
+
| **company** | **String** | | [optional] |
|
|
11
|
+
| **notes** | **String** | | [optional] |
|
|
12
|
+
| **contact_type** | **String** | | [optional][default to 'external'] |
|
|
13
|
+
| **department** | **String** | | [optional] |
|
|
14
|
+
| **role** | **String** | | [optional] |
|
|
15
|
+
| **status** | **String** | | [optional][default to 'active'] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'lockally'
|
|
21
|
+
|
|
22
|
+
instance = Lockally::ExternalContactInput.new(
|
|
23
|
+
email: null,
|
|
24
|
+
name: null,
|
|
25
|
+
phone: null,
|
|
26
|
+
company: null,
|
|
27
|
+
notes: null,
|
|
28
|
+
contact_type: null,
|
|
29
|
+
department: null,
|
|
30
|
+
role: null,
|
|
31
|
+
status: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
| **encrypted_private_key** | **String** | | [optional] |
|
|
11
11
|
| **kdf_params** | **Object** | | [optional] |
|
|
12
12
|
| **version** | **Integer** | | [optional] |
|
|
13
|
+
| **created_at** | **Time** | | [optional] |
|
|
14
|
+
| **rotated_at** | **Time** | | [optional] |
|
|
15
|
+
| **has_recovery** | **Boolean** | | [optional] |
|
|
16
|
+
| **recovery_set_at** | **Time** | | [optional] |
|
|
17
|
+
| **recovery_blob** | **String** | | [optional] |
|
|
13
18
|
|
|
14
19
|
## Example
|
|
15
20
|
|
|
@@ -22,7 +27,12 @@ instance = Lockally::GetEncryptionKey200Response.new(
|
|
|
22
27
|
public_key: null,
|
|
23
28
|
encrypted_private_key: null,
|
|
24
29
|
kdf_params: null,
|
|
25
|
-
version: null
|
|
30
|
+
version: null,
|
|
31
|
+
created_at: null,
|
|
32
|
+
rotated_at: null,
|
|
33
|
+
has_recovery: null,
|
|
34
|
+
recovery_set_at: null,
|
|
35
|
+
recovery_blob: null
|
|
26
36
|
)
|
|
27
37
|
```
|
|
28
38
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Lockally::GetEncryptionStatus200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **eligible** | **Boolean** | | [optional] |
|
|
8
|
+
| **active** | **Boolean** | | [optional] |
|
|
9
|
+
| **mailboxes** | [**Array<GetEncryptionStatus200ResponseMailboxesInner>**](GetEncryptionStatus200ResponseMailboxesInner.md) | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'lockally'
|
|
15
|
+
|
|
16
|
+
instance = Lockally::GetEncryptionStatus200Response.new(
|
|
17
|
+
eligible: null,
|
|
18
|
+
active: null,
|
|
19
|
+
mailboxes: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Lockally::GetEncryptionStatus200ResponseMailboxesInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **email** | **String** | | [optional] |
|
|
8
|
+
| **has_key** | **Boolean** | | [optional] |
|
|
9
|
+
| **key_created_at** | **Time** | | [optional] |
|
|
10
|
+
| **has_recovery** | **Boolean** | | [optional] |
|
|
11
|
+
| **recovery_set_at** | **Time** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'lockally'
|
|
17
|
+
|
|
18
|
+
instance = Lockally::GetEncryptionStatus200ResponseMailboxesInner.new(
|
|
19
|
+
email: null,
|
|
20
|
+
has_key: null,
|
|
21
|
+
key_created_at: null,
|
|
22
|
+
has_recovery: null,
|
|
23
|
+
recovery_set_at: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/MailboxesApi.md
CHANGED
|
@@ -7,16 +7,12 @@ All URIs are relative to *https://api.lockally.com*
|
|
|
7
7
|
| [**add_shared_member**](MailboxesApi.md#add_shared_member) | **POST** /v1/mailboxes/{email}/members | Add a shared mailbox member |
|
|
8
8
|
| [**create_mailbox**](MailboxesApi.md#create_mailbox) | **POST** /v1/mailboxes | Create a mailbox |
|
|
9
9
|
| [**delete_mailbox**](MailboxesApi.md#delete_mailbox) | **DELETE** /v1/mailboxes/{email} | Soft-delete a mailbox |
|
|
10
|
-
| [**delete_vacation_responder**](MailboxesApi.md#delete_vacation_responder) | **DELETE** /v1/mailboxes/{email}/vacation | Remove the vacation responder |
|
|
11
10
|
| [**download_mailbox_export**](MailboxesApi.md#download_mailbox_export) | **GET** /v1/mailboxes/{email}/export/download | Download a previously-issued mailbox export |
|
|
12
11
|
| [**export_mailbox**](MailboxesApi.md#export_mailbox) | **POST** /v1/mailboxes/{email}/export | Request a mailbox export |
|
|
13
12
|
| [**get_mailbox**](MailboxesApi.md#get_mailbox) | **GET** /v1/mailboxes/{email} | Get a mailbox |
|
|
14
|
-
| [**get_vacation_responder**](MailboxesApi.md#get_vacation_responder) | **GET** /v1/mailboxes/{email}/vacation | Get the vacation responder |
|
|
15
13
|
| [**list_mailboxes**](MailboxesApi.md#list_mailboxes) | **GET** /v1/mailboxes | List mailboxes |
|
|
16
14
|
| [**list_shared_members**](MailboxesApi.md#list_shared_members) | **GET** /v1/mailboxes/{email}/members | List shared mailbox members |
|
|
17
|
-
| [**list_vacation_responders**](MailboxesApi.md#list_vacation_responders) | **GET** /v1/vacation | List all vacation responders |
|
|
18
15
|
| [**remove_shared_member**](MailboxesApi.md#remove_shared_member) | **DELETE** /v1/mailboxes/{email}/members/{memberEmail} | Remove a shared mailbox member |
|
|
19
|
-
| [**set_vacation_responder**](MailboxesApi.md#set_vacation_responder) | **PUT** /v1/mailboxes/{email}/vacation | Set the vacation responder |
|
|
20
16
|
| [**update_mailbox**](MailboxesApi.md#update_mailbox) | **PATCH** /v1/mailboxes/{email} | Update a mailbox |
|
|
21
17
|
|
|
22
18
|
|
|
@@ -95,7 +91,7 @@ end
|
|
|
95
91
|
|
|
96
92
|
Create a mailbox
|
|
97
93
|
|
|
98
|
-
Creates a mailbox on a tenant-verified domain. If `password` is omitted, lockally generates a 16-char password and returns it in the response
|
|
94
|
+
Creates a mailbox on a tenant-verified domain. If `password` is omitted, lockally generates a 16-char password and returns it in the response, shown once. **Gate.** The mailbox's domain must already be registered AND verified for this tenant (via `/v1/domains` + `/v1/domains/{domain}/verify`). **Idempotent.** Re-posting the same email returns the existing mailbox UNTOUCHED, password is NOT regenerated. To change a password, use PATCH instead.
|
|
99
95
|
|
|
100
96
|
### Examples
|
|
101
97
|
|
|
@@ -226,81 +222,13 @@ nil (empty response body)
|
|
|
226
222
|
- **Accept**: application/problem+json
|
|
227
223
|
|
|
228
224
|
|
|
229
|
-
## delete_vacation_responder
|
|
230
|
-
|
|
231
|
-
> delete_vacation_responder(email)
|
|
232
|
-
|
|
233
|
-
Remove the vacation responder
|
|
234
|
-
|
|
235
|
-
Idempotent — 204 whether or not a row existed.
|
|
236
|
-
|
|
237
|
-
### Examples
|
|
238
|
-
|
|
239
|
-
```ruby
|
|
240
|
-
require 'time'
|
|
241
|
-
require 'lockally'
|
|
242
|
-
# setup authorization
|
|
243
|
-
Lockally.configure do |config|
|
|
244
|
-
# Configure Bearer authorization (lk_live_<prefix>_<secret>): bearerAuth
|
|
245
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
api_instance = Lockally::MailboxesApi.new
|
|
249
|
-
email = 'email_example' # String |
|
|
250
|
-
|
|
251
|
-
begin
|
|
252
|
-
# Remove the vacation responder
|
|
253
|
-
api_instance.delete_vacation_responder(email)
|
|
254
|
-
rescue Lockally::ApiError => e
|
|
255
|
-
puts "Error when calling MailboxesApi->delete_vacation_responder: #{e}"
|
|
256
|
-
end
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
#### Using the delete_vacation_responder_with_http_info variant
|
|
260
|
-
|
|
261
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
262
|
-
|
|
263
|
-
> <Array(nil, Integer, Hash)> delete_vacation_responder_with_http_info(email)
|
|
264
|
-
|
|
265
|
-
```ruby
|
|
266
|
-
begin
|
|
267
|
-
# Remove the vacation responder
|
|
268
|
-
data, status_code, headers = api_instance.delete_vacation_responder_with_http_info(email)
|
|
269
|
-
p status_code # => 2xx
|
|
270
|
-
p headers # => { ... }
|
|
271
|
-
p data # => nil
|
|
272
|
-
rescue Lockally::ApiError => e
|
|
273
|
-
puts "Error when calling MailboxesApi->delete_vacation_responder_with_http_info: #{e}"
|
|
274
|
-
end
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
### Parameters
|
|
278
|
-
|
|
279
|
-
| Name | Type | Description | Notes |
|
|
280
|
-
| ---- | ---- | ----------- | ----- |
|
|
281
|
-
| **email** | **String** | | |
|
|
282
|
-
|
|
283
|
-
### Return type
|
|
284
|
-
|
|
285
|
-
nil (empty response body)
|
|
286
|
-
|
|
287
|
-
### Authorization
|
|
288
|
-
|
|
289
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
290
|
-
|
|
291
|
-
### HTTP request headers
|
|
292
|
-
|
|
293
|
-
- **Content-Type**: Not defined
|
|
294
|
-
- **Accept**: application/problem+json
|
|
295
|
-
|
|
296
|
-
|
|
297
225
|
## download_mailbox_export
|
|
298
226
|
|
|
299
227
|
> File download_mailbox_export(email, token)
|
|
300
228
|
|
|
301
229
|
Download a previously-issued mailbox export
|
|
302
230
|
|
|
303
|
-
Public endpoint (no Authorization header). Validates the one-shot token from the URL, marks it used, and streams an mbox file. Second GET with the same token returns 404
|
|
231
|
+
Public endpoint (no Authorization header). Validates the one-shot token from the URL, marks it used, and streams an mbox file. Second GET with the same token returns 404, tokens are single-use.
|
|
304
232
|
|
|
305
233
|
### Examples
|
|
306
234
|
|
|
@@ -366,7 +294,7 @@ No authorization required
|
|
|
366
294
|
|
|
367
295
|
Request a mailbox export
|
|
368
296
|
|
|
369
|
-
Issues a one-shot \"presigned\" download URL for the mailbox's content in mbox format. The URL works without an Authorization header
|
|
297
|
+
Issues a one-shot \"presigned\" download URL for the mailbox's content in mbox format. The URL works without an Authorization header, the token in the query string is the authz. TTL is 5 minutes; the token is consumed on first GET. **v1 caveat:** the synthesized mbox only contains outbound mail (sent mail only). A later version will cover received mail for full inbox + folder structure + flags. The endpoint contract stays unchanged. **Scope changed:** this used to accept `mailboxes:read`. It takes any mailbox in the tenant and returns that mailbox's mail, so it now requires `tenant:admin`, matching `POST /v1/ediscovery/export`. A key scoped `mailboxes:read` gets 403 and has to be reissued; admin console sessions are unaffected.
|
|
370
298
|
|
|
371
299
|
### Examples
|
|
372
300
|
|
|
@@ -496,82 +424,13 @@ end
|
|
|
496
424
|
- **Accept**: application/json, application/problem+json
|
|
497
425
|
|
|
498
426
|
|
|
499
|
-
## get_vacation_responder
|
|
500
|
-
|
|
501
|
-
> <VacationResponder> get_vacation_responder(email)
|
|
502
|
-
|
|
503
|
-
Get the vacation responder
|
|
504
|
-
|
|
505
|
-
Returns the stored vacation rule or 404 if none is set.
|
|
506
|
-
|
|
507
|
-
### Examples
|
|
508
|
-
|
|
509
|
-
```ruby
|
|
510
|
-
require 'time'
|
|
511
|
-
require 'lockally'
|
|
512
|
-
# setup authorization
|
|
513
|
-
Lockally.configure do |config|
|
|
514
|
-
# Configure Bearer authorization (lk_live_<prefix>_<secret>): bearerAuth
|
|
515
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
516
|
-
end
|
|
517
|
-
|
|
518
|
-
api_instance = Lockally::MailboxesApi.new
|
|
519
|
-
email = 'email_example' # String |
|
|
520
|
-
|
|
521
|
-
begin
|
|
522
|
-
# Get the vacation responder
|
|
523
|
-
result = api_instance.get_vacation_responder(email)
|
|
524
|
-
p result
|
|
525
|
-
rescue Lockally::ApiError => e
|
|
526
|
-
puts "Error when calling MailboxesApi->get_vacation_responder: #{e}"
|
|
527
|
-
end
|
|
528
|
-
```
|
|
529
|
-
|
|
530
|
-
#### Using the get_vacation_responder_with_http_info variant
|
|
531
|
-
|
|
532
|
-
This returns an Array which contains the response data, status code and headers.
|
|
533
|
-
|
|
534
|
-
> <Array(<VacationResponder>, Integer, Hash)> get_vacation_responder_with_http_info(email)
|
|
535
|
-
|
|
536
|
-
```ruby
|
|
537
|
-
begin
|
|
538
|
-
# Get the vacation responder
|
|
539
|
-
data, status_code, headers = api_instance.get_vacation_responder_with_http_info(email)
|
|
540
|
-
p status_code # => 2xx
|
|
541
|
-
p headers # => { ... }
|
|
542
|
-
p data # => <VacationResponder>
|
|
543
|
-
rescue Lockally::ApiError => e
|
|
544
|
-
puts "Error when calling MailboxesApi->get_vacation_responder_with_http_info: #{e}"
|
|
545
|
-
end
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
### Parameters
|
|
549
|
-
|
|
550
|
-
| Name | Type | Description | Notes |
|
|
551
|
-
| ---- | ---- | ----------- | ----- |
|
|
552
|
-
| **email** | **String** | | |
|
|
553
|
-
|
|
554
|
-
### Return type
|
|
555
|
-
|
|
556
|
-
[**VacationResponder**](VacationResponder.md)
|
|
557
|
-
|
|
558
|
-
### Authorization
|
|
559
|
-
|
|
560
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
561
|
-
|
|
562
|
-
### HTTP request headers
|
|
563
|
-
|
|
564
|
-
- **Content-Type**: Not defined
|
|
565
|
-
- **Accept**: application/json, application/problem+json
|
|
566
|
-
|
|
567
|
-
|
|
568
427
|
## list_mailboxes
|
|
569
428
|
|
|
570
429
|
> <ListMailboxes200Response> list_mailboxes(opts)
|
|
571
430
|
|
|
572
431
|
List mailboxes
|
|
573
432
|
|
|
574
|
-
Returns mailboxes under the calling tenant
|
|
433
|
+
Returns mailboxes under the calling tenant, active and soft-deleted. `?limit=N` between 1 and 200 (default 50).
|
|
575
434
|
|
|
576
435
|
### Examples
|
|
577
436
|
|
|
@@ -703,72 +562,6 @@ end
|
|
|
703
562
|
- **Accept**: application/json, application/problem+json
|
|
704
563
|
|
|
705
564
|
|
|
706
|
-
## list_vacation_responders
|
|
707
|
-
|
|
708
|
-
> <ListVacationResponders200Response> list_vacation_responders
|
|
709
|
-
|
|
710
|
-
List all vacation responders
|
|
711
|
-
|
|
712
|
-
Returns every vacation responder for the calling tenant.
|
|
713
|
-
|
|
714
|
-
### Examples
|
|
715
|
-
|
|
716
|
-
```ruby
|
|
717
|
-
require 'time'
|
|
718
|
-
require 'lockally'
|
|
719
|
-
# setup authorization
|
|
720
|
-
Lockally.configure do |config|
|
|
721
|
-
# Configure Bearer authorization (lk_live_<prefix>_<secret>): bearerAuth
|
|
722
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
723
|
-
end
|
|
724
|
-
|
|
725
|
-
api_instance = Lockally::MailboxesApi.new
|
|
726
|
-
|
|
727
|
-
begin
|
|
728
|
-
# List all vacation responders
|
|
729
|
-
result = api_instance.list_vacation_responders
|
|
730
|
-
p result
|
|
731
|
-
rescue Lockally::ApiError => e
|
|
732
|
-
puts "Error when calling MailboxesApi->list_vacation_responders: #{e}"
|
|
733
|
-
end
|
|
734
|
-
```
|
|
735
|
-
|
|
736
|
-
#### Using the list_vacation_responders_with_http_info variant
|
|
737
|
-
|
|
738
|
-
This returns an Array which contains the response data, status code and headers.
|
|
739
|
-
|
|
740
|
-
> <Array(<ListVacationResponders200Response>, Integer, Hash)> list_vacation_responders_with_http_info
|
|
741
|
-
|
|
742
|
-
```ruby
|
|
743
|
-
begin
|
|
744
|
-
# List all vacation responders
|
|
745
|
-
data, status_code, headers = api_instance.list_vacation_responders_with_http_info
|
|
746
|
-
p status_code # => 2xx
|
|
747
|
-
p headers # => { ... }
|
|
748
|
-
p data # => <ListVacationResponders200Response>
|
|
749
|
-
rescue Lockally::ApiError => e
|
|
750
|
-
puts "Error when calling MailboxesApi->list_vacation_responders_with_http_info: #{e}"
|
|
751
|
-
end
|
|
752
|
-
```
|
|
753
|
-
|
|
754
|
-
### Parameters
|
|
755
|
-
|
|
756
|
-
This endpoint does not need any parameter.
|
|
757
|
-
|
|
758
|
-
### Return type
|
|
759
|
-
|
|
760
|
-
[**ListVacationResponders200Response**](ListVacationResponders200Response.md)
|
|
761
|
-
|
|
762
|
-
### Authorization
|
|
763
|
-
|
|
764
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
765
|
-
|
|
766
|
-
### HTTP request headers
|
|
767
|
-
|
|
768
|
-
- **Content-Type**: Not defined
|
|
769
|
-
- **Accept**: application/json, application/problem+json
|
|
770
|
-
|
|
771
|
-
|
|
772
565
|
## remove_shared_member
|
|
773
566
|
|
|
774
567
|
> remove_shared_member(email, member_email)
|
|
@@ -837,77 +630,6 @@ nil (empty response body)
|
|
|
837
630
|
- **Accept**: application/problem+json
|
|
838
631
|
|
|
839
632
|
|
|
840
|
-
## set_vacation_responder
|
|
841
|
-
|
|
842
|
-
> <VacationResponder> set_vacation_responder(email, set_vacation_responder_request)
|
|
843
|
-
|
|
844
|
-
Set the vacation responder
|
|
845
|
-
|
|
846
|
-
Upsert — same endpoint creates or replaces the rule. Clears `synced_at`; the rule is staged on lockally until a sync worker pushes it to the mail server.
|
|
847
|
-
|
|
848
|
-
### Examples
|
|
849
|
-
|
|
850
|
-
```ruby
|
|
851
|
-
require 'time'
|
|
852
|
-
require 'lockally'
|
|
853
|
-
# setup authorization
|
|
854
|
-
Lockally.configure do |config|
|
|
855
|
-
# Configure Bearer authorization (lk_live_<prefix>_<secret>): bearerAuth
|
|
856
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
857
|
-
end
|
|
858
|
-
|
|
859
|
-
api_instance = Lockally::MailboxesApi.new
|
|
860
|
-
email = 'email_example' # String |
|
|
861
|
-
set_vacation_responder_request = Lockally::SetVacationResponderRequest.new({params: Lockally::VacationParams.new({subject: 'Out of office until June 5', body: 'Hi! I'm away until June 5. For urgent matters please contact ...'})}) # SetVacationResponderRequest |
|
|
862
|
-
|
|
863
|
-
begin
|
|
864
|
-
# Set the vacation responder
|
|
865
|
-
result = api_instance.set_vacation_responder(email, set_vacation_responder_request)
|
|
866
|
-
p result
|
|
867
|
-
rescue Lockally::ApiError => e
|
|
868
|
-
puts "Error when calling MailboxesApi->set_vacation_responder: #{e}"
|
|
869
|
-
end
|
|
870
|
-
```
|
|
871
|
-
|
|
872
|
-
#### Using the set_vacation_responder_with_http_info variant
|
|
873
|
-
|
|
874
|
-
This returns an Array which contains the response data, status code and headers.
|
|
875
|
-
|
|
876
|
-
> <Array(<VacationResponder>, Integer, Hash)> set_vacation_responder_with_http_info(email, set_vacation_responder_request)
|
|
877
|
-
|
|
878
|
-
```ruby
|
|
879
|
-
begin
|
|
880
|
-
# Set the vacation responder
|
|
881
|
-
data, status_code, headers = api_instance.set_vacation_responder_with_http_info(email, set_vacation_responder_request)
|
|
882
|
-
p status_code # => 2xx
|
|
883
|
-
p headers # => { ... }
|
|
884
|
-
p data # => <VacationResponder>
|
|
885
|
-
rescue Lockally::ApiError => e
|
|
886
|
-
puts "Error when calling MailboxesApi->set_vacation_responder_with_http_info: #{e}"
|
|
887
|
-
end
|
|
888
|
-
```
|
|
889
|
-
|
|
890
|
-
### Parameters
|
|
891
|
-
|
|
892
|
-
| Name | Type | Description | Notes |
|
|
893
|
-
| ---- | ---- | ----------- | ----- |
|
|
894
|
-
| **email** | **String** | | |
|
|
895
|
-
| **set_vacation_responder_request** | [**SetVacationResponderRequest**](SetVacationResponderRequest.md) | | |
|
|
896
|
-
|
|
897
|
-
### Return type
|
|
898
|
-
|
|
899
|
-
[**VacationResponder**](VacationResponder.md)
|
|
900
|
-
|
|
901
|
-
### Authorization
|
|
902
|
-
|
|
903
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
904
|
-
|
|
905
|
-
### HTTP request headers
|
|
906
|
-
|
|
907
|
-
- **Content-Type**: application/json
|
|
908
|
-
- **Accept**: application/json, application/problem+json
|
|
909
|
-
|
|
910
|
-
|
|
911
633
|
## update_mailbox
|
|
912
634
|
|
|
913
635
|
> <Mailbox> update_mailbox(email, update_mailbox_request)
|
data/docs/Message.md
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
| **updated_at** | **Time** | | |
|
|
16
16
|
| **bounce_reason** | **String** | | [optional] |
|
|
17
17
|
| **size_bytes** | **Integer** | | [optional] |
|
|
18
|
+
| **metadata** | **Hash<String, String>** | The sender's own key/value from the send request. Always present; `{}` when none was set. | [optional] |
|
|
19
|
+
| **tags** | **Array<String>** | Grouping labels, lowercased and deduplicated. Always present; `[]` when none were set. | [optional] |
|
|
18
20
|
|
|
19
21
|
## Example
|
|
20
22
|
|
|
@@ -32,7 +34,9 @@ instance = Lockally::Message.new(
|
|
|
32
34
|
queued_at: null,
|
|
33
35
|
updated_at: null,
|
|
34
36
|
bounce_reason: null,
|
|
35
|
-
size_bytes: null
|
|
37
|
+
size_bytes: null,
|
|
38
|
+
metadata: null,
|
|
39
|
+
tags: null
|
|
36
40
|
)
|
|
37
41
|
```
|
|
38
42
|
|
data/docs/MessageDetail.md
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
| **updated_at** | **Time** | | |
|
|
16
16
|
| **bounce_reason** | **String** | | [optional] |
|
|
17
17
|
| **size_bytes** | **Integer** | | [optional] |
|
|
18
|
+
| **metadata** | **Hash<String, String>** | The sender's own key/value from the send request. Always present; `{}` when none was set. | [optional] |
|
|
19
|
+
| **tags** | **Array<String>** | Grouping labels, lowercased and deduplicated. Always present; `[]` when none were set. | [optional] |
|
|
18
20
|
| **from** | **String** | | [optional] |
|
|
19
21
|
| **to** | **Array<String>** | | [optional] |
|
|
20
22
|
| **cc** | **Array<String>** | | [optional] |
|
|
@@ -40,6 +42,8 @@ instance = Lockally::MessageDetail.new(
|
|
|
40
42
|
updated_at: null,
|
|
41
43
|
bounce_reason: null,
|
|
42
44
|
size_bytes: null,
|
|
45
|
+
metadata: null,
|
|
46
|
+
tags: null,
|
|
43
47
|
from: null,
|
|
44
48
|
to: null,
|
|
45
49
|
cc: null,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Lockally::MigrationDNSCheck
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ready** | **Boolean** | | |
|
|
8
|
+
| **domains** | [**Array<MigrationDomainDNS>**](MigrationDomainDNS.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'lockally'
|
|
14
|
+
|
|
15
|
+
instance = Lockally::MigrationDNSCheck.new(
|
|
16
|
+
ready: null,
|
|
17
|
+
domains: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|