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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|
|
@@ -82,6 +82,7 @@ module Lockally
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Upload an encryption key pair
|
|
85
|
+
# 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.
|
|
85
86
|
# @param create_encryption_key_request [CreateEncryptionKeyRequest]
|
|
86
87
|
# @param [Hash] opts the optional parameters
|
|
87
88
|
# @return [CreateEncryptionKey201Response]
|
|
@@ -91,6 +92,7 @@ module Lockally
|
|
|
91
92
|
end
|
|
92
93
|
|
|
93
94
|
# Upload an encryption key pair
|
|
95
|
+
# 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.
|
|
94
96
|
# @param create_encryption_key_request [CreateEncryptionKeyRequest]
|
|
95
97
|
# @param [Hash] opts the optional parameters
|
|
96
98
|
# @return [Array<(CreateEncryptionKey201Response, Integer, Hash)>] CreateEncryptionKey201Response data, response status code and response headers
|
|
@@ -148,6 +150,7 @@ module Lockally
|
|
|
148
150
|
end
|
|
149
151
|
|
|
150
152
|
# Store an encryption recovery blob
|
|
153
|
+
# 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.
|
|
151
154
|
# @param create_encryption_recovery_request [CreateEncryptionRecoveryRequest]
|
|
152
155
|
# @param [Hash] opts the optional parameters
|
|
153
156
|
# @return [nil]
|
|
@@ -157,6 +160,7 @@ module Lockally
|
|
|
157
160
|
end
|
|
158
161
|
|
|
159
162
|
# Store an encryption recovery blob
|
|
163
|
+
# 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.
|
|
160
164
|
# @param create_encryption_recovery_request [CreateEncryptionRecoveryRequest]
|
|
161
165
|
# @param [Hash] opts the optional parameters
|
|
162
166
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -214,6 +218,7 @@ module Lockally
|
|
|
214
218
|
end
|
|
215
219
|
|
|
216
220
|
# Get encryption key for a mailbox
|
|
221
|
+
# 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.
|
|
217
222
|
# @param email [String]
|
|
218
223
|
# @param [Hash] opts the optional parameters
|
|
219
224
|
# @return [GetEncryptionKey200Response]
|
|
@@ -223,6 +228,7 @@ module Lockally
|
|
|
223
228
|
end
|
|
224
229
|
|
|
225
230
|
# Get encryption key for a mailbox
|
|
231
|
+
# 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
232
|
# @param email [String]
|
|
227
233
|
# @param [Hash] opts the optional parameters
|
|
228
234
|
# @return [Array<(GetEncryptionKey200Response, Integer, Hash)>] GetEncryptionKey200Response data, response status code and response headers
|
|
@@ -274,7 +280,65 @@ module Lockally
|
|
|
274
280
|
return data, status_code, headers
|
|
275
281
|
end
|
|
276
282
|
|
|
277
|
-
#
|
|
283
|
+
# End-to-end encryption status for the workspace
|
|
284
|
+
# 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.
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @return [GetEncryptionStatus200Response]
|
|
287
|
+
def get_encryption_status(opts = {})
|
|
288
|
+
data, _status_code, _headers = get_encryption_status_with_http_info(opts)
|
|
289
|
+
data
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# End-to-end encryption status for the workspace
|
|
293
|
+
# 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.
|
|
294
|
+
# @param [Hash] opts the optional parameters
|
|
295
|
+
# @return [Array<(GetEncryptionStatus200Response, Integer, Hash)>] GetEncryptionStatus200Response data, response status code and response headers
|
|
296
|
+
def get_encryption_status_with_http_info(opts = {})
|
|
297
|
+
if @api_client.config.debugging
|
|
298
|
+
@api_client.config.logger.debug 'Calling API: EncryptionApi.get_encryption_status ...'
|
|
299
|
+
end
|
|
300
|
+
# resource path
|
|
301
|
+
local_var_path = '/v1/encryption/status'
|
|
302
|
+
|
|
303
|
+
# query parameters
|
|
304
|
+
query_params = opts[:query_params] || {}
|
|
305
|
+
|
|
306
|
+
# header parameters
|
|
307
|
+
header_params = opts[:header_params] || {}
|
|
308
|
+
# HTTP header 'Accept' (if needed)
|
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
|
|
310
|
+
|
|
311
|
+
# form parameters
|
|
312
|
+
form_params = opts[:form_params] || {}
|
|
313
|
+
|
|
314
|
+
# http body (model)
|
|
315
|
+
post_body = opts[:debug_body]
|
|
316
|
+
|
|
317
|
+
# return_type
|
|
318
|
+
return_type = opts[:debug_return_type] || 'GetEncryptionStatus200Response'
|
|
319
|
+
|
|
320
|
+
# auth_names
|
|
321
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
322
|
+
|
|
323
|
+
new_options = opts.merge(
|
|
324
|
+
:operation => :"EncryptionApi.get_encryption_status",
|
|
325
|
+
:header_params => header_params,
|
|
326
|
+
:query_params => query_params,
|
|
327
|
+
:form_params => form_params,
|
|
328
|
+
:body => post_body,
|
|
329
|
+
:auth_names => auth_names,
|
|
330
|
+
:return_type => return_type
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
334
|
+
if @api_client.config.debugging
|
|
335
|
+
@api_client.config.logger.debug "API called: EncryptionApi#get_encryption_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
336
|
+
end
|
|
337
|
+
return data, status_code, headers
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Re-seal an encryption key under a new password
|
|
341
|
+
# 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.
|
|
278
342
|
# @param rotate_encryption_key_request [RotateEncryptionKeyRequest]
|
|
279
343
|
# @param [Hash] opts the optional parameters
|
|
280
344
|
# @return [nil]
|
|
@@ -283,7 +347,8 @@ module Lockally
|
|
|
283
347
|
nil
|
|
284
348
|
end
|
|
285
349
|
|
|
286
|
-
#
|
|
350
|
+
# Re-seal an encryption key under a new password
|
|
351
|
+
# 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.
|
|
287
352
|
# @param rotate_encryption_key_request [RotateEncryptionKeyRequest]
|
|
288
353
|
# @param [Hash] opts the optional parameters
|
|
289
354
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|
|
@@ -92,7 +92,7 @@ module Lockally
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
# Create a mailbox
|
|
95
|
-
# Creates a mailbox on a tenant-verified domain. If `password` is omitted, lockally generates a 16-char password and returns it in the response
|
|
95
|
+
# 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.
|
|
96
96
|
# @param create_mailbox_request [CreateMailboxRequest]
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @return [Mailbox]
|
|
@@ -102,7 +102,7 @@ module Lockally
|
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
# Create a mailbox
|
|
105
|
-
# Creates a mailbox on a tenant-verified domain. If `password` is omitted, lockally generates a 16-char password and returns it in the response
|
|
105
|
+
# 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.
|
|
106
106
|
# @param create_mailbox_request [CreateMailboxRequest]
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
|
108
108
|
# @return [Array<(Mailbox, Integer, Hash)>] Mailbox data, response status code and response headers
|
|
@@ -222,71 +222,8 @@ module Lockally
|
|
|
222
222
|
return data, status_code, headers
|
|
223
223
|
end
|
|
224
224
|
|
|
225
|
-
# Remove the vacation responder
|
|
226
|
-
# Idempotent — 204 whether or not a row existed.
|
|
227
|
-
# @param email [String]
|
|
228
|
-
# @param [Hash] opts the optional parameters
|
|
229
|
-
# @return [nil]
|
|
230
|
-
def delete_vacation_responder(email, opts = {})
|
|
231
|
-
delete_vacation_responder_with_http_info(email, opts)
|
|
232
|
-
nil
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
# Remove the vacation responder
|
|
236
|
-
# Idempotent — 204 whether or not a row existed.
|
|
237
|
-
# @param email [String]
|
|
238
|
-
# @param [Hash] opts the optional parameters
|
|
239
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
240
|
-
def delete_vacation_responder_with_http_info(email, opts = {})
|
|
241
|
-
if @api_client.config.debugging
|
|
242
|
-
@api_client.config.logger.debug 'Calling API: MailboxesApi.delete_vacation_responder ...'
|
|
243
|
-
end
|
|
244
|
-
# verify the required parameter 'email' is set
|
|
245
|
-
if @api_client.config.client_side_validation && email.nil?
|
|
246
|
-
fail ArgumentError, "Missing the required parameter 'email' when calling MailboxesApi.delete_vacation_responder"
|
|
247
|
-
end
|
|
248
|
-
# resource path
|
|
249
|
-
local_var_path = '/v1/mailboxes/{email}/vacation'.sub('{email}', CGI.escape(email.to_s))
|
|
250
|
-
|
|
251
|
-
# query parameters
|
|
252
|
-
query_params = opts[:query_params] || {}
|
|
253
|
-
|
|
254
|
-
# header parameters
|
|
255
|
-
header_params = opts[:header_params] || {}
|
|
256
|
-
# HTTP header 'Accept' (if needed)
|
|
257
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/problem+json']) unless header_params['Accept']
|
|
258
|
-
|
|
259
|
-
# form parameters
|
|
260
|
-
form_params = opts[:form_params] || {}
|
|
261
|
-
|
|
262
|
-
# http body (model)
|
|
263
|
-
post_body = opts[:debug_body]
|
|
264
|
-
|
|
265
|
-
# return_type
|
|
266
|
-
return_type = opts[:debug_return_type]
|
|
267
|
-
|
|
268
|
-
# auth_names
|
|
269
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
270
|
-
|
|
271
|
-
new_options = opts.merge(
|
|
272
|
-
:operation => :"MailboxesApi.delete_vacation_responder",
|
|
273
|
-
:header_params => header_params,
|
|
274
|
-
:query_params => query_params,
|
|
275
|
-
:form_params => form_params,
|
|
276
|
-
:body => post_body,
|
|
277
|
-
:auth_names => auth_names,
|
|
278
|
-
:return_type => return_type
|
|
279
|
-
)
|
|
280
|
-
|
|
281
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
282
|
-
if @api_client.config.debugging
|
|
283
|
-
@api_client.config.logger.debug "API called: MailboxesApi#delete_vacation_responder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
284
|
-
end
|
|
285
|
-
return data, status_code, headers
|
|
286
|
-
end
|
|
287
|
-
|
|
288
225
|
# Download a previously-issued mailbox export
|
|
289
|
-
# 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
|
|
226
|
+
# 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.
|
|
290
227
|
# @param email [String]
|
|
291
228
|
# @param token [String]
|
|
292
229
|
# @param [Hash] opts the optional parameters
|
|
@@ -297,7 +234,7 @@ module Lockally
|
|
|
297
234
|
end
|
|
298
235
|
|
|
299
236
|
# Download a previously-issued mailbox export
|
|
300
|
-
# 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
|
|
237
|
+
# 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.
|
|
301
238
|
# @param email [String]
|
|
302
239
|
# @param token [String]
|
|
303
240
|
# @param [Hash] opts the optional parameters
|
|
@@ -356,7 +293,7 @@ module Lockally
|
|
|
356
293
|
end
|
|
357
294
|
|
|
358
295
|
# Request a mailbox export
|
|
359
|
-
# Issues a one-shot \"presigned\" download URL for the mailbox's content in mbox format. The URL works without an Authorization header
|
|
296
|
+
# 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.
|
|
360
297
|
# @param email [String]
|
|
361
298
|
# @param [Hash] opts the optional parameters
|
|
362
299
|
# @return [ExportMailbox201Response]
|
|
@@ -366,7 +303,7 @@ module Lockally
|
|
|
366
303
|
end
|
|
367
304
|
|
|
368
305
|
# Request a mailbox export
|
|
369
|
-
# Issues a one-shot \"presigned\" download URL for the mailbox's content in mbox format. The URL works without an Authorization header
|
|
306
|
+
# 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
307
|
# @param email [String]
|
|
371
308
|
# @param [Hash] opts the optional parameters
|
|
372
309
|
# @return [Array<(ExportMailbox201Response, Integer, Hash)>] ExportMailbox201Response data, response status code and response headers
|
|
@@ -479,71 +416,8 @@ module Lockally
|
|
|
479
416
|
return data, status_code, headers
|
|
480
417
|
end
|
|
481
418
|
|
|
482
|
-
# Get the vacation responder
|
|
483
|
-
# Returns the stored vacation rule or 404 if none is set.
|
|
484
|
-
# @param email [String]
|
|
485
|
-
# @param [Hash] opts the optional parameters
|
|
486
|
-
# @return [VacationResponder]
|
|
487
|
-
def get_vacation_responder(email, opts = {})
|
|
488
|
-
data, _status_code, _headers = get_vacation_responder_with_http_info(email, opts)
|
|
489
|
-
data
|
|
490
|
-
end
|
|
491
|
-
|
|
492
|
-
# Get the vacation responder
|
|
493
|
-
# Returns the stored vacation rule or 404 if none is set.
|
|
494
|
-
# @param email [String]
|
|
495
|
-
# @param [Hash] opts the optional parameters
|
|
496
|
-
# @return [Array<(VacationResponder, Integer, Hash)>] VacationResponder data, response status code and response headers
|
|
497
|
-
def get_vacation_responder_with_http_info(email, opts = {})
|
|
498
|
-
if @api_client.config.debugging
|
|
499
|
-
@api_client.config.logger.debug 'Calling API: MailboxesApi.get_vacation_responder ...'
|
|
500
|
-
end
|
|
501
|
-
# verify the required parameter 'email' is set
|
|
502
|
-
if @api_client.config.client_side_validation && email.nil?
|
|
503
|
-
fail ArgumentError, "Missing the required parameter 'email' when calling MailboxesApi.get_vacation_responder"
|
|
504
|
-
end
|
|
505
|
-
# resource path
|
|
506
|
-
local_var_path = '/v1/mailboxes/{email}/vacation'.sub('{email}', CGI.escape(email.to_s))
|
|
507
|
-
|
|
508
|
-
# query parameters
|
|
509
|
-
query_params = opts[:query_params] || {}
|
|
510
|
-
|
|
511
|
-
# header parameters
|
|
512
|
-
header_params = opts[:header_params] || {}
|
|
513
|
-
# HTTP header 'Accept' (if needed)
|
|
514
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
|
|
515
|
-
|
|
516
|
-
# form parameters
|
|
517
|
-
form_params = opts[:form_params] || {}
|
|
518
|
-
|
|
519
|
-
# http body (model)
|
|
520
|
-
post_body = opts[:debug_body]
|
|
521
|
-
|
|
522
|
-
# return_type
|
|
523
|
-
return_type = opts[:debug_return_type] || 'VacationResponder'
|
|
524
|
-
|
|
525
|
-
# auth_names
|
|
526
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
527
|
-
|
|
528
|
-
new_options = opts.merge(
|
|
529
|
-
:operation => :"MailboxesApi.get_vacation_responder",
|
|
530
|
-
:header_params => header_params,
|
|
531
|
-
:query_params => query_params,
|
|
532
|
-
:form_params => form_params,
|
|
533
|
-
:body => post_body,
|
|
534
|
-
:auth_names => auth_names,
|
|
535
|
-
:return_type => return_type
|
|
536
|
-
)
|
|
537
|
-
|
|
538
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
539
|
-
if @api_client.config.debugging
|
|
540
|
-
@api_client.config.logger.debug "API called: MailboxesApi#get_vacation_responder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
541
|
-
end
|
|
542
|
-
return data, status_code, headers
|
|
543
|
-
end
|
|
544
|
-
|
|
545
419
|
# List mailboxes
|
|
546
|
-
# Returns mailboxes under the calling tenant
|
|
420
|
+
# Returns mailboxes under the calling tenant, active and soft-deleted. `?limit=N` between 1 and 200 (default 50).
|
|
547
421
|
# @param [Hash] opts the optional parameters
|
|
548
422
|
# @option opts [Integer] :limit (default to 50)
|
|
549
423
|
# @return [ListMailboxes200Response]
|
|
@@ -553,7 +427,7 @@ module Lockally
|
|
|
553
427
|
end
|
|
554
428
|
|
|
555
429
|
# List mailboxes
|
|
556
|
-
# Returns mailboxes under the calling tenant
|
|
430
|
+
# Returns mailboxes under the calling tenant, active and soft-deleted. `?limit=N` between 1 and 200 (default 50).
|
|
557
431
|
# @param [Hash] opts the optional parameters
|
|
558
432
|
# @option opts [Integer] :limit (default to 50)
|
|
559
433
|
# @return [Array<(ListMailboxes200Response, Integer, Hash)>] ListMailboxes200Response data, response status code and response headers
|
|
@@ -671,63 +545,6 @@ module Lockally
|
|
|
671
545
|
return data, status_code, headers
|
|
672
546
|
end
|
|
673
547
|
|
|
674
|
-
# List all vacation responders
|
|
675
|
-
# Returns every vacation responder for the calling tenant.
|
|
676
|
-
# @param [Hash] opts the optional parameters
|
|
677
|
-
# @return [ListVacationResponders200Response]
|
|
678
|
-
def list_vacation_responders(opts = {})
|
|
679
|
-
data, _status_code, _headers = list_vacation_responders_with_http_info(opts)
|
|
680
|
-
data
|
|
681
|
-
end
|
|
682
|
-
|
|
683
|
-
# List all vacation responders
|
|
684
|
-
# Returns every vacation responder for the calling tenant.
|
|
685
|
-
# @param [Hash] opts the optional parameters
|
|
686
|
-
# @return [Array<(ListVacationResponders200Response, Integer, Hash)>] ListVacationResponders200Response data, response status code and response headers
|
|
687
|
-
def list_vacation_responders_with_http_info(opts = {})
|
|
688
|
-
if @api_client.config.debugging
|
|
689
|
-
@api_client.config.logger.debug 'Calling API: MailboxesApi.list_vacation_responders ...'
|
|
690
|
-
end
|
|
691
|
-
# resource path
|
|
692
|
-
local_var_path = '/v1/vacation'
|
|
693
|
-
|
|
694
|
-
# query parameters
|
|
695
|
-
query_params = opts[:query_params] || {}
|
|
696
|
-
|
|
697
|
-
# header parameters
|
|
698
|
-
header_params = opts[:header_params] || {}
|
|
699
|
-
# HTTP header 'Accept' (if needed)
|
|
700
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
|
|
701
|
-
|
|
702
|
-
# form parameters
|
|
703
|
-
form_params = opts[:form_params] || {}
|
|
704
|
-
|
|
705
|
-
# http body (model)
|
|
706
|
-
post_body = opts[:debug_body]
|
|
707
|
-
|
|
708
|
-
# return_type
|
|
709
|
-
return_type = opts[:debug_return_type] || 'ListVacationResponders200Response'
|
|
710
|
-
|
|
711
|
-
# auth_names
|
|
712
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
713
|
-
|
|
714
|
-
new_options = opts.merge(
|
|
715
|
-
:operation => :"MailboxesApi.list_vacation_responders",
|
|
716
|
-
:header_params => header_params,
|
|
717
|
-
:query_params => query_params,
|
|
718
|
-
:form_params => form_params,
|
|
719
|
-
:body => post_body,
|
|
720
|
-
:auth_names => auth_names,
|
|
721
|
-
:return_type => return_type
|
|
722
|
-
)
|
|
723
|
-
|
|
724
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
725
|
-
if @api_client.config.debugging
|
|
726
|
-
@api_client.config.logger.debug "API called: MailboxesApi#list_vacation_responders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
727
|
-
end
|
|
728
|
-
return data, status_code, headers
|
|
729
|
-
end
|
|
730
|
-
|
|
731
548
|
# Remove a shared mailbox member
|
|
732
549
|
# @param email [String]
|
|
733
550
|
# @param member_email [String]
|
|
@@ -795,80 +612,6 @@ module Lockally
|
|
|
795
612
|
return data, status_code, headers
|
|
796
613
|
end
|
|
797
614
|
|
|
798
|
-
# Set the vacation responder
|
|
799
|
-
# 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.
|
|
800
|
-
# @param email [String]
|
|
801
|
-
# @param set_vacation_responder_request [SetVacationResponderRequest]
|
|
802
|
-
# @param [Hash] opts the optional parameters
|
|
803
|
-
# @return [VacationResponder]
|
|
804
|
-
def set_vacation_responder(email, set_vacation_responder_request, opts = {})
|
|
805
|
-
data, _status_code, _headers = set_vacation_responder_with_http_info(email, set_vacation_responder_request, opts)
|
|
806
|
-
data
|
|
807
|
-
end
|
|
808
|
-
|
|
809
|
-
# Set the vacation responder
|
|
810
|
-
# 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.
|
|
811
|
-
# @param email [String]
|
|
812
|
-
# @param set_vacation_responder_request [SetVacationResponderRequest]
|
|
813
|
-
# @param [Hash] opts the optional parameters
|
|
814
|
-
# @return [Array<(VacationResponder, Integer, Hash)>] VacationResponder data, response status code and response headers
|
|
815
|
-
def set_vacation_responder_with_http_info(email, set_vacation_responder_request, opts = {})
|
|
816
|
-
if @api_client.config.debugging
|
|
817
|
-
@api_client.config.logger.debug 'Calling API: MailboxesApi.set_vacation_responder ...'
|
|
818
|
-
end
|
|
819
|
-
# verify the required parameter 'email' is set
|
|
820
|
-
if @api_client.config.client_side_validation && email.nil?
|
|
821
|
-
fail ArgumentError, "Missing the required parameter 'email' when calling MailboxesApi.set_vacation_responder"
|
|
822
|
-
end
|
|
823
|
-
# verify the required parameter 'set_vacation_responder_request' is set
|
|
824
|
-
if @api_client.config.client_side_validation && set_vacation_responder_request.nil?
|
|
825
|
-
fail ArgumentError, "Missing the required parameter 'set_vacation_responder_request' when calling MailboxesApi.set_vacation_responder"
|
|
826
|
-
end
|
|
827
|
-
# resource path
|
|
828
|
-
local_var_path = '/v1/mailboxes/{email}/vacation'.sub('{email}', CGI.escape(email.to_s))
|
|
829
|
-
|
|
830
|
-
# query parameters
|
|
831
|
-
query_params = opts[:query_params] || {}
|
|
832
|
-
|
|
833
|
-
# header parameters
|
|
834
|
-
header_params = opts[:header_params] || {}
|
|
835
|
-
# HTTP header 'Accept' (if needed)
|
|
836
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
|
|
837
|
-
# HTTP header 'Content-Type'
|
|
838
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
839
|
-
if !content_type.nil?
|
|
840
|
-
header_params['Content-Type'] = content_type
|
|
841
|
-
end
|
|
842
|
-
|
|
843
|
-
# form parameters
|
|
844
|
-
form_params = opts[:form_params] || {}
|
|
845
|
-
|
|
846
|
-
# http body (model)
|
|
847
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_vacation_responder_request)
|
|
848
|
-
|
|
849
|
-
# return_type
|
|
850
|
-
return_type = opts[:debug_return_type] || 'VacationResponder'
|
|
851
|
-
|
|
852
|
-
# auth_names
|
|
853
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
854
|
-
|
|
855
|
-
new_options = opts.merge(
|
|
856
|
-
:operation => :"MailboxesApi.set_vacation_responder",
|
|
857
|
-
:header_params => header_params,
|
|
858
|
-
:query_params => query_params,
|
|
859
|
-
:form_params => form_params,
|
|
860
|
-
:body => post_body,
|
|
861
|
-
:auth_names => auth_names,
|
|
862
|
-
:return_type => return_type
|
|
863
|
-
)
|
|
864
|
-
|
|
865
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
866
|
-
if @api_client.config.debugging
|
|
867
|
-
@api_client.config.logger.debug "API called: MailboxesApi#set_vacation_responder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
868
|
-
end
|
|
869
|
-
return data, status_code, headers
|
|
870
|
-
end
|
|
871
|
-
|
|
872
615
|
# Update a mailbox
|
|
873
616
|
# Supply at least one of `password`, `quota_bytes`, `disabled`. Returns the updated mailbox.
|
|
874
617
|
# @param email [String]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|
|
@@ -83,7 +83,7 @@ module Lockally
|
|
|
83
83
|
# Check DNS readiness for cutover
|
|
84
84
|
# @param id [String]
|
|
85
85
|
# @param [Hash] opts the optional parameters
|
|
86
|
-
# @return [
|
|
86
|
+
# @return [MigrationDNSCheck]
|
|
87
87
|
def check_migration_dns(id, opts = {})
|
|
88
88
|
data, _status_code, _headers = check_migration_dns_with_http_info(id, opts)
|
|
89
89
|
data
|
|
@@ -92,7 +92,7 @@ module Lockally
|
|
|
92
92
|
# Check DNS readiness for cutover
|
|
93
93
|
# @param id [String]
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @return [Array<(
|
|
95
|
+
# @return [Array<(MigrationDNSCheck, Integer, Hash)>] MigrationDNSCheck data, response status code and response headers
|
|
96
96
|
def check_migration_dns_with_http_info(id, opts = {})
|
|
97
97
|
if @api_client.config.debugging
|
|
98
98
|
@api_client.config.logger.debug 'Calling API: MigrationsApi.check_migration_dns ...'
|
|
@@ -119,7 +119,7 @@ module Lockally
|
|
|
119
119
|
post_body = opts[:debug_body]
|
|
120
120
|
|
|
121
121
|
# return_type
|
|
122
|
-
return_type = opts[:debug_return_type] || '
|
|
122
|
+
return_type = opts[:debug_return_type] || 'MigrationDNSCheck'
|
|
123
123
|
|
|
124
124
|
# auth_names
|
|
125
125
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Lockally API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Official Lockally SDK for Ruby: send email and manage mailboxes, domains and webhooks through the Lockally API. **Authentication.** All `/v1/*` endpoints require a Bearer API key in the `Authorization` header. Keys are formatted `lk_live_<8-char-prefix>_<32-char-secret>`, or `lk_test_<...>` for a test key. Create keys in the dashboard, or with `POST /v1/api-keys` using a key that holds `tenant:admin`. The key's plan is checked on every request, so a key stops working if the account moves to a plan without API access, and works again if it moves back. **Errors.** Failures return [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) `application/problem+json` documents. **Scopes.** Each endpoint requires a specific scope on the presented key. Insufficient scope returns `403` with the required scope name in `detail`.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
|
7
7
|
Contact: support@lockally.com
|