zyphr 0.1.74 → 0.1.76

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -1
  3. data/docs/CreateInboxLabelRequest.md +20 -0
  4. data/docs/Draft.md +36 -0
  5. data/docs/DraftAddress.md +20 -0
  6. data/docs/DraftListResponse.md +20 -0
  7. data/docs/DraftRequest.md +30 -0
  8. data/docs/DraftResponse.md +20 -0
  9. data/docs/ForwardEmailRequest.md +34 -0
  10. data/docs/InboundEmailApi.md +1855 -152
  11. data/docs/Inbox.md +3 -1
  12. data/docs/InboxLabel.md +26 -0
  13. data/docs/InboxLabelListResponse.md +20 -0
  14. data/docs/InboxLabelResponse.md +20 -0
  15. data/docs/InboxListResponse.md +1 -1
  16. data/docs/InboxListResponseMeta.md +22 -0
  17. data/docs/{ReplyToInboundEmailRequest.md → ReplyEmailRequest.md} +3 -3
  18. data/docs/Thread.md +40 -0
  19. data/docs/ThreadEmail.md +38 -0
  20. data/docs/ThreadEmailAttachmentsInner.md +24 -0
  21. data/docs/ThreadEmailFrom.md +20 -0
  22. data/docs/ThreadEmailListResponse.md +20 -0
  23. data/docs/ThreadEmailResponse.md +20 -0
  24. data/docs/ThreadFolder.md +15 -0
  25. data/docs/ThreadLabelsInner.md +22 -0
  26. data/docs/ThreadLabelsRequest.md +18 -0
  27. data/docs/ThreadListResponse.md +20 -0
  28. data/docs/ThreadListResponseMeta.md +20 -0
  29. data/docs/ThreadResponse.md +20 -0
  30. data/docs/UpdateInboxLabelRequest.md +20 -0
  31. data/docs/UpdateThreadRequest.md +22 -0
  32. data/lib/zyphr/api/inbound_email_api.rb +1774 -168
  33. data/lib/zyphr/models/create_inbox_label_request.rb +272 -0
  34. data/lib/zyphr/models/draft.rb +375 -0
  35. data/lib/zyphr/models/draft_address.rb +249 -0
  36. data/lib/zyphr/models/draft_list_response.rb +231 -0
  37. data/lib/zyphr/models/draft_request.rb +299 -0
  38. data/lib/zyphr/models/draft_response.rb +229 -0
  39. data/lib/zyphr/models/forward_email_request.rb +393 -0
  40. data/lib/zyphr/models/inbox.rb +14 -4
  41. data/lib/zyphr/models/inbox_label.rb +258 -0
  42. data/lib/zyphr/models/inbox_label_list_response.rb +231 -0
  43. data/lib/zyphr/models/inbox_label_response.rb +229 -0
  44. data/lib/zyphr/models/inbox_list_response.rb +1 -1
  45. data/lib/zyphr/models/inbox_list_response_meta.rb +246 -0
  46. data/lib/zyphr/models/{reply_to_inbound_email_request.rb → reply_email_request.rb} +4 -3
  47. data/lib/zyphr/models/thread.rb +352 -0
  48. data/lib/zyphr/models/thread_email.rb +353 -0
  49. data/lib/zyphr/models/thread_email_attachments_inner.rb +248 -0
  50. data/lib/zyphr/models/thread_email_from.rb +230 -0
  51. data/lib/zyphr/models/thread_email_list_response.rb +231 -0
  52. data/lib/zyphr/models/thread_email_response.rb +229 -0
  53. data/lib/zyphr/models/thread_folder.rb +43 -0
  54. data/lib/zyphr/models/thread_labels_inner.rb +239 -0
  55. data/lib/zyphr/models/thread_labels_request.rb +248 -0
  56. data/lib/zyphr/models/thread_list_response.rb +231 -0
  57. data/lib/zyphr/models/thread_list_response_meta.rb +237 -0
  58. data/lib/zyphr/models/thread_response.rb +229 -0
  59. data/lib/zyphr/models/update_inbox_label_request.rb +264 -0
  60. data/lib/zyphr/models/update_thread_request.rb +262 -0
  61. data/lib/zyphr.rb +26 -1
  62. data/spec/api/inbound_email_api_spec.rb +294 -1
  63. data/spec/models/create_inbox_label_request_spec.rb +42 -0
  64. data/spec/models/draft_address_spec.rb +42 -0
  65. data/spec/models/draft_list_response_spec.rb +42 -0
  66. data/spec/models/draft_request_spec.rb +72 -0
  67. data/spec/models/draft_response_spec.rb +42 -0
  68. data/spec/models/draft_spec.rb +90 -0
  69. data/spec/models/forward_email_request_spec.rb +88 -0
  70. data/spec/models/inbox_label_list_response_spec.rb +42 -0
  71. data/spec/models/inbox_label_response_spec.rb +42 -0
  72. data/spec/models/inbox_label_spec.rb +60 -0
  73. data/spec/models/inbox_list_response_meta_spec.rb +48 -0
  74. data/spec/models/inbox_spec.rb +6 -0
  75. data/spec/models/{reply_to_inbound_email_request_spec.rb → reply_email_request_spec.rb} +6 -6
  76. data/spec/models/thread_email_attachments_inner_spec.rb +54 -0
  77. data/spec/models/thread_email_from_spec.rb +42 -0
  78. data/spec/models/thread_email_list_response_spec.rb +42 -0
  79. data/spec/models/thread_email_response_spec.rb +42 -0
  80. data/spec/models/thread_email_spec.rb +100 -0
  81. data/spec/models/thread_folder_spec.rb +30 -0
  82. data/spec/models/thread_labels_inner_spec.rb +48 -0
  83. data/spec/models/thread_labels_request_spec.rb +36 -0
  84. data/spec/models/thread_list_response_meta_spec.rb +42 -0
  85. data/spec/models/thread_list_response_spec.rb +42 -0
  86. data/spec/models/thread_response_spec.rb +42 -0
  87. data/spec/models/thread_spec.rb +102 -0
  88. data/spec/models/update_inbox_label_request_spec.rb +42 -0
  89. data/spec/models/update_thread_request_spec.rb +48 -0
  90. data/zyphr.gemspec +1 -1
  91. metadata +106 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e66b5107f0b6cb22378746fe207cb9b9dfa05c38baffcfc74fa12afebd8155d0
4
- data.tar.gz: 411b3b624fb95b4a46051f2cdf96bba73c9722c2ddbd12e347f174c157bad3f6
3
+ metadata.gz: caf7d87f480a2623a20be4076fcee772666ac87ebcb9f9387cbc283abf07462f
4
+ data.tar.gz: a8ece9cd5d268bfa1624b2b34f6fd6347bccaef98450f8d40a34ed6503021471
5
5
  SHA512:
6
- metadata.gz: 910a19b07e16cd6a4b9b35491c46898baa3a31aa8bce32934f0dedcf83609261c8a0122f4b56519a048efd2721c0c4f8496108e158266e17428bb700d30f8289
7
- data.tar.gz: 2754efc3f3bf5878010f0ecf02fb5d2bcd634c9e8d12f71abf900617bd5c57f4c509a4006d11a52c65bd907a3263e69caa26cc2073da20905de5ce80f3212a52
6
+ metadata.gz: 16d607943e4a1a9222a09680eb2104983f299e642edec89da2e6ccaf33d8cf7e3ed60c23453e5c3ec5ba6aee75ae294fd58ea21c2d93d9cf4913daa615df3900
7
+ data.tar.gz: 1a955f685cf8ae8be40bc304d3a4ce26a31b20b7322ac0cbeba7e54a5acd342d8a142bef12207b8353f7794922a44ebdb60e88bcb680976581197c007c45bd64
data/README.md CHANGED
@@ -235,15 +235,38 @@ Class | Method | HTTP request | Description
235
235
  *Zyphr::ExecutionsApi* | [**cancel_execution**](docs/ExecutionsApi.md#cancel_execution) | **POST** /executions/{id}/cancel | Cancel a running execution
236
236
  *Zyphr::ExecutionsApi* | [**get_execution**](docs/ExecutionsApi.md#get_execution) | **GET** /executions/{id} | Get a workflow execution
237
237
  *Zyphr::ExecutionsApi* | [**retry_execution**](docs/ExecutionsApi.md#retry_execution) | **POST** /executions/{id}/retry | Retry a failed or cancelled execution
238
+ *Zyphr::InboundEmailApi* | [**add_inbox_thread_labels**](docs/InboundEmailApi.md#add_inbox_thread_labels) | **POST** /inboxes/threads/{threadId}/labels | Add labels to a thread
238
239
  *Zyphr::InboundEmailApi* | [**create_inbox**](docs/InboundEmailApi.md#create_inbox) | **POST** /inboxes | Create an inbox
240
+ *Zyphr::InboundEmailApi* | [**create_inbox_draft**](docs/InboundEmailApi.md#create_inbox_draft) | **POST** /inboxes/drafts | Create a draft
241
+ *Zyphr::InboundEmailApi* | [**create_inbox_label**](docs/InboundEmailApi.md#create_inbox_label) | **POST** /inboxes/labels | Create a label
239
242
  *Zyphr::InboundEmailApi* | [**delete_inbox**](docs/InboundEmailApi.md#delete_inbox) | **DELETE** /inboxes/{id} | Delete an inbox
243
+ *Zyphr::InboundEmailApi* | [**delete_inbox_draft**](docs/InboundEmailApi.md#delete_inbox_draft) | **DELETE** /inboxes/drafts/{draftId} | Delete a draft
244
+ *Zyphr::InboundEmailApi* | [**delete_inbox_label**](docs/InboundEmailApi.md#delete_inbox_label) | **DELETE** /inboxes/labels/{labelId} | Delete a label
245
+ *Zyphr::InboundEmailApi* | [**delete_inbox_thread**](docs/InboundEmailApi.md#delete_inbox_thread) | **DELETE** /inboxes/threads/{threadId} | Delete a thread
246
+ *Zyphr::InboundEmailApi* | [**forward_inbound_email**](docs/InboundEmailApi.md#forward_inbound_email) | **POST** /inbound-emails/{id}/forward | Forward a received email
247
+ *Zyphr::InboundEmailApi* | [**forward_inbox_thread_email**](docs/InboundEmailApi.md#forward_inbox_thread_email) | **POST** /inboxes/threads/{threadId}/emails/{emailId}/forward | Forward an email in a thread
240
248
  *Zyphr::InboundEmailApi* | [**get_inbound_attachment_url**](docs/InboundEmailApi.md#get_inbound_attachment_url) | **GET** /inbound-emails/{id}/attachments/{attachmentId} | Get an attachment download URL
241
249
  *Zyphr::InboundEmailApi* | [**get_inbound_email**](docs/InboundEmailApi.md#get_inbound_email) | **GET** /inbound-emails/{id} | Get a received email
242
250
  *Zyphr::InboundEmailApi* | [**get_inbox**](docs/InboundEmailApi.md#get_inbox) | **GET** /inboxes/{id} | Get an inbox
251
+ *Zyphr::InboundEmailApi* | [**get_inbox_draft**](docs/InboundEmailApi.md#get_inbox_draft) | **GET** /inboxes/drafts/{draftId} | Get a draft
252
+ *Zyphr::InboundEmailApi* | [**get_inbox_label**](docs/InboundEmailApi.md#get_inbox_label) | **GET** /inboxes/labels/{labelId} | Get a label
253
+ *Zyphr::InboundEmailApi* | [**get_inbox_thread**](docs/InboundEmailApi.md#get_inbox_thread) | **GET** /inboxes/threads/{threadId} | Get a thread
254
+ *Zyphr::InboundEmailApi* | [**get_inbox_thread_email**](docs/InboundEmailApi.md#get_inbox_thread_email) | **GET** /inboxes/threads/{threadId}/emails/{emailId} | Get an email in a thread
243
255
  *Zyphr::InboundEmailApi* | [**list_inbound_emails**](docs/InboundEmailApi.md#list_inbound_emails) | **GET** /inbound-emails | List received emails
256
+ *Zyphr::InboundEmailApi* | [**list_inbox_drafts**](docs/InboundEmailApi.md#list_inbox_drafts) | **GET** /inboxes/drafts | List drafts
257
+ *Zyphr::InboundEmailApi* | [**list_inbox_labels**](docs/InboundEmailApi.md#list_inbox_labels) | **GET** /inboxes/labels | List labels
258
+ *Zyphr::InboundEmailApi* | [**list_inbox_thread_emails**](docs/InboundEmailApi.md#list_inbox_thread_emails) | **GET** /inboxes/threads/{threadId}/emails | List a thread's emails
259
+ *Zyphr::InboundEmailApi* | [**list_inbox_threads**](docs/InboundEmailApi.md#list_inbox_threads) | **GET** /inboxes/threads | List threads
244
260
  *Zyphr::InboundEmailApi* | [**list_inboxes**](docs/InboundEmailApi.md#list_inboxes) | **GET** /inboxes | List inboxes
261
+ *Zyphr::InboundEmailApi* | [**remove_inbox_thread_label**](docs/InboundEmailApi.md#remove_inbox_thread_label) | **DELETE** /inboxes/threads/{threadId}/labels/{labelId} | Remove a label from a thread
245
262
  *Zyphr::InboundEmailApi* | [**reply_to_inbound_email**](docs/InboundEmailApi.md#reply_to_inbound_email) | **POST** /inbound-emails/{id}/reply | Reply to a received email
263
+ *Zyphr::InboundEmailApi* | [**reply_to_inbox_thread**](docs/InboundEmailApi.md#reply_to_inbox_thread) | **POST** /inboxes/threads/{threadId}/reply | Reply to a thread
264
+ *Zyphr::InboundEmailApi* | [**send_inbox_draft**](docs/InboundEmailApi.md#send_inbox_draft) | **POST** /inboxes/drafts/{draftId}/send | Send a draft
265
+ *Zyphr::InboundEmailApi* | [**set_inbox_thread_labels**](docs/InboundEmailApi.md#set_inbox_thread_labels) | **PUT** /inboxes/threads/{threadId}/labels | Set a thread's labels
246
266
  *Zyphr::InboundEmailApi* | [**update_inbox**](docs/InboundEmailApi.md#update_inbox) | **PATCH** /inboxes/{id} | Update an inbox
267
+ *Zyphr::InboundEmailApi* | [**update_inbox_draft**](docs/InboundEmailApi.md#update_inbox_draft) | **PATCH** /inboxes/drafts/{draftId} | Update a draft
268
+ *Zyphr::InboundEmailApi* | [**update_inbox_label**](docs/InboundEmailApi.md#update_inbox_label) | **PATCH** /inboxes/labels/{labelId} | Update a label
269
+ *Zyphr::InboundEmailApi* | [**update_inbox_thread**](docs/InboundEmailApi.md#update_inbox_thread) | **PATCH** /inboxes/threads/{threadId} | Update a thread
247
270
  *Zyphr::InboxApi* | [**archive_inbox_notification**](docs/InboxApi.md#archive_inbox_notification) | **POST** /inbox/{id}/archive | Archive a notification
248
271
  *Zyphr::InboxApi* | [**archive_subscriber_notification**](docs/InboxApi.md#archive_subscriber_notification) | **POST** /subscriber-inbox/{id}/archive | Archive a notification
249
272
  *Zyphr::InboxApi* | [**delete_inbox_notification**](docs/InboxApi.md#delete_inbox_notification) | **DELETE** /inbox/{id} | Delete a notification
@@ -457,6 +480,7 @@ Class | Method | HTTP request | Description
457
480
  - [Zyphr::ConvertAnonymousUserRequestOneOf1AppleUser](docs/ConvertAnonymousUserRequestOneOf1AppleUser.md)
458
481
  - [Zyphr::ConvertAnonymousUserRequestOneOf1AppleUserName](docs/ConvertAnonymousUserRequestOneOf1AppleUserName.md)
459
482
  - [Zyphr::CreateCategoryRequest](docs/CreateCategoryRequest.md)
483
+ - [Zyphr::CreateInboxLabelRequest](docs/CreateInboxLabelRequest.md)
460
484
  - [Zyphr::CreateInboxRequest](docs/CreateInboxRequest.md)
461
485
  - [Zyphr::CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
462
486
  - [Zyphr::CreateSubscriberRequest](docs/CreateSubscriberRequest.md)
@@ -492,6 +516,11 @@ Class | Method | HTTP request | Description
492
516
  - [Zyphr::DomainListResponse](docs/DomainListResponse.md)
493
517
  - [Zyphr::DomainListResponseMeta](docs/DomainListResponseMeta.md)
494
518
  - [Zyphr::DomainResponse](docs/DomainResponse.md)
519
+ - [Zyphr::Draft](docs/Draft.md)
520
+ - [Zyphr::DraftAddress](docs/DraftAddress.md)
521
+ - [Zyphr::DraftListResponse](docs/DraftListResponse.md)
522
+ - [Zyphr::DraftRequest](docs/DraftRequest.md)
523
+ - [Zyphr::DraftResponse](docs/DraftResponse.md)
495
524
  - [Zyphr::EmailAddress](docs/EmailAddress.md)
496
525
  - [Zyphr::EmailAttachment](docs/EmailAttachment.md)
497
526
  - [Zyphr::EmailEvent](docs/EmailEvent.md)
@@ -514,6 +543,7 @@ Class | Method | HTTP request | Description
514
543
  - [Zyphr::ForgotPasswordRequest](docs/ForgotPasswordRequest.md)
515
544
  - [Zyphr::ForgotPasswordResult](docs/ForgotPasswordResult.md)
516
545
  - [Zyphr::ForgotPasswordResultData](docs/ForgotPasswordResultData.md)
546
+ - [Zyphr::ForwardEmailRequest](docs/ForwardEmailRequest.md)
517
547
  - [Zyphr::GenerateSubscriberToken200Response](docs/GenerateSubscriberToken200Response.md)
518
548
  - [Zyphr::GenerateSubscriberToken200ResponseData](docs/GenerateSubscriberToken200ResponseData.md)
519
549
  - [Zyphr::GenerateSubscriberTokenRequest](docs/GenerateSubscriberTokenRequest.md)
@@ -551,8 +581,12 @@ Class | Method | HTTP request | Description
551
581
  - [Zyphr::InboundEmailListResponseMeta](docs/InboundEmailListResponseMeta.md)
552
582
  - [Zyphr::InboundEmailResponse](docs/InboundEmailResponse.md)
553
583
  - [Zyphr::Inbox](docs/Inbox.md)
584
+ - [Zyphr::InboxLabel](docs/InboxLabel.md)
585
+ - [Zyphr::InboxLabelListResponse](docs/InboxLabelListResponse.md)
586
+ - [Zyphr::InboxLabelResponse](docs/InboxLabelResponse.md)
554
587
  - [Zyphr::InboxListMeta](docs/InboxListMeta.md)
555
588
  - [Zyphr::InboxListResponse](docs/InboxListResponse.md)
589
+ - [Zyphr::InboxListResponseMeta](docs/InboxListResponseMeta.md)
556
590
  - [Zyphr::InboxNotificationResponse](docs/InboxNotificationResponse.md)
557
591
  - [Zyphr::InboxResponse](docs/InboxResponse.md)
558
592
  - [Zyphr::InviteEndUser200Response](docs/InviteEndUser200Response.md)
@@ -673,7 +707,7 @@ Class | Method | HTTP request | Description
673
707
  - [Zyphr::RenderTemplateRequest](docs/RenderTemplateRequest.md)
674
708
  - [Zyphr::ReorderWorkflowStepsRequest](docs/ReorderWorkflowStepsRequest.md)
675
709
  - [Zyphr::ReplayWebhookEventsRequest](docs/ReplayWebhookEventsRequest.md)
676
- - [Zyphr::ReplyToInboundEmailRequest](docs/ReplyToInboundEmailRequest.md)
710
+ - [Zyphr::ReplyEmailRequest](docs/ReplyEmailRequest.md)
677
711
  - [Zyphr::RequestMeta](docs/RequestMeta.md)
678
712
  - [Zyphr::ResendEmailVerificationRequest](docs/ResendEmailVerificationRequest.md)
679
713
  - [Zyphr::ResetPasswordRequest](docs/ResetPasswordRequest.md)
@@ -772,6 +806,18 @@ Class | Method | HTTP request | Description
772
806
  - [Zyphr::TemplateRenderedContent](docs/TemplateRenderedContent.md)
773
807
  - [Zyphr::TemplateResponse](docs/TemplateResponse.md)
774
808
  - [Zyphr::TestWebhookTransformRequest](docs/TestWebhookTransformRequest.md)
809
+ - [Zyphr::Thread](docs/Thread.md)
810
+ - [Zyphr::ThreadEmail](docs/ThreadEmail.md)
811
+ - [Zyphr::ThreadEmailAttachmentsInner](docs/ThreadEmailAttachmentsInner.md)
812
+ - [Zyphr::ThreadEmailFrom](docs/ThreadEmailFrom.md)
813
+ - [Zyphr::ThreadEmailListResponse](docs/ThreadEmailListResponse.md)
814
+ - [Zyphr::ThreadEmailResponse](docs/ThreadEmailResponse.md)
815
+ - [Zyphr::ThreadFolder](docs/ThreadFolder.md)
816
+ - [Zyphr::ThreadLabelsInner](docs/ThreadLabelsInner.md)
817
+ - [Zyphr::ThreadLabelsRequest](docs/ThreadLabelsRequest.md)
818
+ - [Zyphr::ThreadListResponse](docs/ThreadListResponse.md)
819
+ - [Zyphr::ThreadListResponseMeta](docs/ThreadListResponseMeta.md)
820
+ - [Zyphr::ThreadResponse](docs/ThreadResponse.md)
775
821
  - [Zyphr::Topic](docs/Topic.md)
776
822
  - [Zyphr::TopicDeleteResponse](docs/TopicDeleteResponse.md)
777
823
  - [Zyphr::TopicListResponse](docs/TopicListResponse.md)
@@ -797,6 +843,7 @@ Class | Method | HTTP request | Description
797
843
  - [Zyphr::UpdateCategoryRequest](docs/UpdateCategoryRequest.md)
798
844
  - [Zyphr::UpdateEndUserByApplicationRequest](docs/UpdateEndUserByApplicationRequest.md)
799
845
  - [Zyphr::UpdateEndUserRequest](docs/UpdateEndUserRequest.md)
846
+ - [Zyphr::UpdateInboxLabelRequest](docs/UpdateInboxLabelRequest.md)
800
847
  - [Zyphr::UpdateInboxRequest](docs/UpdateInboxRequest.md)
801
848
  - [Zyphr::UpdateOrganizationMemberRoleRequest](docs/UpdateOrganizationMemberRoleRequest.md)
802
849
  - [Zyphr::UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
@@ -807,6 +854,7 @@ Class | Method | HTTP request | Description
807
854
  - [Zyphr::UpdateSubscriberPreferencesRequestPreferencesInner](docs/UpdateSubscriberPreferencesRequestPreferencesInner.md)
808
855
  - [Zyphr::UpdateSubscriberRequest](docs/UpdateSubscriberRequest.md)
809
856
  - [Zyphr::UpdateTemplateRequest](docs/UpdateTemplateRequest.md)
857
+ - [Zyphr::UpdateThreadRequest](docs/UpdateThreadRequest.md)
810
858
  - [Zyphr::UpdateTopicRequest](docs/UpdateTopicRequest.md)
811
859
  - [Zyphr::UpdateWaaSApplicationRequest](docs/UpdateWaaSApplicationRequest.md)
812
860
  - [Zyphr::UpdateWaaSEndpoint200Response](docs/UpdateWaaSEndpoint200Response.md)
@@ -0,0 +1,20 @@
1
+ # Zyphr::CreateInboxLabelRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Unique in the project, ignoring case | |
8
+ | **color** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::CreateInboxLabelRequest.new(
16
+ name: null,
17
+ color: null
18
+ )
19
+ ```
20
+
data/docs/Draft.md ADDED
@@ -0,0 +1,36 @@
1
+ # Zyphr::Draft
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **thread_id** | **String** | | |
9
+ | **from** | [**DraftAddress**](DraftAddress.md) | | |
10
+ | **to** | [**DraftAddress**](DraftAddress.md) | Null on a reply draft; Zyphr sets it from the thread when sent. | |
11
+ | **reply_to** | **String** | | |
12
+ | **subject** | **String** | | |
13
+ | **text** | **String** | | |
14
+ | **html** | **String** | | |
15
+ | **created_at** | **Time** | | |
16
+ | **updated_at** | **Time** | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'zyphr'
22
+
23
+ instance = Zyphr::Draft.new(
24
+ id: null,
25
+ thread_id: null,
26
+ from: null,
27
+ to: null,
28
+ reply_to: null,
29
+ subject: null,
30
+ text: null,
31
+ html: null,
32
+ created_at: null,
33
+ updated_at: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::DraftAddress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **email** | **String** | | |
8
+ | **name** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::DraftAddress.new(
16
+ email: null,
17
+ name: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::DraftListResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<Draft>**](Draft.md) | | [optional] |
8
+ | **meta** | [**ThreadListResponseMeta**](ThreadListResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::DraftListResponse.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,30 @@
1
+ # Zyphr::DraftRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **thread_id** | **String** | | [optional] |
8
+ | **from** | [**EmailAddress**](EmailAddress.md) | A plain email string is also accepted. | [optional] |
9
+ | **to** | [**EmailAddress**](EmailAddress.md) | One recipient; a plain email string is also accepted. | [optional] |
10
+ | **reply_to** | **String** | | [optional] |
11
+ | **subject** | **String** | | [optional] |
12
+ | **text** | **String** | | [optional] |
13
+ | **html** | **String** | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'zyphr'
19
+
20
+ instance = Zyphr::DraftRequest.new(
21
+ thread_id: null,
22
+ from: null,
23
+ to: null,
24
+ reply_to: null,
25
+ subject: null,
26
+ text: null,
27
+ html: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::DraftResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Draft**](Draft.md) | | [optional] |
8
+ | **meta** | [**RequestMeta**](RequestMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::DraftResponse.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # Zyphr::ForwardEmailRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **from** | [**EmailAddress**](EmailAddress.md) | Sender, on one of your verified sending domains. The API also accepts a plain email string for convenience. | |
8
+ | **to** | [**EmailAddress**](EmailAddress.md) | Who to forward to: one recipient. A plain email string is also accepted. | |
9
+ | **text** | **String** | Your note, above the forwarded email | [optional] |
10
+ | **html** | **String** | Your note as HTML | [optional] |
11
+ | **include_attachments** | **Boolean** | Send the original attachments on (copied inside Zyphr). The whole email must fit the 10 MB email limit, so about 7 MB of attachments. | [optional][default to true] |
12
+ | **reply_to** | **String** | Defaults to the inbox address the email arrived at, so an answer comes back to Zyphr. | [optional] |
13
+ | **tags** | **Array<String>** | | [optional] |
14
+ | **metadata** | **Hash<String, Object>** | | [optional] |
15
+ | **classification** | **String** | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'zyphr'
21
+
22
+ instance = Zyphr::ForwardEmailRequest.new(
23
+ from: null,
24
+ to: null,
25
+ text: null,
26
+ html: null,
27
+ include_attachments: null,
28
+ reply_to: null,
29
+ tags: null,
30
+ metadata: null,
31
+ classification: null
32
+ )
33
+ ```
34
+