This commit is contained in:
@@ -1344,23 +1344,24 @@
|
||||
|
||||
<div class="doc doc-contents first">
|
||||
|
||||
<p>Domain models for Mail Intake.</p>
|
||||
<hr />
|
||||
<h4 id="mail_intake.models--summary">Summary</h4>
|
||||
<h3 id="mail_intake.models--summary">Summary</h3>
|
||||
<p>Domain models for Mail Intake.</p>
|
||||
<p>This package defines the <strong>canonical, provider-agnostic data models</strong>
|
||||
used throughout the Mail Intake ingestion pipeline.</p>
|
||||
<p>Models in this package:
|
||||
- Represent fully parsed and normalized mail data
|
||||
- Are safe to persist, serialize, and index
|
||||
- Contain no provider-specific payloads or API semantics
|
||||
- Serve as stable inputs for downstream processing and analysis</p>
|
||||
<p>Models in this package:</p>
|
||||
<ul>
|
||||
<li>Represent fully parsed and normalized mail data.</li>
|
||||
<li>Are safe to persist, serialize, and index.</li>
|
||||
<li>Contain no provider-specific payloads or API semantics.</li>
|
||||
<li>Serve as stable inputs for downstream processing and analysis.</li>
|
||||
</ul>
|
||||
<p>These models form the core internal data contract of the library.</p>
|
||||
<hr />
|
||||
<h4 id="mail_intake.models--public-api">Public API</h4>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>MailIntakeMessage
|
||||
MailIntakeThread
|
||||
</code></pre></div></td></tr></table></div>
|
||||
<h3 id="mail_intake.models--public-api">Public API</h3>
|
||||
<ul>
|
||||
<li><code>MailIntakeMessage</code></li>
|
||||
<li><code>MailIntakeThread</code></li>
|
||||
</ul>
|
||||
<hr />
|
||||
|
||||
|
||||
@@ -1400,11 +1401,15 @@ MailIntakeThread
|
||||
<summary>Notes</summary>
|
||||
<p><strong>Guarantees:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model represents a fully parsed and normalized email message
|
||||
- It is intentionally provider-agnostic and suitable for persistence, indexing, and downstream processing
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model represents a fully parsed and normalized email message.
|
||||
- It is intentionally provider-agnostic and suitable for
|
||||
persistence, indexing, and downstream processing.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
<p><strong>Constraints:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><code>- No provider-specific identifiers, payloads, or API semantics should appear in this model
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>- No provider-specific identifiers, payloads, or API semantics
|
||||
should appear in this model.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
|
||||
@@ -1662,9 +1667,13 @@ MailIntakeThread
|
||||
<p><strong>Guarantees:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- A thread groups multiple related messages under a single subject and participant set
|
||||
- It is designed to support reasoning over conversational context such as job applications, interviews, follow-ups, and ongoing discussions
|
||||
- This model is provider-agnostic and safe to persist
|
||||
<span class="normal">3</span>
|
||||
<span class="normal">4</span>
|
||||
<span class="normal">5</span></pre></div></td><td class="code"><div><pre><span></span><code>- A thread groups multiple related messages under a single subject
|
||||
and participant set.
|
||||
- It is designed to support reasoning over conversational context
|
||||
such as job applications, interviews, follow-ups, and ongoing discussions.
|
||||
- This model is provider-agnostic and safe to persist.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
|
||||
@@ -1848,9 +1857,9 @@ MailIntakeThread
|
||||
<p><strong>Responsibilities:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- Appends the message to the thread
|
||||
- Tracks unique participants
|
||||
- Updates the last activity timestamp
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- Appends the message to the thread.
|
||||
- Tracks unique participants.
|
||||
- Updates the last activity timestamp.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
@@ -1428,9 +1428,8 @@
|
||||
|
||||
<div class="doc doc-contents first">
|
||||
|
||||
<p>Message domain models for Mail Intake.</p>
|
||||
<hr />
|
||||
<h4 id="mail_intake.models.message--summary">Summary</h4>
|
||||
<h3 id="mail_intake.models.message--summary">Summary</h3>
|
||||
<p>Message domain models for Mail Intake.</p>
|
||||
<p>This module defines the <strong>canonical, provider-agnostic representation</strong>
|
||||
of an individual email message as used internally by the Mail Intake
|
||||
ingestion pipeline.</p>
|
||||
@@ -1474,11 +1473,15 @@ provider-specific fields or semantics.</p>
|
||||
<summary>Notes</summary>
|
||||
<p><strong>Guarantees:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model represents a fully parsed and normalized email message
|
||||
- It is intentionally provider-agnostic and suitable for persistence, indexing, and downstream processing
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model represents a fully parsed and normalized email message.
|
||||
- It is intentionally provider-agnostic and suitable for
|
||||
persistence, indexing, and downstream processing.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
<p><strong>Constraints:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><code>- No provider-specific identifiers, payloads, or API semantics should appear in this model
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span></pre></div></td><td class="code"><div><pre><span></span><code>- No provider-specific identifiers, payloads, or API semantics
|
||||
should appear in this model.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
|
||||
|
||||
@@ -1404,9 +1404,8 @@
|
||||
|
||||
<div class="doc doc-contents first">
|
||||
|
||||
<p>Thread domain models for Mail Intake.</p>
|
||||
<hr />
|
||||
<h4 id="mail_intake.models.thread--summary">Summary</h4>
|
||||
<h3 id="mail_intake.models.thread--summary">Summary</h3>
|
||||
<p>Thread domain models for Mail Intake.</p>
|
||||
<p>This module defines the <strong>canonical, provider-agnostic representation</strong>
|
||||
of an email thread as used internally by the Mail Intake ingestion pipeline.</p>
|
||||
<p>Threads group related messages and serve as the primary unit of reasoning
|
||||
@@ -1450,9 +1449,13 @@ for higher-level correspondence workflows.</p>
|
||||
<p><strong>Guarantees:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- A thread groups multiple related messages under a single subject and participant set
|
||||
- It is designed to support reasoning over conversational context such as job applications, interviews, follow-ups, and ongoing discussions
|
||||
- This model is provider-agnostic and safe to persist
|
||||
<span class="normal">3</span>
|
||||
<span class="normal">4</span>
|
||||
<span class="normal">5</span></pre></div></td><td class="code"><div><pre><span></span><code>- A thread groups multiple related messages under a single subject
|
||||
and participant set.
|
||||
- It is designed to support reasoning over conversational context
|
||||
such as job applications, interviews, follow-ups, and ongoing discussions.
|
||||
- This model is provider-agnostic and safe to persist.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
|
||||
@@ -1636,9 +1639,9 @@ for higher-level correspondence workflows.</p>
|
||||
<p><strong>Responsibilities:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- Appends the message to the thread
|
||||
- Tracks unique participants
|
||||
- Updates the last activity timestamp
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- Appends the message to the thread.
|
||||
- Tracks unique participants.
|
||||
- Updates the last activity timestamp.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user