lockally 0.3.3 → 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.
Files changed (569) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +36 -0
  3. data/README.md +38 -21
  4. data/docs/APIKey.md +7 -1
  5. data/docs/ApiKeysApi.md +158 -5
  6. data/docs/BatchResult.md +3 -1
  7. data/docs/BulkUpsertExternalContacts200Response.md +24 -0
  8. data/docs/BulkUpsertExternalContacts200ResponseResultsInner.md +26 -0
  9. data/docs/BulkUpsertExternalContactsRequest.md +18 -0
  10. data/docs/BulkUpsertExternalContactsRequestContactsInner.md +36 -0
  11. data/docs/Contact.md +5 -1
  12. data/docs/ContactsApi.md +285 -0
  13. data/docs/CreateApiKey201Response.md +6 -0
  14. data/docs/CreateApiKeyRequest.md +3 -1
  15. data/docs/CreateEncryptionKey201Response.md +3 -1
  16. data/docs/CreateEncryptionKeyRequest.md +1 -1
  17. data/docs/CreateEncryptionRecoveryRequest.md +1 -1
  18. data/docs/DashboardApi.md +4 -4
  19. data/docs/DomainsApi.md +12 -5
  20. data/docs/EncryptionApi.md +82 -7
  21. data/docs/ExternalContactInput.md +34 -0
  22. data/docs/GetEncryptionKey200Response.md +11 -1
  23. data/docs/GetEncryptionStatus200Response.md +22 -0
  24. data/docs/GetEncryptionStatus200ResponseMailboxesInner.md +26 -0
  25. data/docs/MailboxesApi.md +0 -278
  26. data/docs/Message.md +5 -1
  27. data/docs/MessageDetail.md +4 -0
  28. data/docs/MigrationDNSCheck.md +20 -0
  29. data/docs/MigrationDomainDNS.md +26 -0
  30. data/docs/MigrationsApi.md +4 -4
  31. data/docs/RotateApiKeyRequest.md +18 -0
  32. data/docs/RotateEncryptionKeyRequest.md +1 -1
  33. data/docs/SendApi.md +10 -2
  34. data/docs/SendEmailBatchRequest.md +3 -1
  35. data/docs/SendEmailRequest.md +8 -0
  36. data/docs/SignupRequest.md +1 -1
  37. data/docs/TemplatesApi.md +12 -5
  38. data/docs/TenantApi.md +137 -0
  39. data/docs/TenantHealthCheck.md +24 -0
  40. data/docs/TenantHealthReport.md +22 -0
  41. data/docs/TrackingPolicy.md +24 -0
  42. data/docs/UpdateApiKeyRequest.md +22 -0
  43. data/docs/UpdateTrackingPolicyRequest.md +20 -0
  44. data/docs/UsersApi.md +7 -5
  45. data/git_push.sh +2 -2
  46. data/lib/lockally/api/add_ons_api.rb +2 -2
  47. data/lib/lockally/api/admin_api.rb +2 -2
  48. data/lib/lockally/api/admins_api.rb +2 -2
  49. data/lib/lockally/api/agents_api.rb +2 -2
  50. data/lib/lockally/api/ai_api.rb +2 -2
  51. data/lib/lockally/api/aliases_api.rb +2 -2
  52. data/lib/lockally/api/api_keys_api.rb +160 -2
  53. data/lib/lockally/api/billing_api.rb +2 -2
  54. data/lib/lockally/api/calendars_api.rb +2 -2
  55. data/lib/lockally/api/contact_lists_api.rb +2 -2
  56. data/lib/lockally/api/contacts_api.rb +322 -2
  57. data/lib/lockally/api/dashboard_api.rb +5 -5
  58. data/lib/lockally/api/directory_api.rb +2 -2
  59. data/lib/lockally/api/distribution_lists_api.rb +2 -2
  60. data/lib/lockally/api/domains_api.rb +16 -2
  61. data/lib/lockally/api/drafts_api.rb +2 -2
  62. data/lib/lockally/api/encryption_api.rb +69 -4
  63. data/lib/lockally/api/health_api.rb +2 -2
  64. data/lib/lockally/api/ip_pools_api.rb +2 -2
  65. data/lib/lockally/api/mailboxes_api.rb +2 -259
  66. data/lib/lockally/api/migrations_api.rb +5 -5
  67. data/lib/lockally/api/resources_api.rb +2 -2
  68. data/lib/lockally/api/send_api.rb +22 -2
  69. data/lib/lockally/api/signup_api.rb +2 -2
  70. data/lib/lockally/api/suppressions_api.rb +2 -2
  71. data/lib/lockally/api/templates_api.rb +16 -2
  72. data/lib/lockally/api/tenant_api.rb +127 -2
  73. data/lib/lockally/api/test_api.rb +2 -2
  74. data/lib/lockally/api/users_api.rb +8 -6
  75. data/lib/lockally/api/webhooks_api.rb +2 -2
  76. data/lib/lockally/api_client.rb +2 -2
  77. data/lib/lockally/api_error.rb +2 -2
  78. data/lib/lockally/api_model_base.rb +2 -2
  79. data/lib/lockally/configuration.rb +2 -2
  80. data/lib/lockally/models/activate_add_on200_response.rb +2 -2
  81. data/lib/lockally/models/add_calendar_member_request.rb +2 -2
  82. data/lib/lockally/models/add_contact_list_member_request.rb +2 -2
  83. data/lib/lockally/models/add_on.rb +2 -2
  84. data/lib/lockally/models/add_shared_member_request.rb +2 -2
  85. data/lib/lockally/models/admin.rb +2 -2
  86. data/lib/lockally/models/admin_full.rb +2 -2
  87. data/lib/lockally/models/admin_login200_response.rb +2 -2
  88. data/lib/lockally/models/admin_login_request.rb +2 -2
  89. data/lib/lockally/models/agent_send_result.rb +2 -2
  90. data/lib/lockally/models/ai_config.rb +2 -2
  91. data/lib/lockally/models/ai_config_update.rb +2 -2
  92. data/lib/lockally/models/annotations.rb +2 -2
  93. data/lib/lockally/models/api_key.rb +36 -6
  94. data/lib/lockally/models/attachment.rb +2 -2
  95. data/lib/lockally/models/audit_event.rb +2 -2
  96. data/lib/lockally/models/batch_lookup_public_keys200_response.rb +2 -2
  97. data/lib/lockally/models/batch_lookup_public_keys200_response_data_inner.rb +2 -2
  98. data/lib/lockally/models/batch_result.rb +16 -6
  99. data/lib/lockally/models/billing_status.rb +2 -2
  100. data/lib/lockally/models/bulk_upsert_external_contacts200_response.rb +244 -0
  101. data/lib/lockally/models/bulk_upsert_external_contacts200_response_results_inner.rb +258 -0
  102. data/lib/lockally/models/bulk_upsert_external_contacts_request.rb +184 -0
  103. data/lib/lockally/models/bulk_upsert_external_contacts_request_contacts_inner.rb +329 -0
  104. data/lib/lockally/models/calendar.rb +2 -2
  105. data/lib/lockally/models/calendar_event.rb +2 -2
  106. data/lib/lockally/models/calendar_integration.rb +2 -2
  107. data/lib/lockally/models/calendar_member.rb +2 -2
  108. data/lib/lockally/models/calendar_policies.rb +2 -2
  109. data/lib/lockally/models/classification.rb +2 -2
  110. data/lib/lockally/models/contact.rb +26 -6
  111. data/lib/lockally/models/contact_list.rb +2 -2
  112. data/lib/lockally/models/contact_lookup.rb +2 -2
  113. data/lib/lockally/models/contact_lookup_contact.rb +2 -2
  114. data/lib/lockally/models/contact_lookup_history.rb +2 -2
  115. data/lib/lockally/models/create_ai_units_checkout200_response.rb +2 -2
  116. data/lib/lockally/models/create_alias_request.rb +2 -2
  117. data/lib/lockally/models/create_api_key201_response.rb +33 -3
  118. data/lib/lockally/models/create_api_key_request.rb +16 -6
  119. data/lib/lockally/models/create_billing_checkout200_response.rb +2 -2
  120. data/lib/lockally/models/create_billing_checkout_request.rb +2 -2
  121. data/lib/lockally/models/create_calendar_event_request.rb +2 -2
  122. data/lib/lockally/models/create_calendar_integration_request.rb +2 -2
  123. data/lib/lockally/models/create_calendar_request.rb +2 -2
  124. data/lib/lockally/models/create_contact_list_request.rb +2 -2
  125. data/lib/lockally/models/create_contact_request.rb +2 -2
  126. data/lib/lockally/models/create_dedicated_ip_request_request.rb +2 -2
  127. data/lib/lockally/models/create_distribution_list_request.rb +2 -2
  128. data/lib/lockally/models/create_domain_request.rb +2 -2
  129. data/lib/lockally/models/create_encryption_key201_response.rb +15 -6
  130. data/lib/lockally/models/create_encryption_key_request.rb +2 -19
  131. data/lib/lockally/models/create_encryption_recovery_request.rb +2 -19
  132. data/lib/lockally/models/create_mailbox_request.rb +2 -2
  133. data/lib/lockally/models/create_migration_credential_request.rb +2 -2
  134. data/lib/lockally/models/create_migration_credential_request_credentials.rb +2 -2
  135. data/lib/lockally/models/create_migration_request.rb +2 -2
  136. data/lib/lockally/models/create_resource_request.rb +2 -2
  137. data/lib/lockally/models/create_suppression_request.rb +2 -2
  138. data/lib/lockally/models/create_units_checkout200_response.rb +2 -2
  139. data/lib/lockally/models/create_units_checkout_request.rb +2 -2
  140. data/lib/lockally/models/create_user_request.rb +2 -2
  141. data/lib/lockally/models/create_webhook_request.rb +2 -2
  142. data/lib/lockally/models/dedicated_ip_request.rb +2 -2
  143. data/lib/lockally/models/directory_permissions.rb +2 -2
  144. data/lib/lockally/models/discover_migration202_response.rb +2 -2
  145. data/lib/lockally/models/distribution_list_detail.rb +2 -2
  146. data/lib/lockally/models/distribution_list_summary.rb +2 -2
  147. data/lib/lockally/models/dns_record.rb +2 -2
  148. data/lib/lockally/models/domain.rb +2 -2
  149. data/lib/lockally/models/draft.rb +2 -2
  150. data/lib/lockally/models/draft_list.rb +2 -2
  151. data/lib/lockally/models/draft_result.rb +2 -2
  152. data/lib/lockally/models/export_mailbox201_response.rb +2 -2
  153. data/lib/lockally/models/external_contact_input.rb +287 -0
  154. data/lib/lockally/models/gal_settings.rb +2 -2
  155. data/lib/lockally/models/get_add_on_status200_response.rb +2 -2
  156. data/lib/lockally/models/get_audit_summary200_response.rb +2 -2
  157. data/lib/lockally/models/get_calendar_overview200_response.rb +2 -2
  158. data/lib/lockally/models/get_calendar_overview200_response_activity_inner.rb +2 -2
  159. data/lib/lockally/models/get_calendar_security200_response.rb +2 -2
  160. data/lib/lockally/models/get_calendar_security200_response_alerts_inner.rb +2 -2
  161. data/lib/lockally/models/get_calendar_security200_response_delegated_access_inner.rb +2 -2
  162. data/lib/lockally/models/get_calendar_security200_response_external_sharing.rb +2 -2
  163. data/lib/lockally/models/get_calendar_security200_response_public_calendar_list_inner.rb +2 -2
  164. data/lib/lockally/models/get_contact_list200_response.rb +2 -2
  165. data/lib/lockally/models/get_contact_list200_response_members_inner.rb +2 -2
  166. data/lib/lockally/models/get_contact_lists200_response.rb +2 -2
  167. data/lib/lockally/models/get_contact_lists200_response_data_inner.rb +2 -2
  168. data/lib/lockally/models/get_current_admin200_response.rb +2 -2
  169. data/lib/lockally/models/get_directory_activity200_response.rb +2 -2
  170. data/lib/lockally/models/get_directory_activity200_response_data_inner.rb +2 -2
  171. data/lib/lockally/models/get_directory_stats200_response.rb +2 -2
  172. data/lib/lockally/models/get_domains_status200_response.rb +2 -2
  173. data/lib/lockally/models/get_domains_status200_response_domains_inner.rb +2 -2
  174. data/lib/lockally/models/get_domains_status200_response_domains_inner_checks_inner.rb +2 -2
  175. data/lib/lockally/models/get_encryption_key200_response.rb +51 -6
  176. data/lib/lockally/models/{list_vacation_responders200_response.rb → get_encryption_status200_response.rb} +31 -30
  177. data/lib/lockally/models/get_encryption_status200_response_mailboxes_inner.rb +183 -0
  178. data/lib/lockally/models/get_integrations_summary200_response.rb +2 -2
  179. data/lib/lockally/models/get_integrations_summary200_response_api_keys_inner.rb +2 -2
  180. data/lib/lockally/models/get_integrations_summary200_response_webhooks_inner.rb +2 -2
  181. data/lib/lockally/models/get_ip_assignment200_response.rb +2 -2
  182. data/lib/lockally/models/get_security200_response.rb +2 -2
  183. data/lib/lockally/models/get_security200_response_alerts_inner.rb +2 -2
  184. data/lib/lockally/models/get_security200_response_stats_inner.rb +2 -2
  185. data/lib/lockally/models/get_storage200_response.rb +2 -2
  186. data/lib/lockally/models/get_storage200_response_top_mailboxes_inner.rb +2 -2
  187. data/lib/lockally/models/get_storage200_response_top_messages_inner.rb +2 -2
  188. data/lib/lockally/models/get_usage200_response.rb +2 -2
  189. data/lib/lockally/models/get_user_insights200_response.rb +2 -2
  190. data/lib/lockally/models/health_check200_response.rb +2 -2
  191. data/lib/lockally/models/inbox.rb +2 -2
  192. data/lib/lockally/models/inbox_list.rb +2 -2
  193. data/lib/lockally/models/injection_risk.rb +2 -2
  194. data/lib/lockally/models/invite_admin_request.rb +2 -2
  195. data/lib/lockally/models/list_add_ons200_response.rb +2 -2
  196. data/lib/lockally/models/list_admins200_response.rb +2 -2
  197. data/lib/lockally/models/list_aliases200_response.rb +2 -2
  198. data/lib/lockally/models/list_api_keys200_response.rb +2 -2
  199. data/lib/lockally/models/list_calendar_events200_response.rb +2 -2
  200. data/lib/lockally/models/list_calendar_integrations200_response.rb +2 -2
  201. data/lib/lockally/models/list_calendar_members200_response.rb +2 -2
  202. data/lib/lockally/models/list_calendars200_response.rb +2 -2
  203. data/lib/lockally/models/list_contact_lists200_response.rb +2 -2
  204. data/lib/lockally/models/list_contacts200_response.rb +2 -2
  205. data/lib/lockally/models/list_dedicated_ip_requests200_response.rb +2 -2
  206. data/lib/lockally/models/list_distribution_lists200_response.rb +2 -2
  207. data/lib/lockally/models/list_domains200_response.rb +2 -2
  208. data/lib/lockally/models/list_mailboxes200_response.rb +2 -2
  209. data/lib/lockally/models/list_messages200_response.rb +2 -2
  210. data/lib/lockally/models/list_migration_credentials200_response.rb +2 -2
  211. data/lib/lockally/models/list_migration_events200_response.rb +2 -2
  212. data/lib/lockally/models/list_migration_mailboxes200_response.rb +2 -2
  213. data/lib/lockally/models/list_migrations200_response.rb +2 -2
  214. data/lib/lockally/models/list_resources200_response.rb +2 -2
  215. data/lib/lockally/models/list_shared_members200_response.rb +2 -2
  216. data/lib/lockally/models/list_suppressions200_response.rb +2 -2
  217. data/lib/lockally/models/list_templates200_response.rb +2 -2
  218. data/lib/lockally/models/list_users200_response.rb +2 -2
  219. data/lib/lockally/models/list_webhooks200_response.rb +2 -2
  220. data/lib/lockally/models/mailbox.rb +2 -2
  221. data/lib/lockally/models/mailbox_grant.rb +2 -2
  222. data/lib/lockally/models/mailbox_grant_list.rb +2 -2
  223. data/lib/lockally/models/map_migration_request.rb +2 -2
  224. data/lib/lockally/models/map_migration_request_mappings_inner.rb +2 -2
  225. data/lib/lockally/models/mark_read_result.rb +2 -2
  226. data/lib/lockally/models/message.rb +30 -6
  227. data/lib/lockally/models/message_detail.rb +27 -3
  228. data/lib/lockally/models/message_stats.rb +2 -2
  229. data/lib/lockally/models/message_stats_counts.rb +2 -2
  230. data/lib/lockally/models/message_stats_rates.rb +2 -2
  231. data/lib/lockally/models/message_stats_window.rb +2 -2
  232. data/lib/lockally/models/migration.rb +2 -2
  233. data/lib/lockally/models/migration_credential.rb +2 -2
  234. data/lib/lockally/models/{vacation_params.rb → migration_dns_check.rb} +39 -54
  235. data/lib/lockally/models/migration_domain_dns.rb +269 -0
  236. data/lib/lockally/models/migration_event.rb +2 -2
  237. data/lib/lockally/models/migration_mailbox.rb +2 -2
  238. data/lib/lockally/models/migration_progress.rb +2 -2
  239. data/lib/lockally/models/migration_progress_mailboxes_inner.rb +2 -2
  240. data/lib/lockally/models/migration_settings.rb +2 -2
  241. data/lib/lockally/models/model_alias.rb +2 -2
  242. data/lib/lockally/models/plan_catalog_entry.rb +2 -2
  243. data/lib/lockally/models/policy_flags.rb +2 -2
  244. data/lib/lockally/models/problem.rb +2 -2
  245. data/lib/lockally/models/replace_distribution_list_members200_response.rb +2 -2
  246. data/lib/lockally/models/replace_distribution_list_members_request.rb +2 -2
  247. data/lib/lockally/models/resource.rb +2 -2
  248. data/lib/lockally/models/return_path.rb +2 -2
  249. data/lib/lockally/models/return_path_check.rb +2 -2
  250. data/lib/lockally/models/rotate_api_key_request.rb +178 -0
  251. data/lib/lockally/models/rotate_encryption_key_request.rb +2 -19
  252. data/lib/lockally/models/send_email200_response.rb +2 -2
  253. data/lib/lockally/models/send_email202_response.rb +2 -2
  254. data/lib/lockally/models/send_email_batch200_response.rb +2 -2
  255. data/lib/lockally/models/send_email_batch_request.rb +18 -6
  256. data/lib/lockally/models/send_email_request.rb +85 -3
  257. data/lib/lockally/models/send_email_request_attachments_inner.rb +2 -2
  258. data/lib/lockally/models/send_message.rb +2 -2
  259. data/lib/lockally/models/shared_member.rb +2 -2
  260. data/lib/lockally/models/signup_request.rb +3 -2
  261. data/lib/lockally/models/simulated_inbound.rb +2 -2
  262. data/lib/lockally/models/start_conversation_request.rb +2 -2
  263. data/lib/lockally/models/start_migration202_response.rb +2 -2
  264. data/lib/lockally/models/suppression.rb +2 -2
  265. data/lib/lockally/models/template.rb +2 -2
  266. data/lib/lockally/models/template_input.rb +2 -2
  267. data/lib/lockally/models/tenant.rb +2 -2
  268. data/lib/lockally/models/tenant_health_check.rb +245 -0
  269. data/lib/lockally/models/tenant_health_report.rb +237 -0
  270. data/lib/lockally/models/thread.rb +2 -2
  271. data/lib/lockally/models/thread_classification.rb +2 -2
  272. data/lib/lockally/models/thread_list.rb +2 -2
  273. data/lib/lockally/models/thread_message.rb +2 -2
  274. data/lib/lockally/models/thread_message_body.rb +2 -2
  275. data/lib/lockally/models/thread_message_body_body.rb +2 -2
  276. data/lib/lockally/models/thread_summary.rb +2 -2
  277. data/lib/lockally/models/tracking_policy.rb +227 -0
  278. data/lib/lockally/models/unit_bundle.rb +2 -2
  279. data/lib/lockally/models/update_admin_request.rb +2 -2
  280. data/lib/lockally/models/update_api_key_request.rb +189 -0
  281. data/lib/lockally/models/update_calendar_event_request.rb +2 -2
  282. data/lib/lockally/models/update_calendar_integration_request.rb +2 -2
  283. data/lib/lockally/models/update_calendar_member_request.rb +2 -2
  284. data/lib/lockally/models/update_calendar_policies_request.rb +2 -2
  285. data/lib/lockally/models/update_calendar_request.rb +2 -2
  286. data/lib/lockally/models/update_contact_list_request.rb +2 -2
  287. data/lib/lockally/models/update_contact_request.rb +2 -2
  288. data/lib/lockally/models/update_directory_permissions_request.rb +2 -2
  289. data/lib/lockally/models/update_gal_settings_request.rb +2 -2
  290. data/lib/lockally/models/update_mailbox_request.rb +2 -2
  291. data/lib/lockally/models/update_migration_mailbox_request.rb +2 -2
  292. data/lib/lockally/models/update_migration_request.rb +2 -2
  293. data/lib/lockally/models/update_resource_request.rb +2 -2
  294. data/lib/lockally/models/{set_vacation_responder_request.rb → update_tracking_policy_request.rb} +18 -37
  295. data/lib/lockally/models/update_user_request.rb +2 -2
  296. data/lib/lockally/models/update_webhook_request.rb +2 -2
  297. data/lib/lockally/models/user.rb +2 -2
  298. data/lib/lockally/models/user_event.rb +2 -2
  299. data/lib/lockally/models/webhook.rb +2 -2
  300. data/lib/lockally/models/whoami.rb +2 -2
  301. data/lib/lockally/models/whoami_key.rb +2 -2
  302. data/lib/lockally/models/whoami_tenant.rb +2 -2
  303. data/lib/lockally/version.rb +3 -3
  304. data/lib/lockally.rb +17 -6
  305. data/lockally.gemspec +6 -6
  306. data/spec/api/add_ons_api_spec.rb +2 -2
  307. data/spec/api/admin_api_spec.rb +2 -2
  308. data/spec/api/admins_api_spec.rb +2 -2
  309. data/spec/api/agents_api_spec.rb +2 -2
  310. data/spec/api/ai_api_spec.rb +2 -2
  311. data/spec/api/aliases_api_spec.rb +2 -2
  312. data/spec/api/api_keys_api_spec.rb +30 -2
  313. data/spec/api/billing_api_spec.rb +2 -2
  314. data/spec/api/calendars_api_spec.rb +2 -2
  315. data/spec/api/contact_lists_api_spec.rb +2 -2
  316. data/spec/api/contacts_api_spec.rb +53 -2
  317. data/spec/api/dashboard_api_spec.rb +3 -3
  318. data/spec/api/directory_api_spec.rb +2 -2
  319. data/spec/api/distribution_lists_api_spec.rb +2 -2
  320. data/spec/api/domains_api_spec.rb +4 -2
  321. data/spec/api/drafts_api_spec.rb +2 -2
  322. data/spec/api/encryption_api_spec.rb +18 -3
  323. data/spec/api/health_api_spec.rb +2 -2
  324. data/spec/api/ip_pools_api_spec.rb +2 -2
  325. data/spec/api/mailboxes_api_spec.rb +2 -50
  326. data/spec/api/migrations_api_spec.rb +3 -3
  327. data/spec/api/resources_api_spec.rb +2 -2
  328. data/spec/api/send_api_spec.rb +6 -2
  329. data/spec/api/signup_api_spec.rb +2 -2
  330. data/spec/api/suppressions_api_spec.rb +2 -2
  331. data/spec/api/templates_api_spec.rb +4 -2
  332. data/spec/api/tenant_api_spec.rb +25 -2
  333. data/spec/api/test_api_spec.rb +2 -2
  334. data/spec/api/users_api_spec.rb +5 -4
  335. data/spec/api/webhooks_api_spec.rb +2 -2
  336. data/spec/models/activate_add_on200_response_spec.rb +2 -2
  337. data/spec/models/add_calendar_member_request_spec.rb +2 -2
  338. data/spec/models/add_contact_list_member_request_spec.rb +2 -2
  339. data/spec/models/add_on_spec.rb +2 -2
  340. data/spec/models/add_shared_member_request_spec.rb +2 -2
  341. data/spec/models/admin_full_spec.rb +2 -2
  342. data/spec/models/admin_login200_response_spec.rb +2 -2
  343. data/spec/models/admin_login_request_spec.rb +2 -2
  344. data/spec/models/admin_spec.rb +2 -2
  345. data/spec/models/agent_send_result_spec.rb +2 -2
  346. data/spec/models/ai_config_spec.rb +2 -2
  347. data/spec/models/ai_config_update_spec.rb +2 -2
  348. data/spec/models/annotations_spec.rb +2 -2
  349. data/spec/models/api_key_spec.rb +20 -2
  350. data/spec/models/attachment_spec.rb +2 -2
  351. data/spec/models/audit_event_spec.rb +2 -2
  352. data/spec/models/batch_lookup_public_keys200_response_data_inner_spec.rb +2 -2
  353. data/spec/models/batch_lookup_public_keys200_response_spec.rb +2 -2
  354. data/spec/models/batch_result_spec.rb +8 -2
  355. data/spec/models/billing_status_spec.rb +2 -2
  356. data/spec/models/bulk_upsert_external_contacts200_response_results_inner_spec.rb +64 -0
  357. data/spec/models/bulk_upsert_external_contacts200_response_spec.rb +54 -0
  358. data/spec/models/bulk_upsert_external_contacts_request_contacts_inner_spec.rb +98 -0
  359. data/spec/models/bulk_upsert_external_contacts_request_spec.rb +36 -0
  360. data/spec/models/calendar_event_spec.rb +2 -2
  361. data/spec/models/calendar_integration_spec.rb +2 -2
  362. data/spec/models/calendar_member_spec.rb +2 -2
  363. data/spec/models/calendar_policies_spec.rb +2 -2
  364. data/spec/models/calendar_spec.rb +2 -2
  365. data/spec/models/classification_spec.rb +2 -2
  366. data/spec/models/contact_list_spec.rb +2 -2
  367. data/spec/models/contact_lookup_contact_spec.rb +2 -2
  368. data/spec/models/contact_lookup_history_spec.rb +2 -2
  369. data/spec/models/contact_lookup_spec.rb +2 -2
  370. data/spec/models/contact_spec.rb +14 -2
  371. data/spec/models/create_ai_units_checkout200_response_spec.rb +2 -2
  372. data/spec/models/create_alias_request_spec.rb +2 -2
  373. data/spec/models/create_api_key201_response_spec.rb +20 -2
  374. data/spec/models/create_api_key_request_spec.rb +8 -2
  375. data/spec/models/create_billing_checkout200_response_spec.rb +2 -2
  376. data/spec/models/create_billing_checkout_request_spec.rb +2 -2
  377. data/spec/models/create_calendar_event_request_spec.rb +2 -2
  378. data/spec/models/create_calendar_integration_request_spec.rb +2 -2
  379. data/spec/models/create_calendar_request_spec.rb +2 -2
  380. data/spec/models/create_contact_list_request_spec.rb +2 -2
  381. data/spec/models/create_contact_request_spec.rb +2 -2
  382. data/spec/models/create_dedicated_ip_request_request_spec.rb +2 -2
  383. data/spec/models/create_distribution_list_request_spec.rb +2 -2
  384. data/spec/models/create_domain_request_spec.rb +2 -2
  385. data/spec/models/create_encryption_key201_response_spec.rb +8 -2
  386. data/spec/models/create_encryption_key_request_spec.rb +2 -2
  387. data/spec/models/create_encryption_recovery_request_spec.rb +2 -2
  388. data/spec/models/create_mailbox_request_spec.rb +2 -2
  389. data/spec/models/create_migration_credential_request_credentials_spec.rb +2 -2
  390. data/spec/models/create_migration_credential_request_spec.rb +2 -2
  391. data/spec/models/create_migration_request_spec.rb +2 -2
  392. data/spec/models/create_resource_request_spec.rb +2 -2
  393. data/spec/models/create_suppression_request_spec.rb +2 -2
  394. data/spec/models/create_units_checkout200_response_spec.rb +2 -2
  395. data/spec/models/create_units_checkout_request_spec.rb +2 -2
  396. data/spec/models/create_user_request_spec.rb +2 -2
  397. data/spec/models/create_webhook_request_spec.rb +2 -2
  398. data/spec/models/dedicated_ip_request_spec.rb +2 -2
  399. data/spec/models/directory_permissions_spec.rb +2 -2
  400. data/spec/models/discover_migration202_response_spec.rb +2 -2
  401. data/spec/models/distribution_list_detail_spec.rb +2 -2
  402. data/spec/models/distribution_list_summary_spec.rb +2 -2
  403. data/spec/models/dns_record_spec.rb +2 -2
  404. data/spec/models/domain_spec.rb +2 -2
  405. data/spec/models/draft_list_spec.rb +2 -2
  406. data/spec/models/draft_result_spec.rb +2 -2
  407. data/spec/models/draft_spec.rb +2 -2
  408. data/spec/models/export_mailbox201_response_spec.rb +2 -2
  409. data/spec/models/external_contact_input_spec.rb +92 -0
  410. data/spec/models/gal_settings_spec.rb +2 -2
  411. data/spec/models/get_add_on_status200_response_spec.rb +2 -2
  412. data/spec/models/get_audit_summary200_response_spec.rb +2 -2
  413. data/spec/models/get_calendar_overview200_response_activity_inner_spec.rb +2 -2
  414. data/spec/models/get_calendar_overview200_response_spec.rb +2 -2
  415. data/spec/models/get_calendar_security200_response_alerts_inner_spec.rb +2 -2
  416. data/spec/models/get_calendar_security200_response_delegated_access_inner_spec.rb +2 -2
  417. data/spec/models/get_calendar_security200_response_external_sharing_spec.rb +2 -2
  418. data/spec/models/get_calendar_security200_response_public_calendar_list_inner_spec.rb +2 -2
  419. data/spec/models/get_calendar_security200_response_spec.rb +2 -2
  420. data/spec/models/get_contact_list200_response_members_inner_spec.rb +2 -2
  421. data/spec/models/get_contact_list200_response_spec.rb +2 -2
  422. data/spec/models/get_contact_lists200_response_data_inner_spec.rb +2 -2
  423. data/spec/models/get_contact_lists200_response_spec.rb +2 -2
  424. data/spec/models/get_current_admin200_response_spec.rb +2 -2
  425. data/spec/models/get_directory_activity200_response_data_inner_spec.rb +2 -2
  426. data/spec/models/get_directory_activity200_response_spec.rb +2 -2
  427. data/spec/models/get_directory_stats200_response_spec.rb +2 -2
  428. data/spec/models/get_domains_status200_response_domains_inner_checks_inner_spec.rb +2 -2
  429. data/spec/models/get_domains_status200_response_domains_inner_spec.rb +2 -2
  430. data/spec/models/get_domains_status200_response_spec.rb +2 -2
  431. data/spec/models/get_encryption_key200_response_spec.rb +32 -2
  432. data/spec/models/get_encryption_status200_response_mailboxes_inner_spec.rb +60 -0
  433. data/spec/models/get_encryption_status200_response_spec.rb +48 -0
  434. data/spec/models/get_integrations_summary200_response_api_keys_inner_spec.rb +2 -2
  435. data/spec/models/get_integrations_summary200_response_spec.rb +2 -2
  436. data/spec/models/get_integrations_summary200_response_webhooks_inner_spec.rb +2 -2
  437. data/spec/models/get_ip_assignment200_response_spec.rb +2 -2
  438. data/spec/models/get_security200_response_alerts_inner_spec.rb +2 -2
  439. data/spec/models/get_security200_response_spec.rb +2 -2
  440. data/spec/models/get_security200_response_stats_inner_spec.rb +2 -2
  441. data/spec/models/get_storage200_response_spec.rb +2 -2
  442. data/spec/models/get_storage200_response_top_mailboxes_inner_spec.rb +2 -2
  443. data/spec/models/get_storage200_response_top_messages_inner_spec.rb +2 -2
  444. data/spec/models/get_usage200_response_spec.rb +2 -2
  445. data/spec/models/get_user_insights200_response_spec.rb +2 -2
  446. data/spec/models/health_check200_response_spec.rb +2 -2
  447. data/spec/models/inbox_list_spec.rb +2 -2
  448. data/spec/models/inbox_spec.rb +2 -2
  449. data/spec/models/injection_risk_spec.rb +2 -2
  450. data/spec/models/invite_admin_request_spec.rb +2 -2
  451. data/spec/models/list_add_ons200_response_spec.rb +2 -2
  452. data/spec/models/list_admins200_response_spec.rb +2 -2
  453. data/spec/models/list_aliases200_response_spec.rb +2 -2
  454. data/spec/models/list_api_keys200_response_spec.rb +2 -2
  455. data/spec/models/list_calendar_events200_response_spec.rb +2 -2
  456. data/spec/models/list_calendar_integrations200_response_spec.rb +2 -2
  457. data/spec/models/list_calendar_members200_response_spec.rb +2 -2
  458. data/spec/models/list_calendars200_response_spec.rb +2 -2
  459. data/spec/models/list_contact_lists200_response_spec.rb +2 -2
  460. data/spec/models/list_contacts200_response_spec.rb +2 -2
  461. data/spec/models/list_dedicated_ip_requests200_response_spec.rb +2 -2
  462. data/spec/models/list_distribution_lists200_response_spec.rb +2 -2
  463. data/spec/models/list_domains200_response_spec.rb +2 -2
  464. data/spec/models/list_mailboxes200_response_spec.rb +2 -2
  465. data/spec/models/list_messages200_response_spec.rb +2 -2
  466. data/spec/models/list_migration_credentials200_response_spec.rb +2 -2
  467. data/spec/models/list_migration_events200_response_spec.rb +2 -2
  468. data/spec/models/list_migration_mailboxes200_response_spec.rb +2 -2
  469. data/spec/models/list_migrations200_response_spec.rb +2 -2
  470. data/spec/models/list_resources200_response_spec.rb +2 -2
  471. data/spec/models/list_shared_members200_response_spec.rb +2 -2
  472. data/spec/models/list_suppressions200_response_spec.rb +2 -2
  473. data/spec/models/list_templates200_response_spec.rb +2 -2
  474. data/spec/models/list_users200_response_spec.rb +2 -2
  475. data/spec/models/list_webhooks200_response_spec.rb +2 -2
  476. data/spec/models/mailbox_grant_list_spec.rb +2 -2
  477. data/spec/models/mailbox_grant_spec.rb +2 -2
  478. data/spec/models/mailbox_spec.rb +2 -2
  479. data/spec/models/map_migration_request_mappings_inner_spec.rb +2 -2
  480. data/spec/models/map_migration_request_spec.rb +2 -2
  481. data/spec/models/mark_read_result_spec.rb +2 -2
  482. data/spec/models/message_detail_spec.rb +14 -2
  483. data/spec/models/message_spec.rb +14 -2
  484. data/spec/models/message_stats_counts_spec.rb +2 -2
  485. data/spec/models/message_stats_rates_spec.rb +2 -2
  486. data/spec/models/message_stats_spec.rb +2 -2
  487. data/spec/models/message_stats_window_spec.rb +2 -2
  488. data/spec/models/migration_credential_spec.rb +2 -2
  489. data/spec/models/migration_dns_check_spec.rb +42 -0
  490. data/spec/models/migration_domain_dns_spec.rb +60 -0
  491. data/spec/models/migration_event_spec.rb +2 -2
  492. data/spec/models/migration_mailbox_spec.rb +2 -2
  493. data/spec/models/migration_progress_mailboxes_inner_spec.rb +2 -2
  494. data/spec/models/migration_progress_spec.rb +2 -2
  495. data/spec/models/migration_settings_spec.rb +2 -2
  496. data/spec/models/migration_spec.rb +2 -2
  497. data/spec/models/model_alias_spec.rb +2 -2
  498. data/spec/models/plan_catalog_entry_spec.rb +2 -2
  499. data/spec/models/policy_flags_spec.rb +2 -2
  500. data/spec/models/problem_spec.rb +2 -2
  501. data/spec/models/replace_distribution_list_members200_response_spec.rb +2 -2
  502. data/spec/models/replace_distribution_list_members_request_spec.rb +2 -2
  503. data/spec/models/resource_spec.rb +2 -2
  504. data/spec/models/return_path_check_spec.rb +2 -2
  505. data/spec/models/return_path_spec.rb +2 -2
  506. data/spec/models/rotate_api_key_request_spec.rb +36 -0
  507. data/spec/models/rotate_encryption_key_request_spec.rb +2 -2
  508. data/spec/models/send_email200_response_spec.rb +2 -2
  509. data/spec/models/send_email202_response_spec.rb +2 -2
  510. data/spec/models/send_email_batch200_response_spec.rb +2 -2
  511. data/spec/models/send_email_batch_request_spec.rb +8 -2
  512. data/spec/models/send_email_request_attachments_inner_spec.rb +2 -2
  513. data/spec/models/send_email_request_spec.rb +26 -2
  514. data/spec/models/send_message_spec.rb +2 -2
  515. data/spec/models/shared_member_spec.rb +2 -2
  516. data/spec/models/signup_request_spec.rb +2 -2
  517. data/spec/models/simulated_inbound_spec.rb +2 -2
  518. data/spec/models/start_conversation_request_spec.rb +2 -2
  519. data/spec/models/start_migration202_response_spec.rb +2 -2
  520. data/spec/models/suppression_spec.rb +2 -2
  521. data/spec/models/template_input_spec.rb +2 -2
  522. data/spec/models/template_spec.rb +2 -2
  523. data/spec/models/tenant_health_check_spec.rb +54 -0
  524. data/spec/models/tenant_health_report_spec.rb +48 -0
  525. data/spec/models/tenant_spec.rb +2 -2
  526. data/spec/models/thread_classification_spec.rb +2 -2
  527. data/spec/models/thread_list_spec.rb +2 -2
  528. data/spec/models/thread_message_body_body_spec.rb +2 -2
  529. data/spec/models/thread_message_body_spec.rb +2 -2
  530. data/spec/models/thread_message_spec.rb +2 -2
  531. data/spec/models/thread_spec.rb +2 -2
  532. data/spec/models/thread_summary_spec.rb +2 -2
  533. data/spec/models/tracking_policy_spec.rb +54 -0
  534. data/spec/models/unit_bundle_spec.rb +2 -2
  535. data/spec/models/update_admin_request_spec.rb +2 -2
  536. data/spec/models/update_api_key_request_spec.rb +48 -0
  537. data/spec/models/update_calendar_event_request_spec.rb +2 -2
  538. data/spec/models/update_calendar_integration_request_spec.rb +2 -2
  539. data/spec/models/update_calendar_member_request_spec.rb +2 -2
  540. data/spec/models/update_calendar_policies_request_spec.rb +2 -2
  541. data/spec/models/update_calendar_request_spec.rb +2 -2
  542. data/spec/models/update_contact_list_request_spec.rb +2 -2
  543. data/spec/models/update_contact_request_spec.rb +2 -2
  544. data/spec/models/update_directory_permissions_request_spec.rb +2 -2
  545. data/spec/models/update_gal_settings_request_spec.rb +2 -2
  546. data/spec/models/update_mailbox_request_spec.rb +2 -2
  547. data/spec/models/update_migration_mailbox_request_spec.rb +2 -2
  548. data/spec/models/update_migration_request_spec.rb +2 -2
  549. data/spec/models/update_resource_request_spec.rb +2 -2
  550. data/spec/models/update_tracking_policy_request_spec.rb +42 -0
  551. data/spec/models/update_user_request_spec.rb +2 -2
  552. data/spec/models/update_webhook_request_spec.rb +2 -2
  553. data/spec/models/user_event_spec.rb +2 -2
  554. data/spec/models/user_spec.rb +2 -2
  555. data/spec/models/webhook_spec.rb +2 -2
  556. data/spec/models/whoami_key_spec.rb +2 -2
  557. data/spec/models/whoami_spec.rb +2 -2
  558. data/spec/models/whoami_tenant_spec.rb +2 -2
  559. data/spec/spec_helper.rb +2 -2
  560. metadata +274 -233
  561. data/docs/ListVacationResponders200Response.md +0 -18
  562. data/docs/SetVacationResponderRequest.md +0 -20
  563. data/docs/VacationParams.md +0 -24
  564. data/docs/VacationResponder.md +0 -30
  565. data/lib/lockally/models/vacation_responder.rb +0 -305
  566. data/spec/models/list_vacation_responders200_response_spec.rb +0 -36
  567. data/spec/models/set_vacation_responder_request_spec.rb +0 -42
  568. data/spec/models/vacation_params_spec.rb +0 -54
  569. data/spec/models/vacation_responder_spec.rb +0 -72
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
@@ -149,6 +149,7 @@ module Lockally
149
149
  # @option opts [Time] :from Window start (default 7 days ago).
150
150
  # @option opts [Time] :to Window end (default now).
151
151
  # @option opts [String] :domain Filter by sender domain.
152
+ # @option opts [String] :tag Group the window by the sender&#39;s own tags: one tag, or a comma-separated set meaning ANY. Case-insensitive. This is the dimension that tells a transactional stream from a notification one.
152
153
  # @return [MessageStats]
153
154
  def get_message_stats(opts = {})
154
155
  data, _status_code, _headers = get_message_stats_with_http_info(opts)
@@ -161,6 +162,7 @@ module Lockally
161
162
  # @option opts [Time] :from Window start (default 7 days ago).
162
163
  # @option opts [Time] :to Window end (default now).
163
164
  # @option opts [String] :domain Filter by sender domain.
165
+ # @option opts [String] :tag Group the window by the sender&#39;s own tags: one tag, or a comma-separated set meaning ANY. Case-insensitive. This is the dimension that tells a transactional stream from a notification one.
164
166
  # @return [Array<(MessageStats, Integer, Hash)>] MessageStats data, response status code and response headers
165
167
  def get_message_stats_with_http_info(opts = {})
166
168
  if @api_client.config.debugging
@@ -174,6 +176,7 @@ module Lockally
174
176
  query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
175
177
  query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
176
178
  query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
179
+ query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
177
180
 
178
181
  # header parameters
179
182
  header_params = opts[:header_params] || {}
@@ -214,10 +217,13 @@ module Lockally
214
217
  # @param [Hash] opts the optional parameters
215
218
  # @option opts [String] :status
216
219
  # @option opts [String] :sender Exact match against the &#x60;from&#x60; mailbox.
220
+ # @option opts [String] :tag Filter to messages carrying any of these tags. One tag, or a comma-separated set meaning ANY. Case-insensitive: the value is normalised the same way tags are on write.
217
221
  # @option opts [String] :q Free-text search across subject + sender.
218
222
  # @option opts [Time] :since Only messages queued at or after this RFC 3339 instant.
219
223
  # @option opts [String] :cursor queued_at of the prior page boundary. Pass back the &#x60;next_cursor&#x60; returned by the previous call.
220
224
  # @option opts [Integer] :limit (default to 50)
225
+ # @option opts [String] :sort Field to order by. Only indexed columns are offered: an unindexed sort on this table is a full scan of the account&#39;s send history. status and sender are filters instead. (default to 'queued_at')
226
+ # @option opts [String] :order Defaults to desc for the default field and asc for any other. The order is always made total by a tie-break on id, so paging cannot repeat or skip a row that shares a timestamp. cursor encodes queued_at, so combining it with another sort is a 400 rather than a wrong page.
221
227
  # @return [ListMessages200Response]
222
228
  def list_messages(opts = {})
223
229
  data, _status_code, _headers = list_messages_with_http_info(opts)
@@ -229,10 +235,13 @@ module Lockally
229
235
  # @param [Hash] opts the optional parameters
230
236
  # @option opts [String] :status
231
237
  # @option opts [String] :sender Exact match against the &#x60;from&#x60; mailbox.
238
+ # @option opts [String] :tag Filter to messages carrying any of these tags. One tag, or a comma-separated set meaning ANY. Case-insensitive: the value is normalised the same way tags are on write.
232
239
  # @option opts [String] :q Free-text search across subject + sender.
233
240
  # @option opts [Time] :since Only messages queued at or after this RFC 3339 instant.
234
241
  # @option opts [String] :cursor queued_at of the prior page boundary. Pass back the &#x60;next_cursor&#x60; returned by the previous call.
235
242
  # @option opts [Integer] :limit (default to 50)
243
+ # @option opts [String] :sort Field to order by. Only indexed columns are offered: an unindexed sort on this table is a full scan of the account&#39;s send history. status and sender are filters instead. (default to 'queued_at')
244
+ # @option opts [String] :order Defaults to desc for the default field and asc for any other. The order is always made total by a tie-break on id, so paging cannot repeat or skip a row that shares a timestamp. cursor encodes queued_at, so combining it with another sort is a 400 rather than a wrong page.
236
245
  # @return [Array<(ListMessages200Response, Integer, Hash)>] ListMessages200Response data, response status code and response headers
237
246
  def list_messages_with_http_info(opts = {})
238
247
  if @api_client.config.debugging
@@ -246,6 +255,14 @@ module Lockally
246
255
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SendApi.list_messages, must be smaller than or equal to 200.'
247
256
  end
248
257
 
258
+ allowable_values = ["queued_at", "updated_at"]
259
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
260
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
261
+ end
262
+ allowable_values = ["asc", "desc"]
263
+ if @api_client.config.client_side_validation && opts[:'order'] && !allowable_values.include?(opts[:'order'])
264
+ fail ArgumentError, "invalid value for \"order\", must be one of #{allowable_values}"
265
+ end
249
266
  # resource path
250
267
  local_var_path = '/v1/messages'
251
268
 
@@ -253,10 +270,13 @@ module Lockally
253
270
  query_params = opts[:query_params] || {}
254
271
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
255
272
  query_params[:'sender'] = opts[:'sender'] if !opts[:'sender'].nil?
273
+ query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
256
274
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
257
275
  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
258
276
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
259
277
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
278
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
279
+ query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
260
280
 
261
281
  # header parameters
262
282
  header_params = opts[:header_params] || {}
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
@@ -209,6 +209,8 @@ module Lockally
209
209
 
210
210
  # List templates
211
211
  # @param [Hash] opts the optional parameters
212
+ # @option opts [String] :sort Field to order by. This list holds tens of rows per account, so every column is offered and none needs an index. (default to 'name')
213
+ # @option opts [String] :order Defaults to asc for the default field and asc for any other. Always tie-broken on id, so the order is total.
212
214
  # @return [ListTemplates200Response]
213
215
  def list_templates(opts = {})
214
216
  data, _status_code, _headers = list_templates_with_http_info(opts)
@@ -217,16 +219,28 @@ module Lockally
217
219
 
218
220
  # List templates
219
221
  # @param [Hash] opts the optional parameters
222
+ # @option opts [String] :sort Field to order by. This list holds tens of rows per account, so every column is offered and none needs an index. (default to 'name')
223
+ # @option opts [String] :order Defaults to asc for the default field and asc for any other. Always tie-broken on id, so the order is total.
220
224
  # @return [Array<(ListTemplates200Response, Integer, Hash)>] ListTemplates200Response data, response status code and response headers
221
225
  def list_templates_with_http_info(opts = {})
222
226
  if @api_client.config.debugging
223
227
  @api_client.config.logger.debug 'Calling API: TemplatesApi.list_templates ...'
224
228
  end
229
+ allowable_values = ["name", "created_at", "updated_at"]
230
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
231
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
232
+ end
233
+ allowable_values = ["asc", "desc"]
234
+ if @api_client.config.client_side_validation && opts[:'order'] && !allowable_values.include?(opts[:'order'])
235
+ fail ArgumentError, "invalid value for \"order\", must be one of #{allowable_values}"
236
+ end
225
237
  # resource path
226
238
  local_var_path = '/v1/templates'
227
239
 
228
240
  # query parameters
229
241
  query_params = opts[:query_params] || {}
242
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
243
+ query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
230
244
 
231
245
  # header parameters
232
246
  header_params = opts[:header_params] || {}
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
@@ -76,6 +76,63 @@ module Lockally
76
76
  return data, status_code, headers
77
77
  end
78
78
 
79
+ # Get the engagement tracking policy
80
+ # Whether open and click tracking are enabled for this account. **Both are off until switched on**, and an account that has never set a policy reads as off rather than as an error. `configured` reports whether this deployment holds a signing secret. Without one no tracking token can be minted or verified, so tracking cannot work however the flags are set, and a caller seeing `track_opens: true` with nothing arriving deserves to know why.
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [TrackingPolicy]
83
+ def get_tracking_policy(opts = {})
84
+ data, _status_code, _headers = get_tracking_policy_with_http_info(opts)
85
+ data
86
+ end
87
+
88
+ # Get the engagement tracking policy
89
+ # Whether open and click tracking are enabled for this account. **Both are off until switched on**, and an account that has never set a policy reads as off rather than as an error. &#x60;configured&#x60; reports whether this deployment holds a signing secret. Without one no tracking token can be minted or verified, so tracking cannot work however the flags are set, and a caller seeing &#x60;track_opens: true&#x60; with nothing arriving deserves to know why.
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [Array<(TrackingPolicy, Integer, Hash)>] TrackingPolicy data, response status code and response headers
92
+ def get_tracking_policy_with_http_info(opts = {})
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug 'Calling API: TenantApi.get_tracking_policy ...'
95
+ end
96
+ # resource path
97
+ local_var_path = '/v1/tracking'
98
+
99
+ # query parameters
100
+ query_params = opts[:query_params] || {}
101
+
102
+ # header parameters
103
+ header_params = opts[:header_params] || {}
104
+ # HTTP header 'Accept' (if needed)
105
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
106
+
107
+ # form parameters
108
+ form_params = opts[:form_params] || {}
109
+
110
+ # http body (model)
111
+ post_body = opts[:debug_body]
112
+
113
+ # return_type
114
+ return_type = opts[:debug_return_type] || 'TrackingPolicy'
115
+
116
+ # auth_names
117
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
118
+
119
+ new_options = opts.merge(
120
+ :operation => :"TenantApi.get_tracking_policy",
121
+ :header_params => header_params,
122
+ :query_params => query_params,
123
+ :form_params => form_params,
124
+ :body => post_body,
125
+ :auth_names => auth_names,
126
+ :return_type => return_type
127
+ )
128
+
129
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
130
+ if @api_client.config.debugging
131
+ @api_client.config.logger.debug "API called: TenantApi#get_tracking_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
+ end
133
+ return data, status_code, headers
134
+ end
135
+
79
136
  # Usage snapshot
80
137
  # Returns the tenant's current usage + cap consumption. Designed for poll-based alerting on the integrator side (e.g. \"warn when daily quota is 80% used\"). Computed live on request, so there is no cache, so callers should poll at most once per minute.
81
138
  # @param [Hash] opts the optional parameters
@@ -132,5 +189,73 @@ module Lockally
132
189
  end
133
190
  return data, status_code, headers
134
191
  end
192
+
193
+ # Update the engagement tracking policy
194
+ # Enables or disables tracking for the account. Send either flag or both; an omitted flag is left unchanged rather than reset. **Enabling this changes what Lockally collects about your recipients**, who have no relationship with us. You are the controller for them. What is collected is a user-agent string, a timestamp, and for a click the destination URL: **no IP address**, ever. The change is written to your audit log.
195
+ # @param update_tracking_policy_request [UpdateTrackingPolicyRequest]
196
+ # @param [Hash] opts the optional parameters
197
+ # @return [TrackingPolicy]
198
+ def update_tracking_policy(update_tracking_policy_request, opts = {})
199
+ data, _status_code, _headers = update_tracking_policy_with_http_info(update_tracking_policy_request, opts)
200
+ data
201
+ end
202
+
203
+ # Update the engagement tracking policy
204
+ # Enables or disables tracking for the account. Send either flag or both; an omitted flag is left unchanged rather than reset. **Enabling this changes what Lockally collects about your recipients**, who have no relationship with us. You are the controller for them. What is collected is a user-agent string, a timestamp, and for a click the destination URL: **no IP address**, ever. The change is written to your audit log.
205
+ # @param update_tracking_policy_request [UpdateTrackingPolicyRequest]
206
+ # @param [Hash] opts the optional parameters
207
+ # @return [Array<(TrackingPolicy, Integer, Hash)>] TrackingPolicy data, response status code and response headers
208
+ def update_tracking_policy_with_http_info(update_tracking_policy_request, opts = {})
209
+ if @api_client.config.debugging
210
+ @api_client.config.logger.debug 'Calling API: TenantApi.update_tracking_policy ...'
211
+ end
212
+ # verify the required parameter 'update_tracking_policy_request' is set
213
+ if @api_client.config.client_side_validation && update_tracking_policy_request.nil?
214
+ fail ArgumentError, "Missing the required parameter 'update_tracking_policy_request' when calling TenantApi.update_tracking_policy"
215
+ end
216
+ # resource path
217
+ local_var_path = '/v1/tracking'
218
+
219
+ # query parameters
220
+ query_params = opts[:query_params] || {}
221
+
222
+ # header parameters
223
+ header_params = opts[:header_params] || {}
224
+ # HTTP header 'Accept' (if needed)
225
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json']) unless header_params['Accept']
226
+ # HTTP header 'Content-Type'
227
+ content_type = @api_client.select_header_content_type(['application/json'])
228
+ if !content_type.nil?
229
+ header_params['Content-Type'] = content_type
230
+ end
231
+
232
+ # form parameters
233
+ form_params = opts[:form_params] || {}
234
+
235
+ # http body (model)
236
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_tracking_policy_request)
237
+
238
+ # return_type
239
+ return_type = opts[:debug_return_type] || 'TrackingPolicy'
240
+
241
+ # auth_names
242
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
243
+
244
+ new_options = opts.merge(
245
+ :operation => :"TenantApi.update_tracking_policy",
246
+ :header_params => header_params,
247
+ :query_params => query_params,
248
+ :form_params => form_params,
249
+ :body => post_body,
250
+ :auth_names => auth_names,
251
+ :return_type => return_type
252
+ )
253
+
254
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
255
+ if @api_client.config.debugging
256
+ @api_client.config.logger.debug "API called: TenantApi#update_tracking_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
257
+ end
258
+ return data, status_code, headers
259
+ end
135
260
  end
136
261
  end
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
@@ -85,8 +85,8 @@ module Lockally
85
85
  return data, status_code, headers
86
86
  end
87
87
 
88
- # Delete a user
89
- # Soft-deletes the user by setting status to deprovisioned.
88
+ # Deprovision a user
89
+ # Sets the user's status to `deprovisioned` and ends their access: each of their mailboxes and their console membership is disabled, app passwords are revoked, and every webmail and console session ends. Their mail is kept. API keys belong to the workspace and are not revoked; rotate any the person had access to.
90
90
  # @param id [String]
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @return [nil]
@@ -95,8 +95,8 @@ module Lockally
95
95
  nil
96
96
  end
97
97
 
98
- # Delete a user
99
- # Soft-deletes the user by setting status to deprovisioned.
98
+ # Deprovision a user
99
+ # Sets the user&#39;s status to &#x60;deprovisioned&#x60; and ends their access: each of their mailboxes and their console membership is disabled, app passwords are revoked, and every webmail and console session ends. Their mail is kept. API keys belong to the workspace and are not revoked; rotate any the person had access to.
100
100
  # @param id [String]
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -276,6 +276,7 @@ module Lockally
276
276
  end
277
277
 
278
278
  # Update a user
279
+ # Setting `status` to `suspended` or `deprovisioned` takes away everything the person signs in with: each of their mailboxes and their console membership is disabled, app passwords are revoked, and every webmail and console session ends. Setting it back to `active` restores what the suspension disabled, and nothing an admin disabled for another reason. API keys belong to the workspace, not to the person who created them, and are not revoked; rotate any the person had access to.
279
280
  # @param id [String]
280
281
  # @param update_user_request [UpdateUserRequest]
281
282
  # @param [Hash] opts the optional parameters
@@ -286,6 +287,7 @@ module Lockally
286
287
  end
287
288
 
288
289
  # Update a user
290
+ # Setting &#x60;status&#x60; to &#x60;suspended&#x60; or &#x60;deprovisioned&#x60; takes away everything the person signs in with: each of their mailboxes and their console membership is disabled, app passwords are revoked, and every webmail and console session ends. Setting it back to &#x60;active&#x60; restores what the suspension disabled, and nothing an admin disabled for another reason. API keys belong to the workspace, not to the person who created them, and are not revoked; rotate any the person had access to.
289
291
  # @param id [String]
290
292
  # @param update_user_request [UpdateUserRequest]
291
293
  # @param [Hash] opts the optional parameters
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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
- #lockally control plane
2
+ #Lockally API
3
3
 
4
- #The lockally control plane lets integrators and direct customers manage everything except actual mail data flow (which uses standard JMAP / IMAP / SMTP-submission against the data plane endpoints). **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`.
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