@papierapi/sdk 0.1.0
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 +450 -0
- package/dist/chunk-JDUUPLUG.js +984 -0
- package/dist/chunk-JDUUPLUG.js.map +7 -0
- package/dist/client.d.ts +469 -0
- package/dist/errors.d.ts +20 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +343 -0
- package/dist/index.js.map +7 -0
- package/dist/internal/contracts/common.d.ts +108 -0
- package/dist/internal/contracts/dispatch.d.ts +979 -0
- package/dist/internal/contracts/fax.d.ts +49 -0
- package/dist/internal/contracts/index.d.ts +7 -0
- package/dist/internal/contracts/letter.d.ts +292 -0
- package/dist/internal/contracts/mcp.d.ts +395 -0
- package/dist/internal/contracts/platform.d.ts +424 -0
- package/dist/internal/contracts/rest.d.ts +1656 -0
- package/dist/operations.d.ts +1563 -0
- package/dist/operations.js +7 -0
- package/dist/operations.js.map +7 -0
- package/examples/get-dispatch.ts +13 -0
- package/package.json +68 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { ApprovalRequestSchema, DispatchSchema, DraftSchema, ProofBundleSchema, QuoteSchema } from "./dispatch.js";
|
|
3
|
+
export declare const McpEmptyInputSchema: z.ZodObject<{}, z.core.$strict>;
|
|
4
|
+
export declare const McpDraftReferenceSchema: z.ZodObject<{
|
|
5
|
+
draft_id: z.ZodString;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export declare const McpDispatchReferenceSchema: z.ZodObject<{
|
|
8
|
+
dispatch_id: z.ZodString;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export declare const McpRequestDispatchApprovalSchema: z.ZodObject<{
|
|
11
|
+
quote_id: z.ZodString;
|
|
12
|
+
expires_in_seconds: z.ZodDefault<z.ZodInt>;
|
|
13
|
+
draft_id: z.ZodString;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export declare const McpListDispatchesInputSchema: z.ZodObject<{
|
|
16
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const WalletBalanceSchema: z.ZodObject<{
|
|
19
|
+
available_cents: z.ZodInt;
|
|
20
|
+
reserved_cents: z.ZodInt;
|
|
21
|
+
total_cents: z.ZodInt;
|
|
22
|
+
currency: z.ZodLiteral<"EUR">;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
export declare const SenderProfileSummarySchema: z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
status: z.ZodLiteral<"verified">;
|
|
28
|
+
usage: z.ZodEnum<{
|
|
29
|
+
saved: "saved";
|
|
30
|
+
one_off: "one_off";
|
|
31
|
+
}>;
|
|
32
|
+
is_default: z.ZodBoolean;
|
|
33
|
+
supersedes_sender_profile_id: z.ZodNullable<z.ZodString>;
|
|
34
|
+
verified_at: z.ZodISODateTime;
|
|
35
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
36
|
+
created_at: z.ZodISODateTime;
|
|
37
|
+
updated_at: z.ZodISODateTime;
|
|
38
|
+
verification: z.ZodObject<{
|
|
39
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
40
|
+
expires_at: z.ZodNullable<z.ZodISODateTime>;
|
|
41
|
+
state: z.ZodLiteral<"verified">;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
is_selectable: z.ZodLiteral<true>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
export declare const McpSenderProfilesResultSchema: z.ZodObject<{
|
|
46
|
+
sender_profiles: z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
status: z.ZodLiteral<"verified">;
|
|
50
|
+
usage: z.ZodEnum<{
|
|
51
|
+
saved: "saved";
|
|
52
|
+
one_off: "one_off";
|
|
53
|
+
}>;
|
|
54
|
+
is_default: z.ZodBoolean;
|
|
55
|
+
supersedes_sender_profile_id: z.ZodNullable<z.ZodString>;
|
|
56
|
+
verified_at: z.ZodISODateTime;
|
|
57
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
58
|
+
created_at: z.ZodISODateTime;
|
|
59
|
+
updated_at: z.ZodISODateTime;
|
|
60
|
+
verification: z.ZodObject<{
|
|
61
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
62
|
+
expires_at: z.ZodNullable<z.ZodISODateTime>;
|
|
63
|
+
state: z.ZodLiteral<"verified">;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
is_selectable: z.ZodLiteral<true>;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
export declare const McpDispatchDetailsSchema: z.ZodObject<{
|
|
69
|
+
dispatch: z.ZodObject<{
|
|
70
|
+
id: z.ZodString;
|
|
71
|
+
draft_id: z.ZodString;
|
|
72
|
+
status: z.ZodEnum<{
|
|
73
|
+
failed: "failed";
|
|
74
|
+
cancelled: "cancelled";
|
|
75
|
+
funds_reserved: "funds_reserved";
|
|
76
|
+
submitting: "submitting";
|
|
77
|
+
provider_accepted: "provider_accepted";
|
|
78
|
+
producing: "producing";
|
|
79
|
+
sending: "sending";
|
|
80
|
+
handed_to_carrier: "handed_to_carrier";
|
|
81
|
+
delivered: "delivered";
|
|
82
|
+
returned: "returned";
|
|
83
|
+
cancellation_pending: "cancellation_pending";
|
|
84
|
+
}>;
|
|
85
|
+
channel: z.ZodEnum<{
|
|
86
|
+
letter: "letter";
|
|
87
|
+
fax: "fax";
|
|
88
|
+
}>;
|
|
89
|
+
amount_cents: z.ZodInt;
|
|
90
|
+
currency: z.ZodLiteral<"EUR">;
|
|
91
|
+
scheduled_for: z.ZodNullable<z.ZodISODateTime>;
|
|
92
|
+
needs_review: z.ZodBoolean;
|
|
93
|
+
terminal_reason: z.ZodNullable<z.ZodString>;
|
|
94
|
+
created_at: z.ZodISODateTime;
|
|
95
|
+
updated_at: z.ZodISODateTime;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
events: z.ZodArray<z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
dispatch_id: z.ZodString;
|
|
100
|
+
sequence: z.ZodInt;
|
|
101
|
+
type: z.ZodString;
|
|
102
|
+
status: z.ZodEnum<{
|
|
103
|
+
failed: "failed";
|
|
104
|
+
cancelled: "cancelled";
|
|
105
|
+
funds_reserved: "funds_reserved";
|
|
106
|
+
submitting: "submitting";
|
|
107
|
+
provider_accepted: "provider_accepted";
|
|
108
|
+
producing: "producing";
|
|
109
|
+
sending: "sending";
|
|
110
|
+
handed_to_carrier: "handed_to_carrier";
|
|
111
|
+
delivered: "delivered";
|
|
112
|
+
returned: "returned";
|
|
113
|
+
cancellation_pending: "cancellation_pending";
|
|
114
|
+
}>;
|
|
115
|
+
created_at: z.ZodISODateTime;
|
|
116
|
+
evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
117
|
+
event_hash: z.ZodString;
|
|
118
|
+
previous_hash: z.ZodNullable<z.ZodString>;
|
|
119
|
+
}, z.core.$strict>>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export declare const McpDispatchListSchema: z.ZodObject<{
|
|
122
|
+
dispatches: z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
draft_id: z.ZodString;
|
|
125
|
+
status: z.ZodEnum<{
|
|
126
|
+
failed: "failed";
|
|
127
|
+
cancelled: "cancelled";
|
|
128
|
+
funds_reserved: "funds_reserved";
|
|
129
|
+
submitting: "submitting";
|
|
130
|
+
provider_accepted: "provider_accepted";
|
|
131
|
+
producing: "producing";
|
|
132
|
+
sending: "sending";
|
|
133
|
+
handed_to_carrier: "handed_to_carrier";
|
|
134
|
+
delivered: "delivered";
|
|
135
|
+
returned: "returned";
|
|
136
|
+
cancellation_pending: "cancellation_pending";
|
|
137
|
+
}>;
|
|
138
|
+
channel: z.ZodEnum<{
|
|
139
|
+
letter: "letter";
|
|
140
|
+
fax: "fax";
|
|
141
|
+
}>;
|
|
142
|
+
amount_cents: z.ZodInt;
|
|
143
|
+
currency: z.ZodLiteral<"EUR">;
|
|
144
|
+
scheduled_for: z.ZodNullable<z.ZodISODateTime>;
|
|
145
|
+
needs_review: z.ZodBoolean;
|
|
146
|
+
terminal_reason: z.ZodNullable<z.ZodString>;
|
|
147
|
+
created_at: z.ZodISODateTime;
|
|
148
|
+
updated_at: z.ZodISODateTime;
|
|
149
|
+
}, z.core.$strict>>;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
export declare const McpPrepareLetterForReviewSchema: z.ZodObject<{
|
|
152
|
+
sender_profile_id: z.ZodString;
|
|
153
|
+
recipient: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
+
type: z.ZodDefault<z.ZodLiteral<"street">>;
|
|
155
|
+
company: z.ZodOptional<z.ZodString>;
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
attention: z.ZodOptional<z.ZodString>;
|
|
158
|
+
additional_line: z.ZodOptional<z.ZodString>;
|
|
159
|
+
street: z.ZodString;
|
|
160
|
+
house_number: z.ZodString;
|
|
161
|
+
postal_code: z.ZodString;
|
|
162
|
+
city: z.ZodString;
|
|
163
|
+
country: z.ZodLiteral<"DE">;
|
|
164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
+
type: z.ZodLiteral<"post_box">;
|
|
166
|
+
company: z.ZodOptional<z.ZodString>;
|
|
167
|
+
name: z.ZodString;
|
|
168
|
+
attention: z.ZodOptional<z.ZodString>;
|
|
169
|
+
post_box: z.ZodString;
|
|
170
|
+
postal_code: z.ZodString;
|
|
171
|
+
city: z.ZodString;
|
|
172
|
+
country: z.ZodLiteral<"DE">;
|
|
173
|
+
}, z.core.$strict>], "type">;
|
|
174
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
|
+
mode: z.ZodLiteral<"structured">;
|
|
176
|
+
content: z.ZodObject<{
|
|
177
|
+
locale: z.ZodDefault<z.ZodEnum<{
|
|
178
|
+
"de-DE": "de-DE";
|
|
179
|
+
"en-DE": "en-DE";
|
|
180
|
+
}>>;
|
|
181
|
+
date: z.ZodISODate;
|
|
182
|
+
reference_lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
|
+
label: z.ZodString;
|
|
184
|
+
value: z.ZodString;
|
|
185
|
+
}, z.core.$strict>>>;
|
|
186
|
+
subject: z.ZodString;
|
|
187
|
+
salutation: z.ZodOptional<z.ZodString>;
|
|
188
|
+
blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
189
|
+
type: z.ZodLiteral<"paragraph">;
|
|
190
|
+
text: z.ZodString;
|
|
191
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
192
|
+
normal: "normal";
|
|
193
|
+
emphasis: "emphasis";
|
|
194
|
+
}>>;
|
|
195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
196
|
+
type: z.ZodLiteral<"heading">;
|
|
197
|
+
text: z.ZodString;
|
|
198
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
200
|
+
type: z.ZodLiteral<"list">;
|
|
201
|
+
ordered: z.ZodDefault<z.ZodBoolean>;
|
|
202
|
+
items: z.ZodArray<z.ZodString>;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
type: z.ZodLiteral<"table">;
|
|
205
|
+
columns: z.ZodArray<z.ZodString>;
|
|
206
|
+
rows: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
208
|
+
type: z.ZodLiteral<"spacer">;
|
|
209
|
+
millimeters: z.ZodNumber;
|
|
210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
211
|
+
type: z.ZodLiteral<"closing">;
|
|
212
|
+
text: z.ZodString;
|
|
213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
type: z.ZodLiteral<"signature_placeholder">;
|
|
215
|
+
height_mm: z.ZodNumber;
|
|
216
|
+
}, z.core.$strict>], "type">>;
|
|
217
|
+
closing: z.ZodOptional<z.ZodString>;
|
|
218
|
+
signatory: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, z.core.$strict>;
|
|
220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
221
|
+
mode: z.ZodLiteral<"raw_pdf">;
|
|
222
|
+
document_id: z.ZodString;
|
|
223
|
+
}, z.core.$strict>], "mode">;
|
|
224
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
225
|
+
document_id: z.ZodString;
|
|
226
|
+
}, z.core.$strict>>>;
|
|
227
|
+
options: z.ZodObject<{
|
|
228
|
+
print: z.ZodEnum<{
|
|
229
|
+
grayscale: "grayscale";
|
|
230
|
+
color: "color";
|
|
231
|
+
}>;
|
|
232
|
+
duplex: z.ZodBoolean;
|
|
233
|
+
service: z.ZodEnum<{
|
|
234
|
+
standard: "standard";
|
|
235
|
+
registered_insertion: "registered_insertion";
|
|
236
|
+
registered_signature: "registered_signature";
|
|
237
|
+
}>;
|
|
238
|
+
criticality: z.ZodDefault<z.ZodEnum<{
|
|
239
|
+
normal: "normal";
|
|
240
|
+
high: "high";
|
|
241
|
+
}>>;
|
|
242
|
+
layout_profile: z.ZodDefault<z.ZodEnum<{
|
|
243
|
+
de_business_window_a: "de_business_window_a";
|
|
244
|
+
de_business_window_b: "de_business_window_b";
|
|
245
|
+
de_business_no_window: "de_business_no_window";
|
|
246
|
+
}>>;
|
|
247
|
+
}, z.core.$strict>;
|
|
248
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
249
|
+
approval_expires_in_seconds: z.ZodDefault<z.ZodInt>;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
export declare const McpPrepareFaxForReviewSchema: z.ZodObject<{
|
|
252
|
+
sender_profile_id: z.ZodString;
|
|
253
|
+
recipient: z.ZodObject<{
|
|
254
|
+
fax_number_e164: z.ZodString;
|
|
255
|
+
name: z.ZodOptional<z.ZodString>;
|
|
256
|
+
company: z.ZodOptional<z.ZodString>;
|
|
257
|
+
recipient_reference: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
document_id: z.ZodString;
|
|
260
|
+
cover: z.ZodDefault<z.ZodObject<{
|
|
261
|
+
enabled: z.ZodBoolean;
|
|
262
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
263
|
+
note: z.ZodOptional<z.ZodString>;
|
|
264
|
+
}, z.core.$strict>>;
|
|
265
|
+
options: z.ZodObject<{
|
|
266
|
+
max_attempts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
267
|
+
scheduled_at: z.ZodOptional<z.ZodISODateTime>;
|
|
268
|
+
purpose: z.ZodEnum<{
|
|
269
|
+
transactional: "transactional";
|
|
270
|
+
contractual: "contractual";
|
|
271
|
+
support: "support";
|
|
272
|
+
other: "other";
|
|
273
|
+
}>;
|
|
274
|
+
consent_reference: z.ZodOptional<z.ZodString>;
|
|
275
|
+
}, z.core.$strict>;
|
|
276
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
277
|
+
approval_expires_in_seconds: z.ZodDefault<z.ZodInt>;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
export declare const McpCoreToolNameSchema: z.ZodEnum<{
|
|
280
|
+
list_sender_profiles: "list_sender_profiles";
|
|
281
|
+
prepare_letter_for_review: "prepare_letter_for_review";
|
|
282
|
+
prepare_fax_for_review: "prepare_fax_for_review";
|
|
283
|
+
get_dispatch: "get_dispatch";
|
|
284
|
+
get_dispatch_proof: "get_dispatch_proof";
|
|
285
|
+
}>;
|
|
286
|
+
export declare const McpReviewPackageSchema: z.ZodObject<{
|
|
287
|
+
draft: z.ZodObject<{
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
channel: z.ZodEnum<{
|
|
290
|
+
letter: "letter";
|
|
291
|
+
fax: "fax";
|
|
292
|
+
}>;
|
|
293
|
+
status: z.ZodEnum<{
|
|
294
|
+
draft: "draft";
|
|
295
|
+
validated: "validated";
|
|
296
|
+
quoted: "quoted";
|
|
297
|
+
awaiting_approval: "awaiting_approval";
|
|
298
|
+
approved: "approved";
|
|
299
|
+
cancelled: "cancelled";
|
|
300
|
+
}>;
|
|
301
|
+
content_sha256: z.ZodString;
|
|
302
|
+
page_count: z.ZodInt;
|
|
303
|
+
recipient_display: z.ZodString;
|
|
304
|
+
verification: z.ZodObject<{
|
|
305
|
+
status: z.ZodEnum<{
|
|
306
|
+
passed: "passed";
|
|
307
|
+
warning: "warning";
|
|
308
|
+
failed: "failed";
|
|
309
|
+
}>;
|
|
310
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
311
|
+
id: z.ZodString;
|
|
312
|
+
version: z.ZodString;
|
|
313
|
+
status: z.ZodEnum<{
|
|
314
|
+
passed: "passed";
|
|
315
|
+
warning: "warning";
|
|
316
|
+
failed: "failed";
|
|
317
|
+
skipped: "skipped";
|
|
318
|
+
}>;
|
|
319
|
+
rule: z.ZodString;
|
|
320
|
+
evidence: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
321
|
+
violations: z.ZodArray<z.ZodObject<{
|
|
322
|
+
code: z.ZodString;
|
|
323
|
+
field_path: z.ZodOptional<z.ZodString>;
|
|
324
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
325
|
+
rule: z.ZodString;
|
|
326
|
+
message: z.ZodString;
|
|
327
|
+
suggested_action: z.ZodString;
|
|
328
|
+
}, z.core.$strict>>;
|
|
329
|
+
duration_ms: z.ZodInt;
|
|
330
|
+
}, z.core.$strict>>;
|
|
331
|
+
verifier_version: z.ZodString;
|
|
332
|
+
}, z.core.$strict>;
|
|
333
|
+
preview_url: z.ZodURL;
|
|
334
|
+
preview_expires_at: z.ZodISODateTime;
|
|
335
|
+
created_at: z.ZodISODateTime;
|
|
336
|
+
updated_at: z.ZodISODateTime;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
quote: z.ZodObject<{
|
|
339
|
+
id: z.ZodString;
|
|
340
|
+
draft_id: z.ZodString;
|
|
341
|
+
subtotal_cents: z.ZodInt;
|
|
342
|
+
vat_cents: z.ZodInt;
|
|
343
|
+
total_cents: z.ZodInt;
|
|
344
|
+
currency: z.ZodLiteral<"EUR">;
|
|
345
|
+
valid_until: z.ZodISODateTime;
|
|
346
|
+
assumptions: z.ZodObject<{
|
|
347
|
+
channel: z.ZodEnum<{
|
|
348
|
+
letter: "letter";
|
|
349
|
+
fax: "fax";
|
|
350
|
+
}>;
|
|
351
|
+
country: z.ZodLiteral<"DE">;
|
|
352
|
+
pages: z.ZodInt;
|
|
353
|
+
service: z.ZodString;
|
|
354
|
+
}, z.core.$strict>;
|
|
355
|
+
}, z.core.$strict>;
|
|
356
|
+
approval: z.ZodObject<{
|
|
357
|
+
id: z.ZodString;
|
|
358
|
+
draft_id: z.ZodString;
|
|
359
|
+
quote_id: z.ZodString;
|
|
360
|
+
status: z.ZodEnum<{
|
|
361
|
+
pending: "pending";
|
|
362
|
+
rejected: "rejected";
|
|
363
|
+
expired: "expired";
|
|
364
|
+
approved: "approved";
|
|
365
|
+
stale: "stale";
|
|
366
|
+
}>;
|
|
367
|
+
approval_url: z.ZodURL;
|
|
368
|
+
expires_at: z.ZodISODateTime;
|
|
369
|
+
created_at: z.ZodISODateTime;
|
|
370
|
+
}, z.core.$strict>;
|
|
371
|
+
human_action_required: z.ZodLiteral<true>;
|
|
372
|
+
next_action: z.ZodObject<{
|
|
373
|
+
type: z.ZodLiteral<"open_approval_url">;
|
|
374
|
+
url: z.ZodURL;
|
|
375
|
+
description: z.ZodString;
|
|
376
|
+
}, z.core.$strict>;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
export declare const McpWorkflowGuideSchema: z.ZodObject<{
|
|
379
|
+
version: z.ZodLiteral<"1.0">;
|
|
380
|
+
core_tools: z.ZodArray<z.ZodEnum<{
|
|
381
|
+
list_sender_profiles: "list_sender_profiles";
|
|
382
|
+
prepare_letter_for_review: "prepare_letter_for_review";
|
|
383
|
+
prepare_fax_for_review: "prepare_fax_for_review";
|
|
384
|
+
get_dispatch: "get_dispatch";
|
|
385
|
+
get_dispatch_proof: "get_dispatch_proof";
|
|
386
|
+
}>>;
|
|
387
|
+
recommended_letter_tool: z.ZodLiteral<"prepare_letter_for_review">;
|
|
388
|
+
recommended_fax_tool: z.ZodOptional<z.ZodLiteral<"prepare_fax_for_review">>;
|
|
389
|
+
recommended_tracking_tool: z.ZodLiteral<"get_dispatch">;
|
|
390
|
+
recommended_proof_tool: z.ZodLiteral<"get_dispatch_proof">;
|
|
391
|
+
workflow: z.ZodArray<z.ZodString>;
|
|
392
|
+
safety_invariants: z.ZodArray<z.ZodString>;
|
|
393
|
+
browser_fallback_url: z.ZodURL;
|
|
394
|
+
}, z.core.$strict>;
|
|
395
|
+
export { ApprovalRequestSchema as McpApprovalRequestResultSchema, DispatchSchema as McpDispatchResultSchema, DraftSchema as McpDraftResultSchema, ProofBundleSchema as McpProofResultSchema, QuoteSchema as McpQuoteResultSchema, };
|