@superdurable/connector-front 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +16 -2
- package/dex-connector.json +388 -0
- package/dist/chunk-V55LK3PU.js +413 -0
- package/dist/connection-Cn_WglIz.d.ts +629 -0
- package/dist/index.d.ts +370 -0
- package/dist/index.js +1026 -0
- package/dist/mock.d.ts +163 -0
- package/dist/mock.js +391 -0
- package/package.json +61 -4
|
@@ -0,0 +1,629 @@
|
|
|
1
|
+
import { CredentialProvider, SecretString, Query, Mutation, ConnectionRef } from '@superdurable/connectors-sdk';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
/** Connector configuration; omitted fields use manifest defaults. */
|
|
5
|
+
interface Config {
|
|
6
|
+
/** Largest complete Front API response, in bytes, that one request reads; a larger response selects invalidResponse for a Query and is retried by updateConversation. getConversation reads a conversation's newest messages as HTML and every comment, so raise it only when conversations with very long emails select invalidResponse; enter a positive integer. Blank keeps the displayed safety limit. */
|
|
7
|
+
maxResponseBytes?: number;
|
|
8
|
+
}
|
|
9
|
+
/** Runtime schema for manifest configuration. */
|
|
10
|
+
declare const ConfigSchema: z.ZodObject<{
|
|
11
|
+
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
/** Private connector credentials resolved by the host. */
|
|
14
|
+
interface Credentials {
|
|
15
|
+
/** Secret Front API token. Sign in at https://app.frontapp.com/ as a company admin, open Settings > Developers > API Tokens, choose Create API token, and after it is created open the token and choose Copy; it is a long JSON Web Token of three dot-separated segments that begins with eyJ. It is sent only as an Authorization bearer token to https://api2.frontapp.com and stored only in this credential field. Required. Front tokens do not expire; after deleting a token in Front, create a new one and paste it here, which takes effect without a restart. */
|
|
16
|
+
apiToken: SecretString;
|
|
17
|
+
}
|
|
18
|
+
/** Stored credential material that fails the connector credential checks, so no retry can succeed. */
|
|
19
|
+
declare class CredentialMaterialError extends TypeError {
|
|
20
|
+
constructor(message: string);
|
|
21
|
+
}
|
|
22
|
+
/** Report malformed stored credential material, also behind the SDK provider's decoding TypeError. */
|
|
23
|
+
declare function isCredentialMaterialError(error: unknown): boolean;
|
|
24
|
+
/** Decode private credential fields for the connector. */
|
|
25
|
+
declare function decodeCredentials(value: unknown): Credentials;
|
|
26
|
+
/** Host-owned source of private connector credentials. */
|
|
27
|
+
type CredentialSource = CredentialProvider<Credentials>;
|
|
28
|
+
/** SearchConversationsInput selects one page of Front's conversation search. Every set field is one
|
|
29
|
+
* filter, and Front combines them with AND. At least one field other than the page fields is required. */
|
|
30
|
+
interface SearchConversationsInput {
|
|
31
|
+
/** Text is Front search text matched in subjects and bodies: words, which all must match, and quoted
|
|
32
|
+
* phrases. It is sent unchanged, so Front also applies any filter it contains; quote user-supplied text. */
|
|
33
|
+
"text"?: string | undefined;
|
|
34
|
+
/** InboxID keeps conversations in one inbox, such as inb_41w25. */
|
|
35
|
+
"inboxId"?: string | undefined;
|
|
36
|
+
/** TagID keeps conversations with one tag, such as tag_13o8r1. */
|
|
37
|
+
"tagId"?: string | undefined;
|
|
38
|
+
/** Statuses are is: filters such as open and unassigned. Blank omits trashed conversations, Front's default. */
|
|
39
|
+
"statuses"?: Array<"archived" | "assigned" | "open" | "resolved" | "snoozed" | "trashed" | "unassigned" | "unreplied" | "waiting" | (string & {})> | undefined;
|
|
40
|
+
/** RecipientEmail keeps conversations where the address is a from, to, cc, or bcc handle of any message. */
|
|
41
|
+
"recipientEmail"?: string | undefined;
|
|
42
|
+
/** AssigneeID keeps conversations assigned to one teammate, such as tea_2thf. */
|
|
43
|
+
"assigneeId"?: string | undefined;
|
|
44
|
+
/** ActivityAfter keeps conversations with a message or comment created after this time, in whole seconds. */
|
|
45
|
+
"activityAfter"?: string | null | undefined;
|
|
46
|
+
/** PageSize is 1 to MaxSearchPageSize; zero requests DefaultSearchPageSize. */
|
|
47
|
+
"pageSize"?: number | undefined;
|
|
48
|
+
/** PageToken is a previous Result's NextPageToken; send it with the same filters. */
|
|
49
|
+
"pageToken"?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
/** Teammate is a Front user, bot, or visitor that is assigned, authored a message, or wrote a comment. */
|
|
52
|
+
interface Teammate {
|
|
53
|
+
/** ID is the teammate ID, such as tea_2thf. */
|
|
54
|
+
"id": string;
|
|
55
|
+
/** Email is the teammate's email address, or empty for a bot. */
|
|
56
|
+
"email"?: string | undefined;
|
|
57
|
+
/** FirstName is the teammate's first name, or empty. */
|
|
58
|
+
"firstName"?: string | undefined;
|
|
59
|
+
/** LastName is the teammate's last name, or empty. */
|
|
60
|
+
"lastName"?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
/** Recipient is one handle on a conversation or message, such as the customer's email address. */
|
|
63
|
+
interface Recipient {
|
|
64
|
+
/** Handle identifies the recipient on its channel, such as jane@acme.example.com or +12345678900. */
|
|
65
|
+
"handle": string;
|
|
66
|
+
/** Role is Front's role: from, to, cc, bcc, or reply-to. */
|
|
67
|
+
"role"?: string | undefined;
|
|
68
|
+
/** Name is the recipient's display name, or empty. */
|
|
69
|
+
"name"?: string | undefined;
|
|
70
|
+
/** ContactID is the Front contact with this handle, such as crd_1y8sp71, or empty when none exists. */
|
|
71
|
+
"contactId"?: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
/** Tag is a tag applied to a conversation. */
|
|
74
|
+
interface Tag {
|
|
75
|
+
/** ID is the tag ID, such as tag_13o8r1; Front adds, removes, and searches tags by ID. */
|
|
76
|
+
"id": string;
|
|
77
|
+
/** Name is the tag name. */
|
|
78
|
+
"name"?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
/** Conversation is the connector's view of one Front conversation. Custom fields, links, and metadata are
|
|
81
|
+
* omitted. Times are UTC. */
|
|
82
|
+
interface Conversation {
|
|
83
|
+
/** ID is the Front conversation ID, such as cnv_55c8c149. */
|
|
84
|
+
"id": string;
|
|
85
|
+
/** Type is Front's conversation type: conversation, discussion, or task. */
|
|
86
|
+
"type"?: string | undefined;
|
|
87
|
+
/** Subject is the conversation subject, or empty. */
|
|
88
|
+
"subject"?: string | undefined;
|
|
89
|
+
/** Status is Front's status: unassigned, assigned, archived, or deleted. */
|
|
90
|
+
"status": "archived" | "assigned" | "deleted" | "unassigned" | (string & {});
|
|
91
|
+
/** StatusID is the ticket status ID, such as sts_5x, set only when the company uses ticketing. */
|
|
92
|
+
"statusId"?: string | undefined;
|
|
93
|
+
/** StatusCategory is the ticket status category: open, waiting, or resolved; empty without ticketing. */
|
|
94
|
+
"statusCategory"?: "open" | "resolved" | "waiting" | (string & {}) | undefined;
|
|
95
|
+
/** TicketIDs lists the conversation's ticket numbers, such as TICKET-1. */
|
|
96
|
+
"ticketIds"?: Array<string> | undefined;
|
|
97
|
+
/** Assignee is the assigned teammate, or nil when the conversation is unassigned. */
|
|
98
|
+
"assignee"?: Teammate | undefined;
|
|
99
|
+
/** Recipient is the conversation's main recipient, generally the sender of the last inbound message. */
|
|
100
|
+
"recipient"?: Recipient | undefined;
|
|
101
|
+
/** Tags lists the conversation's tags. */
|
|
102
|
+
"tags"?: Array<Tag> | undefined;
|
|
103
|
+
/** IsPrivate reports a conversation in a teammate's personal inbox. */
|
|
104
|
+
"isPrivate"?: boolean | undefined;
|
|
105
|
+
/** IsSnoozed reports an archived conversation with a scheduled reminder, which Front reopens later. */
|
|
106
|
+
"isSnoozed"?: boolean | undefined;
|
|
107
|
+
/** CreatedAt is when the conversation was created. */
|
|
108
|
+
"createdAt": string;
|
|
109
|
+
/** UpdatedAt is when the conversation last changed, or nil when Front omits it. */
|
|
110
|
+
"updatedAt"?: string | null | undefined;
|
|
111
|
+
/** WaitingSince is when the oldest unreplied message arrived, or nil when nothing waits for a reply. */
|
|
112
|
+
"waitingSince"?: string | null | undefined;
|
|
113
|
+
/** DueAt is a task conversation's due time, or nil. */
|
|
114
|
+
"dueAt"?: string | null | undefined;
|
|
115
|
+
}
|
|
116
|
+
/** SearchConversationsOutput is one page of conversations, ordered by last activity, newest first. */
|
|
117
|
+
interface SearchConversationsOutput {
|
|
118
|
+
/** Conversations is the page; it may hold fewer than PageSize while more remain. */
|
|
119
|
+
"conversations": Array<Conversation> | null;
|
|
120
|
+
/** TotalCount is Front's count of every matching conversation. */
|
|
121
|
+
"totalCount": number;
|
|
122
|
+
/** NextPageToken requests the next page, or is empty on the last page. */
|
|
123
|
+
"nextPageToken"?: string | undefined;
|
|
124
|
+
/** Query is the Front search query the connector sent, for review. */
|
|
125
|
+
"query": string;
|
|
126
|
+
}
|
|
127
|
+
/** GetConversationInput identifies one conversation and how much of its history to return. */
|
|
128
|
+
interface GetConversationInput {
|
|
129
|
+
/** ConversationID is the Front conversation ID, such as cnv_55c8c149. */
|
|
130
|
+
"conversationId": string;
|
|
131
|
+
/** MessageLimit is 1 to MaxMessageLimit newest messages; zero reads DefaultMessageLimit. */
|
|
132
|
+
"messageLimit"?: number | undefined;
|
|
133
|
+
/** CommentLimit is 1 to MaxCommentLimit newest internal comments; zero returns DefaultCommentLimit. */
|
|
134
|
+
"commentLimit"?: number | undefined;
|
|
135
|
+
}
|
|
136
|
+
/** Message is one message in a conversation: an inbound customer message or a reply the team sent. */
|
|
137
|
+
interface Message {
|
|
138
|
+
/** ID is the message ID, such as msg_1q15qmtq. */
|
|
139
|
+
"id": string;
|
|
140
|
+
/** Type is Front's channel type, such as email, sms, front_chat, or custom. */
|
|
141
|
+
"type"?: string | undefined;
|
|
142
|
+
/** IsInbound reports a message received from outside the company. */
|
|
143
|
+
"isInbound": boolean;
|
|
144
|
+
/** IsDraft reports an unsent draft. */
|
|
145
|
+
"isDraft"?: boolean | undefined;
|
|
146
|
+
/** Subject is the message subject, or empty. */
|
|
147
|
+
"subject"?: string | undefined;
|
|
148
|
+
/** Blurb is Front's short plain-text preview of the body. */
|
|
149
|
+
"blurb"?: string | undefined;
|
|
150
|
+
/** Body is the message body as Front stores it, HTML for email, cut at MaxBodyBytes. */
|
|
151
|
+
"body"?: string | undefined;
|
|
152
|
+
/** IsBodyTruncated reports that Body was cut at MaxBodyBytes. */
|
|
153
|
+
"isBodyTruncated"?: boolean | undefined;
|
|
154
|
+
/** Author is the teammate who sent an outbound message, or nil for an inbound one. */
|
|
155
|
+
"author"?: Teammate | undefined;
|
|
156
|
+
/** Recipients lists the message's handles with their roles; the from handle of an inbound message is the requester. */
|
|
157
|
+
"recipients"?: Array<Recipient> | undefined;
|
|
158
|
+
/** CreatedAt is when the message was sent or received. */
|
|
159
|
+
"createdAt": string;
|
|
160
|
+
}
|
|
161
|
+
/** Comment is one internal comment that only teammates see. */
|
|
162
|
+
interface Comment {
|
|
163
|
+
/** ID is the comment ID, such as com_1ywg3f2. */
|
|
164
|
+
"id": string;
|
|
165
|
+
/** Body is the comment text, which can hold Markdown, cut at MaxBodyBytes. */
|
|
166
|
+
"body"?: string | undefined;
|
|
167
|
+
/** IsBodyTruncated reports that Body was cut at MaxBodyBytes. */
|
|
168
|
+
"isBodyTruncated"?: boolean | undefined;
|
|
169
|
+
/** Author is the teammate who wrote the comment, or nil when Front omits it. */
|
|
170
|
+
"author"?: Teammate | undefined;
|
|
171
|
+
/** IsPinned reports a comment pinned to the conversation. */
|
|
172
|
+
"isPinned"?: boolean | undefined;
|
|
173
|
+
/** PostedAt is when the comment was posted. */
|
|
174
|
+
"postedAt": string;
|
|
175
|
+
}
|
|
176
|
+
/** ConversationDetails is one conversation with its newest messages and comments, each newest first. */
|
|
177
|
+
interface ConversationDetails {
|
|
178
|
+
/** Conversation is the conversation; it is empty on the merged branch. */
|
|
179
|
+
"conversation": Conversation;
|
|
180
|
+
/** Messages are the newest messages, newest first. */
|
|
181
|
+
"messages": Array<Message> | null;
|
|
182
|
+
/** HasOlderMessages reports that Front holds older messages than Messages. */
|
|
183
|
+
"hasOlderMessages"?: boolean | undefined;
|
|
184
|
+
/** Comments are the newest internal comments, newest first. */
|
|
185
|
+
"comments": Array<Comment> | null;
|
|
186
|
+
/** HasOlderComments reports that the conversation holds older comments than Comments. */
|
|
187
|
+
"hasOlderComments"?: boolean | undefined;
|
|
188
|
+
/** MergedIntoConversationID is the conversation that absorbed the requested one; set only on the merged branch. */
|
|
189
|
+
"mergedIntoConversationId"?: string | undefined;
|
|
190
|
+
}
|
|
191
|
+
/** ReplyToConversationInput is one reply to the customer or one internal comment. */
|
|
192
|
+
interface ReplyToConversationInput {
|
|
193
|
+
/** ConversationID is the Front conversation ID, such as cnv_55c8c149. */
|
|
194
|
+
"conversationId": string;
|
|
195
|
+
/** Text is the plain text to send, required and at most MaxReplyTextBytes. A reply sends it as text and
|
|
196
|
+
* as an HTML body with one paragraph per blank-line-separated block; a comment sends it unchanged, and
|
|
197
|
+
* Front renders Markdown in comments. */
|
|
198
|
+
"text": string;
|
|
199
|
+
/** IsInternalNote adds a comment that only teammates see, through POST /conversations/{id}/comments.
|
|
200
|
+
* False sends a reply that Front delivers to the conversation's recipients, through
|
|
201
|
+
* POST /conversations/{id}/messages. */
|
|
202
|
+
"isInternalNote"?: boolean | undefined;
|
|
203
|
+
/** AuthorID is the teammate the reply is sent on behalf of, or who writes the comment, such as tea_2thf.
|
|
204
|
+
* Blank lets Front choose: a comment is then written as the API token. */
|
|
205
|
+
"authorId"?: string | undefined;
|
|
206
|
+
/** ShouldArchive archives the conversation when the reply is sent. False keeps it open, unlike Front's
|
|
207
|
+
* own default; a comment must leave it false. */
|
|
208
|
+
"shouldArchive"?: boolean | undefined;
|
|
209
|
+
}
|
|
210
|
+
/** ConversationReply is the reply or comment replyToConversation added. */
|
|
211
|
+
interface ConversationReply {
|
|
212
|
+
/** ConversationID is the conversation the reply or comment belongs to. */
|
|
213
|
+
"conversationId": string;
|
|
214
|
+
/** IsInternalNote reports that a comment was added rather than a reply sent. */
|
|
215
|
+
"isInternalNote"?: boolean | undefined;
|
|
216
|
+
/** MessageUID is Front's message_uid for an accepted reply; GET /messages/alt:uid:{uid} reads the message
|
|
217
|
+
* once Front has created it. Empty for a comment. */
|
|
218
|
+
"messageUid"?: string | undefined;
|
|
219
|
+
/** CommentID is the new comment's ID, such as com_1ywg3f2; empty for a reply. */
|
|
220
|
+
"commentId"?: string | undefined;
|
|
221
|
+
/** AuthorID is the requested author, or empty. */
|
|
222
|
+
"authorId"?: string | undefined;
|
|
223
|
+
}
|
|
224
|
+
/** UpdateConversationInput sets a conversation's status, assignee, and tags. Every field is optional, but at
|
|
225
|
+
* least one change is required. Unset fields are left as they are. */
|
|
226
|
+
interface UpdateConversationInput {
|
|
227
|
+
/** ConversationID is the Front conversation ID, such as cnv_55c8c149. */
|
|
228
|
+
"conversationId": string;
|
|
229
|
+
/** Status is open, archived, or deleted, in Front's write vocabulary. It cannot be combined with StatusID. */
|
|
230
|
+
"status"?: "archived" | "deleted" | "open" | (string & {}) | undefined;
|
|
231
|
+
/** StatusID is a ticket status ID, such as sts_5x, for a company that uses ticketing. */
|
|
232
|
+
"statusId"?: string | undefined;
|
|
233
|
+
/** AssigneeID assigns the conversation to one teammate, such as tea_2thf. */
|
|
234
|
+
"assigneeId"?: string | undefined;
|
|
235
|
+
/** IsUnassigned removes the assignee; it cannot be combined with AssigneeID. */
|
|
236
|
+
"isUnassigned"?: boolean | undefined;
|
|
237
|
+
/** AddTagIDs are tag IDs to add, such as tag_13o8r1; a tag already on the conversation is kept once. */
|
|
238
|
+
"addTagIds"?: Array<string> | undefined;
|
|
239
|
+
/** RemoveTagIDs are tag IDs to remove; a tag not on the conversation is ignored. */
|
|
240
|
+
"removeTagIds"?: Array<string> | undefined;
|
|
241
|
+
}
|
|
242
|
+
/** UpdateConversationOutput is the conversation read back after the change. */
|
|
243
|
+
interface UpdateConversationOutput {
|
|
244
|
+
/** Conversation is the conversation as Front returned it after every write. */
|
|
245
|
+
"conversation": Conversation;
|
|
246
|
+
/** WasAlreadyApplied reports that the conversation already held every requested value, so this attempt
|
|
247
|
+
* wrote nothing; an earlier attempt of the same Step may have written them. */
|
|
248
|
+
"wasAlreadyApplied"?: boolean | undefined;
|
|
249
|
+
}
|
|
250
|
+
/** FindContactByEmailInput is the email handle to look up. */
|
|
251
|
+
interface FindContactByEmailInput {
|
|
252
|
+
/** Email is one bare address, such as jane@acme.example.com, sent as Front's alt:email: contact alias. */
|
|
253
|
+
"email": string;
|
|
254
|
+
}
|
|
255
|
+
/** ContactHandle is one way to reach a contact. */
|
|
256
|
+
interface ContactHandle {
|
|
257
|
+
/** Handle is the value, such as jane@acme.example.com. */
|
|
258
|
+
"handle": string;
|
|
259
|
+
/** Source is Front's handle source, such as email, phone, twitter, front_chat, or custom. */
|
|
260
|
+
"source": string;
|
|
261
|
+
}
|
|
262
|
+
/** Contact is a person or organization the company has communicated with. */
|
|
263
|
+
interface Contact {
|
|
264
|
+
/** ID is the contact ID, such as crd_1y8sp71. */
|
|
265
|
+
"id": string;
|
|
266
|
+
/** Name is the contact's name, or empty. */
|
|
267
|
+
"name"?: string | undefined;
|
|
268
|
+
/** Description is the contact's description, or empty. */
|
|
269
|
+
"description"?: string | undefined;
|
|
270
|
+
/** Handles lists every handle that reaches the contact, such as its email addresses and phone numbers. */
|
|
271
|
+
"handles"?: Array<ContactHandle> | undefined;
|
|
272
|
+
/** ListNames names the contact lists the contact belongs to. */
|
|
273
|
+
"listNames"?: Array<string> | undefined;
|
|
274
|
+
/** IsPrivate reports a contact that belongs to one teammate rather than to a team. */
|
|
275
|
+
"isPrivate"?: boolean | undefined;
|
|
276
|
+
/** UpdatedAt is when the contact last changed, or nil when Front omits it. */
|
|
277
|
+
"updatedAt"?: string | null | undefined;
|
|
278
|
+
}
|
|
279
|
+
/** FindContactByEmailOutput holds the matching contact. Front keeps each handle on at most one contact,
|
|
280
|
+
* so Contacts holds one contact on the found branch and none on notFound; it is a list so a Flow can
|
|
281
|
+
* treat every desk's lookup alike. */
|
|
282
|
+
interface FindContactByEmailOutput {
|
|
283
|
+
/** Contacts is the matching contact. */
|
|
284
|
+
"contacts": Array<Contact> | null;
|
|
285
|
+
}
|
|
286
|
+
/** Runtime validator for SearchConversationsInput. */
|
|
287
|
+
declare const SearchConversationsInputSchema: z.ZodObject<{
|
|
288
|
+
text: z.ZodOptional<z.ZodString>;
|
|
289
|
+
inboxId: z.ZodOptional<z.ZodString>;
|
|
290
|
+
tagId: z.ZodOptional<z.ZodString>;
|
|
291
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
292
|
+
recipientEmail: z.ZodOptional<z.ZodString>;
|
|
293
|
+
assigneeId: z.ZodOptional<z.ZodString>;
|
|
294
|
+
activityAfter: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
295
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
/** Runtime validator for Teammate. */
|
|
299
|
+
declare const TeammateSchema: z.ZodObject<{
|
|
300
|
+
id: z.ZodString;
|
|
301
|
+
email: z.ZodOptional<z.ZodString>;
|
|
302
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
303
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
304
|
+
}, z.core.$strict>;
|
|
305
|
+
/** Runtime validator for Recipient. */
|
|
306
|
+
declare const RecipientSchema: z.ZodObject<{
|
|
307
|
+
handle: z.ZodString;
|
|
308
|
+
role: z.ZodOptional<z.ZodString>;
|
|
309
|
+
name: z.ZodOptional<z.ZodString>;
|
|
310
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
/** Runtime validator for Tag. */
|
|
313
|
+
declare const TagSchema: z.ZodObject<{
|
|
314
|
+
id: z.ZodString;
|
|
315
|
+
name: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
/** Runtime validator for Conversation. */
|
|
318
|
+
declare const ConversationSchema: z.ZodObject<{
|
|
319
|
+
id: z.ZodString;
|
|
320
|
+
type: z.ZodOptional<z.ZodString>;
|
|
321
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
322
|
+
status: z.ZodString;
|
|
323
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
324
|
+
statusCategory: z.ZodOptional<z.ZodString>;
|
|
325
|
+
ticketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
326
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
email: z.ZodOptional<z.ZodString>;
|
|
329
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
330
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.core.$strict>>;
|
|
332
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
handle: z.ZodString;
|
|
334
|
+
role: z.ZodOptional<z.ZodString>;
|
|
335
|
+
name: z.ZodOptional<z.ZodString>;
|
|
336
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
337
|
+
}, z.core.$strict>>;
|
|
338
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
339
|
+
id: z.ZodString;
|
|
340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, z.core.$strict>>>;
|
|
342
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
isSnoozed: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
345
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
346
|
+
waitingSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
347
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
348
|
+
}, z.core.$strict>;
|
|
349
|
+
/** Runtime validator for SearchConversationsOutput. */
|
|
350
|
+
declare const SearchConversationsOutputSchema: z.ZodObject<{
|
|
351
|
+
conversations: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
type: z.ZodOptional<z.ZodString>;
|
|
354
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
355
|
+
status: z.ZodString;
|
|
356
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
357
|
+
statusCategory: z.ZodOptional<z.ZodString>;
|
|
358
|
+
ticketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
email: z.ZodOptional<z.ZodString>;
|
|
362
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
363
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, z.core.$strict>>;
|
|
365
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
handle: z.ZodString;
|
|
367
|
+
role: z.ZodOptional<z.ZodString>;
|
|
368
|
+
name: z.ZodOptional<z.ZodString>;
|
|
369
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strict>>;
|
|
371
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
|
+
id: z.ZodString;
|
|
373
|
+
name: z.ZodOptional<z.ZodString>;
|
|
374
|
+
}, z.core.$strict>>>;
|
|
375
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
376
|
+
isSnoozed: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
378
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
379
|
+
waitingSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
380
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
381
|
+
}, z.core.$strict>>>;
|
|
382
|
+
totalCount: z.ZodNumber;
|
|
383
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
384
|
+
query: z.ZodString;
|
|
385
|
+
}, z.core.$strict>;
|
|
386
|
+
/** Runtime validator for GetConversationInput. */
|
|
387
|
+
declare const GetConversationInputSchema: z.ZodObject<{
|
|
388
|
+
conversationId: z.ZodString;
|
|
389
|
+
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
commentLimit: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
}, z.core.$strict>;
|
|
392
|
+
/** Runtime validator for Message. */
|
|
393
|
+
declare const MessageSchema: z.ZodObject<{
|
|
394
|
+
id: z.ZodString;
|
|
395
|
+
type: z.ZodOptional<z.ZodString>;
|
|
396
|
+
isInbound: z.ZodBoolean;
|
|
397
|
+
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
399
|
+
blurb: z.ZodOptional<z.ZodString>;
|
|
400
|
+
body: z.ZodOptional<z.ZodString>;
|
|
401
|
+
isBodyTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
id: z.ZodString;
|
|
404
|
+
email: z.ZodOptional<z.ZodString>;
|
|
405
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
406
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strict>>;
|
|
408
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
409
|
+
handle: z.ZodString;
|
|
410
|
+
role: z.ZodOptional<z.ZodString>;
|
|
411
|
+
name: z.ZodOptional<z.ZodString>;
|
|
412
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>>>;
|
|
414
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
415
|
+
}, z.core.$strict>;
|
|
416
|
+
/** Runtime validator for Comment. */
|
|
417
|
+
declare const CommentSchema: z.ZodObject<{
|
|
418
|
+
id: z.ZodString;
|
|
419
|
+
body: z.ZodOptional<z.ZodString>;
|
|
420
|
+
isBodyTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
id: z.ZodString;
|
|
423
|
+
email: z.ZodOptional<z.ZodString>;
|
|
424
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
425
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, z.core.$strict>>;
|
|
427
|
+
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
postedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
429
|
+
}, z.core.$strict>;
|
|
430
|
+
/** Runtime validator for ConversationDetails. */
|
|
431
|
+
declare const ConversationDetailsSchema: z.ZodObject<{
|
|
432
|
+
conversation: z.ZodObject<{
|
|
433
|
+
id: z.ZodString;
|
|
434
|
+
type: z.ZodOptional<z.ZodString>;
|
|
435
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
436
|
+
status: z.ZodString;
|
|
437
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
438
|
+
statusCategory: z.ZodOptional<z.ZodString>;
|
|
439
|
+
ticketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
440
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
email: z.ZodOptional<z.ZodString>;
|
|
443
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
444
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
445
|
+
}, z.core.$strict>>;
|
|
446
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
447
|
+
handle: z.ZodString;
|
|
448
|
+
role: z.ZodOptional<z.ZodString>;
|
|
449
|
+
name: z.ZodOptional<z.ZodString>;
|
|
450
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
451
|
+
}, z.core.$strict>>;
|
|
452
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
|
+
id: z.ZodString;
|
|
454
|
+
name: z.ZodOptional<z.ZodString>;
|
|
455
|
+
}, z.core.$strict>>>;
|
|
456
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
457
|
+
isSnoozed: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
459
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
460
|
+
waitingSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
461
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
462
|
+
}, z.core.$strict>;
|
|
463
|
+
messages: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
464
|
+
id: z.ZodString;
|
|
465
|
+
type: z.ZodOptional<z.ZodString>;
|
|
466
|
+
isInbound: z.ZodBoolean;
|
|
467
|
+
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
469
|
+
blurb: z.ZodOptional<z.ZodString>;
|
|
470
|
+
body: z.ZodOptional<z.ZodString>;
|
|
471
|
+
isBodyTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
email: z.ZodOptional<z.ZodString>;
|
|
475
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
476
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
477
|
+
}, z.core.$strict>>;
|
|
478
|
+
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
479
|
+
handle: z.ZodString;
|
|
480
|
+
role: z.ZodOptional<z.ZodString>;
|
|
481
|
+
name: z.ZodOptional<z.ZodString>;
|
|
482
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$strict>>>;
|
|
484
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
485
|
+
}, z.core.$strict>>>;
|
|
486
|
+
hasOlderMessages: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
comments: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
488
|
+
id: z.ZodString;
|
|
489
|
+
body: z.ZodOptional<z.ZodString>;
|
|
490
|
+
isBodyTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
id: z.ZodString;
|
|
493
|
+
email: z.ZodOptional<z.ZodString>;
|
|
494
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
495
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.core.$strict>>;
|
|
497
|
+
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
+
postedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
499
|
+
}, z.core.$strict>>>;
|
|
500
|
+
hasOlderComments: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
mergedIntoConversationId: z.ZodOptional<z.ZodString>;
|
|
502
|
+
}, z.core.$strict>;
|
|
503
|
+
/** Runtime validator for ReplyToConversationInput. */
|
|
504
|
+
declare const ReplyToConversationInputSchema: z.ZodObject<{
|
|
505
|
+
conversationId: z.ZodString;
|
|
506
|
+
text: z.ZodString;
|
|
507
|
+
isInternalNote: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
509
|
+
shouldArchive: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
+
}, z.core.$strict>;
|
|
511
|
+
/** Runtime validator for ConversationReply. */
|
|
512
|
+
declare const ConversationReplySchema: z.ZodObject<{
|
|
513
|
+
conversationId: z.ZodString;
|
|
514
|
+
isInternalNote: z.ZodOptional<z.ZodBoolean>;
|
|
515
|
+
messageUid: z.ZodOptional<z.ZodString>;
|
|
516
|
+
commentId: z.ZodOptional<z.ZodString>;
|
|
517
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
518
|
+
}, z.core.$strict>;
|
|
519
|
+
/** Runtime validator for UpdateConversationInput. */
|
|
520
|
+
declare const UpdateConversationInputSchema: z.ZodObject<{
|
|
521
|
+
conversationId: z.ZodString;
|
|
522
|
+
status: z.ZodOptional<z.ZodString>;
|
|
523
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
524
|
+
assigneeId: z.ZodOptional<z.ZodString>;
|
|
525
|
+
isUnassigned: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
addTagIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
527
|
+
removeTagIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
528
|
+
}, z.core.$strict>;
|
|
529
|
+
/** Runtime validator for UpdateConversationOutput. */
|
|
530
|
+
declare const UpdateConversationOutputSchema: z.ZodObject<{
|
|
531
|
+
conversation: z.ZodObject<{
|
|
532
|
+
id: z.ZodString;
|
|
533
|
+
type: z.ZodOptional<z.ZodString>;
|
|
534
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
535
|
+
status: z.ZodString;
|
|
536
|
+
statusId: z.ZodOptional<z.ZodString>;
|
|
537
|
+
statusCategory: z.ZodOptional<z.ZodString>;
|
|
538
|
+
ticketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
539
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
|
540
|
+
id: z.ZodString;
|
|
541
|
+
email: z.ZodOptional<z.ZodString>;
|
|
542
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
543
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strict>>;
|
|
545
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
handle: z.ZodString;
|
|
547
|
+
role: z.ZodOptional<z.ZodString>;
|
|
548
|
+
name: z.ZodOptional<z.ZodString>;
|
|
549
|
+
contactId: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$strict>>;
|
|
551
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
552
|
+
id: z.ZodString;
|
|
553
|
+
name: z.ZodOptional<z.ZodString>;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
556
|
+
isSnoozed: z.ZodOptional<z.ZodBoolean>;
|
|
557
|
+
createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
558
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
559
|
+
waitingSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
560
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
561
|
+
}, z.core.$strict>;
|
|
562
|
+
wasAlreadyApplied: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
}, z.core.$strict>;
|
|
564
|
+
/** Runtime validator for FindContactByEmailInput. */
|
|
565
|
+
declare const FindContactByEmailInputSchema: z.ZodObject<{
|
|
566
|
+
email: z.ZodString;
|
|
567
|
+
}, z.core.$strict>;
|
|
568
|
+
/** Runtime validator for ContactHandle. */
|
|
569
|
+
declare const ContactHandleSchema: z.ZodObject<{
|
|
570
|
+
handle: z.ZodString;
|
|
571
|
+
source: z.ZodString;
|
|
572
|
+
}, z.core.$strict>;
|
|
573
|
+
/** Runtime validator for Contact. */
|
|
574
|
+
declare const ContactSchema: z.ZodObject<{
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
name: z.ZodOptional<z.ZodString>;
|
|
577
|
+
description: z.ZodOptional<z.ZodString>;
|
|
578
|
+
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
579
|
+
handle: z.ZodString;
|
|
580
|
+
source: z.ZodString;
|
|
581
|
+
}, z.core.$strict>>>;
|
|
582
|
+
listNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
583
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
585
|
+
}, z.core.$strict>;
|
|
586
|
+
/** Runtime validator for FindContactByEmailOutput. */
|
|
587
|
+
declare const FindContactByEmailOutputSchema: z.ZodObject<{
|
|
588
|
+
contacts: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
589
|
+
id: z.ZodString;
|
|
590
|
+
name: z.ZodOptional<z.ZodString>;
|
|
591
|
+
description: z.ZodOptional<z.ZodString>;
|
|
592
|
+
handles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
593
|
+
handle: z.ZodString;
|
|
594
|
+
source: z.ZodString;
|
|
595
|
+
}, z.core.$strict>>>;
|
|
596
|
+
listNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
597
|
+
isPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
599
|
+
}, z.core.$strict>>>;
|
|
600
|
+
}, z.core.$strict>;
|
|
601
|
+
|
|
602
|
+
/** Typed operations supplied by a client or mock. */
|
|
603
|
+
interface Operations {
|
|
604
|
+
/** Invoke searchConversations through this connection. */
|
|
605
|
+
searchConversations(): Query<SearchConversationsInput, SearchConversationsOutput>;
|
|
606
|
+
/** Invoke getConversation through this connection. */
|
|
607
|
+
getConversation(): Query<GetConversationInput, ConversationDetails>;
|
|
608
|
+
/** Invoke replyToConversation through this connection. */
|
|
609
|
+
replyToConversation(): Mutation<ReplyToConversationInput, ConversationReply>;
|
|
610
|
+
/** Invoke updateConversation through this connection. */
|
|
611
|
+
updateConversation(): Mutation<UpdateConversationInput, UpdateConversationOutput>;
|
|
612
|
+
/** Invoke findContactByEmail through this connection. */
|
|
613
|
+
findContactByEmail(): Query<FindContactByEmailInput, FindContactByEmailOutput>;
|
|
614
|
+
}
|
|
615
|
+
/** Named connector connection kept outside Flow state. */
|
|
616
|
+
declare class Connection<BoundOperations = Operations> {
|
|
617
|
+
/** Stable provider and connection name. */
|
|
618
|
+
readonly reference: ConnectionRef;
|
|
619
|
+
/** Bound provider operations. */
|
|
620
|
+
readonly operations: BoundOperations;
|
|
621
|
+
/** Validate a reference and bind operations. */
|
|
622
|
+
constructor(reference: ConnectionRef, operations: BoundOperations);
|
|
623
|
+
}
|
|
624
|
+
/** Bind a client to a named connection. */
|
|
625
|
+
declare function newConnection(client: Operations, reference: ConnectionRef): Connection;
|
|
626
|
+
/** Bind scripted operations to a named connection. */
|
|
627
|
+
declare function newConnectionWithOperations(operations: Operations, reference: ConnectionRef): Connection;
|
|
628
|
+
|
|
629
|
+
export { ReplyToConversationInputSchema as A, SearchConversationsInputSchema as B, Connection as C, SearchConversationsOutputSchema as D, TagSchema as E, type FindContactByEmailInput as F, type GetConversationInput as G, type Teammate as H, TeammateSchema as I, UpdateConversationInputSchema as J, UpdateConversationOutputSchema as K, decodeCredentials as L, type Message as M, isCredentialMaterialError as N, type Operations as O, newConnection as P, newConnectionWithOperations as Q, type ReplyToConversationInput as R, type SearchConversationsInput as S, type Tag as T, type UpdateConversationInput as U, type FindContactByEmailOutput as a, type ConversationDetails as b, type ConversationReply as c, type SearchConversationsOutput as d, type UpdateConversationOutput as e, type Config as f, type Credentials as g, type Comment as h, CommentSchema as i, ConfigSchema as j, type Contact as k, type ContactHandle as l, ContactHandleSchema as m, ContactSchema as n, type Conversation as o, ConversationDetailsSchema as p, ConversationReplySchema as q, ConversationSchema as r, CredentialMaterialError as s, type CredentialSource as t, FindContactByEmailInputSchema as u, FindContactByEmailOutputSchema as v, GetConversationInputSchema as w, MessageSchema as x, type Recipient as y, RecipientSchema as z };
|