zyphr 0.1.75 → 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.
- checksums.yaml +4 -4
- data/README.md +48 -1
- data/docs/CreateInboxLabelRequest.md +20 -0
- data/docs/Draft.md +36 -0
- data/docs/DraftAddress.md +20 -0
- data/docs/DraftListResponse.md +20 -0
- data/docs/DraftRequest.md +30 -0
- data/docs/DraftResponse.md +20 -0
- data/docs/ForwardEmailRequest.md +34 -0
- data/docs/InboundEmailApi.md +1853 -157
- data/docs/InboxLabel.md +26 -0
- data/docs/InboxLabelListResponse.md +20 -0
- data/docs/InboxLabelResponse.md +20 -0
- data/docs/{ReplyToInboundEmailRequest.md → ReplyEmailRequest.md} +3 -3
- data/docs/Thread.md +40 -0
- data/docs/ThreadEmail.md +38 -0
- data/docs/ThreadEmailAttachmentsInner.md +24 -0
- data/docs/ThreadEmailFrom.md +20 -0
- data/docs/ThreadEmailListResponse.md +20 -0
- data/docs/ThreadEmailResponse.md +20 -0
- data/docs/ThreadFolder.md +15 -0
- data/docs/ThreadLabelsInner.md +22 -0
- data/docs/ThreadLabelsRequest.md +18 -0
- data/docs/ThreadListResponse.md +20 -0
- data/docs/ThreadListResponseMeta.md +20 -0
- data/docs/ThreadResponse.md +20 -0
- data/docs/UpdateInboxLabelRequest.md +20 -0
- data/docs/UpdateThreadRequest.md +22 -0
- data/lib/zyphr/api/inbound_email_api.rb +1768 -168
- data/lib/zyphr/models/create_inbox_label_request.rb +272 -0
- data/lib/zyphr/models/draft.rb +375 -0
- data/lib/zyphr/models/draft_address.rb +249 -0
- data/lib/zyphr/models/draft_list_response.rb +231 -0
- data/lib/zyphr/models/draft_request.rb +299 -0
- data/lib/zyphr/models/draft_response.rb +229 -0
- data/lib/zyphr/models/forward_email_request.rb +393 -0
- data/lib/zyphr/models/inbox_label.rb +258 -0
- data/lib/zyphr/models/inbox_label_list_response.rb +231 -0
- data/lib/zyphr/models/inbox_label_response.rb +229 -0
- data/lib/zyphr/models/{reply_to_inbound_email_request.rb → reply_email_request.rb} +4 -3
- data/lib/zyphr/models/thread.rb +352 -0
- data/lib/zyphr/models/thread_email.rb +353 -0
- data/lib/zyphr/models/thread_email_attachments_inner.rb +248 -0
- data/lib/zyphr/models/thread_email_from.rb +230 -0
- data/lib/zyphr/models/thread_email_list_response.rb +231 -0
- data/lib/zyphr/models/thread_email_response.rb +229 -0
- data/lib/zyphr/models/thread_folder.rb +43 -0
- data/lib/zyphr/models/thread_labels_inner.rb +239 -0
- data/lib/zyphr/models/thread_labels_request.rb +248 -0
- data/lib/zyphr/models/thread_list_response.rb +231 -0
- data/lib/zyphr/models/thread_list_response_meta.rb +237 -0
- data/lib/zyphr/models/thread_response.rb +229 -0
- data/lib/zyphr/models/update_inbox_label_request.rb +264 -0
- data/lib/zyphr/models/update_thread_request.rb +262 -0
- data/lib/zyphr.rb +25 -1
- data/spec/api/inbound_email_api_spec.rb +292 -1
- data/spec/models/create_inbox_label_request_spec.rb +42 -0
- data/spec/models/draft_address_spec.rb +42 -0
- data/spec/models/draft_list_response_spec.rb +42 -0
- data/spec/models/draft_request_spec.rb +72 -0
- data/spec/models/draft_response_spec.rb +42 -0
- data/spec/models/draft_spec.rb +90 -0
- data/spec/models/forward_email_request_spec.rb +88 -0
- data/spec/models/inbox_label_list_response_spec.rb +42 -0
- data/spec/models/inbox_label_response_spec.rb +42 -0
- data/spec/models/inbox_label_spec.rb +60 -0
- data/spec/models/{reply_to_inbound_email_request_spec.rb → reply_email_request_spec.rb} +6 -6
- data/spec/models/thread_email_attachments_inner_spec.rb +54 -0
- data/spec/models/thread_email_from_spec.rb +42 -0
- data/spec/models/thread_email_list_response_spec.rb +42 -0
- data/spec/models/thread_email_response_spec.rb +42 -0
- data/spec/models/thread_email_spec.rb +100 -0
- data/spec/models/thread_folder_spec.rb +30 -0
- data/spec/models/thread_labels_inner_spec.rb +48 -0
- data/spec/models/thread_labels_request_spec.rb +36 -0
- data/spec/models/thread_list_response_meta_spec.rb +42 -0
- data/spec/models/thread_list_response_spec.rb +42 -0
- data/spec/models/thread_response_spec.rb +42 -0
- data/spec/models/thread_spec.rb +102 -0
- data/spec/models/update_inbox_label_request_spec.rb +42 -0
- data/spec/models/update_thread_request_spec.rb +48 -0
- data/zyphr.gemspec +1 -1
- metadata +102 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: caf7d87f480a2623a20be4076fcee772666ac87ebcb9f9387cbc283abf07462f
|
|
4
|
+
data.tar.gz: a8ece9cd5d268bfa1624b2b34f6fd6347bccaef98450f8d40a34ed6503021471
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,6 +581,9 @@ 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)
|
|
556
589
|
- [Zyphr::InboxListResponseMeta](docs/InboxListResponseMeta.md)
|
|
@@ -674,7 +707,7 @@ Class | Method | HTTP request | Description
|
|
|
674
707
|
- [Zyphr::RenderTemplateRequest](docs/RenderTemplateRequest.md)
|
|
675
708
|
- [Zyphr::ReorderWorkflowStepsRequest](docs/ReorderWorkflowStepsRequest.md)
|
|
676
709
|
- [Zyphr::ReplayWebhookEventsRequest](docs/ReplayWebhookEventsRequest.md)
|
|
677
|
-
- [Zyphr::
|
|
710
|
+
- [Zyphr::ReplyEmailRequest](docs/ReplyEmailRequest.md)
|
|
678
711
|
- [Zyphr::RequestMeta](docs/RequestMeta.md)
|
|
679
712
|
- [Zyphr::ResendEmailVerificationRequest](docs/ResendEmailVerificationRequest.md)
|
|
680
713
|
- [Zyphr::ResetPasswordRequest](docs/ResetPasswordRequest.md)
|
|
@@ -773,6 +806,18 @@ Class | Method | HTTP request | Description
|
|
|
773
806
|
- [Zyphr::TemplateRenderedContent](docs/TemplateRenderedContent.md)
|
|
774
807
|
- [Zyphr::TemplateResponse](docs/TemplateResponse.md)
|
|
775
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)
|
|
776
821
|
- [Zyphr::Topic](docs/Topic.md)
|
|
777
822
|
- [Zyphr::TopicDeleteResponse](docs/TopicDeleteResponse.md)
|
|
778
823
|
- [Zyphr::TopicListResponse](docs/TopicListResponse.md)
|
|
@@ -798,6 +843,7 @@ Class | Method | HTTP request | Description
|
|
|
798
843
|
- [Zyphr::UpdateCategoryRequest](docs/UpdateCategoryRequest.md)
|
|
799
844
|
- [Zyphr::UpdateEndUserByApplicationRequest](docs/UpdateEndUserByApplicationRequest.md)
|
|
800
845
|
- [Zyphr::UpdateEndUserRequest](docs/UpdateEndUserRequest.md)
|
|
846
|
+
- [Zyphr::UpdateInboxLabelRequest](docs/UpdateInboxLabelRequest.md)
|
|
801
847
|
- [Zyphr::UpdateInboxRequest](docs/UpdateInboxRequest.md)
|
|
802
848
|
- [Zyphr::UpdateOrganizationMemberRoleRequest](docs/UpdateOrganizationMemberRoleRequest.md)
|
|
803
849
|
- [Zyphr::UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
|
|
@@ -808,6 +854,7 @@ Class | Method | HTTP request | Description
|
|
|
808
854
|
- [Zyphr::UpdateSubscriberPreferencesRequestPreferencesInner](docs/UpdateSubscriberPreferencesRequestPreferencesInner.md)
|
|
809
855
|
- [Zyphr::UpdateSubscriberRequest](docs/UpdateSubscriberRequest.md)
|
|
810
856
|
- [Zyphr::UpdateTemplateRequest](docs/UpdateTemplateRequest.md)
|
|
857
|
+
- [Zyphr::UpdateThreadRequest](docs/UpdateThreadRequest.md)
|
|
811
858
|
- [Zyphr::UpdateTopicRequest](docs/UpdateTopicRequest.md)
|
|
812
859
|
- [Zyphr::UpdateWaaSApplicationRequest](docs/UpdateWaaSApplicationRequest.md)
|
|
813
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
|
+
|