@remit/data-ports 0.0.4 → 0.0.6
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.
package/package.json
CHANGED
|
@@ -63,7 +63,14 @@ export interface IAddressRepository {
|
|
|
63
63
|
}): Promise<AddressItem[]>;
|
|
64
64
|
listByAccountConfig(input: {
|
|
65
65
|
accountConfigId: string;
|
|
66
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Prefix term matched against both the display-name compound
|
|
68
|
+
* (`"<display name> <email>"`) and the normalized email. Matching the
|
|
69
|
+
* email separately is what makes an exact-address lookup resolve: the
|
|
70
|
+
* compound leads with the display name, so an email prefix never
|
|
71
|
+
* matches it.
|
|
72
|
+
*/
|
|
73
|
+
search?: string;
|
|
67
74
|
cursor?: string;
|
|
68
75
|
limit?: number;
|
|
69
76
|
}): Promise<ResultList<AddressItem>>;
|
|
@@ -73,6 +73,11 @@ export interface IThreadMessageRepository {
|
|
|
73
73
|
excludeDeleted?: boolean;
|
|
74
74
|
},
|
|
75
75
|
): Promise<ResultList<ThreadMessageItem>>;
|
|
76
|
+
/**
|
|
77
|
+
* Every message of a thread, across all mailboxes of the account. A
|
|
78
|
+
* conversation spans INBOX, Sent and any folder its messages were filed
|
|
79
|
+
* in, so this listing is deliberately not scoped to a mailbox (#46).
|
|
80
|
+
*/
|
|
76
81
|
listByThread(
|
|
77
82
|
threadId: string,
|
|
78
83
|
accountConfigId: string,
|
|
@@ -80,7 +85,6 @@ export interface IThreadMessageRepository {
|
|
|
80
85
|
order?: "asc" | "desc";
|
|
81
86
|
limit?: number;
|
|
82
87
|
continuationToken?: string;
|
|
83
|
-
mailboxId?: string;
|
|
84
88
|
excludeDeleted?: boolean;
|
|
85
89
|
},
|
|
86
90
|
): Promise<ResultList<ThreadMessageItem>>;
|