-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move changes in email.proto to v2alpha
- Loading branch information
1 parent
d724c11
commit 6c4b86c
Showing
2 changed files
with
48 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
syntax = "proto3"; | ||
|
||
package cmp.types.v2alpha; | ||
|
||
// Email type for general use. | ||
// | ||
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/email.proto.dot.xs.svg) | ||
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1/email.proto.dot.svg) | ||
message Email { | ||
string address = 1; | ||
|
||
EmailType type = 2; | ||
|
||
string description = 3; | ||
} | ||
|
||
// Email Types | ||
enum EmailType { | ||
EMAIL_TYPE_UNSPECIFIED = 0; | ||
EMAIL_TYPE_OTHER = 1; // For emails that don't fit into other categories. | ||
EMAIL_TYPE_RECEPTION = 2; // For services that require a reception like hotels, hostels, car rental. | ||
EMAIL_TYPE_BOOKING = 3; // For booking confirmations. | ||
EMAIL_TYPE_SUPPORT = 4; // General customer support. | ||
EMAIL_TYPE_INQUIRY_RESPONSE = 5; // Responses to customer inquiries. | ||
EMAIL_TYPE_TRANSPORT_INFO = 6; // Information regarding transport services. | ||
EMAIL_TYPE_CONFIRMATION = 7; // Confirmation email for on-request bookings. | ||
EMAIL_TYPE_FEEDBACK_REQUEST = 8; // Requests for customer feedback. | ||
EMAIL_TYPE_BILLING = 9; // Billing and payment related emails. | ||
EMAIL_TYPE_CANCELLATION = 10; // Cancellation notices. | ||
EMAIL_TYPE_REMINDER = 11; // Reminders for reservations or activities. | ||
EMAIL_TYPE_PROMOTIONAL = 12; // Promotional emails, offers, discounts. | ||
EMAIL_TYPE_UPDATES = 13; // Updates about services or policy changes. | ||
EMAIL_TYPE_ALERTS = 14; // Alerts or important notices. | ||
EMAIL_TYPE_NEWSLETTER = 15; // Regular newsletters. | ||
} |