@alpic-ai/api 1.170.0 → 1.172.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/dist/index.d.mts +4751 -53
- package/dist/index.mjs +184 -18
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,1403 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
2
|
+
import { AnyContractProcedure, AnySchema, ContractProcedureDef, ErrorMap, ErrorMapItem, InferContractRouterInputs, InferContractRouterOutputs, InferSchemaInput, Meta, OpenAPI } from "@orpc/contract";
|
|
3
|
+
//#region ../domains/src/intents/schemas.d.ts
|
|
4
|
+
export declare const intentCategoryColorSchema: z.ZodEnum<{
|
|
5
|
+
red: "red";
|
|
6
|
+
orange: "orange";
|
|
7
|
+
yellow: "yellow";
|
|
8
|
+
green: "green";
|
|
9
|
+
blue: "blue";
|
|
10
|
+
purple: "purple";
|
|
11
|
+
pink: "pink";
|
|
12
|
+
gray: "gray";
|
|
13
|
+
}>;
|
|
14
|
+
type IntentCategoryColor = z.infer<typeof intentCategoryColorSchema>;
|
|
15
|
+
export declare const INTENT_CATEGORY_COLORS: ("red" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "gray")[];
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
18
|
+
export declare const AI_PLATFORMS: readonly ["chatgpt", "claudeai"];
|
|
19
|
+
declare const platformSchema: z.ZodEnum<{
|
|
20
|
+
chatgpt: "chatgpt";
|
|
21
|
+
claudeai: "claudeai";
|
|
22
|
+
}>;
|
|
23
|
+
type Platform = z.infer<typeof platformSchema>;
|
|
24
|
+
export declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../domains/src/projects/schemas.d.ts
|
|
27
|
+
export declare const runtimeSchema: z.ZodEnum<{
|
|
28
|
+
"python3.13": "python3.13";
|
|
29
|
+
"python3.14": "python3.14";
|
|
30
|
+
node22: "node22";
|
|
31
|
+
node24: "node24";
|
|
32
|
+
}>;
|
|
33
|
+
export declare const transportSchema: z.ZodEnum<{
|
|
34
|
+
stdio: "stdio";
|
|
35
|
+
sse: "sse";
|
|
36
|
+
streamablehttp: "streamablehttp";
|
|
37
|
+
}>;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../domains/src/submissions/schemas.d.ts
|
|
40
|
+
declare const claudeSubmissionSchemaInternal: z.ZodObject<{
|
|
41
|
+
id: z.ZodString;
|
|
42
|
+
environmentId: z.ZodString;
|
|
43
|
+
auditId: z.ZodNullable<z.ZodString>;
|
|
44
|
+
urlVerification: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
45
|
+
verifiedAt: z.ZodCoercedDate<unknown>;
|
|
46
|
+
results: z.ZodArray<z.ZodObject<{
|
|
47
|
+
field: z.ZodEnum<{
|
|
48
|
+
privacyPolicyUrl: "privacyPolicyUrl";
|
|
49
|
+
termsOfServiceUrl: "termsOfServiceUrl";
|
|
50
|
+
privacyPolicy: "privacyPolicy";
|
|
51
|
+
}>;
|
|
52
|
+
url: z.ZodString;
|
|
53
|
+
outcome: z.ZodEnum<{
|
|
54
|
+
pass: "pass";
|
|
55
|
+
fail: "fail";
|
|
56
|
+
unverified: "unverified";
|
|
57
|
+
}>;
|
|
58
|
+
reason: z.ZodString;
|
|
59
|
+
concerns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
+
scrapedWith: z.ZodOptional<z.ZodEnum<{
|
|
61
|
+
fetch: "fetch";
|
|
62
|
+
firecrawl: "firecrawl";
|
|
63
|
+
}>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>>>;
|
|
66
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
67
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
68
|
+
platform: z.ZodLiteral<"claudeai">;
|
|
69
|
+
formData: z.ZodObject<{
|
|
70
|
+
primaryUseCases: z.ZodOptional<z.ZodString>;
|
|
71
|
+
connectionRequirements: z.ZodOptional<z.ZodString>;
|
|
72
|
+
readWriteCapabilities: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
read_only: "read_only";
|
|
74
|
+
write_only: "write_only";
|
|
75
|
+
read_write: "read_write";
|
|
76
|
+
}>>;
|
|
77
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
78
|
+
primaryContactName: z.ZodOptional<z.ZodString>;
|
|
79
|
+
primaryContactRole: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
anthropicPointOfContact: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
81
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
oauth_dcr: "oauth_dcr";
|
|
83
|
+
oauth_cimd: "oauth_cimd";
|
|
84
|
+
oauth_anthropic_creds: "oauth_anthropic_creds";
|
|
85
|
+
custom_connection: "custom_connection";
|
|
86
|
+
none: "none";
|
|
87
|
+
}>>;
|
|
88
|
+
partialAuth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
89
|
+
apiOwnership: z.ZodOptional<z.ZodEnum<{
|
|
90
|
+
first_party: "first_party";
|
|
91
|
+
proxied: "proxied";
|
|
92
|
+
third_party: "third_party";
|
|
93
|
+
}>>;
|
|
94
|
+
personalHealthData: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
95
|
+
other: z.ZodString;
|
|
96
|
+
}, z.core.$strip>]>>;
|
|
97
|
+
sponsoredContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
98
|
+
other: z.ZodString;
|
|
99
|
+
}, z.core.$strip>]>>;
|
|
100
|
+
testInstructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
101
|
+
selfTested: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
102
|
+
policyAcknowledgements: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
103
|
+
"I have read and understand the MCP Directory developer guidelines.": "I have read and understand the MCP Directory developer guidelines.";
|
|
104
|
+
"My server calls our own first-party APIs (or APIs we legitimately proxy with permission).": "My server calls our own first-party APIs (or APIs we legitimately proxy with permission).";
|
|
105
|
+
"My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.": "My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.";
|
|
106
|
+
"My connector does not use AI models to generate images, video, or audio.": "My connector does not use AI models to generate images, video, or audio.";
|
|
107
|
+
"Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.": "Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.";
|
|
108
|
+
"My connector does not collect conversation data beyond what is needed for its function.": "My connector does not collect conversation data beyond what is needed for its function.";
|
|
109
|
+
"Public documentation for this connector will be live by the publish date.": "Public documentation for this connector will be live by the publish date.";
|
|
110
|
+
}>>>;
|
|
111
|
+
additionalNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
112
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
113
|
+
name: z.ZodOptional<z.ZodString>;
|
|
114
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
115
|
+
oneLiner: z.ZodOptional<z.ZodString>;
|
|
116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
117
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
118
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
119
|
+
support: z.ZodOptional<z.ZodString>;
|
|
120
|
+
privacyPolicy: z.ZodOptional<z.ZodString>;
|
|
121
|
+
companyWebsite: z.ZodOptional<z.ZodString>;
|
|
122
|
+
primaryContactEmail: z.ZodOptional<z.ZodString>;
|
|
123
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
124
|
+
Productivity: "Productivity";
|
|
125
|
+
Communication: "Communication";
|
|
126
|
+
"Data & Analytics": "Data & Analytics";
|
|
127
|
+
"Development tools": "Development tools";
|
|
128
|
+
"Financial Services": "Financial Services";
|
|
129
|
+
"Consumer Health": "Consumer Health";
|
|
130
|
+
"Health & Life Sciences": "Health & Life Sciences";
|
|
131
|
+
"Media & Entertainment": "Media & Entertainment";
|
|
132
|
+
"Commerce & Shopping": "Commerce & Shopping";
|
|
133
|
+
Legal: "Legal";
|
|
134
|
+
"Sales and marketing": "Sales and marketing";
|
|
135
|
+
Creative: "Creative";
|
|
136
|
+
Nonprofit: "Nonprofit";
|
|
137
|
+
Education: "Education";
|
|
138
|
+
Other: "Other";
|
|
139
|
+
}>>>;
|
|
140
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
|
+
prompt: z.ZodString;
|
|
142
|
+
url: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
prefillSnapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
146
|
+
primaryUseCases: z.ZodOptional<z.ZodString>;
|
|
147
|
+
connectionRequirements: z.ZodOptional<z.ZodString>;
|
|
148
|
+
readWriteCapabilities: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
read_only: "read_only";
|
|
150
|
+
write_only: "write_only";
|
|
151
|
+
read_write: "read_write";
|
|
152
|
+
}>>;
|
|
153
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
154
|
+
primaryContactName: z.ZodOptional<z.ZodString>;
|
|
155
|
+
primaryContactRole: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
156
|
+
anthropicPointOfContact: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
157
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
158
|
+
oauth_dcr: "oauth_dcr";
|
|
159
|
+
oauth_cimd: "oauth_cimd";
|
|
160
|
+
oauth_anthropic_creds: "oauth_anthropic_creds";
|
|
161
|
+
custom_connection: "custom_connection";
|
|
162
|
+
none: "none";
|
|
163
|
+
}>>;
|
|
164
|
+
partialAuth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
165
|
+
apiOwnership: z.ZodOptional<z.ZodEnum<{
|
|
166
|
+
first_party: "first_party";
|
|
167
|
+
proxied: "proxied";
|
|
168
|
+
third_party: "third_party";
|
|
169
|
+
}>>;
|
|
170
|
+
personalHealthData: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
171
|
+
other: z.ZodString;
|
|
172
|
+
}, z.core.$strip>]>>;
|
|
173
|
+
sponsoredContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
174
|
+
other: z.ZodString;
|
|
175
|
+
}, z.core.$strip>]>>;
|
|
176
|
+
testInstructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
177
|
+
selfTested: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
178
|
+
policyAcknowledgements: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
179
|
+
"I have read and understand the MCP Directory developer guidelines.": "I have read and understand the MCP Directory developer guidelines.";
|
|
180
|
+
"My server calls our own first-party APIs (or APIs we legitimately proxy with permission).": "My server calls our own first-party APIs (or APIs we legitimately proxy with permission).";
|
|
181
|
+
"My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.": "My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.";
|
|
182
|
+
"My connector does not use AI models to generate images, video, or audio.": "My connector does not use AI models to generate images, video, or audio.";
|
|
183
|
+
"Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.": "Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.";
|
|
184
|
+
"My connector does not collect conversation data beyond what is needed for its function.": "My connector does not collect conversation data beyond what is needed for its function.";
|
|
185
|
+
"Public documentation for this connector will be live by the publish date.": "Public documentation for this connector will be live by the publish date.";
|
|
186
|
+
}>>>;
|
|
187
|
+
additionalNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
188
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
189
|
+
name: z.ZodOptional<z.ZodString>;
|
|
190
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
191
|
+
oneLiner: z.ZodOptional<z.ZodString>;
|
|
192
|
+
description: z.ZodOptional<z.ZodString>;
|
|
193
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
194
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
195
|
+
support: z.ZodOptional<z.ZodString>;
|
|
196
|
+
privacyPolicy: z.ZodOptional<z.ZodString>;
|
|
197
|
+
companyWebsite: z.ZodOptional<z.ZodString>;
|
|
198
|
+
primaryContactEmail: z.ZodOptional<z.ZodString>;
|
|
199
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
200
|
+
Productivity: "Productivity";
|
|
201
|
+
Communication: "Communication";
|
|
202
|
+
"Data & Analytics": "Data & Analytics";
|
|
203
|
+
"Development tools": "Development tools";
|
|
204
|
+
"Financial Services": "Financial Services";
|
|
205
|
+
"Consumer Health": "Consumer Health";
|
|
206
|
+
"Health & Life Sciences": "Health & Life Sciences";
|
|
207
|
+
"Media & Entertainment": "Media & Entertainment";
|
|
208
|
+
"Commerce & Shopping": "Commerce & Shopping";
|
|
209
|
+
Legal: "Legal";
|
|
210
|
+
"Sales and marketing": "Sales and marketing";
|
|
211
|
+
Creative: "Creative";
|
|
212
|
+
Nonprofit: "Nonprofit";
|
|
213
|
+
Education: "Education";
|
|
214
|
+
Other: "Other";
|
|
215
|
+
}>>>;
|
|
216
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
217
|
+
prompt: z.ZodString;
|
|
218
|
+
url: z.ZodString;
|
|
219
|
+
}, z.core.$strip>>>;
|
|
220
|
+
}, z.core.$strip>>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
declare const chatgptSubmissionSchemaInternal: z.ZodObject<{
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
environmentId: z.ZodString;
|
|
225
|
+
auditId: z.ZodNullable<z.ZodString>;
|
|
226
|
+
urlVerification: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
227
|
+
verifiedAt: z.ZodCoercedDate<unknown>;
|
|
228
|
+
results: z.ZodArray<z.ZodObject<{
|
|
229
|
+
field: z.ZodEnum<{
|
|
230
|
+
privacyPolicyUrl: "privacyPolicyUrl";
|
|
231
|
+
termsOfServiceUrl: "termsOfServiceUrl";
|
|
232
|
+
privacyPolicy: "privacyPolicy";
|
|
233
|
+
}>;
|
|
234
|
+
url: z.ZodString;
|
|
235
|
+
outcome: z.ZodEnum<{
|
|
236
|
+
pass: "pass";
|
|
237
|
+
fail: "fail";
|
|
238
|
+
unverified: "unverified";
|
|
239
|
+
}>;
|
|
240
|
+
reason: z.ZodString;
|
|
241
|
+
concerns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
|
+
scrapedWith: z.ZodOptional<z.ZodEnum<{
|
|
243
|
+
fetch: "fetch";
|
|
244
|
+
firecrawl: "firecrawl";
|
|
245
|
+
}>>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
}, z.core.$strip>>>;
|
|
248
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
249
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
250
|
+
platform: z.ZodLiteral<"chatgpt">;
|
|
251
|
+
formData: z.ZodObject<{
|
|
252
|
+
logoLight: z.ZodOptional<z.ZodString>;
|
|
253
|
+
logoDark: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
254
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
256
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
257
|
+
BUSINESS: "BUSINESS";
|
|
258
|
+
COLLABORATION: "COLLABORATION";
|
|
259
|
+
DESIGN: "DESIGN";
|
|
260
|
+
DEVELOPER_TOOLS: "DEVELOPER_TOOLS";
|
|
261
|
+
EDUCATION: "EDUCATION";
|
|
262
|
+
ENTERTAINMENT: "ENTERTAINMENT";
|
|
263
|
+
FINANCE: "FINANCE";
|
|
264
|
+
FOOD: "FOOD";
|
|
265
|
+
LIFESTYLE: "LIFESTYLE";
|
|
266
|
+
NEWS: "NEWS";
|
|
267
|
+
PRODUCTIVITY: "PRODUCTIVITY";
|
|
268
|
+
SHOPPING: "SHOPPING";
|
|
269
|
+
TRAVEL: "TRAVEL";
|
|
270
|
+
}>>;
|
|
271
|
+
developerName: z.ZodOptional<z.ZodString>;
|
|
272
|
+
appCommerceAndPurchasing: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
274
|
+
"No auth needed": "No auth needed";
|
|
275
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
276
|
+
}>>;
|
|
277
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
|
+
name: z.ZodString;
|
|
279
|
+
title: z.ZodOptional<z.ZodString>;
|
|
280
|
+
description: z.ZodOptional<z.ZodString>;
|
|
281
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
}, z.core.$strip>>>;
|
|
288
|
+
toolJustifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
289
|
+
toolName: z.ZodString;
|
|
290
|
+
readOnlyJustification: z.ZodString;
|
|
291
|
+
openWorldJustification: z.ZodString;
|
|
292
|
+
destructiveJustification: z.ZodString;
|
|
293
|
+
}, z.core.$strip>>>;
|
|
294
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
295
|
+
name: z.ZodString;
|
|
296
|
+
}, z.core.$strip>>>>;
|
|
297
|
+
allowedCountries: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
298
|
+
mode: z.ZodLiteral<"all">;
|
|
299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
300
|
+
mode: z.ZodLiteral<"allow">;
|
|
301
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
302
|
+
AD: "AD";
|
|
303
|
+
AE: "AE";
|
|
304
|
+
AF: "AF";
|
|
305
|
+
AG: "AG";
|
|
306
|
+
AL: "AL";
|
|
307
|
+
AM: "AM";
|
|
308
|
+
AO: "AO";
|
|
309
|
+
AR: "AR";
|
|
310
|
+
AT: "AT";
|
|
311
|
+
AU: "AU";
|
|
312
|
+
AW: "AW";
|
|
313
|
+
AX: "AX";
|
|
314
|
+
AZ: "AZ";
|
|
315
|
+
BA: "BA";
|
|
316
|
+
BB: "BB";
|
|
317
|
+
BD: "BD";
|
|
318
|
+
BE: "BE";
|
|
319
|
+
BF: "BF";
|
|
320
|
+
BG: "BG";
|
|
321
|
+
BH: "BH";
|
|
322
|
+
BI: "BI";
|
|
323
|
+
BJ: "BJ";
|
|
324
|
+
BL: "BL";
|
|
325
|
+
BM: "BM";
|
|
326
|
+
BN: "BN";
|
|
327
|
+
BO: "BO";
|
|
328
|
+
BR: "BR";
|
|
329
|
+
BS: "BS";
|
|
330
|
+
BT: "BT";
|
|
331
|
+
BW: "BW";
|
|
332
|
+
BZ: "BZ";
|
|
333
|
+
CA: "CA";
|
|
334
|
+
CD: "CD";
|
|
335
|
+
CF: "CF";
|
|
336
|
+
CG: "CG";
|
|
337
|
+
CH: "CH";
|
|
338
|
+
CI: "CI";
|
|
339
|
+
CL: "CL";
|
|
340
|
+
CM: "CM";
|
|
341
|
+
CO: "CO";
|
|
342
|
+
CR: "CR";
|
|
343
|
+
CV: "CV";
|
|
344
|
+
CY: "CY";
|
|
345
|
+
CZ: "CZ";
|
|
346
|
+
DE: "DE";
|
|
347
|
+
DJ: "DJ";
|
|
348
|
+
DK: "DK";
|
|
349
|
+
DM: "DM";
|
|
350
|
+
DO: "DO";
|
|
351
|
+
DZ: "DZ";
|
|
352
|
+
EC: "EC";
|
|
353
|
+
EE: "EE";
|
|
354
|
+
EG: "EG";
|
|
355
|
+
ER: "ER";
|
|
356
|
+
ES: "ES";
|
|
357
|
+
ET: "ET";
|
|
358
|
+
FI: "FI";
|
|
359
|
+
FJ: "FJ";
|
|
360
|
+
FM: "FM";
|
|
361
|
+
FO: "FO";
|
|
362
|
+
FR: "FR";
|
|
363
|
+
GA: "GA";
|
|
364
|
+
GB: "GB";
|
|
365
|
+
GD: "GD";
|
|
366
|
+
GE: "GE";
|
|
367
|
+
GF: "GF";
|
|
368
|
+
GH: "GH";
|
|
369
|
+
GL: "GL";
|
|
370
|
+
GM: "GM";
|
|
371
|
+
GN: "GN";
|
|
372
|
+
GP: "GP";
|
|
373
|
+
GQ: "GQ";
|
|
374
|
+
GR: "GR";
|
|
375
|
+
GT: "GT";
|
|
376
|
+
GW: "GW";
|
|
377
|
+
GY: "GY";
|
|
378
|
+
HN: "HN";
|
|
379
|
+
HR: "HR";
|
|
380
|
+
HT: "HT";
|
|
381
|
+
HU: "HU";
|
|
382
|
+
ID: "ID";
|
|
383
|
+
IE: "IE";
|
|
384
|
+
IL: "IL";
|
|
385
|
+
IN: "IN";
|
|
386
|
+
IQ: "IQ";
|
|
387
|
+
IS: "IS";
|
|
388
|
+
IT: "IT";
|
|
389
|
+
JM: "JM";
|
|
390
|
+
JO: "JO";
|
|
391
|
+
JP: "JP";
|
|
392
|
+
KE: "KE";
|
|
393
|
+
KG: "KG";
|
|
394
|
+
KH: "KH";
|
|
395
|
+
KI: "KI";
|
|
396
|
+
KM: "KM";
|
|
397
|
+
KN: "KN";
|
|
398
|
+
KR: "KR";
|
|
399
|
+
KW: "KW";
|
|
400
|
+
KY: "KY";
|
|
401
|
+
KZ: "KZ";
|
|
402
|
+
LA: "LA";
|
|
403
|
+
LB: "LB";
|
|
404
|
+
LC: "LC";
|
|
405
|
+
LI: "LI";
|
|
406
|
+
LK: "LK";
|
|
407
|
+
LR: "LR";
|
|
408
|
+
LS: "LS";
|
|
409
|
+
LT: "LT";
|
|
410
|
+
LU: "LU";
|
|
411
|
+
LV: "LV";
|
|
412
|
+
LY: "LY";
|
|
413
|
+
MA: "MA";
|
|
414
|
+
MC: "MC";
|
|
415
|
+
MD: "MD";
|
|
416
|
+
ME: "ME";
|
|
417
|
+
MF: "MF";
|
|
418
|
+
MG: "MG";
|
|
419
|
+
MH: "MH";
|
|
420
|
+
MK: "MK";
|
|
421
|
+
ML: "ML";
|
|
422
|
+
MM: "MM";
|
|
423
|
+
MN: "MN";
|
|
424
|
+
MQ: "MQ";
|
|
425
|
+
MR: "MR";
|
|
426
|
+
MT: "MT";
|
|
427
|
+
MU: "MU";
|
|
428
|
+
MV: "MV";
|
|
429
|
+
MW: "MW";
|
|
430
|
+
MX: "MX";
|
|
431
|
+
MY: "MY";
|
|
432
|
+
MZ: "MZ";
|
|
433
|
+
NA: "NA";
|
|
434
|
+
NC: "NC";
|
|
435
|
+
NE: "NE";
|
|
436
|
+
NG: "NG";
|
|
437
|
+
NI: "NI";
|
|
438
|
+
NL: "NL";
|
|
439
|
+
NO: "NO";
|
|
440
|
+
NP: "NP";
|
|
441
|
+
NR: "NR";
|
|
442
|
+
NZ: "NZ";
|
|
443
|
+
OM: "OM";
|
|
444
|
+
PA: "PA";
|
|
445
|
+
PE: "PE";
|
|
446
|
+
PF: "PF";
|
|
447
|
+
PG: "PG";
|
|
448
|
+
PH: "PH";
|
|
449
|
+
PK: "PK";
|
|
450
|
+
PL: "PL";
|
|
451
|
+
PM: "PM";
|
|
452
|
+
PS: "PS";
|
|
453
|
+
PT: "PT";
|
|
454
|
+
PW: "PW";
|
|
455
|
+
PY: "PY";
|
|
456
|
+
QA: "QA";
|
|
457
|
+
RE: "RE";
|
|
458
|
+
RO: "RO";
|
|
459
|
+
RS: "RS";
|
|
460
|
+
RW: "RW";
|
|
461
|
+
SA: "SA";
|
|
462
|
+
SB: "SB";
|
|
463
|
+
SC: "SC";
|
|
464
|
+
SD: "SD";
|
|
465
|
+
SE: "SE";
|
|
466
|
+
SG: "SG";
|
|
467
|
+
SH: "SH";
|
|
468
|
+
SI: "SI";
|
|
469
|
+
SJ: "SJ";
|
|
470
|
+
SK: "SK";
|
|
471
|
+
SL: "SL";
|
|
472
|
+
SM: "SM";
|
|
473
|
+
SN: "SN";
|
|
474
|
+
SO: "SO";
|
|
475
|
+
SR: "SR";
|
|
476
|
+
SS: "SS";
|
|
477
|
+
ST: "ST";
|
|
478
|
+
SV: "SV";
|
|
479
|
+
SZ: "SZ";
|
|
480
|
+
TD: "TD";
|
|
481
|
+
TF: "TF";
|
|
482
|
+
TG: "TG";
|
|
483
|
+
TH: "TH";
|
|
484
|
+
TJ: "TJ";
|
|
485
|
+
TL: "TL";
|
|
486
|
+
TM: "TM";
|
|
487
|
+
TN: "TN";
|
|
488
|
+
TO: "TO";
|
|
489
|
+
TR: "TR";
|
|
490
|
+
TT: "TT";
|
|
491
|
+
TV: "TV";
|
|
492
|
+
TW: "TW";
|
|
493
|
+
TZ: "TZ";
|
|
494
|
+
UA: "UA";
|
|
495
|
+
UG: "UG";
|
|
496
|
+
US: "US";
|
|
497
|
+
UY: "UY";
|
|
498
|
+
UZ: "UZ";
|
|
499
|
+
VA: "VA";
|
|
500
|
+
VC: "VC";
|
|
501
|
+
VN: "VN";
|
|
502
|
+
VU: "VU";
|
|
503
|
+
WF: "WF";
|
|
504
|
+
WS: "WS";
|
|
505
|
+
YE: "YE";
|
|
506
|
+
YT: "YT";
|
|
507
|
+
ZA: "ZA";
|
|
508
|
+
ZM: "ZM";
|
|
509
|
+
ZW: "ZW";
|
|
510
|
+
}>>;
|
|
511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
512
|
+
mode: z.ZodLiteral<"block">;
|
|
513
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
514
|
+
AD: "AD";
|
|
515
|
+
AE: "AE";
|
|
516
|
+
AF: "AF";
|
|
517
|
+
AG: "AG";
|
|
518
|
+
AL: "AL";
|
|
519
|
+
AM: "AM";
|
|
520
|
+
AO: "AO";
|
|
521
|
+
AR: "AR";
|
|
522
|
+
AT: "AT";
|
|
523
|
+
AU: "AU";
|
|
524
|
+
AW: "AW";
|
|
525
|
+
AX: "AX";
|
|
526
|
+
AZ: "AZ";
|
|
527
|
+
BA: "BA";
|
|
528
|
+
BB: "BB";
|
|
529
|
+
BD: "BD";
|
|
530
|
+
BE: "BE";
|
|
531
|
+
BF: "BF";
|
|
532
|
+
BG: "BG";
|
|
533
|
+
BH: "BH";
|
|
534
|
+
BI: "BI";
|
|
535
|
+
BJ: "BJ";
|
|
536
|
+
BL: "BL";
|
|
537
|
+
BM: "BM";
|
|
538
|
+
BN: "BN";
|
|
539
|
+
BO: "BO";
|
|
540
|
+
BR: "BR";
|
|
541
|
+
BS: "BS";
|
|
542
|
+
BT: "BT";
|
|
543
|
+
BW: "BW";
|
|
544
|
+
BZ: "BZ";
|
|
545
|
+
CA: "CA";
|
|
546
|
+
CD: "CD";
|
|
547
|
+
CF: "CF";
|
|
548
|
+
CG: "CG";
|
|
549
|
+
CH: "CH";
|
|
550
|
+
CI: "CI";
|
|
551
|
+
CL: "CL";
|
|
552
|
+
CM: "CM";
|
|
553
|
+
CO: "CO";
|
|
554
|
+
CR: "CR";
|
|
555
|
+
CV: "CV";
|
|
556
|
+
CY: "CY";
|
|
557
|
+
CZ: "CZ";
|
|
558
|
+
DE: "DE";
|
|
559
|
+
DJ: "DJ";
|
|
560
|
+
DK: "DK";
|
|
561
|
+
DM: "DM";
|
|
562
|
+
DO: "DO";
|
|
563
|
+
DZ: "DZ";
|
|
564
|
+
EC: "EC";
|
|
565
|
+
EE: "EE";
|
|
566
|
+
EG: "EG";
|
|
567
|
+
ER: "ER";
|
|
568
|
+
ES: "ES";
|
|
569
|
+
ET: "ET";
|
|
570
|
+
FI: "FI";
|
|
571
|
+
FJ: "FJ";
|
|
572
|
+
FM: "FM";
|
|
573
|
+
FO: "FO";
|
|
574
|
+
FR: "FR";
|
|
575
|
+
GA: "GA";
|
|
576
|
+
GB: "GB";
|
|
577
|
+
GD: "GD";
|
|
578
|
+
GE: "GE";
|
|
579
|
+
GF: "GF";
|
|
580
|
+
GH: "GH";
|
|
581
|
+
GL: "GL";
|
|
582
|
+
GM: "GM";
|
|
583
|
+
GN: "GN";
|
|
584
|
+
GP: "GP";
|
|
585
|
+
GQ: "GQ";
|
|
586
|
+
GR: "GR";
|
|
587
|
+
GT: "GT";
|
|
588
|
+
GW: "GW";
|
|
589
|
+
GY: "GY";
|
|
590
|
+
HN: "HN";
|
|
591
|
+
HR: "HR";
|
|
592
|
+
HT: "HT";
|
|
593
|
+
HU: "HU";
|
|
594
|
+
ID: "ID";
|
|
595
|
+
IE: "IE";
|
|
596
|
+
IL: "IL";
|
|
597
|
+
IN: "IN";
|
|
598
|
+
IQ: "IQ";
|
|
599
|
+
IS: "IS";
|
|
600
|
+
IT: "IT";
|
|
601
|
+
JM: "JM";
|
|
602
|
+
JO: "JO";
|
|
603
|
+
JP: "JP";
|
|
604
|
+
KE: "KE";
|
|
605
|
+
KG: "KG";
|
|
606
|
+
KH: "KH";
|
|
607
|
+
KI: "KI";
|
|
608
|
+
KM: "KM";
|
|
609
|
+
KN: "KN";
|
|
610
|
+
KR: "KR";
|
|
611
|
+
KW: "KW";
|
|
612
|
+
KY: "KY";
|
|
613
|
+
KZ: "KZ";
|
|
614
|
+
LA: "LA";
|
|
615
|
+
LB: "LB";
|
|
616
|
+
LC: "LC";
|
|
617
|
+
LI: "LI";
|
|
618
|
+
LK: "LK";
|
|
619
|
+
LR: "LR";
|
|
620
|
+
LS: "LS";
|
|
621
|
+
LT: "LT";
|
|
622
|
+
LU: "LU";
|
|
623
|
+
LV: "LV";
|
|
624
|
+
LY: "LY";
|
|
625
|
+
MA: "MA";
|
|
626
|
+
MC: "MC";
|
|
627
|
+
MD: "MD";
|
|
628
|
+
ME: "ME";
|
|
629
|
+
MF: "MF";
|
|
630
|
+
MG: "MG";
|
|
631
|
+
MH: "MH";
|
|
632
|
+
MK: "MK";
|
|
633
|
+
ML: "ML";
|
|
634
|
+
MM: "MM";
|
|
635
|
+
MN: "MN";
|
|
636
|
+
MQ: "MQ";
|
|
637
|
+
MR: "MR";
|
|
638
|
+
MT: "MT";
|
|
639
|
+
MU: "MU";
|
|
640
|
+
MV: "MV";
|
|
641
|
+
MW: "MW";
|
|
642
|
+
MX: "MX";
|
|
643
|
+
MY: "MY";
|
|
644
|
+
MZ: "MZ";
|
|
645
|
+
NA: "NA";
|
|
646
|
+
NC: "NC";
|
|
647
|
+
NE: "NE";
|
|
648
|
+
NG: "NG";
|
|
649
|
+
NI: "NI";
|
|
650
|
+
NL: "NL";
|
|
651
|
+
NO: "NO";
|
|
652
|
+
NP: "NP";
|
|
653
|
+
NR: "NR";
|
|
654
|
+
NZ: "NZ";
|
|
655
|
+
OM: "OM";
|
|
656
|
+
PA: "PA";
|
|
657
|
+
PE: "PE";
|
|
658
|
+
PF: "PF";
|
|
659
|
+
PG: "PG";
|
|
660
|
+
PH: "PH";
|
|
661
|
+
PK: "PK";
|
|
662
|
+
PL: "PL";
|
|
663
|
+
PM: "PM";
|
|
664
|
+
PS: "PS";
|
|
665
|
+
PT: "PT";
|
|
666
|
+
PW: "PW";
|
|
667
|
+
PY: "PY";
|
|
668
|
+
QA: "QA";
|
|
669
|
+
RE: "RE";
|
|
670
|
+
RO: "RO";
|
|
671
|
+
RS: "RS";
|
|
672
|
+
RW: "RW";
|
|
673
|
+
SA: "SA";
|
|
674
|
+
SB: "SB";
|
|
675
|
+
SC: "SC";
|
|
676
|
+
SD: "SD";
|
|
677
|
+
SE: "SE";
|
|
678
|
+
SG: "SG";
|
|
679
|
+
SH: "SH";
|
|
680
|
+
SI: "SI";
|
|
681
|
+
SJ: "SJ";
|
|
682
|
+
SK: "SK";
|
|
683
|
+
SL: "SL";
|
|
684
|
+
SM: "SM";
|
|
685
|
+
SN: "SN";
|
|
686
|
+
SO: "SO";
|
|
687
|
+
SR: "SR";
|
|
688
|
+
SS: "SS";
|
|
689
|
+
ST: "ST";
|
|
690
|
+
SV: "SV";
|
|
691
|
+
SZ: "SZ";
|
|
692
|
+
TD: "TD";
|
|
693
|
+
TF: "TF";
|
|
694
|
+
TG: "TG";
|
|
695
|
+
TH: "TH";
|
|
696
|
+
TJ: "TJ";
|
|
697
|
+
TL: "TL";
|
|
698
|
+
TM: "TM";
|
|
699
|
+
TN: "TN";
|
|
700
|
+
TO: "TO";
|
|
701
|
+
TR: "TR";
|
|
702
|
+
TT: "TT";
|
|
703
|
+
TV: "TV";
|
|
704
|
+
TW: "TW";
|
|
705
|
+
TZ: "TZ";
|
|
706
|
+
UA: "UA";
|
|
707
|
+
UG: "UG";
|
|
708
|
+
US: "US";
|
|
709
|
+
UY: "UY";
|
|
710
|
+
UZ: "UZ";
|
|
711
|
+
VA: "VA";
|
|
712
|
+
VC: "VC";
|
|
713
|
+
VN: "VN";
|
|
714
|
+
VU: "VU";
|
|
715
|
+
WF: "WF";
|
|
716
|
+
WS: "WS";
|
|
717
|
+
YE: "YE";
|
|
718
|
+
YT: "YT";
|
|
719
|
+
ZA: "ZA";
|
|
720
|
+
ZM: "ZM";
|
|
721
|
+
ZW: "ZW";
|
|
722
|
+
}>>;
|
|
723
|
+
}, z.core.$strip>], "mode">>;
|
|
724
|
+
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
725
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
726
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
727
|
+
supportChannel: z.ZodOptional<z.ZodString>;
|
|
728
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
729
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodString>;
|
|
730
|
+
demoRecordingUrl: z.ZodOptional<z.ZodString>;
|
|
731
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
732
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
733
|
+
prompt: z.ZodString;
|
|
734
|
+
url: z.ZodString;
|
|
735
|
+
}, z.core.$strip>>>;
|
|
736
|
+
testCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
737
|
+
toolTriggered: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
738
|
+
expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
739
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
740
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
741
|
+
}, z.core.$strip>>>;
|
|
742
|
+
negativeTestCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
743
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
744
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
745
|
+
}, z.core.$strip>>>;
|
|
746
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
747
|
+
locale: z.ZodEnum<{
|
|
748
|
+
am: "am";
|
|
749
|
+
ar: "ar";
|
|
750
|
+
"bg-BG": "bg-BG";
|
|
751
|
+
"bn-BD": "bn-BD";
|
|
752
|
+
"bs-BA": "bs-BA";
|
|
753
|
+
"ca-ES": "ca-ES";
|
|
754
|
+
"cs-CZ": "cs-CZ";
|
|
755
|
+
"da-DK": "da-DK";
|
|
756
|
+
"de-DE": "de-DE";
|
|
757
|
+
"el-GR": "el-GR";
|
|
758
|
+
"es-419": "es-419";
|
|
759
|
+
"es-ES": "es-ES";
|
|
760
|
+
"et-EE": "et-EE";
|
|
761
|
+
"fi-FI": "fi-FI";
|
|
762
|
+
"fr-CA": "fr-CA";
|
|
763
|
+
"fr-FR": "fr-FR";
|
|
764
|
+
"gu-IN": "gu-IN";
|
|
765
|
+
"hi-IN": "hi-IN";
|
|
766
|
+
"hr-HR": "hr-HR";
|
|
767
|
+
"hu-HU": "hu-HU";
|
|
768
|
+
"hy-AM": "hy-AM";
|
|
769
|
+
"id-ID": "id-ID";
|
|
770
|
+
"is-IS": "is-IS";
|
|
771
|
+
"it-IT": "it-IT";
|
|
772
|
+
"ja-JP": "ja-JP";
|
|
773
|
+
"ka-GE": "ka-GE";
|
|
774
|
+
kk: "kk";
|
|
775
|
+
"kn-IN": "kn-IN";
|
|
776
|
+
"ko-KR": "ko-KR";
|
|
777
|
+
lt: "lt";
|
|
778
|
+
"lv-LV": "lv-LV";
|
|
779
|
+
"mk-MK": "mk-MK";
|
|
780
|
+
ml: "ml";
|
|
781
|
+
mn: "mn";
|
|
782
|
+
"mr-IN": "mr-IN";
|
|
783
|
+
"ms-MY": "ms-MY";
|
|
784
|
+
"my-MM": "my-MM";
|
|
785
|
+
"nb-NO": "nb-NO";
|
|
786
|
+
"nl-NL": "nl-NL";
|
|
787
|
+
pa: "pa";
|
|
788
|
+
"pl-PL": "pl-PL";
|
|
789
|
+
"pt-BR": "pt-BR";
|
|
790
|
+
"pt-PT": "pt-PT";
|
|
791
|
+
"ro-RO": "ro-RO";
|
|
792
|
+
"ru-RU": "ru-RU";
|
|
793
|
+
"sk-SK": "sk-SK";
|
|
794
|
+
"sl-SI": "sl-SI";
|
|
795
|
+
"so-SO": "so-SO";
|
|
796
|
+
"sq-AL": "sq-AL";
|
|
797
|
+
"sr-RS": "sr-RS";
|
|
798
|
+
"sv-SE": "sv-SE";
|
|
799
|
+
"sw-TZ": "sw-TZ";
|
|
800
|
+
"ta-IN": "ta-IN";
|
|
801
|
+
"te-IN": "te-IN";
|
|
802
|
+
"th-TH": "th-TH";
|
|
803
|
+
tl: "tl";
|
|
804
|
+
"tr-TR": "tr-TR";
|
|
805
|
+
"uk-UA": "uk-UA";
|
|
806
|
+
ur: "ur";
|
|
807
|
+
"vi-VN": "vi-VN";
|
|
808
|
+
"zh-CN": "zh-CN";
|
|
809
|
+
"zh-HK": "zh-HK";
|
|
810
|
+
"zh-TW": "zh-TW";
|
|
811
|
+
}>;
|
|
812
|
+
description: z.ZodString;
|
|
813
|
+
tagline: z.ZodString;
|
|
814
|
+
}, z.core.$strip>>>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
prefillSnapshot: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
817
|
+
logoLight: z.ZodOptional<z.ZodString>;
|
|
818
|
+
logoDark: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
819
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
820
|
+
description: z.ZodOptional<z.ZodString>;
|
|
821
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
822
|
+
BUSINESS: "BUSINESS";
|
|
823
|
+
COLLABORATION: "COLLABORATION";
|
|
824
|
+
DESIGN: "DESIGN";
|
|
825
|
+
DEVELOPER_TOOLS: "DEVELOPER_TOOLS";
|
|
826
|
+
EDUCATION: "EDUCATION";
|
|
827
|
+
ENTERTAINMENT: "ENTERTAINMENT";
|
|
828
|
+
FINANCE: "FINANCE";
|
|
829
|
+
FOOD: "FOOD";
|
|
830
|
+
LIFESTYLE: "LIFESTYLE";
|
|
831
|
+
NEWS: "NEWS";
|
|
832
|
+
PRODUCTIVITY: "PRODUCTIVITY";
|
|
833
|
+
SHOPPING: "SHOPPING";
|
|
834
|
+
TRAVEL: "TRAVEL";
|
|
835
|
+
}>>;
|
|
836
|
+
developerName: z.ZodOptional<z.ZodString>;
|
|
837
|
+
appCommerceAndPurchasing: z.ZodOptional<z.ZodBoolean>;
|
|
838
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
839
|
+
"No auth needed": "No auth needed";
|
|
840
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
841
|
+
}>>;
|
|
842
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
843
|
+
name: z.ZodString;
|
|
844
|
+
title: z.ZodOptional<z.ZodString>;
|
|
845
|
+
description: z.ZodOptional<z.ZodString>;
|
|
846
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
847
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
848
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
849
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
850
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
851
|
+
}, z.core.$strip>>;
|
|
852
|
+
}, z.core.$strip>>>;
|
|
853
|
+
toolJustifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
854
|
+
toolName: z.ZodString;
|
|
855
|
+
readOnlyJustification: z.ZodString;
|
|
856
|
+
openWorldJustification: z.ZodString;
|
|
857
|
+
destructiveJustification: z.ZodString;
|
|
858
|
+
}, z.core.$strip>>>;
|
|
859
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
860
|
+
name: z.ZodString;
|
|
861
|
+
}, z.core.$strip>>>>;
|
|
862
|
+
allowedCountries: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
863
|
+
mode: z.ZodLiteral<"all">;
|
|
864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
865
|
+
mode: z.ZodLiteral<"allow">;
|
|
866
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
867
|
+
AD: "AD";
|
|
868
|
+
AE: "AE";
|
|
869
|
+
AF: "AF";
|
|
870
|
+
AG: "AG";
|
|
871
|
+
AL: "AL";
|
|
872
|
+
AM: "AM";
|
|
873
|
+
AO: "AO";
|
|
874
|
+
AR: "AR";
|
|
875
|
+
AT: "AT";
|
|
876
|
+
AU: "AU";
|
|
877
|
+
AW: "AW";
|
|
878
|
+
AX: "AX";
|
|
879
|
+
AZ: "AZ";
|
|
880
|
+
BA: "BA";
|
|
881
|
+
BB: "BB";
|
|
882
|
+
BD: "BD";
|
|
883
|
+
BE: "BE";
|
|
884
|
+
BF: "BF";
|
|
885
|
+
BG: "BG";
|
|
886
|
+
BH: "BH";
|
|
887
|
+
BI: "BI";
|
|
888
|
+
BJ: "BJ";
|
|
889
|
+
BL: "BL";
|
|
890
|
+
BM: "BM";
|
|
891
|
+
BN: "BN";
|
|
892
|
+
BO: "BO";
|
|
893
|
+
BR: "BR";
|
|
894
|
+
BS: "BS";
|
|
895
|
+
BT: "BT";
|
|
896
|
+
BW: "BW";
|
|
897
|
+
BZ: "BZ";
|
|
898
|
+
CA: "CA";
|
|
899
|
+
CD: "CD";
|
|
900
|
+
CF: "CF";
|
|
901
|
+
CG: "CG";
|
|
902
|
+
CH: "CH";
|
|
903
|
+
CI: "CI";
|
|
904
|
+
CL: "CL";
|
|
905
|
+
CM: "CM";
|
|
906
|
+
CO: "CO";
|
|
907
|
+
CR: "CR";
|
|
908
|
+
CV: "CV";
|
|
909
|
+
CY: "CY";
|
|
910
|
+
CZ: "CZ";
|
|
911
|
+
DE: "DE";
|
|
912
|
+
DJ: "DJ";
|
|
913
|
+
DK: "DK";
|
|
914
|
+
DM: "DM";
|
|
915
|
+
DO: "DO";
|
|
916
|
+
DZ: "DZ";
|
|
917
|
+
EC: "EC";
|
|
918
|
+
EE: "EE";
|
|
919
|
+
EG: "EG";
|
|
920
|
+
ER: "ER";
|
|
921
|
+
ES: "ES";
|
|
922
|
+
ET: "ET";
|
|
923
|
+
FI: "FI";
|
|
924
|
+
FJ: "FJ";
|
|
925
|
+
FM: "FM";
|
|
926
|
+
FO: "FO";
|
|
927
|
+
FR: "FR";
|
|
928
|
+
GA: "GA";
|
|
929
|
+
GB: "GB";
|
|
930
|
+
GD: "GD";
|
|
931
|
+
GE: "GE";
|
|
932
|
+
GF: "GF";
|
|
933
|
+
GH: "GH";
|
|
934
|
+
GL: "GL";
|
|
935
|
+
GM: "GM";
|
|
936
|
+
GN: "GN";
|
|
937
|
+
GP: "GP";
|
|
938
|
+
GQ: "GQ";
|
|
939
|
+
GR: "GR";
|
|
940
|
+
GT: "GT";
|
|
941
|
+
GW: "GW";
|
|
942
|
+
GY: "GY";
|
|
943
|
+
HN: "HN";
|
|
944
|
+
HR: "HR";
|
|
945
|
+
HT: "HT";
|
|
946
|
+
HU: "HU";
|
|
947
|
+
ID: "ID";
|
|
948
|
+
IE: "IE";
|
|
949
|
+
IL: "IL";
|
|
950
|
+
IN: "IN";
|
|
951
|
+
IQ: "IQ";
|
|
952
|
+
IS: "IS";
|
|
953
|
+
IT: "IT";
|
|
954
|
+
JM: "JM";
|
|
955
|
+
JO: "JO";
|
|
956
|
+
JP: "JP";
|
|
957
|
+
KE: "KE";
|
|
958
|
+
KG: "KG";
|
|
959
|
+
KH: "KH";
|
|
960
|
+
KI: "KI";
|
|
961
|
+
KM: "KM";
|
|
962
|
+
KN: "KN";
|
|
963
|
+
KR: "KR";
|
|
964
|
+
KW: "KW";
|
|
965
|
+
KY: "KY";
|
|
966
|
+
KZ: "KZ";
|
|
967
|
+
LA: "LA";
|
|
968
|
+
LB: "LB";
|
|
969
|
+
LC: "LC";
|
|
970
|
+
LI: "LI";
|
|
971
|
+
LK: "LK";
|
|
972
|
+
LR: "LR";
|
|
973
|
+
LS: "LS";
|
|
974
|
+
LT: "LT";
|
|
975
|
+
LU: "LU";
|
|
976
|
+
LV: "LV";
|
|
977
|
+
LY: "LY";
|
|
978
|
+
MA: "MA";
|
|
979
|
+
MC: "MC";
|
|
980
|
+
MD: "MD";
|
|
981
|
+
ME: "ME";
|
|
982
|
+
MF: "MF";
|
|
983
|
+
MG: "MG";
|
|
984
|
+
MH: "MH";
|
|
985
|
+
MK: "MK";
|
|
986
|
+
ML: "ML";
|
|
987
|
+
MM: "MM";
|
|
988
|
+
MN: "MN";
|
|
989
|
+
MQ: "MQ";
|
|
990
|
+
MR: "MR";
|
|
991
|
+
MT: "MT";
|
|
992
|
+
MU: "MU";
|
|
993
|
+
MV: "MV";
|
|
994
|
+
MW: "MW";
|
|
995
|
+
MX: "MX";
|
|
996
|
+
MY: "MY";
|
|
997
|
+
MZ: "MZ";
|
|
998
|
+
NA: "NA";
|
|
999
|
+
NC: "NC";
|
|
1000
|
+
NE: "NE";
|
|
1001
|
+
NG: "NG";
|
|
1002
|
+
NI: "NI";
|
|
1003
|
+
NL: "NL";
|
|
1004
|
+
NO: "NO";
|
|
1005
|
+
NP: "NP";
|
|
1006
|
+
NR: "NR";
|
|
1007
|
+
NZ: "NZ";
|
|
1008
|
+
OM: "OM";
|
|
1009
|
+
PA: "PA";
|
|
1010
|
+
PE: "PE";
|
|
1011
|
+
PF: "PF";
|
|
1012
|
+
PG: "PG";
|
|
1013
|
+
PH: "PH";
|
|
1014
|
+
PK: "PK";
|
|
1015
|
+
PL: "PL";
|
|
1016
|
+
PM: "PM";
|
|
1017
|
+
PS: "PS";
|
|
1018
|
+
PT: "PT";
|
|
1019
|
+
PW: "PW";
|
|
1020
|
+
PY: "PY";
|
|
1021
|
+
QA: "QA";
|
|
1022
|
+
RE: "RE";
|
|
1023
|
+
RO: "RO";
|
|
1024
|
+
RS: "RS";
|
|
1025
|
+
RW: "RW";
|
|
1026
|
+
SA: "SA";
|
|
1027
|
+
SB: "SB";
|
|
1028
|
+
SC: "SC";
|
|
1029
|
+
SD: "SD";
|
|
1030
|
+
SE: "SE";
|
|
1031
|
+
SG: "SG";
|
|
1032
|
+
SH: "SH";
|
|
1033
|
+
SI: "SI";
|
|
1034
|
+
SJ: "SJ";
|
|
1035
|
+
SK: "SK";
|
|
1036
|
+
SL: "SL";
|
|
1037
|
+
SM: "SM";
|
|
1038
|
+
SN: "SN";
|
|
1039
|
+
SO: "SO";
|
|
1040
|
+
SR: "SR";
|
|
1041
|
+
SS: "SS";
|
|
1042
|
+
ST: "ST";
|
|
1043
|
+
SV: "SV";
|
|
1044
|
+
SZ: "SZ";
|
|
1045
|
+
TD: "TD";
|
|
1046
|
+
TF: "TF";
|
|
1047
|
+
TG: "TG";
|
|
1048
|
+
TH: "TH";
|
|
1049
|
+
TJ: "TJ";
|
|
1050
|
+
TL: "TL";
|
|
1051
|
+
TM: "TM";
|
|
1052
|
+
TN: "TN";
|
|
1053
|
+
TO: "TO";
|
|
1054
|
+
TR: "TR";
|
|
1055
|
+
TT: "TT";
|
|
1056
|
+
TV: "TV";
|
|
1057
|
+
TW: "TW";
|
|
1058
|
+
TZ: "TZ";
|
|
1059
|
+
UA: "UA";
|
|
1060
|
+
UG: "UG";
|
|
1061
|
+
US: "US";
|
|
1062
|
+
UY: "UY";
|
|
1063
|
+
UZ: "UZ";
|
|
1064
|
+
VA: "VA";
|
|
1065
|
+
VC: "VC";
|
|
1066
|
+
VN: "VN";
|
|
1067
|
+
VU: "VU";
|
|
1068
|
+
WF: "WF";
|
|
1069
|
+
WS: "WS";
|
|
1070
|
+
YE: "YE";
|
|
1071
|
+
YT: "YT";
|
|
1072
|
+
ZA: "ZA";
|
|
1073
|
+
ZM: "ZM";
|
|
1074
|
+
ZW: "ZW";
|
|
1075
|
+
}>>;
|
|
1076
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1077
|
+
mode: z.ZodLiteral<"block">;
|
|
1078
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
1079
|
+
AD: "AD";
|
|
1080
|
+
AE: "AE";
|
|
1081
|
+
AF: "AF";
|
|
1082
|
+
AG: "AG";
|
|
1083
|
+
AL: "AL";
|
|
1084
|
+
AM: "AM";
|
|
1085
|
+
AO: "AO";
|
|
1086
|
+
AR: "AR";
|
|
1087
|
+
AT: "AT";
|
|
1088
|
+
AU: "AU";
|
|
1089
|
+
AW: "AW";
|
|
1090
|
+
AX: "AX";
|
|
1091
|
+
AZ: "AZ";
|
|
1092
|
+
BA: "BA";
|
|
1093
|
+
BB: "BB";
|
|
1094
|
+
BD: "BD";
|
|
1095
|
+
BE: "BE";
|
|
1096
|
+
BF: "BF";
|
|
1097
|
+
BG: "BG";
|
|
1098
|
+
BH: "BH";
|
|
1099
|
+
BI: "BI";
|
|
1100
|
+
BJ: "BJ";
|
|
1101
|
+
BL: "BL";
|
|
1102
|
+
BM: "BM";
|
|
1103
|
+
BN: "BN";
|
|
1104
|
+
BO: "BO";
|
|
1105
|
+
BR: "BR";
|
|
1106
|
+
BS: "BS";
|
|
1107
|
+
BT: "BT";
|
|
1108
|
+
BW: "BW";
|
|
1109
|
+
BZ: "BZ";
|
|
1110
|
+
CA: "CA";
|
|
1111
|
+
CD: "CD";
|
|
1112
|
+
CF: "CF";
|
|
1113
|
+
CG: "CG";
|
|
1114
|
+
CH: "CH";
|
|
1115
|
+
CI: "CI";
|
|
1116
|
+
CL: "CL";
|
|
1117
|
+
CM: "CM";
|
|
1118
|
+
CO: "CO";
|
|
1119
|
+
CR: "CR";
|
|
1120
|
+
CV: "CV";
|
|
1121
|
+
CY: "CY";
|
|
1122
|
+
CZ: "CZ";
|
|
1123
|
+
DE: "DE";
|
|
1124
|
+
DJ: "DJ";
|
|
1125
|
+
DK: "DK";
|
|
1126
|
+
DM: "DM";
|
|
1127
|
+
DO: "DO";
|
|
1128
|
+
DZ: "DZ";
|
|
1129
|
+
EC: "EC";
|
|
1130
|
+
EE: "EE";
|
|
1131
|
+
EG: "EG";
|
|
1132
|
+
ER: "ER";
|
|
1133
|
+
ES: "ES";
|
|
1134
|
+
ET: "ET";
|
|
1135
|
+
FI: "FI";
|
|
1136
|
+
FJ: "FJ";
|
|
1137
|
+
FM: "FM";
|
|
1138
|
+
FO: "FO";
|
|
1139
|
+
FR: "FR";
|
|
1140
|
+
GA: "GA";
|
|
1141
|
+
GB: "GB";
|
|
1142
|
+
GD: "GD";
|
|
1143
|
+
GE: "GE";
|
|
1144
|
+
GF: "GF";
|
|
1145
|
+
GH: "GH";
|
|
1146
|
+
GL: "GL";
|
|
1147
|
+
GM: "GM";
|
|
1148
|
+
GN: "GN";
|
|
1149
|
+
GP: "GP";
|
|
1150
|
+
GQ: "GQ";
|
|
1151
|
+
GR: "GR";
|
|
1152
|
+
GT: "GT";
|
|
1153
|
+
GW: "GW";
|
|
1154
|
+
GY: "GY";
|
|
1155
|
+
HN: "HN";
|
|
1156
|
+
HR: "HR";
|
|
1157
|
+
HT: "HT";
|
|
1158
|
+
HU: "HU";
|
|
1159
|
+
ID: "ID";
|
|
1160
|
+
IE: "IE";
|
|
1161
|
+
IL: "IL";
|
|
1162
|
+
IN: "IN";
|
|
1163
|
+
IQ: "IQ";
|
|
1164
|
+
IS: "IS";
|
|
1165
|
+
IT: "IT";
|
|
1166
|
+
JM: "JM";
|
|
1167
|
+
JO: "JO";
|
|
1168
|
+
JP: "JP";
|
|
1169
|
+
KE: "KE";
|
|
1170
|
+
KG: "KG";
|
|
1171
|
+
KH: "KH";
|
|
1172
|
+
KI: "KI";
|
|
1173
|
+
KM: "KM";
|
|
1174
|
+
KN: "KN";
|
|
1175
|
+
KR: "KR";
|
|
1176
|
+
KW: "KW";
|
|
1177
|
+
KY: "KY";
|
|
1178
|
+
KZ: "KZ";
|
|
1179
|
+
LA: "LA";
|
|
1180
|
+
LB: "LB";
|
|
1181
|
+
LC: "LC";
|
|
1182
|
+
LI: "LI";
|
|
1183
|
+
LK: "LK";
|
|
1184
|
+
LR: "LR";
|
|
1185
|
+
LS: "LS";
|
|
1186
|
+
LT: "LT";
|
|
1187
|
+
LU: "LU";
|
|
1188
|
+
LV: "LV";
|
|
1189
|
+
LY: "LY";
|
|
1190
|
+
MA: "MA";
|
|
1191
|
+
MC: "MC";
|
|
1192
|
+
MD: "MD";
|
|
1193
|
+
ME: "ME";
|
|
1194
|
+
MF: "MF";
|
|
1195
|
+
MG: "MG";
|
|
1196
|
+
MH: "MH";
|
|
1197
|
+
MK: "MK";
|
|
1198
|
+
ML: "ML";
|
|
1199
|
+
MM: "MM";
|
|
1200
|
+
MN: "MN";
|
|
1201
|
+
MQ: "MQ";
|
|
1202
|
+
MR: "MR";
|
|
1203
|
+
MT: "MT";
|
|
1204
|
+
MU: "MU";
|
|
1205
|
+
MV: "MV";
|
|
1206
|
+
MW: "MW";
|
|
1207
|
+
MX: "MX";
|
|
1208
|
+
MY: "MY";
|
|
1209
|
+
MZ: "MZ";
|
|
1210
|
+
NA: "NA";
|
|
1211
|
+
NC: "NC";
|
|
1212
|
+
NE: "NE";
|
|
1213
|
+
NG: "NG";
|
|
1214
|
+
NI: "NI";
|
|
1215
|
+
NL: "NL";
|
|
1216
|
+
NO: "NO";
|
|
1217
|
+
NP: "NP";
|
|
1218
|
+
NR: "NR";
|
|
1219
|
+
NZ: "NZ";
|
|
1220
|
+
OM: "OM";
|
|
1221
|
+
PA: "PA";
|
|
1222
|
+
PE: "PE";
|
|
1223
|
+
PF: "PF";
|
|
1224
|
+
PG: "PG";
|
|
1225
|
+
PH: "PH";
|
|
1226
|
+
PK: "PK";
|
|
1227
|
+
PL: "PL";
|
|
1228
|
+
PM: "PM";
|
|
1229
|
+
PS: "PS";
|
|
1230
|
+
PT: "PT";
|
|
1231
|
+
PW: "PW";
|
|
1232
|
+
PY: "PY";
|
|
1233
|
+
QA: "QA";
|
|
1234
|
+
RE: "RE";
|
|
1235
|
+
RO: "RO";
|
|
1236
|
+
RS: "RS";
|
|
1237
|
+
RW: "RW";
|
|
1238
|
+
SA: "SA";
|
|
1239
|
+
SB: "SB";
|
|
1240
|
+
SC: "SC";
|
|
1241
|
+
SD: "SD";
|
|
1242
|
+
SE: "SE";
|
|
1243
|
+
SG: "SG";
|
|
1244
|
+
SH: "SH";
|
|
1245
|
+
SI: "SI";
|
|
1246
|
+
SJ: "SJ";
|
|
1247
|
+
SK: "SK";
|
|
1248
|
+
SL: "SL";
|
|
1249
|
+
SM: "SM";
|
|
1250
|
+
SN: "SN";
|
|
1251
|
+
SO: "SO";
|
|
1252
|
+
SR: "SR";
|
|
1253
|
+
SS: "SS";
|
|
1254
|
+
ST: "ST";
|
|
1255
|
+
SV: "SV";
|
|
1256
|
+
SZ: "SZ";
|
|
1257
|
+
TD: "TD";
|
|
1258
|
+
TF: "TF";
|
|
1259
|
+
TG: "TG";
|
|
1260
|
+
TH: "TH";
|
|
1261
|
+
TJ: "TJ";
|
|
1262
|
+
TL: "TL";
|
|
1263
|
+
TM: "TM";
|
|
1264
|
+
TN: "TN";
|
|
1265
|
+
TO: "TO";
|
|
1266
|
+
TR: "TR";
|
|
1267
|
+
TT: "TT";
|
|
1268
|
+
TV: "TV";
|
|
1269
|
+
TW: "TW";
|
|
1270
|
+
TZ: "TZ";
|
|
1271
|
+
UA: "UA";
|
|
1272
|
+
UG: "UG";
|
|
1273
|
+
US: "US";
|
|
1274
|
+
UY: "UY";
|
|
1275
|
+
UZ: "UZ";
|
|
1276
|
+
VA: "VA";
|
|
1277
|
+
VC: "VC";
|
|
1278
|
+
VN: "VN";
|
|
1279
|
+
VU: "VU";
|
|
1280
|
+
WF: "WF";
|
|
1281
|
+
WS: "WS";
|
|
1282
|
+
YE: "YE";
|
|
1283
|
+
YT: "YT";
|
|
1284
|
+
ZA: "ZA";
|
|
1285
|
+
ZM: "ZM";
|
|
1286
|
+
ZW: "ZW";
|
|
1287
|
+
}>>;
|
|
1288
|
+
}, z.core.$strip>], "mode">>;
|
|
1289
|
+
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
supportChannel: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
demoRecordingUrl: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1298
|
+
prompt: z.ZodString;
|
|
1299
|
+
url: z.ZodString;
|
|
1300
|
+
}, z.core.$strip>>>;
|
|
1301
|
+
testCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1302
|
+
toolTriggered: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1303
|
+
expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1304
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>>>;
|
|
1307
|
+
negativeTestCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1308
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
}, z.core.$strip>>>;
|
|
1311
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1312
|
+
locale: z.ZodEnum<{
|
|
1313
|
+
am: "am";
|
|
1314
|
+
ar: "ar";
|
|
1315
|
+
"bg-BG": "bg-BG";
|
|
1316
|
+
"bn-BD": "bn-BD";
|
|
1317
|
+
"bs-BA": "bs-BA";
|
|
1318
|
+
"ca-ES": "ca-ES";
|
|
1319
|
+
"cs-CZ": "cs-CZ";
|
|
1320
|
+
"da-DK": "da-DK";
|
|
1321
|
+
"de-DE": "de-DE";
|
|
1322
|
+
"el-GR": "el-GR";
|
|
1323
|
+
"es-419": "es-419";
|
|
1324
|
+
"es-ES": "es-ES";
|
|
1325
|
+
"et-EE": "et-EE";
|
|
1326
|
+
"fi-FI": "fi-FI";
|
|
1327
|
+
"fr-CA": "fr-CA";
|
|
1328
|
+
"fr-FR": "fr-FR";
|
|
1329
|
+
"gu-IN": "gu-IN";
|
|
1330
|
+
"hi-IN": "hi-IN";
|
|
1331
|
+
"hr-HR": "hr-HR";
|
|
1332
|
+
"hu-HU": "hu-HU";
|
|
1333
|
+
"hy-AM": "hy-AM";
|
|
1334
|
+
"id-ID": "id-ID";
|
|
1335
|
+
"is-IS": "is-IS";
|
|
1336
|
+
"it-IT": "it-IT";
|
|
1337
|
+
"ja-JP": "ja-JP";
|
|
1338
|
+
"ka-GE": "ka-GE";
|
|
1339
|
+
kk: "kk";
|
|
1340
|
+
"kn-IN": "kn-IN";
|
|
1341
|
+
"ko-KR": "ko-KR";
|
|
1342
|
+
lt: "lt";
|
|
1343
|
+
"lv-LV": "lv-LV";
|
|
1344
|
+
"mk-MK": "mk-MK";
|
|
1345
|
+
ml: "ml";
|
|
1346
|
+
mn: "mn";
|
|
1347
|
+
"mr-IN": "mr-IN";
|
|
1348
|
+
"ms-MY": "ms-MY";
|
|
1349
|
+
"my-MM": "my-MM";
|
|
1350
|
+
"nb-NO": "nb-NO";
|
|
1351
|
+
"nl-NL": "nl-NL";
|
|
1352
|
+
pa: "pa";
|
|
1353
|
+
"pl-PL": "pl-PL";
|
|
1354
|
+
"pt-BR": "pt-BR";
|
|
1355
|
+
"pt-PT": "pt-PT";
|
|
1356
|
+
"ro-RO": "ro-RO";
|
|
1357
|
+
"ru-RU": "ru-RU";
|
|
1358
|
+
"sk-SK": "sk-SK";
|
|
1359
|
+
"sl-SI": "sl-SI";
|
|
1360
|
+
"so-SO": "so-SO";
|
|
1361
|
+
"sq-AL": "sq-AL";
|
|
1362
|
+
"sr-RS": "sr-RS";
|
|
1363
|
+
"sv-SE": "sv-SE";
|
|
1364
|
+
"sw-TZ": "sw-TZ";
|
|
1365
|
+
"ta-IN": "ta-IN";
|
|
1366
|
+
"te-IN": "te-IN";
|
|
1367
|
+
"th-TH": "th-TH";
|
|
1368
|
+
tl: "tl";
|
|
1369
|
+
"tr-TR": "tr-TR";
|
|
1370
|
+
"uk-UA": "uk-UA";
|
|
1371
|
+
ur: "ur";
|
|
1372
|
+
"vi-VN": "vi-VN";
|
|
1373
|
+
"zh-CN": "zh-CN";
|
|
1374
|
+
"zh-HK": "zh-HK";
|
|
1375
|
+
"zh-TW": "zh-TW";
|
|
1376
|
+
}>;
|
|
1377
|
+
description: z.ZodString;
|
|
1378
|
+
tagline: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>>>;
|
|
1380
|
+
}, z.core.$strip>>>;
|
|
1381
|
+
}, z.core.$strip>;
|
|
1382
|
+
type ClaudeSubmission = z.infer<typeof claudeSubmissionSchemaInternal>;
|
|
1383
|
+
type ChatgptSubmission = z.infer<typeof chatgptSubmissionSchemaInternal>;
|
|
1384
|
+
type Submission = ClaudeSubmission | ChatgptSubmission;
|
|
1385
|
+
//#endregion
|
|
3
1386
|
//#region src/api.contract.d.ts
|
|
4
|
-
type ApiContext = {
|
|
1387
|
+
export type ApiContext = {
|
|
5
1388
|
request: Request & {
|
|
6
1389
|
teamIds: string[];
|
|
7
1390
|
defaultTeamId: string | undefined;
|
|
8
1391
|
awsCognitoUserSub: string | undefined;
|
|
9
1392
|
};
|
|
10
1393
|
};
|
|
11
|
-
declare const deploymentStatusSchema: z.ZodEnum<{
|
|
1394
|
+
export declare const deploymentStatusSchema: z.ZodEnum<{
|
|
12
1395
|
ongoing: "ongoing";
|
|
13
1396
|
deployed: "deployed";
|
|
14
1397
|
failed: "failed";
|
|
15
1398
|
canceled: "canceled";
|
|
16
1399
|
}>;
|
|
17
|
-
declare const createEnvironmentContractV1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1400
|
+
export declare const createEnvironmentContractV1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
18
1401
|
projectId: z.ZodString;
|
|
19
1402
|
name: z.ZodString;
|
|
20
1403
|
sourceBranch: z.ZodString;
|
|
@@ -35,7 +1418,648 @@ declare const createEnvironmentContractV1: import("@orpc/contract").ContractProc
|
|
|
35
1418
|
}>, {
|
|
36
1419
|
NOT_FOUND: {};
|
|
37
1420
|
}>, Record<never, never>>;
|
|
38
|
-
declare const
|
|
1421
|
+
export declare const claudeSubmissionUpdateSchema: z.ZodObject<{
|
|
1422
|
+
primaryUseCases: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
connectionRequirements: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
readWriteCapabilities: z.ZodOptional<z.ZodEnum<{
|
|
1425
|
+
read_only: "read_only";
|
|
1426
|
+
write_only: "write_only";
|
|
1427
|
+
read_write: "read_write";
|
|
1428
|
+
}>>;
|
|
1429
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
primaryContactName: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
primaryContactRole: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1432
|
+
anthropicPointOfContact: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1433
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
oauth_dcr: "oauth_dcr";
|
|
1435
|
+
oauth_cimd: "oauth_cimd";
|
|
1436
|
+
oauth_anthropic_creds: "oauth_anthropic_creds";
|
|
1437
|
+
custom_connection: "custom_connection";
|
|
1438
|
+
none: "none";
|
|
1439
|
+
}>>;
|
|
1440
|
+
partialAuth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1441
|
+
apiOwnership: z.ZodOptional<z.ZodEnum<{
|
|
1442
|
+
first_party: "first_party";
|
|
1443
|
+
proxied: "proxied";
|
|
1444
|
+
third_party: "third_party";
|
|
1445
|
+
}>>;
|
|
1446
|
+
personalHealthData: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1447
|
+
other: z.ZodString;
|
|
1448
|
+
}, z.core.$strip>]>>;
|
|
1449
|
+
sponsoredContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
1450
|
+
other: z.ZodString;
|
|
1451
|
+
}, z.core.$strip>]>>;
|
|
1452
|
+
testInstructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1453
|
+
selfTested: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1454
|
+
policyAcknowledgements: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1455
|
+
"I have read and understand the MCP Directory developer guidelines.": "I have read and understand the MCP Directory developer guidelines.";
|
|
1456
|
+
"My server calls our own first-party APIs (or APIs we legitimately proxy with permission).": "My server calls our own first-party APIs (or APIs we legitimately proxy with permission).";
|
|
1457
|
+
"My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.": "My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.";
|
|
1458
|
+
"My connector does not use AI models to generate images, video, or audio.": "My connector does not use AI models to generate images, video, or audio.";
|
|
1459
|
+
"Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.": "Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.";
|
|
1460
|
+
"My connector does not collect conversation data beyond what is needed for its function.": "My connector does not collect conversation data beyond what is needed for its function.";
|
|
1461
|
+
"Public documentation for this connector will be live by the publish date.": "Public documentation for this connector will be live by the publish date.";
|
|
1462
|
+
}>>>;
|
|
1463
|
+
additionalNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1464
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
oneLiner: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
support: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
privacyPolicy: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
companyWebsite: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
primaryContactEmail: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1476
|
+
Productivity: "Productivity";
|
|
1477
|
+
Communication: "Communication";
|
|
1478
|
+
"Data & Analytics": "Data & Analytics";
|
|
1479
|
+
"Development tools": "Development tools";
|
|
1480
|
+
"Financial Services": "Financial Services";
|
|
1481
|
+
"Consumer Health": "Consumer Health";
|
|
1482
|
+
"Health & Life Sciences": "Health & Life Sciences";
|
|
1483
|
+
"Media & Entertainment": "Media & Entertainment";
|
|
1484
|
+
"Commerce & Shopping": "Commerce & Shopping";
|
|
1485
|
+
Legal: "Legal";
|
|
1486
|
+
"Sales and marketing": "Sales and marketing";
|
|
1487
|
+
Creative: "Creative";
|
|
1488
|
+
Nonprofit: "Nonprofit";
|
|
1489
|
+
Education: "Education";
|
|
1490
|
+
Other: "Other";
|
|
1491
|
+
}>>>;
|
|
1492
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1493
|
+
prompt: z.ZodString;
|
|
1494
|
+
url: z.ZodString;
|
|
1495
|
+
}, z.core.$strip>>>;
|
|
1496
|
+
}, z.core.$strict>;
|
|
1497
|
+
export declare const chatgptSubmissionUpdateSchema: z.ZodObject<{
|
|
1498
|
+
logoLight: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
logoDark: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1500
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
1503
|
+
BUSINESS: "BUSINESS";
|
|
1504
|
+
COLLABORATION: "COLLABORATION";
|
|
1505
|
+
DESIGN: "DESIGN";
|
|
1506
|
+
DEVELOPER_TOOLS: "DEVELOPER_TOOLS";
|
|
1507
|
+
EDUCATION: "EDUCATION";
|
|
1508
|
+
ENTERTAINMENT: "ENTERTAINMENT";
|
|
1509
|
+
FINANCE: "FINANCE";
|
|
1510
|
+
FOOD: "FOOD";
|
|
1511
|
+
LIFESTYLE: "LIFESTYLE";
|
|
1512
|
+
NEWS: "NEWS";
|
|
1513
|
+
PRODUCTIVITY: "PRODUCTIVITY";
|
|
1514
|
+
SHOPPING: "SHOPPING";
|
|
1515
|
+
TRAVEL: "TRAVEL";
|
|
1516
|
+
}>>;
|
|
1517
|
+
developerName: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
appCommerceAndPurchasing: z.ZodOptional<z.ZodBoolean>;
|
|
1519
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
1520
|
+
"No auth needed": "No auth needed";
|
|
1521
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
1522
|
+
}>>;
|
|
1523
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1524
|
+
name: z.ZodString;
|
|
1525
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1527
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
1529
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
1530
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
1531
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
1532
|
+
}, z.core.$strip>>;
|
|
1533
|
+
}, z.core.$strip>>>;
|
|
1534
|
+
toolJustifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1535
|
+
toolName: z.ZodString;
|
|
1536
|
+
readOnlyJustification: z.ZodString;
|
|
1537
|
+
openWorldJustification: z.ZodString;
|
|
1538
|
+
destructiveJustification: z.ZodString;
|
|
1539
|
+
}, z.core.$strip>>>;
|
|
1540
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1541
|
+
name: z.ZodString;
|
|
1542
|
+
}, z.core.$strip>>>>;
|
|
1543
|
+
allowedCountries: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1544
|
+
mode: z.ZodLiteral<"all">;
|
|
1545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1546
|
+
mode: z.ZodLiteral<"allow">;
|
|
1547
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
1548
|
+
AD: "AD";
|
|
1549
|
+
AE: "AE";
|
|
1550
|
+
AF: "AF";
|
|
1551
|
+
AG: "AG";
|
|
1552
|
+
AL: "AL";
|
|
1553
|
+
AM: "AM";
|
|
1554
|
+
AO: "AO";
|
|
1555
|
+
AR: "AR";
|
|
1556
|
+
AT: "AT";
|
|
1557
|
+
AU: "AU";
|
|
1558
|
+
AW: "AW";
|
|
1559
|
+
AX: "AX";
|
|
1560
|
+
AZ: "AZ";
|
|
1561
|
+
BA: "BA";
|
|
1562
|
+
BB: "BB";
|
|
1563
|
+
BD: "BD";
|
|
1564
|
+
BE: "BE";
|
|
1565
|
+
BF: "BF";
|
|
1566
|
+
BG: "BG";
|
|
1567
|
+
BH: "BH";
|
|
1568
|
+
BI: "BI";
|
|
1569
|
+
BJ: "BJ";
|
|
1570
|
+
BL: "BL";
|
|
1571
|
+
BM: "BM";
|
|
1572
|
+
BN: "BN";
|
|
1573
|
+
BO: "BO";
|
|
1574
|
+
BR: "BR";
|
|
1575
|
+
BS: "BS";
|
|
1576
|
+
BT: "BT";
|
|
1577
|
+
BW: "BW";
|
|
1578
|
+
BZ: "BZ";
|
|
1579
|
+
CA: "CA";
|
|
1580
|
+
CD: "CD";
|
|
1581
|
+
CF: "CF";
|
|
1582
|
+
CG: "CG";
|
|
1583
|
+
CH: "CH";
|
|
1584
|
+
CI: "CI";
|
|
1585
|
+
CL: "CL";
|
|
1586
|
+
CM: "CM";
|
|
1587
|
+
CO: "CO";
|
|
1588
|
+
CR: "CR";
|
|
1589
|
+
CV: "CV";
|
|
1590
|
+
CY: "CY";
|
|
1591
|
+
CZ: "CZ";
|
|
1592
|
+
DE: "DE";
|
|
1593
|
+
DJ: "DJ";
|
|
1594
|
+
DK: "DK";
|
|
1595
|
+
DM: "DM";
|
|
1596
|
+
DO: "DO";
|
|
1597
|
+
DZ: "DZ";
|
|
1598
|
+
EC: "EC";
|
|
1599
|
+
EE: "EE";
|
|
1600
|
+
EG: "EG";
|
|
1601
|
+
ER: "ER";
|
|
1602
|
+
ES: "ES";
|
|
1603
|
+
ET: "ET";
|
|
1604
|
+
FI: "FI";
|
|
1605
|
+
FJ: "FJ";
|
|
1606
|
+
FM: "FM";
|
|
1607
|
+
FO: "FO";
|
|
1608
|
+
FR: "FR";
|
|
1609
|
+
GA: "GA";
|
|
1610
|
+
GB: "GB";
|
|
1611
|
+
GD: "GD";
|
|
1612
|
+
GE: "GE";
|
|
1613
|
+
GF: "GF";
|
|
1614
|
+
GH: "GH";
|
|
1615
|
+
GL: "GL";
|
|
1616
|
+
GM: "GM";
|
|
1617
|
+
GN: "GN";
|
|
1618
|
+
GP: "GP";
|
|
1619
|
+
GQ: "GQ";
|
|
1620
|
+
GR: "GR";
|
|
1621
|
+
GT: "GT";
|
|
1622
|
+
GW: "GW";
|
|
1623
|
+
GY: "GY";
|
|
1624
|
+
HN: "HN";
|
|
1625
|
+
HR: "HR";
|
|
1626
|
+
HT: "HT";
|
|
1627
|
+
HU: "HU";
|
|
1628
|
+
ID: "ID";
|
|
1629
|
+
IE: "IE";
|
|
1630
|
+
IL: "IL";
|
|
1631
|
+
IN: "IN";
|
|
1632
|
+
IQ: "IQ";
|
|
1633
|
+
IS: "IS";
|
|
1634
|
+
IT: "IT";
|
|
1635
|
+
JM: "JM";
|
|
1636
|
+
JO: "JO";
|
|
1637
|
+
JP: "JP";
|
|
1638
|
+
KE: "KE";
|
|
1639
|
+
KG: "KG";
|
|
1640
|
+
KH: "KH";
|
|
1641
|
+
KI: "KI";
|
|
1642
|
+
KM: "KM";
|
|
1643
|
+
KN: "KN";
|
|
1644
|
+
KR: "KR";
|
|
1645
|
+
KW: "KW";
|
|
1646
|
+
KY: "KY";
|
|
1647
|
+
KZ: "KZ";
|
|
1648
|
+
LA: "LA";
|
|
1649
|
+
LB: "LB";
|
|
1650
|
+
LC: "LC";
|
|
1651
|
+
LI: "LI";
|
|
1652
|
+
LK: "LK";
|
|
1653
|
+
LR: "LR";
|
|
1654
|
+
LS: "LS";
|
|
1655
|
+
LT: "LT";
|
|
1656
|
+
LU: "LU";
|
|
1657
|
+
LV: "LV";
|
|
1658
|
+
LY: "LY";
|
|
1659
|
+
MA: "MA";
|
|
1660
|
+
MC: "MC";
|
|
1661
|
+
MD: "MD";
|
|
1662
|
+
ME: "ME";
|
|
1663
|
+
MF: "MF";
|
|
1664
|
+
MG: "MG";
|
|
1665
|
+
MH: "MH";
|
|
1666
|
+
MK: "MK";
|
|
1667
|
+
ML: "ML";
|
|
1668
|
+
MM: "MM";
|
|
1669
|
+
MN: "MN";
|
|
1670
|
+
MQ: "MQ";
|
|
1671
|
+
MR: "MR";
|
|
1672
|
+
MT: "MT";
|
|
1673
|
+
MU: "MU";
|
|
1674
|
+
MV: "MV";
|
|
1675
|
+
MW: "MW";
|
|
1676
|
+
MX: "MX";
|
|
1677
|
+
MY: "MY";
|
|
1678
|
+
MZ: "MZ";
|
|
1679
|
+
NA: "NA";
|
|
1680
|
+
NC: "NC";
|
|
1681
|
+
NE: "NE";
|
|
1682
|
+
NG: "NG";
|
|
1683
|
+
NI: "NI";
|
|
1684
|
+
NL: "NL";
|
|
1685
|
+
NO: "NO";
|
|
1686
|
+
NP: "NP";
|
|
1687
|
+
NR: "NR";
|
|
1688
|
+
NZ: "NZ";
|
|
1689
|
+
OM: "OM";
|
|
1690
|
+
PA: "PA";
|
|
1691
|
+
PE: "PE";
|
|
1692
|
+
PF: "PF";
|
|
1693
|
+
PG: "PG";
|
|
1694
|
+
PH: "PH";
|
|
1695
|
+
PK: "PK";
|
|
1696
|
+
PL: "PL";
|
|
1697
|
+
PM: "PM";
|
|
1698
|
+
PS: "PS";
|
|
1699
|
+
PT: "PT";
|
|
1700
|
+
PW: "PW";
|
|
1701
|
+
PY: "PY";
|
|
1702
|
+
QA: "QA";
|
|
1703
|
+
RE: "RE";
|
|
1704
|
+
RO: "RO";
|
|
1705
|
+
RS: "RS";
|
|
1706
|
+
RW: "RW";
|
|
1707
|
+
SA: "SA";
|
|
1708
|
+
SB: "SB";
|
|
1709
|
+
SC: "SC";
|
|
1710
|
+
SD: "SD";
|
|
1711
|
+
SE: "SE";
|
|
1712
|
+
SG: "SG";
|
|
1713
|
+
SH: "SH";
|
|
1714
|
+
SI: "SI";
|
|
1715
|
+
SJ: "SJ";
|
|
1716
|
+
SK: "SK";
|
|
1717
|
+
SL: "SL";
|
|
1718
|
+
SM: "SM";
|
|
1719
|
+
SN: "SN";
|
|
1720
|
+
SO: "SO";
|
|
1721
|
+
SR: "SR";
|
|
1722
|
+
SS: "SS";
|
|
1723
|
+
ST: "ST";
|
|
1724
|
+
SV: "SV";
|
|
1725
|
+
SZ: "SZ";
|
|
1726
|
+
TD: "TD";
|
|
1727
|
+
TF: "TF";
|
|
1728
|
+
TG: "TG";
|
|
1729
|
+
TH: "TH";
|
|
1730
|
+
TJ: "TJ";
|
|
1731
|
+
TL: "TL";
|
|
1732
|
+
TM: "TM";
|
|
1733
|
+
TN: "TN";
|
|
1734
|
+
TO: "TO";
|
|
1735
|
+
TR: "TR";
|
|
1736
|
+
TT: "TT";
|
|
1737
|
+
TV: "TV";
|
|
1738
|
+
TW: "TW";
|
|
1739
|
+
TZ: "TZ";
|
|
1740
|
+
UA: "UA";
|
|
1741
|
+
UG: "UG";
|
|
1742
|
+
US: "US";
|
|
1743
|
+
UY: "UY";
|
|
1744
|
+
UZ: "UZ";
|
|
1745
|
+
VA: "VA";
|
|
1746
|
+
VC: "VC";
|
|
1747
|
+
VN: "VN";
|
|
1748
|
+
VU: "VU";
|
|
1749
|
+
WF: "WF";
|
|
1750
|
+
WS: "WS";
|
|
1751
|
+
YE: "YE";
|
|
1752
|
+
YT: "YT";
|
|
1753
|
+
ZA: "ZA";
|
|
1754
|
+
ZM: "ZM";
|
|
1755
|
+
ZW: "ZW";
|
|
1756
|
+
}>>;
|
|
1757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1758
|
+
mode: z.ZodLiteral<"block">;
|
|
1759
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
1760
|
+
AD: "AD";
|
|
1761
|
+
AE: "AE";
|
|
1762
|
+
AF: "AF";
|
|
1763
|
+
AG: "AG";
|
|
1764
|
+
AL: "AL";
|
|
1765
|
+
AM: "AM";
|
|
1766
|
+
AO: "AO";
|
|
1767
|
+
AR: "AR";
|
|
1768
|
+
AT: "AT";
|
|
1769
|
+
AU: "AU";
|
|
1770
|
+
AW: "AW";
|
|
1771
|
+
AX: "AX";
|
|
1772
|
+
AZ: "AZ";
|
|
1773
|
+
BA: "BA";
|
|
1774
|
+
BB: "BB";
|
|
1775
|
+
BD: "BD";
|
|
1776
|
+
BE: "BE";
|
|
1777
|
+
BF: "BF";
|
|
1778
|
+
BG: "BG";
|
|
1779
|
+
BH: "BH";
|
|
1780
|
+
BI: "BI";
|
|
1781
|
+
BJ: "BJ";
|
|
1782
|
+
BL: "BL";
|
|
1783
|
+
BM: "BM";
|
|
1784
|
+
BN: "BN";
|
|
1785
|
+
BO: "BO";
|
|
1786
|
+
BR: "BR";
|
|
1787
|
+
BS: "BS";
|
|
1788
|
+
BT: "BT";
|
|
1789
|
+
BW: "BW";
|
|
1790
|
+
BZ: "BZ";
|
|
1791
|
+
CA: "CA";
|
|
1792
|
+
CD: "CD";
|
|
1793
|
+
CF: "CF";
|
|
1794
|
+
CG: "CG";
|
|
1795
|
+
CH: "CH";
|
|
1796
|
+
CI: "CI";
|
|
1797
|
+
CL: "CL";
|
|
1798
|
+
CM: "CM";
|
|
1799
|
+
CO: "CO";
|
|
1800
|
+
CR: "CR";
|
|
1801
|
+
CV: "CV";
|
|
1802
|
+
CY: "CY";
|
|
1803
|
+
CZ: "CZ";
|
|
1804
|
+
DE: "DE";
|
|
1805
|
+
DJ: "DJ";
|
|
1806
|
+
DK: "DK";
|
|
1807
|
+
DM: "DM";
|
|
1808
|
+
DO: "DO";
|
|
1809
|
+
DZ: "DZ";
|
|
1810
|
+
EC: "EC";
|
|
1811
|
+
EE: "EE";
|
|
1812
|
+
EG: "EG";
|
|
1813
|
+
ER: "ER";
|
|
1814
|
+
ES: "ES";
|
|
1815
|
+
ET: "ET";
|
|
1816
|
+
FI: "FI";
|
|
1817
|
+
FJ: "FJ";
|
|
1818
|
+
FM: "FM";
|
|
1819
|
+
FO: "FO";
|
|
1820
|
+
FR: "FR";
|
|
1821
|
+
GA: "GA";
|
|
1822
|
+
GB: "GB";
|
|
1823
|
+
GD: "GD";
|
|
1824
|
+
GE: "GE";
|
|
1825
|
+
GF: "GF";
|
|
1826
|
+
GH: "GH";
|
|
1827
|
+
GL: "GL";
|
|
1828
|
+
GM: "GM";
|
|
1829
|
+
GN: "GN";
|
|
1830
|
+
GP: "GP";
|
|
1831
|
+
GQ: "GQ";
|
|
1832
|
+
GR: "GR";
|
|
1833
|
+
GT: "GT";
|
|
1834
|
+
GW: "GW";
|
|
1835
|
+
GY: "GY";
|
|
1836
|
+
HN: "HN";
|
|
1837
|
+
HR: "HR";
|
|
1838
|
+
HT: "HT";
|
|
1839
|
+
HU: "HU";
|
|
1840
|
+
ID: "ID";
|
|
1841
|
+
IE: "IE";
|
|
1842
|
+
IL: "IL";
|
|
1843
|
+
IN: "IN";
|
|
1844
|
+
IQ: "IQ";
|
|
1845
|
+
IS: "IS";
|
|
1846
|
+
IT: "IT";
|
|
1847
|
+
JM: "JM";
|
|
1848
|
+
JO: "JO";
|
|
1849
|
+
JP: "JP";
|
|
1850
|
+
KE: "KE";
|
|
1851
|
+
KG: "KG";
|
|
1852
|
+
KH: "KH";
|
|
1853
|
+
KI: "KI";
|
|
1854
|
+
KM: "KM";
|
|
1855
|
+
KN: "KN";
|
|
1856
|
+
KR: "KR";
|
|
1857
|
+
KW: "KW";
|
|
1858
|
+
KY: "KY";
|
|
1859
|
+
KZ: "KZ";
|
|
1860
|
+
LA: "LA";
|
|
1861
|
+
LB: "LB";
|
|
1862
|
+
LC: "LC";
|
|
1863
|
+
LI: "LI";
|
|
1864
|
+
LK: "LK";
|
|
1865
|
+
LR: "LR";
|
|
1866
|
+
LS: "LS";
|
|
1867
|
+
LT: "LT";
|
|
1868
|
+
LU: "LU";
|
|
1869
|
+
LV: "LV";
|
|
1870
|
+
LY: "LY";
|
|
1871
|
+
MA: "MA";
|
|
1872
|
+
MC: "MC";
|
|
1873
|
+
MD: "MD";
|
|
1874
|
+
ME: "ME";
|
|
1875
|
+
MF: "MF";
|
|
1876
|
+
MG: "MG";
|
|
1877
|
+
MH: "MH";
|
|
1878
|
+
MK: "MK";
|
|
1879
|
+
ML: "ML";
|
|
1880
|
+
MM: "MM";
|
|
1881
|
+
MN: "MN";
|
|
1882
|
+
MQ: "MQ";
|
|
1883
|
+
MR: "MR";
|
|
1884
|
+
MT: "MT";
|
|
1885
|
+
MU: "MU";
|
|
1886
|
+
MV: "MV";
|
|
1887
|
+
MW: "MW";
|
|
1888
|
+
MX: "MX";
|
|
1889
|
+
MY: "MY";
|
|
1890
|
+
MZ: "MZ";
|
|
1891
|
+
NA: "NA";
|
|
1892
|
+
NC: "NC";
|
|
1893
|
+
NE: "NE";
|
|
1894
|
+
NG: "NG";
|
|
1895
|
+
NI: "NI";
|
|
1896
|
+
NL: "NL";
|
|
1897
|
+
NO: "NO";
|
|
1898
|
+
NP: "NP";
|
|
1899
|
+
NR: "NR";
|
|
1900
|
+
NZ: "NZ";
|
|
1901
|
+
OM: "OM";
|
|
1902
|
+
PA: "PA";
|
|
1903
|
+
PE: "PE";
|
|
1904
|
+
PF: "PF";
|
|
1905
|
+
PG: "PG";
|
|
1906
|
+
PH: "PH";
|
|
1907
|
+
PK: "PK";
|
|
1908
|
+
PL: "PL";
|
|
1909
|
+
PM: "PM";
|
|
1910
|
+
PS: "PS";
|
|
1911
|
+
PT: "PT";
|
|
1912
|
+
PW: "PW";
|
|
1913
|
+
PY: "PY";
|
|
1914
|
+
QA: "QA";
|
|
1915
|
+
RE: "RE";
|
|
1916
|
+
RO: "RO";
|
|
1917
|
+
RS: "RS";
|
|
1918
|
+
RW: "RW";
|
|
1919
|
+
SA: "SA";
|
|
1920
|
+
SB: "SB";
|
|
1921
|
+
SC: "SC";
|
|
1922
|
+
SD: "SD";
|
|
1923
|
+
SE: "SE";
|
|
1924
|
+
SG: "SG";
|
|
1925
|
+
SH: "SH";
|
|
1926
|
+
SI: "SI";
|
|
1927
|
+
SJ: "SJ";
|
|
1928
|
+
SK: "SK";
|
|
1929
|
+
SL: "SL";
|
|
1930
|
+
SM: "SM";
|
|
1931
|
+
SN: "SN";
|
|
1932
|
+
SO: "SO";
|
|
1933
|
+
SR: "SR";
|
|
1934
|
+
SS: "SS";
|
|
1935
|
+
ST: "ST";
|
|
1936
|
+
SV: "SV";
|
|
1937
|
+
SZ: "SZ";
|
|
1938
|
+
TD: "TD";
|
|
1939
|
+
TF: "TF";
|
|
1940
|
+
TG: "TG";
|
|
1941
|
+
TH: "TH";
|
|
1942
|
+
TJ: "TJ";
|
|
1943
|
+
TL: "TL";
|
|
1944
|
+
TM: "TM";
|
|
1945
|
+
TN: "TN";
|
|
1946
|
+
TO: "TO";
|
|
1947
|
+
TR: "TR";
|
|
1948
|
+
TT: "TT";
|
|
1949
|
+
TV: "TV";
|
|
1950
|
+
TW: "TW";
|
|
1951
|
+
TZ: "TZ";
|
|
1952
|
+
UA: "UA";
|
|
1953
|
+
UG: "UG";
|
|
1954
|
+
US: "US";
|
|
1955
|
+
UY: "UY";
|
|
1956
|
+
UZ: "UZ";
|
|
1957
|
+
VA: "VA";
|
|
1958
|
+
VC: "VC";
|
|
1959
|
+
VN: "VN";
|
|
1960
|
+
VU: "VU";
|
|
1961
|
+
WF: "WF";
|
|
1962
|
+
WS: "WS";
|
|
1963
|
+
YE: "YE";
|
|
1964
|
+
YT: "YT";
|
|
1965
|
+
ZA: "ZA";
|
|
1966
|
+
ZM: "ZM";
|
|
1967
|
+
ZW: "ZW";
|
|
1968
|
+
}>>;
|
|
1969
|
+
}, z.core.$strip>], "mode">>;
|
|
1970
|
+
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
1972
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
supportChannel: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
demoRecordingUrl: z.ZodOptional<z.ZodString>;
|
|
1977
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
1978
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1979
|
+
prompt: z.ZodString;
|
|
1980
|
+
url: z.ZodString;
|
|
1981
|
+
}, z.core.$strip>>>;
|
|
1982
|
+
testCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1983
|
+
toolTriggered: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1984
|
+
expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1985
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
}, z.core.$strip>>>;
|
|
1988
|
+
negativeTestCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1989
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
}, z.core.$strip>>>;
|
|
1992
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1993
|
+
locale: z.ZodEnum<{
|
|
1994
|
+
am: "am";
|
|
1995
|
+
ar: "ar";
|
|
1996
|
+
"bg-BG": "bg-BG";
|
|
1997
|
+
"bn-BD": "bn-BD";
|
|
1998
|
+
"bs-BA": "bs-BA";
|
|
1999
|
+
"ca-ES": "ca-ES";
|
|
2000
|
+
"cs-CZ": "cs-CZ";
|
|
2001
|
+
"da-DK": "da-DK";
|
|
2002
|
+
"de-DE": "de-DE";
|
|
2003
|
+
"el-GR": "el-GR";
|
|
2004
|
+
"es-419": "es-419";
|
|
2005
|
+
"es-ES": "es-ES";
|
|
2006
|
+
"et-EE": "et-EE";
|
|
2007
|
+
"fi-FI": "fi-FI";
|
|
2008
|
+
"fr-CA": "fr-CA";
|
|
2009
|
+
"fr-FR": "fr-FR";
|
|
2010
|
+
"gu-IN": "gu-IN";
|
|
2011
|
+
"hi-IN": "hi-IN";
|
|
2012
|
+
"hr-HR": "hr-HR";
|
|
2013
|
+
"hu-HU": "hu-HU";
|
|
2014
|
+
"hy-AM": "hy-AM";
|
|
2015
|
+
"id-ID": "id-ID";
|
|
2016
|
+
"is-IS": "is-IS";
|
|
2017
|
+
"it-IT": "it-IT";
|
|
2018
|
+
"ja-JP": "ja-JP";
|
|
2019
|
+
"ka-GE": "ka-GE";
|
|
2020
|
+
kk: "kk";
|
|
2021
|
+
"kn-IN": "kn-IN";
|
|
2022
|
+
"ko-KR": "ko-KR";
|
|
2023
|
+
lt: "lt";
|
|
2024
|
+
"lv-LV": "lv-LV";
|
|
2025
|
+
"mk-MK": "mk-MK";
|
|
2026
|
+
ml: "ml";
|
|
2027
|
+
mn: "mn";
|
|
2028
|
+
"mr-IN": "mr-IN";
|
|
2029
|
+
"ms-MY": "ms-MY";
|
|
2030
|
+
"my-MM": "my-MM";
|
|
2031
|
+
"nb-NO": "nb-NO";
|
|
2032
|
+
"nl-NL": "nl-NL";
|
|
2033
|
+
pa: "pa";
|
|
2034
|
+
"pl-PL": "pl-PL";
|
|
2035
|
+
"pt-BR": "pt-BR";
|
|
2036
|
+
"pt-PT": "pt-PT";
|
|
2037
|
+
"ro-RO": "ro-RO";
|
|
2038
|
+
"ru-RU": "ru-RU";
|
|
2039
|
+
"sk-SK": "sk-SK";
|
|
2040
|
+
"sl-SI": "sl-SI";
|
|
2041
|
+
"so-SO": "so-SO";
|
|
2042
|
+
"sq-AL": "sq-AL";
|
|
2043
|
+
"sr-RS": "sr-RS";
|
|
2044
|
+
"sv-SE": "sv-SE";
|
|
2045
|
+
"sw-TZ": "sw-TZ";
|
|
2046
|
+
"ta-IN": "ta-IN";
|
|
2047
|
+
"te-IN": "te-IN";
|
|
2048
|
+
"th-TH": "th-TH";
|
|
2049
|
+
tl: "tl";
|
|
2050
|
+
"tr-TR": "tr-TR";
|
|
2051
|
+
"uk-UA": "uk-UA";
|
|
2052
|
+
ur: "ur";
|
|
2053
|
+
"vi-VN": "vi-VN";
|
|
2054
|
+
"zh-CN": "zh-CN";
|
|
2055
|
+
"zh-HK": "zh-HK";
|
|
2056
|
+
"zh-TW": "zh-TW";
|
|
2057
|
+
}>;
|
|
2058
|
+
description: z.ZodString;
|
|
2059
|
+
tagline: z.ZodString;
|
|
2060
|
+
}, z.core.$strip>>>;
|
|
2061
|
+
}, z.core.$strict>;
|
|
2062
|
+
export declare const contract: {
|
|
39
2063
|
teams: {
|
|
40
2064
|
list: {
|
|
41
2065
|
v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
@@ -470,6 +2494,17 @@ declare const contract: {
|
|
|
470
2494
|
NOT_FOUND: {};
|
|
471
2495
|
}>, Record<never, never>>;
|
|
472
2496
|
};
|
|
2497
|
+
delete: {
|
|
2498
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2499
|
+
environmentId: z.ZodString;
|
|
2500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2501
|
+
success: z.ZodLiteral<true>;
|
|
2502
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2503
|
+
BAD_REQUEST: {};
|
|
2504
|
+
}>, {
|
|
2505
|
+
NOT_FOUND: {};
|
|
2506
|
+
}>, Record<never, never>>;
|
|
2507
|
+
};
|
|
473
2508
|
deploy: {
|
|
474
2509
|
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
475
2510
|
environmentId: z.ZodString;
|
|
@@ -1222,8 +3257,686 @@ declare const contract: {
|
|
|
1222
3257
|
}>, Record<never, never>>;
|
|
1223
3258
|
};
|
|
1224
3259
|
};
|
|
3260
|
+
submissions: {
|
|
3261
|
+
create: {
|
|
3262
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3263
|
+
environmentId: z.ZodString;
|
|
3264
|
+
platform: z.ZodEnum<{
|
|
3265
|
+
chatgpt: "chatgpt";
|
|
3266
|
+
claudeai: "claudeai";
|
|
3267
|
+
}>;
|
|
3268
|
+
}, z.core.$strip>, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3269
|
+
BAD_REQUEST: {};
|
|
3270
|
+
}>, {
|
|
3271
|
+
NOT_FOUND: {};
|
|
3272
|
+
}>, Record<never, never>>;
|
|
3273
|
+
};
|
|
3274
|
+
get: {
|
|
3275
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3276
|
+
submissionId: z.ZodString;
|
|
3277
|
+
}, z.core.$strip>, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3278
|
+
BAD_REQUEST: {};
|
|
3279
|
+
}>, {
|
|
3280
|
+
NOT_FOUND: {};
|
|
3281
|
+
}>, Record<never, never>>;
|
|
3282
|
+
};
|
|
3283
|
+
update: {
|
|
3284
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3285
|
+
submissionId: z.ZodString;
|
|
3286
|
+
platform: z.ZodLiteral<"claudeai">;
|
|
3287
|
+
formData: z.ZodObject<{
|
|
3288
|
+
primaryUseCases: z.ZodOptional<z.ZodString>;
|
|
3289
|
+
connectionRequirements: z.ZodOptional<z.ZodString>;
|
|
3290
|
+
readWriteCapabilities: z.ZodOptional<z.ZodEnum<{
|
|
3291
|
+
read_only: "read_only";
|
|
3292
|
+
write_only: "write_only";
|
|
3293
|
+
read_write: "read_write";
|
|
3294
|
+
}>>;
|
|
3295
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
primaryContactName: z.ZodOptional<z.ZodString>;
|
|
3297
|
+
primaryContactRole: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3298
|
+
anthropicPointOfContact: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3299
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
3300
|
+
oauth_dcr: "oauth_dcr";
|
|
3301
|
+
oauth_cimd: "oauth_cimd";
|
|
3302
|
+
oauth_anthropic_creds: "oauth_anthropic_creds";
|
|
3303
|
+
custom_connection: "custom_connection";
|
|
3304
|
+
none: "none";
|
|
3305
|
+
}>>;
|
|
3306
|
+
partialAuth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3307
|
+
apiOwnership: z.ZodOptional<z.ZodEnum<{
|
|
3308
|
+
first_party: "first_party";
|
|
3309
|
+
proxied: "proxied";
|
|
3310
|
+
third_party: "third_party";
|
|
3311
|
+
}>>;
|
|
3312
|
+
personalHealthData: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3313
|
+
other: z.ZodString;
|
|
3314
|
+
}, z.core.$strip>]>>;
|
|
3315
|
+
sponsoredContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3316
|
+
other: z.ZodString;
|
|
3317
|
+
}, z.core.$strip>]>>;
|
|
3318
|
+
testInstructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3319
|
+
selfTested: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3320
|
+
policyAcknowledgements: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3321
|
+
"I have read and understand the MCP Directory developer guidelines.": "I have read and understand the MCP Directory developer guidelines.";
|
|
3322
|
+
"My server calls our own first-party APIs (or APIs we legitimately proxy with permission).": "My server calls our own first-party APIs (or APIs we legitimately proxy with permission).";
|
|
3323
|
+
"My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.": "My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.";
|
|
3324
|
+
"My connector does not use AI models to generate images, video, or audio.": "My connector does not use AI models to generate images, video, or audio.";
|
|
3325
|
+
"Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.": "Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.";
|
|
3326
|
+
"My connector does not collect conversation data beyond what is needed for its function.": "My connector does not collect conversation data beyond what is needed for its function.";
|
|
3327
|
+
"Public documentation for this connector will be live by the publish date.": "Public documentation for this connector will be live by the publish date.";
|
|
3328
|
+
}>>>;
|
|
3329
|
+
additionalNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3330
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3333
|
+
oneLiner: z.ZodOptional<z.ZodString>;
|
|
3334
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3335
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3336
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
3337
|
+
support: z.ZodOptional<z.ZodString>;
|
|
3338
|
+
privacyPolicy: z.ZodOptional<z.ZodString>;
|
|
3339
|
+
companyWebsite: z.ZodOptional<z.ZodString>;
|
|
3340
|
+
primaryContactEmail: z.ZodOptional<z.ZodString>;
|
|
3341
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3342
|
+
Productivity: "Productivity";
|
|
3343
|
+
Communication: "Communication";
|
|
3344
|
+
"Data & Analytics": "Data & Analytics";
|
|
3345
|
+
"Development tools": "Development tools";
|
|
3346
|
+
"Financial Services": "Financial Services";
|
|
3347
|
+
"Consumer Health": "Consumer Health";
|
|
3348
|
+
"Health & Life Sciences": "Health & Life Sciences";
|
|
3349
|
+
"Media & Entertainment": "Media & Entertainment";
|
|
3350
|
+
"Commerce & Shopping": "Commerce & Shopping";
|
|
3351
|
+
Legal: "Legal";
|
|
3352
|
+
"Sales and marketing": "Sales and marketing";
|
|
3353
|
+
Creative: "Creative";
|
|
3354
|
+
Nonprofit: "Nonprofit";
|
|
3355
|
+
Education: "Education";
|
|
3356
|
+
Other: "Other";
|
|
3357
|
+
}>>>;
|
|
3358
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3359
|
+
prompt: z.ZodString;
|
|
3360
|
+
url: z.ZodString;
|
|
3361
|
+
}, z.core.$strip>>>;
|
|
3362
|
+
}, z.core.$strict>;
|
|
3363
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3364
|
+
submissionId: z.ZodString;
|
|
3365
|
+
platform: z.ZodLiteral<"chatgpt">;
|
|
3366
|
+
formData: z.ZodObject<{
|
|
3367
|
+
logoLight: z.ZodOptional<z.ZodString>;
|
|
3368
|
+
logoDark: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3369
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
3370
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
3372
|
+
BUSINESS: "BUSINESS";
|
|
3373
|
+
COLLABORATION: "COLLABORATION";
|
|
3374
|
+
DESIGN: "DESIGN";
|
|
3375
|
+
DEVELOPER_TOOLS: "DEVELOPER_TOOLS";
|
|
3376
|
+
EDUCATION: "EDUCATION";
|
|
3377
|
+
ENTERTAINMENT: "ENTERTAINMENT";
|
|
3378
|
+
FINANCE: "FINANCE";
|
|
3379
|
+
FOOD: "FOOD";
|
|
3380
|
+
LIFESTYLE: "LIFESTYLE";
|
|
3381
|
+
NEWS: "NEWS";
|
|
3382
|
+
PRODUCTIVITY: "PRODUCTIVITY";
|
|
3383
|
+
SHOPPING: "SHOPPING";
|
|
3384
|
+
TRAVEL: "TRAVEL";
|
|
3385
|
+
}>>;
|
|
3386
|
+
developerName: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
appCommerceAndPurchasing: z.ZodOptional<z.ZodBoolean>;
|
|
3388
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
3389
|
+
"No auth needed": "No auth needed";
|
|
3390
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
3391
|
+
}>>;
|
|
3392
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3393
|
+
name: z.ZodString;
|
|
3394
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3395
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
3397
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
3398
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
3399
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
3400
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
3401
|
+
}, z.core.$strip>>;
|
|
3402
|
+
}, z.core.$strip>>>;
|
|
3403
|
+
toolJustifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3404
|
+
toolName: z.ZodString;
|
|
3405
|
+
readOnlyJustification: z.ZodString;
|
|
3406
|
+
openWorldJustification: z.ZodString;
|
|
3407
|
+
destructiveJustification: z.ZodString;
|
|
3408
|
+
}, z.core.$strip>>>;
|
|
3409
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3410
|
+
name: z.ZodString;
|
|
3411
|
+
}, z.core.$strip>>>>;
|
|
3412
|
+
allowedCountries: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3413
|
+
mode: z.ZodLiteral<"all">;
|
|
3414
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3415
|
+
mode: z.ZodLiteral<"allow">;
|
|
3416
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
3417
|
+
AD: "AD";
|
|
3418
|
+
AE: "AE";
|
|
3419
|
+
AF: "AF";
|
|
3420
|
+
AG: "AG";
|
|
3421
|
+
AL: "AL";
|
|
3422
|
+
AM: "AM";
|
|
3423
|
+
AO: "AO";
|
|
3424
|
+
AR: "AR";
|
|
3425
|
+
AT: "AT";
|
|
3426
|
+
AU: "AU";
|
|
3427
|
+
AW: "AW";
|
|
3428
|
+
AX: "AX";
|
|
3429
|
+
AZ: "AZ";
|
|
3430
|
+
BA: "BA";
|
|
3431
|
+
BB: "BB";
|
|
3432
|
+
BD: "BD";
|
|
3433
|
+
BE: "BE";
|
|
3434
|
+
BF: "BF";
|
|
3435
|
+
BG: "BG";
|
|
3436
|
+
BH: "BH";
|
|
3437
|
+
BI: "BI";
|
|
3438
|
+
BJ: "BJ";
|
|
3439
|
+
BL: "BL";
|
|
3440
|
+
BM: "BM";
|
|
3441
|
+
BN: "BN";
|
|
3442
|
+
BO: "BO";
|
|
3443
|
+
BR: "BR";
|
|
3444
|
+
BS: "BS";
|
|
3445
|
+
BT: "BT";
|
|
3446
|
+
BW: "BW";
|
|
3447
|
+
BZ: "BZ";
|
|
3448
|
+
CA: "CA";
|
|
3449
|
+
CD: "CD";
|
|
3450
|
+
CF: "CF";
|
|
3451
|
+
CG: "CG";
|
|
3452
|
+
CH: "CH";
|
|
3453
|
+
CI: "CI";
|
|
3454
|
+
CL: "CL";
|
|
3455
|
+
CM: "CM";
|
|
3456
|
+
CO: "CO";
|
|
3457
|
+
CR: "CR";
|
|
3458
|
+
CV: "CV";
|
|
3459
|
+
CY: "CY";
|
|
3460
|
+
CZ: "CZ";
|
|
3461
|
+
DE: "DE";
|
|
3462
|
+
DJ: "DJ";
|
|
3463
|
+
DK: "DK";
|
|
3464
|
+
DM: "DM";
|
|
3465
|
+
DO: "DO";
|
|
3466
|
+
DZ: "DZ";
|
|
3467
|
+
EC: "EC";
|
|
3468
|
+
EE: "EE";
|
|
3469
|
+
EG: "EG";
|
|
3470
|
+
ER: "ER";
|
|
3471
|
+
ES: "ES";
|
|
3472
|
+
ET: "ET";
|
|
3473
|
+
FI: "FI";
|
|
3474
|
+
FJ: "FJ";
|
|
3475
|
+
FM: "FM";
|
|
3476
|
+
FO: "FO";
|
|
3477
|
+
FR: "FR";
|
|
3478
|
+
GA: "GA";
|
|
3479
|
+
GB: "GB";
|
|
3480
|
+
GD: "GD";
|
|
3481
|
+
GE: "GE";
|
|
3482
|
+
GF: "GF";
|
|
3483
|
+
GH: "GH";
|
|
3484
|
+
GL: "GL";
|
|
3485
|
+
GM: "GM";
|
|
3486
|
+
GN: "GN";
|
|
3487
|
+
GP: "GP";
|
|
3488
|
+
GQ: "GQ";
|
|
3489
|
+
GR: "GR";
|
|
3490
|
+
GT: "GT";
|
|
3491
|
+
GW: "GW";
|
|
3492
|
+
GY: "GY";
|
|
3493
|
+
HN: "HN";
|
|
3494
|
+
HR: "HR";
|
|
3495
|
+
HT: "HT";
|
|
3496
|
+
HU: "HU";
|
|
3497
|
+
ID: "ID";
|
|
3498
|
+
IE: "IE";
|
|
3499
|
+
IL: "IL";
|
|
3500
|
+
IN: "IN";
|
|
3501
|
+
IQ: "IQ";
|
|
3502
|
+
IS: "IS";
|
|
3503
|
+
IT: "IT";
|
|
3504
|
+
JM: "JM";
|
|
3505
|
+
JO: "JO";
|
|
3506
|
+
JP: "JP";
|
|
3507
|
+
KE: "KE";
|
|
3508
|
+
KG: "KG";
|
|
3509
|
+
KH: "KH";
|
|
3510
|
+
KI: "KI";
|
|
3511
|
+
KM: "KM";
|
|
3512
|
+
KN: "KN";
|
|
3513
|
+
KR: "KR";
|
|
3514
|
+
KW: "KW";
|
|
3515
|
+
KY: "KY";
|
|
3516
|
+
KZ: "KZ";
|
|
3517
|
+
LA: "LA";
|
|
3518
|
+
LB: "LB";
|
|
3519
|
+
LC: "LC";
|
|
3520
|
+
LI: "LI";
|
|
3521
|
+
LK: "LK";
|
|
3522
|
+
LR: "LR";
|
|
3523
|
+
LS: "LS";
|
|
3524
|
+
LT: "LT";
|
|
3525
|
+
LU: "LU";
|
|
3526
|
+
LV: "LV";
|
|
3527
|
+
LY: "LY";
|
|
3528
|
+
MA: "MA";
|
|
3529
|
+
MC: "MC";
|
|
3530
|
+
MD: "MD";
|
|
3531
|
+
ME: "ME";
|
|
3532
|
+
MF: "MF";
|
|
3533
|
+
MG: "MG";
|
|
3534
|
+
MH: "MH";
|
|
3535
|
+
MK: "MK";
|
|
3536
|
+
ML: "ML";
|
|
3537
|
+
MM: "MM";
|
|
3538
|
+
MN: "MN";
|
|
3539
|
+
MQ: "MQ";
|
|
3540
|
+
MR: "MR";
|
|
3541
|
+
MT: "MT";
|
|
3542
|
+
MU: "MU";
|
|
3543
|
+
MV: "MV";
|
|
3544
|
+
MW: "MW";
|
|
3545
|
+
MX: "MX";
|
|
3546
|
+
MY: "MY";
|
|
3547
|
+
MZ: "MZ";
|
|
3548
|
+
NA: "NA";
|
|
3549
|
+
NC: "NC";
|
|
3550
|
+
NE: "NE";
|
|
3551
|
+
NG: "NG";
|
|
3552
|
+
NI: "NI";
|
|
3553
|
+
NL: "NL";
|
|
3554
|
+
NO: "NO";
|
|
3555
|
+
NP: "NP";
|
|
3556
|
+
NR: "NR";
|
|
3557
|
+
NZ: "NZ";
|
|
3558
|
+
OM: "OM";
|
|
3559
|
+
PA: "PA";
|
|
3560
|
+
PE: "PE";
|
|
3561
|
+
PF: "PF";
|
|
3562
|
+
PG: "PG";
|
|
3563
|
+
PH: "PH";
|
|
3564
|
+
PK: "PK";
|
|
3565
|
+
PL: "PL";
|
|
3566
|
+
PM: "PM";
|
|
3567
|
+
PS: "PS";
|
|
3568
|
+
PT: "PT";
|
|
3569
|
+
PW: "PW";
|
|
3570
|
+
PY: "PY";
|
|
3571
|
+
QA: "QA";
|
|
3572
|
+
RE: "RE";
|
|
3573
|
+
RO: "RO";
|
|
3574
|
+
RS: "RS";
|
|
3575
|
+
RW: "RW";
|
|
3576
|
+
SA: "SA";
|
|
3577
|
+
SB: "SB";
|
|
3578
|
+
SC: "SC";
|
|
3579
|
+
SD: "SD";
|
|
3580
|
+
SE: "SE";
|
|
3581
|
+
SG: "SG";
|
|
3582
|
+
SH: "SH";
|
|
3583
|
+
SI: "SI";
|
|
3584
|
+
SJ: "SJ";
|
|
3585
|
+
SK: "SK";
|
|
3586
|
+
SL: "SL";
|
|
3587
|
+
SM: "SM";
|
|
3588
|
+
SN: "SN";
|
|
3589
|
+
SO: "SO";
|
|
3590
|
+
SR: "SR";
|
|
3591
|
+
SS: "SS";
|
|
3592
|
+
ST: "ST";
|
|
3593
|
+
SV: "SV";
|
|
3594
|
+
SZ: "SZ";
|
|
3595
|
+
TD: "TD";
|
|
3596
|
+
TF: "TF";
|
|
3597
|
+
TG: "TG";
|
|
3598
|
+
TH: "TH";
|
|
3599
|
+
TJ: "TJ";
|
|
3600
|
+
TL: "TL";
|
|
3601
|
+
TM: "TM";
|
|
3602
|
+
TN: "TN";
|
|
3603
|
+
TO: "TO";
|
|
3604
|
+
TR: "TR";
|
|
3605
|
+
TT: "TT";
|
|
3606
|
+
TV: "TV";
|
|
3607
|
+
TW: "TW";
|
|
3608
|
+
TZ: "TZ";
|
|
3609
|
+
UA: "UA";
|
|
3610
|
+
UG: "UG";
|
|
3611
|
+
US: "US";
|
|
3612
|
+
UY: "UY";
|
|
3613
|
+
UZ: "UZ";
|
|
3614
|
+
VA: "VA";
|
|
3615
|
+
VC: "VC";
|
|
3616
|
+
VN: "VN";
|
|
3617
|
+
VU: "VU";
|
|
3618
|
+
WF: "WF";
|
|
3619
|
+
WS: "WS";
|
|
3620
|
+
YE: "YE";
|
|
3621
|
+
YT: "YT";
|
|
3622
|
+
ZA: "ZA";
|
|
3623
|
+
ZM: "ZM";
|
|
3624
|
+
ZW: "ZW";
|
|
3625
|
+
}>>;
|
|
3626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3627
|
+
mode: z.ZodLiteral<"block">;
|
|
3628
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
3629
|
+
AD: "AD";
|
|
3630
|
+
AE: "AE";
|
|
3631
|
+
AF: "AF";
|
|
3632
|
+
AG: "AG";
|
|
3633
|
+
AL: "AL";
|
|
3634
|
+
AM: "AM";
|
|
3635
|
+
AO: "AO";
|
|
3636
|
+
AR: "AR";
|
|
3637
|
+
AT: "AT";
|
|
3638
|
+
AU: "AU";
|
|
3639
|
+
AW: "AW";
|
|
3640
|
+
AX: "AX";
|
|
3641
|
+
AZ: "AZ";
|
|
3642
|
+
BA: "BA";
|
|
3643
|
+
BB: "BB";
|
|
3644
|
+
BD: "BD";
|
|
3645
|
+
BE: "BE";
|
|
3646
|
+
BF: "BF";
|
|
3647
|
+
BG: "BG";
|
|
3648
|
+
BH: "BH";
|
|
3649
|
+
BI: "BI";
|
|
3650
|
+
BJ: "BJ";
|
|
3651
|
+
BL: "BL";
|
|
3652
|
+
BM: "BM";
|
|
3653
|
+
BN: "BN";
|
|
3654
|
+
BO: "BO";
|
|
3655
|
+
BR: "BR";
|
|
3656
|
+
BS: "BS";
|
|
3657
|
+
BT: "BT";
|
|
3658
|
+
BW: "BW";
|
|
3659
|
+
BZ: "BZ";
|
|
3660
|
+
CA: "CA";
|
|
3661
|
+
CD: "CD";
|
|
3662
|
+
CF: "CF";
|
|
3663
|
+
CG: "CG";
|
|
3664
|
+
CH: "CH";
|
|
3665
|
+
CI: "CI";
|
|
3666
|
+
CL: "CL";
|
|
3667
|
+
CM: "CM";
|
|
3668
|
+
CO: "CO";
|
|
3669
|
+
CR: "CR";
|
|
3670
|
+
CV: "CV";
|
|
3671
|
+
CY: "CY";
|
|
3672
|
+
CZ: "CZ";
|
|
3673
|
+
DE: "DE";
|
|
3674
|
+
DJ: "DJ";
|
|
3675
|
+
DK: "DK";
|
|
3676
|
+
DM: "DM";
|
|
3677
|
+
DO: "DO";
|
|
3678
|
+
DZ: "DZ";
|
|
3679
|
+
EC: "EC";
|
|
3680
|
+
EE: "EE";
|
|
3681
|
+
EG: "EG";
|
|
3682
|
+
ER: "ER";
|
|
3683
|
+
ES: "ES";
|
|
3684
|
+
ET: "ET";
|
|
3685
|
+
FI: "FI";
|
|
3686
|
+
FJ: "FJ";
|
|
3687
|
+
FM: "FM";
|
|
3688
|
+
FO: "FO";
|
|
3689
|
+
FR: "FR";
|
|
3690
|
+
GA: "GA";
|
|
3691
|
+
GB: "GB";
|
|
3692
|
+
GD: "GD";
|
|
3693
|
+
GE: "GE";
|
|
3694
|
+
GF: "GF";
|
|
3695
|
+
GH: "GH";
|
|
3696
|
+
GL: "GL";
|
|
3697
|
+
GM: "GM";
|
|
3698
|
+
GN: "GN";
|
|
3699
|
+
GP: "GP";
|
|
3700
|
+
GQ: "GQ";
|
|
3701
|
+
GR: "GR";
|
|
3702
|
+
GT: "GT";
|
|
3703
|
+
GW: "GW";
|
|
3704
|
+
GY: "GY";
|
|
3705
|
+
HN: "HN";
|
|
3706
|
+
HR: "HR";
|
|
3707
|
+
HT: "HT";
|
|
3708
|
+
HU: "HU";
|
|
3709
|
+
ID: "ID";
|
|
3710
|
+
IE: "IE";
|
|
3711
|
+
IL: "IL";
|
|
3712
|
+
IN: "IN";
|
|
3713
|
+
IQ: "IQ";
|
|
3714
|
+
IS: "IS";
|
|
3715
|
+
IT: "IT";
|
|
3716
|
+
JM: "JM";
|
|
3717
|
+
JO: "JO";
|
|
3718
|
+
JP: "JP";
|
|
3719
|
+
KE: "KE";
|
|
3720
|
+
KG: "KG";
|
|
3721
|
+
KH: "KH";
|
|
3722
|
+
KI: "KI";
|
|
3723
|
+
KM: "KM";
|
|
3724
|
+
KN: "KN";
|
|
3725
|
+
KR: "KR";
|
|
3726
|
+
KW: "KW";
|
|
3727
|
+
KY: "KY";
|
|
3728
|
+
KZ: "KZ";
|
|
3729
|
+
LA: "LA";
|
|
3730
|
+
LB: "LB";
|
|
3731
|
+
LC: "LC";
|
|
3732
|
+
LI: "LI";
|
|
3733
|
+
LK: "LK";
|
|
3734
|
+
LR: "LR";
|
|
3735
|
+
LS: "LS";
|
|
3736
|
+
LT: "LT";
|
|
3737
|
+
LU: "LU";
|
|
3738
|
+
LV: "LV";
|
|
3739
|
+
LY: "LY";
|
|
3740
|
+
MA: "MA";
|
|
3741
|
+
MC: "MC";
|
|
3742
|
+
MD: "MD";
|
|
3743
|
+
ME: "ME";
|
|
3744
|
+
MF: "MF";
|
|
3745
|
+
MG: "MG";
|
|
3746
|
+
MH: "MH";
|
|
3747
|
+
MK: "MK";
|
|
3748
|
+
ML: "ML";
|
|
3749
|
+
MM: "MM";
|
|
3750
|
+
MN: "MN";
|
|
3751
|
+
MQ: "MQ";
|
|
3752
|
+
MR: "MR";
|
|
3753
|
+
MT: "MT";
|
|
3754
|
+
MU: "MU";
|
|
3755
|
+
MV: "MV";
|
|
3756
|
+
MW: "MW";
|
|
3757
|
+
MX: "MX";
|
|
3758
|
+
MY: "MY";
|
|
3759
|
+
MZ: "MZ";
|
|
3760
|
+
NA: "NA";
|
|
3761
|
+
NC: "NC";
|
|
3762
|
+
NE: "NE";
|
|
3763
|
+
NG: "NG";
|
|
3764
|
+
NI: "NI";
|
|
3765
|
+
NL: "NL";
|
|
3766
|
+
NO: "NO";
|
|
3767
|
+
NP: "NP";
|
|
3768
|
+
NR: "NR";
|
|
3769
|
+
NZ: "NZ";
|
|
3770
|
+
OM: "OM";
|
|
3771
|
+
PA: "PA";
|
|
3772
|
+
PE: "PE";
|
|
3773
|
+
PF: "PF";
|
|
3774
|
+
PG: "PG";
|
|
3775
|
+
PH: "PH";
|
|
3776
|
+
PK: "PK";
|
|
3777
|
+
PL: "PL";
|
|
3778
|
+
PM: "PM";
|
|
3779
|
+
PS: "PS";
|
|
3780
|
+
PT: "PT";
|
|
3781
|
+
PW: "PW";
|
|
3782
|
+
PY: "PY";
|
|
3783
|
+
QA: "QA";
|
|
3784
|
+
RE: "RE";
|
|
3785
|
+
RO: "RO";
|
|
3786
|
+
RS: "RS";
|
|
3787
|
+
RW: "RW";
|
|
3788
|
+
SA: "SA";
|
|
3789
|
+
SB: "SB";
|
|
3790
|
+
SC: "SC";
|
|
3791
|
+
SD: "SD";
|
|
3792
|
+
SE: "SE";
|
|
3793
|
+
SG: "SG";
|
|
3794
|
+
SH: "SH";
|
|
3795
|
+
SI: "SI";
|
|
3796
|
+
SJ: "SJ";
|
|
3797
|
+
SK: "SK";
|
|
3798
|
+
SL: "SL";
|
|
3799
|
+
SM: "SM";
|
|
3800
|
+
SN: "SN";
|
|
3801
|
+
SO: "SO";
|
|
3802
|
+
SR: "SR";
|
|
3803
|
+
SS: "SS";
|
|
3804
|
+
ST: "ST";
|
|
3805
|
+
SV: "SV";
|
|
3806
|
+
SZ: "SZ";
|
|
3807
|
+
TD: "TD";
|
|
3808
|
+
TF: "TF";
|
|
3809
|
+
TG: "TG";
|
|
3810
|
+
TH: "TH";
|
|
3811
|
+
TJ: "TJ";
|
|
3812
|
+
TL: "TL";
|
|
3813
|
+
TM: "TM";
|
|
3814
|
+
TN: "TN";
|
|
3815
|
+
TO: "TO";
|
|
3816
|
+
TR: "TR";
|
|
3817
|
+
TT: "TT";
|
|
3818
|
+
TV: "TV";
|
|
3819
|
+
TW: "TW";
|
|
3820
|
+
TZ: "TZ";
|
|
3821
|
+
UA: "UA";
|
|
3822
|
+
UG: "UG";
|
|
3823
|
+
US: "US";
|
|
3824
|
+
UY: "UY";
|
|
3825
|
+
UZ: "UZ";
|
|
3826
|
+
VA: "VA";
|
|
3827
|
+
VC: "VC";
|
|
3828
|
+
VN: "VN";
|
|
3829
|
+
VU: "VU";
|
|
3830
|
+
WF: "WF";
|
|
3831
|
+
WS: "WS";
|
|
3832
|
+
YE: "YE";
|
|
3833
|
+
YT: "YT";
|
|
3834
|
+
ZA: "ZA";
|
|
3835
|
+
ZM: "ZM";
|
|
3836
|
+
ZW: "ZW";
|
|
3837
|
+
}>>;
|
|
3838
|
+
}, z.core.$strip>], "mode">>;
|
|
3839
|
+
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
3840
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
3841
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
3842
|
+
supportChannel: z.ZodOptional<z.ZodString>;
|
|
3843
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
demoRecordingUrl: z.ZodOptional<z.ZodString>;
|
|
3846
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
3847
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3848
|
+
prompt: z.ZodString;
|
|
3849
|
+
url: z.ZodString;
|
|
3850
|
+
}, z.core.$strip>>>;
|
|
3851
|
+
testCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3852
|
+
toolTriggered: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3853
|
+
expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3854
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
3855
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
3856
|
+
}, z.core.$strip>>>;
|
|
3857
|
+
negativeTestCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3858
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
3859
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
}, z.core.$strip>>>;
|
|
3861
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3862
|
+
locale: z.ZodEnum<{
|
|
3863
|
+
am: "am";
|
|
3864
|
+
ar: "ar";
|
|
3865
|
+
"bg-BG": "bg-BG";
|
|
3866
|
+
"bn-BD": "bn-BD";
|
|
3867
|
+
"bs-BA": "bs-BA";
|
|
3868
|
+
"ca-ES": "ca-ES";
|
|
3869
|
+
"cs-CZ": "cs-CZ";
|
|
3870
|
+
"da-DK": "da-DK";
|
|
3871
|
+
"de-DE": "de-DE";
|
|
3872
|
+
"el-GR": "el-GR";
|
|
3873
|
+
"es-419": "es-419";
|
|
3874
|
+
"es-ES": "es-ES";
|
|
3875
|
+
"et-EE": "et-EE";
|
|
3876
|
+
"fi-FI": "fi-FI";
|
|
3877
|
+
"fr-CA": "fr-CA";
|
|
3878
|
+
"fr-FR": "fr-FR";
|
|
3879
|
+
"gu-IN": "gu-IN";
|
|
3880
|
+
"hi-IN": "hi-IN";
|
|
3881
|
+
"hr-HR": "hr-HR";
|
|
3882
|
+
"hu-HU": "hu-HU";
|
|
3883
|
+
"hy-AM": "hy-AM";
|
|
3884
|
+
"id-ID": "id-ID";
|
|
3885
|
+
"is-IS": "is-IS";
|
|
3886
|
+
"it-IT": "it-IT";
|
|
3887
|
+
"ja-JP": "ja-JP";
|
|
3888
|
+
"ka-GE": "ka-GE";
|
|
3889
|
+
kk: "kk";
|
|
3890
|
+
"kn-IN": "kn-IN";
|
|
3891
|
+
"ko-KR": "ko-KR";
|
|
3892
|
+
lt: "lt";
|
|
3893
|
+
"lv-LV": "lv-LV";
|
|
3894
|
+
"mk-MK": "mk-MK";
|
|
3895
|
+
ml: "ml";
|
|
3896
|
+
mn: "mn";
|
|
3897
|
+
"mr-IN": "mr-IN";
|
|
3898
|
+
"ms-MY": "ms-MY";
|
|
3899
|
+
"my-MM": "my-MM";
|
|
3900
|
+
"nb-NO": "nb-NO";
|
|
3901
|
+
"nl-NL": "nl-NL";
|
|
3902
|
+
pa: "pa";
|
|
3903
|
+
"pl-PL": "pl-PL";
|
|
3904
|
+
"pt-BR": "pt-BR";
|
|
3905
|
+
"pt-PT": "pt-PT";
|
|
3906
|
+
"ro-RO": "ro-RO";
|
|
3907
|
+
"ru-RU": "ru-RU";
|
|
3908
|
+
"sk-SK": "sk-SK";
|
|
3909
|
+
"sl-SI": "sl-SI";
|
|
3910
|
+
"so-SO": "so-SO";
|
|
3911
|
+
"sq-AL": "sq-AL";
|
|
3912
|
+
"sr-RS": "sr-RS";
|
|
3913
|
+
"sv-SE": "sv-SE";
|
|
3914
|
+
"sw-TZ": "sw-TZ";
|
|
3915
|
+
"ta-IN": "ta-IN";
|
|
3916
|
+
"te-IN": "te-IN";
|
|
3917
|
+
"th-TH": "th-TH";
|
|
3918
|
+
tl: "tl";
|
|
3919
|
+
"tr-TR": "tr-TR";
|
|
3920
|
+
"uk-UA": "uk-UA";
|
|
3921
|
+
ur: "ur";
|
|
3922
|
+
"vi-VN": "vi-VN";
|
|
3923
|
+
"zh-CN": "zh-CN";
|
|
3924
|
+
"zh-HK": "zh-HK";
|
|
3925
|
+
"zh-TW": "zh-TW";
|
|
3926
|
+
}>;
|
|
3927
|
+
description: z.ZodString;
|
|
3928
|
+
tagline: z.ZodString;
|
|
3929
|
+
}, z.core.$strip>>>;
|
|
3930
|
+
}, z.core.$strict>;
|
|
3931
|
+
}, z.core.$strip>], "platform">, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3932
|
+
BAD_REQUEST: {};
|
|
3933
|
+
}>, {
|
|
3934
|
+
NOT_FOUND: {};
|
|
3935
|
+
}>, Record<never, never>>;
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
1225
3938
|
};
|
|
1226
|
-
declare const contractForDocs: {
|
|
3939
|
+
export declare const contractForDocs: {
|
|
1227
3940
|
deployments: {
|
|
1228
3941
|
list: {
|
|
1229
3942
|
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -1645,6 +4358,17 @@ declare const contractForDocs: {
|
|
|
1645
4358
|
NOT_FOUND: {};
|
|
1646
4359
|
}>, Record<never, never>>;
|
|
1647
4360
|
};
|
|
4361
|
+
delete: {
|
|
4362
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4363
|
+
environmentId: z.ZodString;
|
|
4364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4365
|
+
success: z.ZodLiteral<true>;
|
|
4366
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4367
|
+
BAD_REQUEST: {};
|
|
4368
|
+
}>, {
|
|
4369
|
+
NOT_FOUND: {};
|
|
4370
|
+
}>, Record<never, never>>;
|
|
4371
|
+
};
|
|
1648
4372
|
deploy: {
|
|
1649
4373
|
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1650
4374
|
environmentId: z.ZodString;
|
|
@@ -2397,91 +5121,2065 @@ declare const contractForDocs: {
|
|
|
2397
5121
|
}>, Record<never, never>>;
|
|
2398
5122
|
};
|
|
2399
5123
|
};
|
|
5124
|
+
submissions: {
|
|
5125
|
+
create: {
|
|
5126
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5127
|
+
environmentId: z.ZodString;
|
|
5128
|
+
platform: z.ZodEnum<{
|
|
5129
|
+
chatgpt: "chatgpt";
|
|
5130
|
+
claudeai: "claudeai";
|
|
5131
|
+
}>;
|
|
5132
|
+
}, z.core.$strip>, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5133
|
+
BAD_REQUEST: {};
|
|
5134
|
+
}>, {
|
|
5135
|
+
NOT_FOUND: {};
|
|
5136
|
+
}>, Record<never, never>>;
|
|
5137
|
+
};
|
|
5138
|
+
get: {
|
|
5139
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5140
|
+
submissionId: z.ZodString;
|
|
5141
|
+
}, z.core.$strip>, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5142
|
+
BAD_REQUEST: {};
|
|
5143
|
+
}>, {
|
|
5144
|
+
NOT_FOUND: {};
|
|
5145
|
+
}>, Record<never, never>>;
|
|
5146
|
+
};
|
|
5147
|
+
update: {
|
|
5148
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5149
|
+
submissionId: z.ZodString;
|
|
5150
|
+
platform: z.ZodLiteral<"claudeai">;
|
|
5151
|
+
formData: z.ZodObject<{
|
|
5152
|
+
primaryUseCases: z.ZodOptional<z.ZodString>;
|
|
5153
|
+
connectionRequirements: z.ZodOptional<z.ZodString>;
|
|
5154
|
+
readWriteCapabilities: z.ZodOptional<z.ZodEnum<{
|
|
5155
|
+
read_only: "read_only";
|
|
5156
|
+
write_only: "write_only";
|
|
5157
|
+
read_write: "read_write";
|
|
5158
|
+
}>>;
|
|
5159
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
5160
|
+
primaryContactName: z.ZodOptional<z.ZodString>;
|
|
5161
|
+
primaryContactRole: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5162
|
+
anthropicPointOfContact: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5163
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
5164
|
+
oauth_dcr: "oauth_dcr";
|
|
5165
|
+
oauth_cimd: "oauth_cimd";
|
|
5166
|
+
oauth_anthropic_creds: "oauth_anthropic_creds";
|
|
5167
|
+
custom_connection: "custom_connection";
|
|
5168
|
+
none: "none";
|
|
5169
|
+
}>>;
|
|
5170
|
+
partialAuth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5171
|
+
apiOwnership: z.ZodOptional<z.ZodEnum<{
|
|
5172
|
+
first_party: "first_party";
|
|
5173
|
+
proxied: "proxied";
|
|
5174
|
+
third_party: "third_party";
|
|
5175
|
+
}>>;
|
|
5176
|
+
personalHealthData: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
5177
|
+
other: z.ZodString;
|
|
5178
|
+
}, z.core.$strip>]>>;
|
|
5179
|
+
sponsoredContent: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
5180
|
+
other: z.ZodString;
|
|
5181
|
+
}, z.core.$strip>]>>;
|
|
5182
|
+
testInstructions: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5183
|
+
selfTested: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5184
|
+
policyAcknowledgements: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5185
|
+
"I have read and understand the MCP Directory developer guidelines.": "I have read and understand the MCP Directory developer guidelines.";
|
|
5186
|
+
"My server calls our own first-party APIs (or APIs we legitimately proxy with permission).": "My server calls our own first-party APIs (or APIs we legitimately proxy with permission).";
|
|
5187
|
+
"My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.": "My connector does not transfer money, cryptocurrency, or other financial assets on a user's behalf.";
|
|
5188
|
+
"My connector does not use AI models to generate images, video, or audio.": "My connector does not use AI models to generate images, video, or audio.";
|
|
5189
|
+
"Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.": "Tool descriptions contain no instructions about model behavior, other tools, or external instruction sources, and no hidden or encoded text.";
|
|
5190
|
+
"My connector does not collect conversation data beyond what is needed for its function.": "My connector does not collect conversation data beyond what is needed for its function.";
|
|
5191
|
+
"Public documentation for this connector will be live by the publish date.": "Public documentation for this connector will be live by the publish date.";
|
|
5192
|
+
}>>>;
|
|
5193
|
+
additionalNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5194
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
5195
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5196
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5197
|
+
oneLiner: z.ZodOptional<z.ZodString>;
|
|
5198
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5199
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
5200
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
5201
|
+
support: z.ZodOptional<z.ZodString>;
|
|
5202
|
+
privacyPolicy: z.ZodOptional<z.ZodString>;
|
|
5203
|
+
companyWebsite: z.ZodOptional<z.ZodString>;
|
|
5204
|
+
primaryContactEmail: z.ZodOptional<z.ZodString>;
|
|
5205
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5206
|
+
Productivity: "Productivity";
|
|
5207
|
+
Communication: "Communication";
|
|
5208
|
+
"Data & Analytics": "Data & Analytics";
|
|
5209
|
+
"Development tools": "Development tools";
|
|
5210
|
+
"Financial Services": "Financial Services";
|
|
5211
|
+
"Consumer Health": "Consumer Health";
|
|
5212
|
+
"Health & Life Sciences": "Health & Life Sciences";
|
|
5213
|
+
"Media & Entertainment": "Media & Entertainment";
|
|
5214
|
+
"Commerce & Shopping": "Commerce & Shopping";
|
|
5215
|
+
Legal: "Legal";
|
|
5216
|
+
"Sales and marketing": "Sales and marketing";
|
|
5217
|
+
Creative: "Creative";
|
|
5218
|
+
Nonprofit: "Nonprofit";
|
|
5219
|
+
Education: "Education";
|
|
5220
|
+
Other: "Other";
|
|
5221
|
+
}>>>;
|
|
5222
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5223
|
+
prompt: z.ZodString;
|
|
5224
|
+
url: z.ZodString;
|
|
5225
|
+
}, z.core.$strip>>>;
|
|
5226
|
+
}, z.core.$strict>;
|
|
5227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5228
|
+
submissionId: z.ZodString;
|
|
5229
|
+
platform: z.ZodLiteral<"chatgpt">;
|
|
5230
|
+
formData: z.ZodObject<{
|
|
5231
|
+
logoLight: z.ZodOptional<z.ZodString>;
|
|
5232
|
+
logoDark: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5233
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
5234
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5235
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
5236
|
+
BUSINESS: "BUSINESS";
|
|
5237
|
+
COLLABORATION: "COLLABORATION";
|
|
5238
|
+
DESIGN: "DESIGN";
|
|
5239
|
+
DEVELOPER_TOOLS: "DEVELOPER_TOOLS";
|
|
5240
|
+
EDUCATION: "EDUCATION";
|
|
5241
|
+
ENTERTAINMENT: "ENTERTAINMENT";
|
|
5242
|
+
FINANCE: "FINANCE";
|
|
5243
|
+
FOOD: "FOOD";
|
|
5244
|
+
LIFESTYLE: "LIFESTYLE";
|
|
5245
|
+
NEWS: "NEWS";
|
|
5246
|
+
PRODUCTIVITY: "PRODUCTIVITY";
|
|
5247
|
+
SHOPPING: "SHOPPING";
|
|
5248
|
+
TRAVEL: "TRAVEL";
|
|
5249
|
+
}>>;
|
|
5250
|
+
developerName: z.ZodOptional<z.ZodString>;
|
|
5251
|
+
appCommerceAndPurchasing: z.ZodOptional<z.ZodBoolean>;
|
|
5252
|
+
authentication: z.ZodOptional<z.ZodEnum<{
|
|
5253
|
+
"No auth needed": "No auth needed";
|
|
5254
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
5255
|
+
}>>;
|
|
5256
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5257
|
+
name: z.ZodString;
|
|
5258
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5259
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
5261
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
5262
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
5263
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
5264
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
5265
|
+
}, z.core.$strip>>;
|
|
5266
|
+
}, z.core.$strip>>>;
|
|
5267
|
+
toolJustifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5268
|
+
toolName: z.ZodString;
|
|
5269
|
+
readOnlyJustification: z.ZodString;
|
|
5270
|
+
openWorldJustification: z.ZodString;
|
|
5271
|
+
destructiveJustification: z.ZodString;
|
|
5272
|
+
}, z.core.$strip>>>;
|
|
5273
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5274
|
+
name: z.ZodString;
|
|
5275
|
+
}, z.core.$strip>>>>;
|
|
5276
|
+
allowedCountries: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5277
|
+
mode: z.ZodLiteral<"all">;
|
|
5278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5279
|
+
mode: z.ZodLiteral<"allow">;
|
|
5280
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
5281
|
+
AD: "AD";
|
|
5282
|
+
AE: "AE";
|
|
5283
|
+
AF: "AF";
|
|
5284
|
+
AG: "AG";
|
|
5285
|
+
AL: "AL";
|
|
5286
|
+
AM: "AM";
|
|
5287
|
+
AO: "AO";
|
|
5288
|
+
AR: "AR";
|
|
5289
|
+
AT: "AT";
|
|
5290
|
+
AU: "AU";
|
|
5291
|
+
AW: "AW";
|
|
5292
|
+
AX: "AX";
|
|
5293
|
+
AZ: "AZ";
|
|
5294
|
+
BA: "BA";
|
|
5295
|
+
BB: "BB";
|
|
5296
|
+
BD: "BD";
|
|
5297
|
+
BE: "BE";
|
|
5298
|
+
BF: "BF";
|
|
5299
|
+
BG: "BG";
|
|
5300
|
+
BH: "BH";
|
|
5301
|
+
BI: "BI";
|
|
5302
|
+
BJ: "BJ";
|
|
5303
|
+
BL: "BL";
|
|
5304
|
+
BM: "BM";
|
|
5305
|
+
BN: "BN";
|
|
5306
|
+
BO: "BO";
|
|
5307
|
+
BR: "BR";
|
|
5308
|
+
BS: "BS";
|
|
5309
|
+
BT: "BT";
|
|
5310
|
+
BW: "BW";
|
|
5311
|
+
BZ: "BZ";
|
|
5312
|
+
CA: "CA";
|
|
5313
|
+
CD: "CD";
|
|
5314
|
+
CF: "CF";
|
|
5315
|
+
CG: "CG";
|
|
5316
|
+
CH: "CH";
|
|
5317
|
+
CI: "CI";
|
|
5318
|
+
CL: "CL";
|
|
5319
|
+
CM: "CM";
|
|
5320
|
+
CO: "CO";
|
|
5321
|
+
CR: "CR";
|
|
5322
|
+
CV: "CV";
|
|
5323
|
+
CY: "CY";
|
|
5324
|
+
CZ: "CZ";
|
|
5325
|
+
DE: "DE";
|
|
5326
|
+
DJ: "DJ";
|
|
5327
|
+
DK: "DK";
|
|
5328
|
+
DM: "DM";
|
|
5329
|
+
DO: "DO";
|
|
5330
|
+
DZ: "DZ";
|
|
5331
|
+
EC: "EC";
|
|
5332
|
+
EE: "EE";
|
|
5333
|
+
EG: "EG";
|
|
5334
|
+
ER: "ER";
|
|
5335
|
+
ES: "ES";
|
|
5336
|
+
ET: "ET";
|
|
5337
|
+
FI: "FI";
|
|
5338
|
+
FJ: "FJ";
|
|
5339
|
+
FM: "FM";
|
|
5340
|
+
FO: "FO";
|
|
5341
|
+
FR: "FR";
|
|
5342
|
+
GA: "GA";
|
|
5343
|
+
GB: "GB";
|
|
5344
|
+
GD: "GD";
|
|
5345
|
+
GE: "GE";
|
|
5346
|
+
GF: "GF";
|
|
5347
|
+
GH: "GH";
|
|
5348
|
+
GL: "GL";
|
|
5349
|
+
GM: "GM";
|
|
5350
|
+
GN: "GN";
|
|
5351
|
+
GP: "GP";
|
|
5352
|
+
GQ: "GQ";
|
|
5353
|
+
GR: "GR";
|
|
5354
|
+
GT: "GT";
|
|
5355
|
+
GW: "GW";
|
|
5356
|
+
GY: "GY";
|
|
5357
|
+
HN: "HN";
|
|
5358
|
+
HR: "HR";
|
|
5359
|
+
HT: "HT";
|
|
5360
|
+
HU: "HU";
|
|
5361
|
+
ID: "ID";
|
|
5362
|
+
IE: "IE";
|
|
5363
|
+
IL: "IL";
|
|
5364
|
+
IN: "IN";
|
|
5365
|
+
IQ: "IQ";
|
|
5366
|
+
IS: "IS";
|
|
5367
|
+
IT: "IT";
|
|
5368
|
+
JM: "JM";
|
|
5369
|
+
JO: "JO";
|
|
5370
|
+
JP: "JP";
|
|
5371
|
+
KE: "KE";
|
|
5372
|
+
KG: "KG";
|
|
5373
|
+
KH: "KH";
|
|
5374
|
+
KI: "KI";
|
|
5375
|
+
KM: "KM";
|
|
5376
|
+
KN: "KN";
|
|
5377
|
+
KR: "KR";
|
|
5378
|
+
KW: "KW";
|
|
5379
|
+
KY: "KY";
|
|
5380
|
+
KZ: "KZ";
|
|
5381
|
+
LA: "LA";
|
|
5382
|
+
LB: "LB";
|
|
5383
|
+
LC: "LC";
|
|
5384
|
+
LI: "LI";
|
|
5385
|
+
LK: "LK";
|
|
5386
|
+
LR: "LR";
|
|
5387
|
+
LS: "LS";
|
|
5388
|
+
LT: "LT";
|
|
5389
|
+
LU: "LU";
|
|
5390
|
+
LV: "LV";
|
|
5391
|
+
LY: "LY";
|
|
5392
|
+
MA: "MA";
|
|
5393
|
+
MC: "MC";
|
|
5394
|
+
MD: "MD";
|
|
5395
|
+
ME: "ME";
|
|
5396
|
+
MF: "MF";
|
|
5397
|
+
MG: "MG";
|
|
5398
|
+
MH: "MH";
|
|
5399
|
+
MK: "MK";
|
|
5400
|
+
ML: "ML";
|
|
5401
|
+
MM: "MM";
|
|
5402
|
+
MN: "MN";
|
|
5403
|
+
MQ: "MQ";
|
|
5404
|
+
MR: "MR";
|
|
5405
|
+
MT: "MT";
|
|
5406
|
+
MU: "MU";
|
|
5407
|
+
MV: "MV";
|
|
5408
|
+
MW: "MW";
|
|
5409
|
+
MX: "MX";
|
|
5410
|
+
MY: "MY";
|
|
5411
|
+
MZ: "MZ";
|
|
5412
|
+
NA: "NA";
|
|
5413
|
+
NC: "NC";
|
|
5414
|
+
NE: "NE";
|
|
5415
|
+
NG: "NG";
|
|
5416
|
+
NI: "NI";
|
|
5417
|
+
NL: "NL";
|
|
5418
|
+
NO: "NO";
|
|
5419
|
+
NP: "NP";
|
|
5420
|
+
NR: "NR";
|
|
5421
|
+
NZ: "NZ";
|
|
5422
|
+
OM: "OM";
|
|
5423
|
+
PA: "PA";
|
|
5424
|
+
PE: "PE";
|
|
5425
|
+
PF: "PF";
|
|
5426
|
+
PG: "PG";
|
|
5427
|
+
PH: "PH";
|
|
5428
|
+
PK: "PK";
|
|
5429
|
+
PL: "PL";
|
|
5430
|
+
PM: "PM";
|
|
5431
|
+
PS: "PS";
|
|
5432
|
+
PT: "PT";
|
|
5433
|
+
PW: "PW";
|
|
5434
|
+
PY: "PY";
|
|
5435
|
+
QA: "QA";
|
|
5436
|
+
RE: "RE";
|
|
5437
|
+
RO: "RO";
|
|
5438
|
+
RS: "RS";
|
|
5439
|
+
RW: "RW";
|
|
5440
|
+
SA: "SA";
|
|
5441
|
+
SB: "SB";
|
|
5442
|
+
SC: "SC";
|
|
5443
|
+
SD: "SD";
|
|
5444
|
+
SE: "SE";
|
|
5445
|
+
SG: "SG";
|
|
5446
|
+
SH: "SH";
|
|
5447
|
+
SI: "SI";
|
|
5448
|
+
SJ: "SJ";
|
|
5449
|
+
SK: "SK";
|
|
5450
|
+
SL: "SL";
|
|
5451
|
+
SM: "SM";
|
|
5452
|
+
SN: "SN";
|
|
5453
|
+
SO: "SO";
|
|
5454
|
+
SR: "SR";
|
|
5455
|
+
SS: "SS";
|
|
5456
|
+
ST: "ST";
|
|
5457
|
+
SV: "SV";
|
|
5458
|
+
SZ: "SZ";
|
|
5459
|
+
TD: "TD";
|
|
5460
|
+
TF: "TF";
|
|
5461
|
+
TG: "TG";
|
|
5462
|
+
TH: "TH";
|
|
5463
|
+
TJ: "TJ";
|
|
5464
|
+
TL: "TL";
|
|
5465
|
+
TM: "TM";
|
|
5466
|
+
TN: "TN";
|
|
5467
|
+
TO: "TO";
|
|
5468
|
+
TR: "TR";
|
|
5469
|
+
TT: "TT";
|
|
5470
|
+
TV: "TV";
|
|
5471
|
+
TW: "TW";
|
|
5472
|
+
TZ: "TZ";
|
|
5473
|
+
UA: "UA";
|
|
5474
|
+
UG: "UG";
|
|
5475
|
+
US: "US";
|
|
5476
|
+
UY: "UY";
|
|
5477
|
+
UZ: "UZ";
|
|
5478
|
+
VA: "VA";
|
|
5479
|
+
VC: "VC";
|
|
5480
|
+
VN: "VN";
|
|
5481
|
+
VU: "VU";
|
|
5482
|
+
WF: "WF";
|
|
5483
|
+
WS: "WS";
|
|
5484
|
+
YE: "YE";
|
|
5485
|
+
YT: "YT";
|
|
5486
|
+
ZA: "ZA";
|
|
5487
|
+
ZM: "ZM";
|
|
5488
|
+
ZW: "ZW";
|
|
5489
|
+
}>>;
|
|
5490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5491
|
+
mode: z.ZodLiteral<"block">;
|
|
5492
|
+
countries: z.ZodArray<z.ZodEnum<{
|
|
5493
|
+
AD: "AD";
|
|
5494
|
+
AE: "AE";
|
|
5495
|
+
AF: "AF";
|
|
5496
|
+
AG: "AG";
|
|
5497
|
+
AL: "AL";
|
|
5498
|
+
AM: "AM";
|
|
5499
|
+
AO: "AO";
|
|
5500
|
+
AR: "AR";
|
|
5501
|
+
AT: "AT";
|
|
5502
|
+
AU: "AU";
|
|
5503
|
+
AW: "AW";
|
|
5504
|
+
AX: "AX";
|
|
5505
|
+
AZ: "AZ";
|
|
5506
|
+
BA: "BA";
|
|
5507
|
+
BB: "BB";
|
|
5508
|
+
BD: "BD";
|
|
5509
|
+
BE: "BE";
|
|
5510
|
+
BF: "BF";
|
|
5511
|
+
BG: "BG";
|
|
5512
|
+
BH: "BH";
|
|
5513
|
+
BI: "BI";
|
|
5514
|
+
BJ: "BJ";
|
|
5515
|
+
BL: "BL";
|
|
5516
|
+
BM: "BM";
|
|
5517
|
+
BN: "BN";
|
|
5518
|
+
BO: "BO";
|
|
5519
|
+
BR: "BR";
|
|
5520
|
+
BS: "BS";
|
|
5521
|
+
BT: "BT";
|
|
5522
|
+
BW: "BW";
|
|
5523
|
+
BZ: "BZ";
|
|
5524
|
+
CA: "CA";
|
|
5525
|
+
CD: "CD";
|
|
5526
|
+
CF: "CF";
|
|
5527
|
+
CG: "CG";
|
|
5528
|
+
CH: "CH";
|
|
5529
|
+
CI: "CI";
|
|
5530
|
+
CL: "CL";
|
|
5531
|
+
CM: "CM";
|
|
5532
|
+
CO: "CO";
|
|
5533
|
+
CR: "CR";
|
|
5534
|
+
CV: "CV";
|
|
5535
|
+
CY: "CY";
|
|
5536
|
+
CZ: "CZ";
|
|
5537
|
+
DE: "DE";
|
|
5538
|
+
DJ: "DJ";
|
|
5539
|
+
DK: "DK";
|
|
5540
|
+
DM: "DM";
|
|
5541
|
+
DO: "DO";
|
|
5542
|
+
DZ: "DZ";
|
|
5543
|
+
EC: "EC";
|
|
5544
|
+
EE: "EE";
|
|
5545
|
+
EG: "EG";
|
|
5546
|
+
ER: "ER";
|
|
5547
|
+
ES: "ES";
|
|
5548
|
+
ET: "ET";
|
|
5549
|
+
FI: "FI";
|
|
5550
|
+
FJ: "FJ";
|
|
5551
|
+
FM: "FM";
|
|
5552
|
+
FO: "FO";
|
|
5553
|
+
FR: "FR";
|
|
5554
|
+
GA: "GA";
|
|
5555
|
+
GB: "GB";
|
|
5556
|
+
GD: "GD";
|
|
5557
|
+
GE: "GE";
|
|
5558
|
+
GF: "GF";
|
|
5559
|
+
GH: "GH";
|
|
5560
|
+
GL: "GL";
|
|
5561
|
+
GM: "GM";
|
|
5562
|
+
GN: "GN";
|
|
5563
|
+
GP: "GP";
|
|
5564
|
+
GQ: "GQ";
|
|
5565
|
+
GR: "GR";
|
|
5566
|
+
GT: "GT";
|
|
5567
|
+
GW: "GW";
|
|
5568
|
+
GY: "GY";
|
|
5569
|
+
HN: "HN";
|
|
5570
|
+
HR: "HR";
|
|
5571
|
+
HT: "HT";
|
|
5572
|
+
HU: "HU";
|
|
5573
|
+
ID: "ID";
|
|
5574
|
+
IE: "IE";
|
|
5575
|
+
IL: "IL";
|
|
5576
|
+
IN: "IN";
|
|
5577
|
+
IQ: "IQ";
|
|
5578
|
+
IS: "IS";
|
|
5579
|
+
IT: "IT";
|
|
5580
|
+
JM: "JM";
|
|
5581
|
+
JO: "JO";
|
|
5582
|
+
JP: "JP";
|
|
5583
|
+
KE: "KE";
|
|
5584
|
+
KG: "KG";
|
|
5585
|
+
KH: "KH";
|
|
5586
|
+
KI: "KI";
|
|
5587
|
+
KM: "KM";
|
|
5588
|
+
KN: "KN";
|
|
5589
|
+
KR: "KR";
|
|
5590
|
+
KW: "KW";
|
|
5591
|
+
KY: "KY";
|
|
5592
|
+
KZ: "KZ";
|
|
5593
|
+
LA: "LA";
|
|
5594
|
+
LB: "LB";
|
|
5595
|
+
LC: "LC";
|
|
5596
|
+
LI: "LI";
|
|
5597
|
+
LK: "LK";
|
|
5598
|
+
LR: "LR";
|
|
5599
|
+
LS: "LS";
|
|
5600
|
+
LT: "LT";
|
|
5601
|
+
LU: "LU";
|
|
5602
|
+
LV: "LV";
|
|
5603
|
+
LY: "LY";
|
|
5604
|
+
MA: "MA";
|
|
5605
|
+
MC: "MC";
|
|
5606
|
+
MD: "MD";
|
|
5607
|
+
ME: "ME";
|
|
5608
|
+
MF: "MF";
|
|
5609
|
+
MG: "MG";
|
|
5610
|
+
MH: "MH";
|
|
5611
|
+
MK: "MK";
|
|
5612
|
+
ML: "ML";
|
|
5613
|
+
MM: "MM";
|
|
5614
|
+
MN: "MN";
|
|
5615
|
+
MQ: "MQ";
|
|
5616
|
+
MR: "MR";
|
|
5617
|
+
MT: "MT";
|
|
5618
|
+
MU: "MU";
|
|
5619
|
+
MV: "MV";
|
|
5620
|
+
MW: "MW";
|
|
5621
|
+
MX: "MX";
|
|
5622
|
+
MY: "MY";
|
|
5623
|
+
MZ: "MZ";
|
|
5624
|
+
NA: "NA";
|
|
5625
|
+
NC: "NC";
|
|
5626
|
+
NE: "NE";
|
|
5627
|
+
NG: "NG";
|
|
5628
|
+
NI: "NI";
|
|
5629
|
+
NL: "NL";
|
|
5630
|
+
NO: "NO";
|
|
5631
|
+
NP: "NP";
|
|
5632
|
+
NR: "NR";
|
|
5633
|
+
NZ: "NZ";
|
|
5634
|
+
OM: "OM";
|
|
5635
|
+
PA: "PA";
|
|
5636
|
+
PE: "PE";
|
|
5637
|
+
PF: "PF";
|
|
5638
|
+
PG: "PG";
|
|
5639
|
+
PH: "PH";
|
|
5640
|
+
PK: "PK";
|
|
5641
|
+
PL: "PL";
|
|
5642
|
+
PM: "PM";
|
|
5643
|
+
PS: "PS";
|
|
5644
|
+
PT: "PT";
|
|
5645
|
+
PW: "PW";
|
|
5646
|
+
PY: "PY";
|
|
5647
|
+
QA: "QA";
|
|
5648
|
+
RE: "RE";
|
|
5649
|
+
RO: "RO";
|
|
5650
|
+
RS: "RS";
|
|
5651
|
+
RW: "RW";
|
|
5652
|
+
SA: "SA";
|
|
5653
|
+
SB: "SB";
|
|
5654
|
+
SC: "SC";
|
|
5655
|
+
SD: "SD";
|
|
5656
|
+
SE: "SE";
|
|
5657
|
+
SG: "SG";
|
|
5658
|
+
SH: "SH";
|
|
5659
|
+
SI: "SI";
|
|
5660
|
+
SJ: "SJ";
|
|
5661
|
+
SK: "SK";
|
|
5662
|
+
SL: "SL";
|
|
5663
|
+
SM: "SM";
|
|
5664
|
+
SN: "SN";
|
|
5665
|
+
SO: "SO";
|
|
5666
|
+
SR: "SR";
|
|
5667
|
+
SS: "SS";
|
|
5668
|
+
ST: "ST";
|
|
5669
|
+
SV: "SV";
|
|
5670
|
+
SZ: "SZ";
|
|
5671
|
+
TD: "TD";
|
|
5672
|
+
TF: "TF";
|
|
5673
|
+
TG: "TG";
|
|
5674
|
+
TH: "TH";
|
|
5675
|
+
TJ: "TJ";
|
|
5676
|
+
TL: "TL";
|
|
5677
|
+
TM: "TM";
|
|
5678
|
+
TN: "TN";
|
|
5679
|
+
TO: "TO";
|
|
5680
|
+
TR: "TR";
|
|
5681
|
+
TT: "TT";
|
|
5682
|
+
TV: "TV";
|
|
5683
|
+
TW: "TW";
|
|
5684
|
+
TZ: "TZ";
|
|
5685
|
+
UA: "UA";
|
|
5686
|
+
UG: "UG";
|
|
5687
|
+
US: "US";
|
|
5688
|
+
UY: "UY";
|
|
5689
|
+
UZ: "UZ";
|
|
5690
|
+
VA: "VA";
|
|
5691
|
+
VC: "VC";
|
|
5692
|
+
VN: "VN";
|
|
5693
|
+
VU: "VU";
|
|
5694
|
+
WF: "WF";
|
|
5695
|
+
WS: "WS";
|
|
5696
|
+
YE: "YE";
|
|
5697
|
+
YT: "YT";
|
|
5698
|
+
ZA: "ZA";
|
|
5699
|
+
ZM: "ZM";
|
|
5700
|
+
ZW: "ZW";
|
|
5701
|
+
}>>;
|
|
5702
|
+
}, z.core.$strip>], "mode">>;
|
|
5703
|
+
releaseNotes: z.ZodOptional<z.ZodString>;
|
|
5704
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
5705
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
5706
|
+
supportChannel: z.ZodOptional<z.ZodString>;
|
|
5707
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodString>;
|
|
5708
|
+
termsOfServiceUrl: z.ZodOptional<z.ZodString>;
|
|
5709
|
+
demoRecordingUrl: z.ZodOptional<z.ZodString>;
|
|
5710
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
5711
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5712
|
+
prompt: z.ZodString;
|
|
5713
|
+
url: z.ZodString;
|
|
5714
|
+
}, z.core.$strip>>>;
|
|
5715
|
+
testCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5716
|
+
toolTriggered: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5717
|
+
expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5718
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
5719
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
5720
|
+
}, z.core.$strip>>>;
|
|
5721
|
+
negativeTestCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5722
|
+
scenario: z.ZodOptional<z.ZodString>;
|
|
5723
|
+
userPrompt: z.ZodOptional<z.ZodString>;
|
|
5724
|
+
}, z.core.$strip>>>;
|
|
5725
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5726
|
+
locale: z.ZodEnum<{
|
|
5727
|
+
am: "am";
|
|
5728
|
+
ar: "ar";
|
|
5729
|
+
"bg-BG": "bg-BG";
|
|
5730
|
+
"bn-BD": "bn-BD";
|
|
5731
|
+
"bs-BA": "bs-BA";
|
|
5732
|
+
"ca-ES": "ca-ES";
|
|
5733
|
+
"cs-CZ": "cs-CZ";
|
|
5734
|
+
"da-DK": "da-DK";
|
|
5735
|
+
"de-DE": "de-DE";
|
|
5736
|
+
"el-GR": "el-GR";
|
|
5737
|
+
"es-419": "es-419";
|
|
5738
|
+
"es-ES": "es-ES";
|
|
5739
|
+
"et-EE": "et-EE";
|
|
5740
|
+
"fi-FI": "fi-FI";
|
|
5741
|
+
"fr-CA": "fr-CA";
|
|
5742
|
+
"fr-FR": "fr-FR";
|
|
5743
|
+
"gu-IN": "gu-IN";
|
|
5744
|
+
"hi-IN": "hi-IN";
|
|
5745
|
+
"hr-HR": "hr-HR";
|
|
5746
|
+
"hu-HU": "hu-HU";
|
|
5747
|
+
"hy-AM": "hy-AM";
|
|
5748
|
+
"id-ID": "id-ID";
|
|
5749
|
+
"is-IS": "is-IS";
|
|
5750
|
+
"it-IT": "it-IT";
|
|
5751
|
+
"ja-JP": "ja-JP";
|
|
5752
|
+
"ka-GE": "ka-GE";
|
|
5753
|
+
kk: "kk";
|
|
5754
|
+
"kn-IN": "kn-IN";
|
|
5755
|
+
"ko-KR": "ko-KR";
|
|
5756
|
+
lt: "lt";
|
|
5757
|
+
"lv-LV": "lv-LV";
|
|
5758
|
+
"mk-MK": "mk-MK";
|
|
5759
|
+
ml: "ml";
|
|
5760
|
+
mn: "mn";
|
|
5761
|
+
"mr-IN": "mr-IN";
|
|
5762
|
+
"ms-MY": "ms-MY";
|
|
5763
|
+
"my-MM": "my-MM";
|
|
5764
|
+
"nb-NO": "nb-NO";
|
|
5765
|
+
"nl-NL": "nl-NL";
|
|
5766
|
+
pa: "pa";
|
|
5767
|
+
"pl-PL": "pl-PL";
|
|
5768
|
+
"pt-BR": "pt-BR";
|
|
5769
|
+
"pt-PT": "pt-PT";
|
|
5770
|
+
"ro-RO": "ro-RO";
|
|
5771
|
+
"ru-RU": "ru-RU";
|
|
5772
|
+
"sk-SK": "sk-SK";
|
|
5773
|
+
"sl-SI": "sl-SI";
|
|
5774
|
+
"so-SO": "so-SO";
|
|
5775
|
+
"sq-AL": "sq-AL";
|
|
5776
|
+
"sr-RS": "sr-RS";
|
|
5777
|
+
"sv-SE": "sv-SE";
|
|
5778
|
+
"sw-TZ": "sw-TZ";
|
|
5779
|
+
"ta-IN": "ta-IN";
|
|
5780
|
+
"te-IN": "te-IN";
|
|
5781
|
+
"th-TH": "th-TH";
|
|
5782
|
+
tl: "tl";
|
|
5783
|
+
"tr-TR": "tr-TR";
|
|
5784
|
+
"uk-UA": "uk-UA";
|
|
5785
|
+
ur: "ur";
|
|
5786
|
+
"vi-VN": "vi-VN";
|
|
5787
|
+
"zh-CN": "zh-CN";
|
|
5788
|
+
"zh-HK": "zh-HK";
|
|
5789
|
+
"zh-TW": "zh-TW";
|
|
5790
|
+
}>;
|
|
5791
|
+
description: z.ZodString;
|
|
5792
|
+
tagline: z.ZodString;
|
|
5793
|
+
}, z.core.$strip>>>;
|
|
5794
|
+
}, z.core.$strict>;
|
|
5795
|
+
}, z.core.$strip>], "platform">, z.ZodType<Submission, unknown, z.core.$ZodTypeInternals<Submission, unknown>>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5796
|
+
BAD_REQUEST: {};
|
|
5797
|
+
}>, {
|
|
5798
|
+
NOT_FOUND: {};
|
|
5799
|
+
}>, Record<never, never>>;
|
|
5800
|
+
};
|
|
5801
|
+
};
|
|
2400
5802
|
};
|
|
2401
|
-
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
2402
|
-
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
5803
|
+
export type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
5804
|
+
export type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
2403
5805
|
//#endregion
|
|
2404
5806
|
//#region src/auth-scope.d.ts
|
|
2405
5807
|
/** Credential scope required by an API route. */
|
|
2406
|
-
type AuthScope = "any" | "user";
|
|
5808
|
+
export type AuthScope = "any" | "user";
|
|
2407
5809
|
/** Accepts an API key or OAuth access token (default for most routes). */
|
|
2408
|
-
declare const AUTH_SCOPE_ANY = "any";
|
|
5810
|
+
export declare const AUTH_SCOPE_ANY = "any";
|
|
2409
5811
|
/** Requires a user OAuth access token; API keys are not accepted. */
|
|
2410
|
-
declare const AUTH_SCOPE_USER = "user";
|
|
2411
|
-
type RouteAuthMeta = {
|
|
5812
|
+
export declare const AUTH_SCOPE_USER = "user";
|
|
5813
|
+
export type RouteAuthMeta = {
|
|
2412
5814
|
authScope?: AuthScope;
|
|
2413
5815
|
};
|
|
2414
5816
|
//#endregion
|
|
2415
|
-
//#region
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
5817
|
+
//#region ../../node_modules/.pnpm/type-fest@5.6.0/node_modules/type-fest/source/promisable.d.ts
|
|
5818
|
+
/**
|
|
5819
|
+
Create a type that represents either the value or the value wrapped in `PromiseLike`.
|
|
5820
|
+
|
|
5821
|
+
Use-cases:
|
|
5822
|
+
- A function accepts a callback that may either return a value synchronously or may return a promised value.
|
|
5823
|
+
- This type could be the return type of `Promise#then()`, `Promise#catch()`, and `Promise#finally()` callbacks.
|
|
5824
|
+
|
|
5825
|
+
Please upvote [this issue](https://github.com/microsoft/TypeScript/issues/31394) if you want to have this type as a built-in in TypeScript.
|
|
5826
|
+
|
|
5827
|
+
@example
|
|
5828
|
+
```
|
|
5829
|
+
import type {Promisable} from 'type-fest';
|
|
5830
|
+
|
|
5831
|
+
async function logger(getLogEntry: () => Promisable<string>): Promise<void> {
|
|
5832
|
+
const entry = await getLogEntry();
|
|
5833
|
+
console.log(entry);
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5836
|
+
await logger(() => 'foo');
|
|
5837
|
+
await logger(() => Promise.resolve('bar'));
|
|
5838
|
+
```
|
|
5839
|
+
|
|
5840
|
+
@category Async
|
|
5841
|
+
*/
|
|
5842
|
+
type Promisable<T> = T | PromiseLike<T>;
|
|
2428
5843
|
//#endregion
|
|
2429
|
-
//#region
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
claudeai: "claudeai";
|
|
2433
|
-
}>;
|
|
2434
|
-
type Platform = z.infer<typeof platformSchema>;
|
|
2435
|
-
declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
5844
|
+
//#region ../../node_modules/.pnpm/@orpc+shared@1.15.0_@opentelemetry+api@1.9.1/node_modules/@orpc/shared/dist/index.d.mts
|
|
5845
|
+
type MaybeOptionalOptions<TOptions> = Record<never, never> extends TOptions ? [options?: TOptions] : [options: TOptions];
|
|
5846
|
+
type Value<T, TArgs extends any[] = []> = T | ((...args: TArgs) => T);
|
|
2436
5847
|
//#endregion
|
|
2437
|
-
//#region
|
|
2438
|
-
declare const
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
5848
|
+
//#region ../../node_modules/.pnpm/@orpc+client@1.15.0_@opentelemetry+api@1.9.1/node_modules/@orpc/client/dist/index.d.mts
|
|
5849
|
+
declare const COMMON_ORPC_ERROR_DEFS: {
|
|
5850
|
+
readonly BAD_REQUEST: {
|
|
5851
|
+
readonly status: 400;
|
|
5852
|
+
readonly message: "Bad Request";
|
|
5853
|
+
};
|
|
5854
|
+
readonly UNAUTHORIZED: {
|
|
5855
|
+
readonly status: 401;
|
|
5856
|
+
readonly message: "Unauthorized";
|
|
5857
|
+
};
|
|
5858
|
+
readonly FORBIDDEN: {
|
|
5859
|
+
readonly status: 403;
|
|
5860
|
+
readonly message: "Forbidden";
|
|
5861
|
+
};
|
|
5862
|
+
readonly NOT_FOUND: {
|
|
5863
|
+
readonly status: 404;
|
|
5864
|
+
readonly message: "Not Found";
|
|
5865
|
+
};
|
|
5866
|
+
readonly METHOD_NOT_SUPPORTED: {
|
|
5867
|
+
readonly status: 405;
|
|
5868
|
+
readonly message: "Method Not Supported";
|
|
5869
|
+
};
|
|
5870
|
+
readonly NOT_ACCEPTABLE: {
|
|
5871
|
+
readonly status: 406;
|
|
5872
|
+
readonly message: "Not Acceptable";
|
|
5873
|
+
};
|
|
5874
|
+
readonly TIMEOUT: {
|
|
5875
|
+
readonly status: 408;
|
|
5876
|
+
readonly message: "Request Timeout";
|
|
5877
|
+
};
|
|
5878
|
+
readonly CONFLICT: {
|
|
5879
|
+
readonly status: 409;
|
|
5880
|
+
readonly message: "Conflict";
|
|
5881
|
+
};
|
|
5882
|
+
readonly PRECONDITION_FAILED: {
|
|
5883
|
+
readonly status: 412;
|
|
5884
|
+
readonly message: "Precondition Failed";
|
|
5885
|
+
};
|
|
5886
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
5887
|
+
readonly status: 413;
|
|
5888
|
+
readonly message: "Payload Too Large";
|
|
5889
|
+
};
|
|
5890
|
+
readonly UNSUPPORTED_MEDIA_TYPE: {
|
|
5891
|
+
readonly status: 415;
|
|
5892
|
+
readonly message: "Unsupported Media Type";
|
|
5893
|
+
};
|
|
5894
|
+
readonly UNPROCESSABLE_CONTENT: {
|
|
5895
|
+
readonly status: 422;
|
|
5896
|
+
readonly message: "Unprocessable Content";
|
|
5897
|
+
};
|
|
5898
|
+
readonly TOO_MANY_REQUESTS: {
|
|
5899
|
+
readonly status: 429;
|
|
5900
|
+
readonly message: "Too Many Requests";
|
|
5901
|
+
};
|
|
5902
|
+
readonly CLIENT_CLOSED_REQUEST: {
|
|
5903
|
+
readonly status: 499;
|
|
5904
|
+
readonly message: "Client Closed Request";
|
|
5905
|
+
};
|
|
5906
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
5907
|
+
readonly status: 500;
|
|
5908
|
+
readonly message: "Internal Server Error";
|
|
5909
|
+
};
|
|
5910
|
+
readonly NOT_IMPLEMENTED: {
|
|
5911
|
+
readonly status: 501;
|
|
5912
|
+
readonly message: "Not Implemented";
|
|
5913
|
+
};
|
|
5914
|
+
readonly BAD_GATEWAY: {
|
|
5915
|
+
readonly status: 502;
|
|
5916
|
+
readonly message: "Bad Gateway";
|
|
5917
|
+
};
|
|
5918
|
+
readonly SERVICE_UNAVAILABLE: {
|
|
5919
|
+
readonly status: 503;
|
|
5920
|
+
readonly message: "Service Unavailable";
|
|
5921
|
+
};
|
|
5922
|
+
readonly GATEWAY_TIMEOUT: {
|
|
5923
|
+
readonly status: 504;
|
|
5924
|
+
readonly message: "Gateway Timeout";
|
|
5925
|
+
};
|
|
5926
|
+
};
|
|
5927
|
+
type CommonORPCErrorCode = keyof typeof COMMON_ORPC_ERROR_DEFS;
|
|
5928
|
+
type ORPCErrorCode = CommonORPCErrorCode | (string & {});
|
|
5929
|
+
type ORPCErrorOptions<TData> = ErrorOptions & {
|
|
5930
|
+
defined?: boolean;
|
|
5931
|
+
status?: number;
|
|
5932
|
+
message?: string;
|
|
5933
|
+
} & (undefined extends TData ? {
|
|
5934
|
+
data?: TData;
|
|
5935
|
+
} : {
|
|
5936
|
+
data: TData;
|
|
5937
|
+
});
|
|
5938
|
+
declare class ORPCError<TCode extends ORPCErrorCode, TData> extends Error {
|
|
5939
|
+
readonly defined: boolean;
|
|
5940
|
+
readonly code: TCode;
|
|
5941
|
+
readonly status: number;
|
|
5942
|
+
readonly data: TData;
|
|
5943
|
+
constructor(code: TCode, ...rest: MaybeOptionalOptions<ORPCErrorOptions<TData>>);
|
|
5944
|
+
toJSON(): ORPCErrorJSON<TCode, TData>;
|
|
5945
|
+
/**
|
|
5946
|
+
* Workaround for Next.js where different contexts use separate
|
|
5947
|
+
* dependency graphs, causing multiple ORPCError constructors existing and breaking
|
|
5948
|
+
* `instanceof` checks across contexts.
|
|
5949
|
+
*
|
|
5950
|
+
* This is particularly problematic with "Optimized SSR", where orpc-client
|
|
5951
|
+
* executes in one context but is invoked from another. When an error is thrown
|
|
5952
|
+
* in the execution context, `instanceof ORPCError` checks fail in the
|
|
5953
|
+
* invocation context due to separate class constructors.
|
|
5954
|
+
*
|
|
5955
|
+
* @todo Remove this and related code if Next.js resolves the multiple dependency graph issue.
|
|
5956
|
+
*/
|
|
5957
|
+
static [Symbol.hasInstance](instance: unknown): boolean;
|
|
5958
|
+
}
|
|
5959
|
+
type ORPCErrorJSON<TCode extends string, TData> = Pick<ORPCError<TCode, TData>, 'defined' | 'code' | 'status' | 'message' | 'data'>;
|
|
5960
|
+
//#endregion
|
|
5961
|
+
//#region ../../node_modules/.pnpm/@orpc+server@1.15.0_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.qKsRrdxW.d.mts
|
|
5962
|
+
type Context = Record<PropertyKey, any>;
|
|
5963
|
+
type ORPCErrorConstructorMapItemOptions<TData> = Omit<ORPCErrorOptions<TData>, 'defined' | 'status'>;
|
|
5964
|
+
type ORPCErrorConstructorMapItem<TCode extends ORPCErrorCode, TInData> = (...rest: MaybeOptionalOptions<ORPCErrorConstructorMapItemOptions<TInData>>) => ORPCError<TCode, TInData>;
|
|
5965
|
+
type ORPCErrorConstructorMap<T extends ErrorMap> = { [K in keyof T]: K extends ORPCErrorCode ? T[K] extends ErrorMapItem<infer UInputSchema> ? ORPCErrorConstructorMapItem<K, InferSchemaInput<UInputSchema>> : never : never; };
|
|
5966
|
+
interface ProcedureHandlerOptions<TCurrentContext extends Context, TInput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
5967
|
+
context: TCurrentContext;
|
|
5968
|
+
input: TInput;
|
|
5969
|
+
path: readonly string[];
|
|
5970
|
+
procedure: Procedure<Context, Context, AnySchema, AnySchema, ErrorMap, TMeta>;
|
|
5971
|
+
signal?: AbortSignal;
|
|
5972
|
+
lastEventId: string | undefined;
|
|
5973
|
+
errors: TErrorConstructorMap;
|
|
5974
|
+
}
|
|
5975
|
+
interface ProcedureHandler<TCurrentContext extends Context, TInput, THandlerOutput, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
5976
|
+
(opt: ProcedureHandlerOptions<TCurrentContext, TInput, ORPCErrorConstructorMap<TErrorMap>, TMeta>): Promisable<THandlerOutput>;
|
|
5977
|
+
}
|
|
5978
|
+
interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta> extends ContractProcedureDef<TInputSchema, TOutputSchema, TErrorMap, TMeta> {
|
|
5979
|
+
__initialContext?: (type: TInitialContext) => unknown;
|
|
5980
|
+
middlewares: readonly AnyMiddleware[];
|
|
5981
|
+
inputValidationIndex: number;
|
|
5982
|
+
outputValidationIndex: number;
|
|
5983
|
+
handler: ProcedureHandler<TCurrentContext, any, any, any, any>;
|
|
5984
|
+
}
|
|
5985
|
+
/**
|
|
5986
|
+
* This class represents a procedure.
|
|
5987
|
+
*
|
|
5988
|
+
* @see {@link https://orpc.dev/docs/procedure Procedure Docs}
|
|
5989
|
+
*/
|
|
5990
|
+
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context, TInputSchema extends AnySchema, TOutputSchema extends AnySchema, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
5991
|
+
/**
|
|
5992
|
+
* This property holds the defined options.
|
|
5993
|
+
*/
|
|
5994
|
+
'~orpc': ProcedureDef<TInitialContext, TCurrentContext, TInputSchema, TOutputSchema, TErrorMap, TMeta>;
|
|
5995
|
+
constructor(def: ProcedureDef<TInitialContext, TCurrentContext, TInputSchema, TOutputSchema, TErrorMap, TMeta>);
|
|
5996
|
+
}
|
|
5997
|
+
type AnyProcedure = Procedure<any, any, any, any, any, any>;
|
|
5998
|
+
type MiddlewareResult<TOutContext extends Context, TOutput> = Promisable<{
|
|
5999
|
+
output: TOutput;
|
|
6000
|
+
context: TOutContext;
|
|
2448
6001
|
}>;
|
|
6002
|
+
type MiddlewareNextFnOptions<TOutContext extends Context> = Record<never, never> extends TOutContext ? {
|
|
6003
|
+
context?: TOutContext;
|
|
6004
|
+
} : {
|
|
6005
|
+
context: TOutContext;
|
|
6006
|
+
};
|
|
6007
|
+
interface MiddlewareNextFn<TOutput> {
|
|
6008
|
+
<U extends Context = Record<never, never>>(...rest: MaybeOptionalOptions<MiddlewareNextFnOptions<U>>): MiddlewareResult<U, TOutput>;
|
|
6009
|
+
}
|
|
6010
|
+
interface MiddlewareOutputFn<TOutput> {
|
|
6011
|
+
(output: TOutput): MiddlewareResult<Record<never, never>, TOutput>;
|
|
6012
|
+
}
|
|
6013
|
+
interface MiddlewareOptions<TInContext extends Context, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
6014
|
+
context: TInContext;
|
|
6015
|
+
path: readonly string[];
|
|
6016
|
+
procedure: Procedure<Context, Context, AnySchema, AnySchema, ErrorMap, TMeta>;
|
|
6017
|
+
signal?: AbortSignal;
|
|
6018
|
+
lastEventId: string | undefined;
|
|
6019
|
+
next: MiddlewareNextFn<TOutput>;
|
|
6020
|
+
errors: TErrorConstructorMap;
|
|
6021
|
+
}
|
|
6022
|
+
/**
|
|
6023
|
+
* A function that represents a middleware.
|
|
6024
|
+
*
|
|
6025
|
+
* @see {@link https://orpc.dev/docs/middleware Middleware Docs}
|
|
6026
|
+
*/
|
|
6027
|
+
interface Middleware<TInContext extends Context, TOutContext extends Context, TInput, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
6028
|
+
(options: MiddlewareOptions<TInContext, TOutput, TErrorConstructorMap, TMeta>, input: TInput, output: MiddlewareOutputFn<TOutput>): Promisable<MiddlewareResult<TOutContext, TOutput>>;
|
|
6029
|
+
}
|
|
6030
|
+
type AnyMiddleware = Middleware<any, any, any, any, any, any>;
|
|
6031
|
+
//#endregion
|
|
6032
|
+
//#region ../../node_modules/.pnpm/@orpc+server@1.15.0_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.C8_sRzQB.d.mts
|
|
6033
|
+
interface TraverseContractProcedureCallbackOptions {
|
|
6034
|
+
contract: AnyContractProcedure | AnyProcedure;
|
|
6035
|
+
path: readonly string[];
|
|
6036
|
+
}
|
|
6037
|
+
//#endregion
|
|
6038
|
+
//#region ../../node_modules/.pnpm/json-schema-typed@8.0.2/node_modules/json-schema-typed/draft_2020_12.d.ts
|
|
6039
|
+
type MaybeReadonlyArray<T> = Array<T> | ReadonlyArray<T>;
|
|
6040
|
+
type ValueOf<T> = T[keyof T];
|
|
6041
|
+
/**
|
|
6042
|
+
* JSON Schema [Draft 2020-12](https://json-schema.org/draft/2020-12/json-schema-validation.html)
|
|
6043
|
+
*/
|
|
6044
|
+
type JSONSchema<Value = any, SchemaType = Value extends boolean ? "boolean" : Value extends null ? "null" : Value extends number ? "number" | "integer" : Value extends string ? "string" : Value extends unknown[] ? "array" : Value extends Record<string | number, unknown> ? "object" : JSONSchema.TypeValue> = boolean | {
|
|
6045
|
+
/**
|
|
6046
|
+
* Using JSON Pointer fragments requires knowledge of the structure of the
|
|
6047
|
+
* schema. When writing schema documents with the intention to provide
|
|
6048
|
+
* re-usable schemas, it may be preferable to use a plain name fragment
|
|
6049
|
+
* that is not tied to any particular structural location. This allows a
|
|
6050
|
+
* subschema to be relocated without requiring JSON Pointer references to
|
|
6051
|
+
* be updated.
|
|
6052
|
+
*
|
|
6053
|
+
* The `$anchor` keyword is used to specify such a fragment. It is an
|
|
6054
|
+
* identifier keyword that can only be used to create plain name fragments.
|
|
6055
|
+
*
|
|
6056
|
+
* If present, the value of this keyword MUST be a string, which MUST start
|
|
6057
|
+
* with a letter `[A-Za-z]`, followed by any number of letters, digits
|
|
6058
|
+
* `[0-9]`, hyphens `-`, underscores `_`, colons `:`,
|
|
6059
|
+
* or periods `.`.
|
|
6060
|
+
*
|
|
6061
|
+
* Note that the anchor string does not include the `#` character,
|
|
6062
|
+
* as it is not a URI-reference. An `{"$anchor": "foo"}` becomes the
|
|
6063
|
+
* fragment `#foo` when used in a URI.
|
|
6064
|
+
*
|
|
6065
|
+
* The base URI to which the resulting fragment is appended is determined
|
|
6066
|
+
* by the `$id` keyword as explained in the previous section.
|
|
6067
|
+
* Two `$anchor` keywords in the same schema document MAY have the same
|
|
6068
|
+
* value if they apply to different base URIs, as the resulting full URIs
|
|
6069
|
+
* will be distinct. However, the effect of two `$anchor` keywords
|
|
6070
|
+
* with the same value and the same base URI is undefined. Implementations
|
|
6071
|
+
* MAY raise an error if such usage is detected.
|
|
6072
|
+
*/
|
|
6073
|
+
$anchor?: string;
|
|
6074
|
+
/**
|
|
6075
|
+
* This keyword reserves a location for comments from schema authors to
|
|
6076
|
+
* readers or maintainers of the schema.
|
|
6077
|
+
*
|
|
6078
|
+
* The value of this keyword MUST be a string. Implementations MUST NOT
|
|
6079
|
+
* present this string to end users. Tools for editing schemas SHOULD
|
|
6080
|
+
* support displaying and editing this keyword. The value of this keyword
|
|
6081
|
+
* MAY be used in debug or error output which is intended for developers
|
|
6082
|
+
* making use of schemas.
|
|
6083
|
+
*
|
|
6084
|
+
* Schema vocabularies SHOULD allow `$comment` within any object
|
|
6085
|
+
* containing vocabulary keywords. Implementations MAY assume `$comment`
|
|
6086
|
+
* is allowed unless the vocabulary specifically forbids it. Vocabularies
|
|
6087
|
+
* MUST NOT specify any effect of `$comment` beyond what is described in
|
|
6088
|
+
* this specification.
|
|
6089
|
+
*
|
|
6090
|
+
* Tools that translate other media types or programming languages
|
|
6091
|
+
* to and from `application/schema+json` MAY choose to convert that media
|
|
6092
|
+
* type or programming language's native comments to or from `$comment`
|
|
6093
|
+
* values. The behavior of such translation when both native comments and
|
|
6094
|
+
* `$comment` properties are present is implementation-dependent.
|
|
6095
|
+
*
|
|
6096
|
+
* Implementations MAY strip `$comment` values at any point during
|
|
6097
|
+
* processing. In particular, this allows for shortening schemas when the
|
|
6098
|
+
* size of deployed schemas is a concern.
|
|
6099
|
+
*
|
|
6100
|
+
* Implementations MUST NOT take any other action based on the presence,
|
|
6101
|
+
* absence, or contents of `$comment` properties. In particular, the
|
|
6102
|
+
* value of `$comment` MUST NOT be collected as an annotation result.
|
|
6103
|
+
*/
|
|
6104
|
+
$comment?: string;
|
|
6105
|
+
/**
|
|
6106
|
+
* The `$defs` keyword reserves a location for schema authors to inline
|
|
6107
|
+
* re-usable JSON Schemas into a more general schema. The keyword does not
|
|
6108
|
+
* directly affect the validation result.
|
|
6109
|
+
*
|
|
6110
|
+
* This keyword's value MUST be an object. Each member value of this object
|
|
6111
|
+
* MUST be a valid JSON Schema.
|
|
6112
|
+
*/
|
|
6113
|
+
$defs?: Record<string, JSONSchema>;
|
|
6114
|
+
/**
|
|
6115
|
+
* "The `$dynamicAnchor` indicates that the fragment is an extension
|
|
6116
|
+
* point when used with the `$dynamicRef` keyword. This low-level,
|
|
6117
|
+
* advanced feature makes it easier to extend recursive schemas such as the
|
|
6118
|
+
* meta-schemas, without imposing any particular semantics on that
|
|
6119
|
+
* extension. See `$dynamicRef` for more details.
|
|
6120
|
+
*/
|
|
6121
|
+
$dynamicAnchor?: string;
|
|
6122
|
+
/**
|
|
6123
|
+
* The `$dynamicRef` keyword is an applicator that allows for deferring
|
|
6124
|
+
* the full resolution until runtime, at which point it is resolved each
|
|
6125
|
+
* time it is encountered while evaluating an instance.
|
|
6126
|
+
*
|
|
6127
|
+
* Together with `$dynamicAnchor`, `$dynamicRef` implements a
|
|
6128
|
+
* cooperative extension mechanism that is primarily useful with recursive
|
|
6129
|
+
* schemas (schemas that reference themselves). Both the extension point
|
|
6130
|
+
* and the runtime-determined extension target are defined with
|
|
6131
|
+
* `$dynamicAnchor`, and only exhibit runtime dynamic behavior when
|
|
6132
|
+
* referenced with `$dynamicRef`.
|
|
6133
|
+
*
|
|
6134
|
+
* The value of the `$dynamicRef` property MUST be a string which is
|
|
6135
|
+
* a URI-Reference. Resolved against the current URI base, it produces
|
|
6136
|
+
* the URI used as the starting point for runtime resolution. This initial
|
|
6137
|
+
* resolution is safe to perform on schema load.
|
|
6138
|
+
*
|
|
6139
|
+
* If the initially resolved starting point URI includes a fragment that
|
|
6140
|
+
* was created by the `$dynamicAnchor` keyword, the initial URI MUST be
|
|
6141
|
+
* replaced by the URI (including the fragment) for the outermost schema
|
|
6142
|
+
* resource in the [dynamic scope][scopes] that defines
|
|
6143
|
+
* an identically named fragment with `$dynamicAnchor`.
|
|
6144
|
+
*
|
|
6145
|
+
* Otherwise, its behavior is identical to `$ref`, and no runtime
|
|
6146
|
+
* resolution is needed.
|
|
6147
|
+
*
|
|
6148
|
+
* [scopes]: https://json-schema.org/draft/2020-12/json-schema-core.html#scopes
|
|
6149
|
+
*
|
|
6150
|
+
* @format "uri-reference"
|
|
6151
|
+
*/
|
|
6152
|
+
$dynamicRef?: string;
|
|
6153
|
+
/**
|
|
6154
|
+
* The `$id` keyword identifies a schema resource with its
|
|
6155
|
+
* [canonical][[RFC6596]] URI.
|
|
6156
|
+
*
|
|
6157
|
+
* Note that this URI is an identifier and not necessarily a network
|
|
6158
|
+
* locator. In the case of a network-addressable URL, a schema need not be
|
|
6159
|
+
* downloadable from its canonical URI.
|
|
6160
|
+
*
|
|
6161
|
+
* If present, the value for this keyword MUST be a string, and MUST
|
|
6162
|
+
* represent a valid [URI-reference][RFC3986]. This URI-reference SHOULD
|
|
6163
|
+
* be normalized, and MUST resolve to an [absolute-URI][RFC3986] (without a
|
|
6164
|
+
* fragment). Therefore, `$id` MUST NOT contain a non-empty fragment,
|
|
6165
|
+
* and SHOULD NOT contain an empty fragment.
|
|
6166
|
+
*
|
|
6167
|
+
* Since an empty fragment in the context of the
|
|
6168
|
+
* `application/schema+json` media type refers to the same resource as
|
|
6169
|
+
* the base URI without a fragment, an implementation MAY normalize a URI
|
|
6170
|
+
* ending with an empty fragment by removing the fragment. However, schema
|
|
6171
|
+
* authors SHOULD NOT rely on this behavior across implementations.
|
|
6172
|
+
*
|
|
6173
|
+
* This URI also serves as the base URI for relative URI-references in
|
|
6174
|
+
* keywords within the schema resource, in accordance with
|
|
6175
|
+
* [RFC 3986][RFC3986] section 5.1.1 regarding base URIs embedded in
|
|
6176
|
+
* content.
|
|
6177
|
+
*
|
|
6178
|
+
* The presence of `$id` in a subschema indicates that the subschema
|
|
6179
|
+
* constitutes a distinct schema resource within a single schema document.
|
|
6180
|
+
* Furthermore, in accordance with [RFC 3986][RFC3986] section 5.1.2
|
|
6181
|
+
* regarding encapsulating entities, if an `$id` in a subschema is a
|
|
6182
|
+
* relative URI-reference, the base URI for resolving that reference is the
|
|
6183
|
+
* URI of the parent schema resource.
|
|
6184
|
+
*
|
|
6185
|
+
* If no parent schema object explicitly identifies itself as a resource
|
|
6186
|
+
* with `$id`, the base URI is that of the entire document.
|
|
6187
|
+
*
|
|
6188
|
+
* The root schema of a JSON Schema document SHOULD contain an `$id`
|
|
6189
|
+
* keyword with an [absolute-URI][RFC3986] (containing a scheme, but no
|
|
6190
|
+
* fragment).
|
|
6191
|
+
*
|
|
6192
|
+
* [RFC6596]: https://datatracker.ietf.org/doc/html/rfc6596
|
|
6193
|
+
* [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
|
|
6194
|
+
*
|
|
6195
|
+
* @format "uri-reference"
|
|
6196
|
+
*/
|
|
6197
|
+
$id?: string;
|
|
6198
|
+
/**
|
|
6199
|
+
* The `$ref` keyword is an applicator that is used to reference a
|
|
6200
|
+
* statically identified schema. Its results are the results of the
|
|
6201
|
+
* referenced schema. Other keywords can appear alongside of `$ref` in
|
|
6202
|
+
* the same schema object.
|
|
6203
|
+
*
|
|
6204
|
+
* The value of the `$ref` property MUST be a string which is a
|
|
6205
|
+
* URI-Reference. Resolved against the current URI base, it produces the
|
|
6206
|
+
* URI of the schema to apply.
|
|
6207
|
+
*
|
|
6208
|
+
* @format "uri-reference"
|
|
6209
|
+
*/
|
|
6210
|
+
$ref?: string;
|
|
6211
|
+
/**
|
|
6212
|
+
* The `$schema` keyword is both used as a JSON Schema dialect identifier
|
|
6213
|
+
* and as the identifier of a resource which is itself a JSON Schema, which
|
|
6214
|
+
* describes the set of valid schemas written for this particular dialect.
|
|
6215
|
+
*
|
|
6216
|
+
* The value of this keyword MUST be a [URI][RFC3986] (containing a scheme)
|
|
6217
|
+
* and this URI MUST be normalized. The current schema MUST be valid
|
|
6218
|
+
* against the meta-schema identified by this URI.
|
|
6219
|
+
*
|
|
6220
|
+
* If this URI identifies a retrievable resource, that resource SHOULD be
|
|
6221
|
+
* of media type `application/schema+json`.
|
|
6222
|
+
*
|
|
6223
|
+
* The `$schema` keyword SHOULD be used in the document root schema
|
|
6224
|
+
* object, and MAY be used in the root schema objects of embedded schema
|
|
6225
|
+
* resources. It MUST NOT appear in non-resource root schema objects. If
|
|
6226
|
+
* absent from the document root schema, the resulting behavior is
|
|
6227
|
+
* implementation-defined.
|
|
6228
|
+
*
|
|
6229
|
+
* Values for this property are defined elsewhere in this and other
|
|
6230
|
+
* documents, and by other parties.
|
|
6231
|
+
*
|
|
6232
|
+
* [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
|
|
6233
|
+
*
|
|
6234
|
+
* @format "uri"
|
|
6235
|
+
*/
|
|
6236
|
+
$schema?: string;
|
|
6237
|
+
/**
|
|
6238
|
+
* The `$vocabulary` keyword is used in meta-schemas to identify the
|
|
6239
|
+
* vocabularies available for use in schemas described by that meta-schema.
|
|
6240
|
+
* It is also used to indicate whether each vocabulary is required or
|
|
6241
|
+
* optional, in the sense that an implementation MUST understand the
|
|
6242
|
+
* required vocabularies in order to successfully process the schema.
|
|
6243
|
+
* Together, this information forms a dialect. Any vocabulary that is
|
|
6244
|
+
* understood by the implementation MUST be processed in a manner
|
|
6245
|
+
* consistent with the semantic definitions contained within the
|
|
6246
|
+
* vocabulary.
|
|
6247
|
+
*
|
|
6248
|
+
* The value of this keyword MUST be an object. The property names in the
|
|
6249
|
+
* object MUST be URIs (containing a scheme) and this URI MUST be
|
|
6250
|
+
* normalized. Each URI that appears as a property name identifies a
|
|
6251
|
+
* specific set of keywords and their semantics.
|
|
6252
|
+
*
|
|
6253
|
+
* The URI MAY be a URL, but the nature of the retrievable resource is
|
|
6254
|
+
* currently undefined, and reserved for future use. Vocabulary authors
|
|
6255
|
+
* MAY use the URL of the vocabulary specification, in a human-readable
|
|
6256
|
+
* media type such as `text/html` or `text/plain`, as the vocabulary
|
|
6257
|
+
* URI.
|
|
6258
|
+
*
|
|
6259
|
+
* The values of the object properties MUST be booleans. If the value is
|
|
6260
|
+
* `true`, then implementations that do not recognize the vocabulary MUST
|
|
6261
|
+
* refuse to process any schemas that declare this meta-schema with
|
|
6262
|
+
* `$schema`. If the value is `false`, implementations that do not
|
|
6263
|
+
* recognize the vocabulary SHOULD proceed with processing such schemas.
|
|
6264
|
+
* The value has no impact if the implementation understands the
|
|
6265
|
+
* vocabulary.
|
|
6266
|
+
*
|
|
6267
|
+
* Unrecognized keywords SHOULD be ignored. This remains the case for
|
|
6268
|
+
* keywords defined by unrecognized vocabularies. It is not currently
|
|
6269
|
+
* possible to distinguish between unrecognized keywords that are defined
|
|
6270
|
+
* in vocabularies from those that are not part of any vocabulary.
|
|
6271
|
+
*
|
|
6272
|
+
* The `$vocabulary` keyword SHOULD be used in the root schema of any
|
|
6273
|
+
* schema document intended for use as a meta-schema. It MUST NOT appear
|
|
6274
|
+
* in subschemas.
|
|
6275
|
+
*
|
|
6276
|
+
* The `$vocabulary` keyword MUST be ignored in schema documents that are
|
|
6277
|
+
* not being processed as a meta-schema.
|
|
6278
|
+
*/
|
|
6279
|
+
$vocabulary?: Record<string, string>;
|
|
6280
|
+
/**
|
|
6281
|
+
* @deprecated `additionalItems` has been deprecated in favor of `prefixItems`
|
|
6282
|
+
* paired with `items`.
|
|
6283
|
+
*/
|
|
6284
|
+
additionalItems?: JSONSchema;
|
|
6285
|
+
/**
|
|
6286
|
+
* The value of `additionalProperties` MUST be a valid JSON Schema.
|
|
6287
|
+
*
|
|
6288
|
+
* The behavior of this keyword depends on the presence and annotation
|
|
6289
|
+
* results of `properties` and `patternProperties` within the same
|
|
6290
|
+
* schema object. Validation with `additionalProperties` applies only to
|
|
6291
|
+
* the child values of instance names that do not appear in the annotation
|
|
6292
|
+
* results of either `properties` or `patternProperties`.
|
|
6293
|
+
*
|
|
6294
|
+
* For all such properties, validation succeeds if the child instance
|
|
6295
|
+
* validates against the `additionalProperties` schema.
|
|
6296
|
+
*
|
|
6297
|
+
* The annotation result of this keyword is the set of instance property
|
|
6298
|
+
* names validated by this keyword's subschema. Annotation results for
|
|
6299
|
+
* `additionalProperties` keywords from multiple schemas applied to the
|
|
6300
|
+
* same instance location are combined by taking the union of the sets.
|
|
6301
|
+
*
|
|
6302
|
+
* Omitting this keyword has the same assertion behavior as an empty
|
|
6303
|
+
* schema.
|
|
6304
|
+
*
|
|
6305
|
+
* Implementations MAY choose to implement or optimize this keyword in
|
|
6306
|
+
* another way that produces the same effect, such as by directly checking
|
|
6307
|
+
* the names in `properties` and the patterns in `patternProperties`
|
|
6308
|
+
* against the instance property set.
|
|
6309
|
+
*/
|
|
6310
|
+
additionalProperties?: JSONSchema;
|
|
6311
|
+
/**
|
|
6312
|
+
* This keyword's value MUST be a non-empty array. Each item of the array
|
|
6313
|
+
* MUST be a valid JSON Schema.
|
|
6314
|
+
*
|
|
6315
|
+
* An instance validates successfully against this keyword if it validates
|
|
6316
|
+
* successfully against all schemas defined by this keyword's value.
|
|
6317
|
+
*/
|
|
6318
|
+
allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
|
|
6319
|
+
/**
|
|
6320
|
+
* This keyword's value MUST be a non-empty array. Each item of the array
|
|
6321
|
+
* MUST be a valid JSON Schema.
|
|
6322
|
+
*
|
|
6323
|
+
* An instance validates successfully against this keyword if it validates
|
|
6324
|
+
* successfully against at least one schema defined by this keyword's
|
|
6325
|
+
* value.
|
|
6326
|
+
*/
|
|
6327
|
+
anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
|
|
6328
|
+
/**
|
|
6329
|
+
* An instance validates successfully against this keyword if its value is
|
|
6330
|
+
* equal to the value of the keyword.
|
|
6331
|
+
*
|
|
6332
|
+
* Use of this keyword is functionally equivalent to the `enum` keyword
|
|
6333
|
+
* with a single value.
|
|
6334
|
+
*/
|
|
6335
|
+
const?: Value;
|
|
6336
|
+
/**
|
|
6337
|
+
* The value of this keyword MUST be a valid JSON Schema.
|
|
6338
|
+
*
|
|
6339
|
+
* An array instance is valid against `contains` if at least one of its
|
|
6340
|
+
* elements is valid against the given schema. The subschema MUST be
|
|
6341
|
+
* applied to every array element even after the first match has been
|
|
6342
|
+
* found, in order to collect annotations for use by other keywords.
|
|
6343
|
+
* This is to ensure that all possible annotations are collected.
|
|
6344
|
+
*
|
|
6345
|
+
* Logically, the validation result of applying the value subschema to each
|
|
6346
|
+
* item in the array MUST be OR'ed with `false`, resulting in an overall
|
|
6347
|
+
* validation result.
|
|
6348
|
+
*
|
|
6349
|
+
* This keyword produces an annotation value which is an array of the
|
|
6350
|
+
* indexes to which this keyword validates successfully when applying its
|
|
6351
|
+
* subschema, in ascending order. The value MAY be a boolean `true` if
|
|
6352
|
+
* the subschema validates successfully when applied to every index of the
|
|
6353
|
+
* instance. The annotation MUST be present if the instance array to which
|
|
6354
|
+
* this keyword's schema applies is empty.
|
|
6355
|
+
*/
|
|
6356
|
+
contains?: JSONSchema<Value, SchemaType>;
|
|
6357
|
+
/**
|
|
6358
|
+
* If the instance value is a string, this property defines that the
|
|
6359
|
+
* string SHOULD be interpreted as binary data and decoded using the
|
|
6360
|
+
* encoding named by this property. [RFC 2045, Sec 6.1][RFC2045] lists the
|
|
6361
|
+
* possible values for this property.
|
|
6362
|
+
*
|
|
6363
|
+
* The value of this property SHOULD be ignored if the instance described
|
|
6364
|
+
* is not a string.
|
|
6365
|
+
*
|
|
6366
|
+
* If this keyword is absent, but `contentMediaType` is present, this
|
|
6367
|
+
* indicates that the media type could be encoded into `UTF-8` like any
|
|
6368
|
+
* other JSON string value, and does not require additional decoding.
|
|
6369
|
+
*
|
|
6370
|
+
* The value of this property MUST be a string.
|
|
6371
|
+
*
|
|
6372
|
+
* [RFC2045]: https://datatracker.ietf.org/doc/html/rfc2045#section-6.1
|
|
6373
|
+
*/
|
|
6374
|
+
contentEncoding?: "7bit" | "8bit" | "base64" | "binary" | "ietf-token" | "quoted-printable" | "x-token";
|
|
6375
|
+
/**
|
|
6376
|
+
* If the instance is a string, this property indicates the media type
|
|
6377
|
+
* of the contents of the string. If `contentEncoding` is present,
|
|
6378
|
+
* this property describes the decoded string.
|
|
6379
|
+
*
|
|
6380
|
+
* The value of this property must be a media type, as defined by
|
|
6381
|
+
* [RFC 2046][RFC2046]. This property defines the media type of instances
|
|
6382
|
+
* which this schema defines.
|
|
6383
|
+
*
|
|
6384
|
+
* The value of this property SHOULD be ignored if the instance described
|
|
6385
|
+
* is not a string.
|
|
6386
|
+
*
|
|
6387
|
+
* If the `contentEncoding` property is not present, but the instance
|
|
6388
|
+
* value is a string, then the value of this property SHOULD specify a text
|
|
6389
|
+
* document type, and the character set SHOULD be the character set into
|
|
6390
|
+
* which the JSON string value was decoded (for which the default is
|
|
6391
|
+
* Unicode).
|
|
6392
|
+
*
|
|
6393
|
+
* [RFC2046]: https://datatracker.ietf.org/doc/html/rfc2046
|
|
6394
|
+
*/
|
|
6395
|
+
contentMediaType?: string;
|
|
6396
|
+
/**
|
|
6397
|
+
* If the instance is a string, and if `contentMediaType` is present,
|
|
6398
|
+
* this property contains a schema which describes the structure of the
|
|
6399
|
+
* string.
|
|
6400
|
+
*
|
|
6401
|
+
* This keyword MAY be used with any media type that can be mapped into
|
|
6402
|
+
* JSON Schema's data model.
|
|
6403
|
+
*
|
|
6404
|
+
* The value of this property MUST be a valid JSON schema. It SHOULD be
|
|
6405
|
+
* ignored if `contentMediaType` is not present.
|
|
6406
|
+
*/
|
|
6407
|
+
contentSchema?: JSONSchema<Value, SchemaType>;
|
|
6408
|
+
/**
|
|
6409
|
+
* This keyword can be used to supply a default JSON value associated with
|
|
6410
|
+
* a particular schema. It is RECOMMENDED that a `default` value be valid
|
|
6411
|
+
* against the associated schema.
|
|
6412
|
+
*/
|
|
6413
|
+
default?: Value;
|
|
6414
|
+
/**
|
|
6415
|
+
* @deprecated `definitions` has been renamed to `$defs`.
|
|
6416
|
+
*/
|
|
6417
|
+
definitions?: Record<string, JSONSchema>;
|
|
6418
|
+
/**
|
|
6419
|
+
* @deprecated `dependencies` has been split into two keywords:
|
|
6420
|
+
* `dependentSchemas` and `dependentRequired`.
|
|
6421
|
+
*/
|
|
6422
|
+
dependencies?: Record<string, MaybeReadonlyArray<string> | JSONSchema>;
|
|
6423
|
+
/**
|
|
6424
|
+
* The value of this keyword MUST be an object. Properties in
|
|
6425
|
+
* this object, if any, MUST be arrays. Elements in each array,
|
|
6426
|
+
* if any, MUST be strings, and MUST be unique.
|
|
6427
|
+
*
|
|
6428
|
+
* This keyword specifies properties that are required if a specific
|
|
6429
|
+
* other property is present. Their requirement is dependent on the
|
|
6430
|
+
* presence of the other property.
|
|
6431
|
+
*
|
|
6432
|
+
* Validation succeeds if, for each name that appears in both
|
|
6433
|
+
* the instance and as a name within this keyword's value, every
|
|
6434
|
+
* item in the corresponding array is also the name of a property
|
|
6435
|
+
* in the instance.
|
|
6436
|
+
*
|
|
6437
|
+
* Omitting this keyword has the same behavior as an empty object.
|
|
6438
|
+
*/
|
|
6439
|
+
dependentRequired?: Record<string, MaybeReadonlyArray<string>>;
|
|
6440
|
+
/**
|
|
6441
|
+
* This keyword specifies subschemas that are evaluated if the instance is
|
|
6442
|
+
* an object and contains a certain property.
|
|
6443
|
+
*
|
|
6444
|
+
* This keyword's value MUST be an object. Each value in the object MUST be
|
|
6445
|
+
* a valid JSON Schema.
|
|
6446
|
+
*
|
|
6447
|
+
* If the object key is a property in the instance, the entire instance
|
|
6448
|
+
* must validate against the subschema. Its use is dependent on the
|
|
6449
|
+
* presence of the property.
|
|
6450
|
+
*
|
|
6451
|
+
* Omitting this keyword has the same behavior as an empty object.
|
|
6452
|
+
*/
|
|
6453
|
+
dependentSchemas?: Record<string, JSONSchema>;
|
|
6454
|
+
/**
|
|
6455
|
+
* The value of this keyword MUST be a boolean. When multiple occurrences
|
|
6456
|
+
* of this keyword are applicable to a single sub-instance, applications
|
|
6457
|
+
* SHOULD consider the instance location to be deprecated if any occurrence
|
|
6458
|
+
* specifies a `true` value.
|
|
6459
|
+
*
|
|
6460
|
+
* If `deprecated` has a value of boolean `true`, it indicates that
|
|
6461
|
+
* applications SHOULD refrain from usage of the declared property. It MAY
|
|
6462
|
+
* mean the property is going to be removed in the future.
|
|
6463
|
+
*
|
|
6464
|
+
* A root schema containing `deprecated` with a value of `true`
|
|
6465
|
+
* indicates that the entire resource being described MAY be removed in the
|
|
6466
|
+
* future.
|
|
6467
|
+
*
|
|
6468
|
+
* The `deprecated` keyword applies to each instance location to which
|
|
6469
|
+
* the schema object containing the keyword successfully applies. This can
|
|
6470
|
+
* result in scenarios where every array item or object property is
|
|
6471
|
+
* deprecated even though the containing array or object is not.
|
|
6472
|
+
*
|
|
6473
|
+
* Omitting this keyword has the same behavior as a value of `false`.
|
|
6474
|
+
*/
|
|
6475
|
+
deprecated?: boolean;
|
|
6476
|
+
/**
|
|
6477
|
+
* Can be used to decorate a user interface with explanation or information
|
|
6478
|
+
* about the data produced.
|
|
6479
|
+
*/
|
|
6480
|
+
description?: string;
|
|
6481
|
+
/**
|
|
6482
|
+
* This keyword's value MUST be a valid JSON Schema.
|
|
6483
|
+
*
|
|
6484
|
+
* When `if` is present, and the instance fails to validate against its
|
|
6485
|
+
* subschema, then validation succeeds against this keyword if the instance
|
|
6486
|
+
* successfully validates against this keyword's subschema.
|
|
6487
|
+
*
|
|
6488
|
+
* This keyword has no effect when `if` is absent, or when the instance
|
|
6489
|
+
* successfully validates against its subschema. Implementations MUST NOT
|
|
6490
|
+
* evaluate the instance against this keyword, for either validation or
|
|
6491
|
+
* annotation collection purposes, in such cases.
|
|
6492
|
+
*/
|
|
6493
|
+
else?: JSONSchema<Value, SchemaType>;
|
|
6494
|
+
/**
|
|
6495
|
+
* The value of this keyword MUST be an array. This array SHOULD have at
|
|
6496
|
+
* least one element. Elements in the array SHOULD be unique.
|
|
6497
|
+
*
|
|
6498
|
+
* An instance validates successfully against this keyword if its value is
|
|
6499
|
+
* equal to one of the elements in this keyword's array value.
|
|
6500
|
+
*
|
|
6501
|
+
* Elements in the array might be of any type, including `null`.
|
|
6502
|
+
*/
|
|
6503
|
+
enum?: MaybeReadonlyArray<Value>;
|
|
6504
|
+
/**
|
|
6505
|
+
* The value of this keyword MUST be an array. When multiple occurrences of
|
|
6506
|
+
* this keyword are applicable to a single sub-instance, implementations
|
|
6507
|
+
* MUST provide a flat array of all values rather than an array of arrays.
|
|
6508
|
+
*
|
|
6509
|
+
* This keyword can be used to provide sample JSON values associated with a
|
|
6510
|
+
* particular schema, for the purpose of illustrating usage. It is
|
|
6511
|
+
* RECOMMENDED that these values be valid against the associated schema.
|
|
6512
|
+
*
|
|
6513
|
+
* Implementations MAY use the value(s) of `default`, if present, as an
|
|
6514
|
+
* additional example. If `examples` is absent, `default` MAY still be
|
|
6515
|
+
* used in this manner.
|
|
6516
|
+
*/
|
|
6517
|
+
examples?: MaybeReadonlyArray<Value>;
|
|
6518
|
+
/**
|
|
6519
|
+
* The value of `exclusiveMaximum` MUST be a number, representing an
|
|
6520
|
+
* exclusive upper limit for a numeric instance.
|
|
6521
|
+
*
|
|
6522
|
+
* If the instance is a number, then the instance is valid only if it has a
|
|
6523
|
+
* value strictly less than (not equal to) `exclusiveMaximum`.
|
|
6524
|
+
*/
|
|
6525
|
+
exclusiveMaximum?: number;
|
|
6526
|
+
/**
|
|
6527
|
+
* The value of `exclusiveMinimum` MUST be a number, representing an
|
|
6528
|
+
* exclusive lower limit for a numeric instance.
|
|
6529
|
+
*
|
|
6530
|
+
* If the instance is a number, then the instance is valid only if it has a
|
|
6531
|
+
* value strictly greater than (not equal to) `exclusiveMinimum`.
|
|
6532
|
+
*/
|
|
6533
|
+
exclusiveMinimum?: number;
|
|
6534
|
+
/**
|
|
6535
|
+
* Implementations MAY treat `format` as an assertion in addition to an
|
|
6536
|
+
* annotation, and attempt to validate the value's conformance to the
|
|
6537
|
+
* specified semantics.
|
|
6538
|
+
*
|
|
6539
|
+
* The value of this keyword is called a format attribute. It MUST be a
|
|
6540
|
+
* string. A format attribute can generally only validate a given set
|
|
6541
|
+
* of instance types. If the type of the instance to validate is not in
|
|
6542
|
+
* this set, validation for this format attribute and instance SHOULD
|
|
6543
|
+
* succeed. Format attributes are most often applied to strings, but can
|
|
6544
|
+
* be specified to apply to any type.
|
|
6545
|
+
*
|
|
6546
|
+
* Implementations MAY support custom format attributes. Save for agreement
|
|
6547
|
+
* between parties, schema authors SHALL NOT expect a peer implementation
|
|
6548
|
+
* to support such custom format attributes. An implementation MUST NOT
|
|
6549
|
+
* fail validation or cease processing due to an unknown format attribute.
|
|
6550
|
+
* When treating `format` as an annotation, implementations SHOULD
|
|
6551
|
+
* collect both known and unknown format attribute values.
|
|
6552
|
+
*/
|
|
6553
|
+
format?: string;
|
|
6554
|
+
/**
|
|
6555
|
+
* This keyword's value MUST be a valid JSON Schema.
|
|
6556
|
+
*
|
|
6557
|
+
* This validation outcome of this keyword's subschema has no direct effect
|
|
6558
|
+
* on the overall validation result. Rather, it controls which of the
|
|
6559
|
+
* `then` or `else` keywords are evaluated.
|
|
6560
|
+
*
|
|
6561
|
+
* Instances that successfully validate against this keyword's subschema
|
|
6562
|
+
* MUST also be valid against the subschema value of the `then` keyword,
|
|
6563
|
+
* if present.
|
|
6564
|
+
*
|
|
6565
|
+
* Instances that fail to validate against this keyword's subschema MUST
|
|
6566
|
+
* also be valid against the subschema value of the `else` keyword, if
|
|
6567
|
+
* present.
|
|
6568
|
+
*
|
|
6569
|
+
* If annotations are being collected, they are collected
|
|
6570
|
+
* from this keyword's subschema in the usual way, including when the
|
|
6571
|
+
* keyword is present without either `then` or `else`.
|
|
6572
|
+
*/
|
|
6573
|
+
if?: JSONSchema<Value, SchemaType>;
|
|
6574
|
+
/**
|
|
6575
|
+
* The value of `items` MUST be a valid JSON Schema.
|
|
6576
|
+
*
|
|
6577
|
+
* This keyword applies its subschema to all instance elements at indexes
|
|
6578
|
+
* greater than the length of the `prefixItems` array in the same schema
|
|
6579
|
+
* object, as reported by the annotation result of that `prefixItems`
|
|
6580
|
+
* keyword. If no such annotation result exists, `items` applies its
|
|
6581
|
+
* subschema to all instance array elements.
|
|
6582
|
+
*
|
|
6583
|
+
* Note that the behavior of `items` without `prefixItems` is identical
|
|
6584
|
+
* to that of the schema form of `items` in prior drafts.
|
|
6585
|
+
*
|
|
6586
|
+
* When `prefixItems` is present, the behavior of `items` is identical
|
|
6587
|
+
* to the former `additionalItems` keyword.
|
|
6588
|
+
*
|
|
6589
|
+
* If the `items` subschema is applied to any positions within the
|
|
6590
|
+
* instance array, it produces an annotation result of boolean `true`,
|
|
6591
|
+
* indicating that all remaining array elements have been evaluated against
|
|
6592
|
+
* this keyword's subschema.
|
|
6593
|
+
*
|
|
6594
|
+
* Omitting this keyword has the same assertion behavior as an empty
|
|
6595
|
+
* schema.
|
|
6596
|
+
*
|
|
6597
|
+
* Implementations MAY choose to implement or optimize this keyword
|
|
6598
|
+
* in another way that produces the same effect, such as by directly
|
|
6599
|
+
* checking for the presence and size of a `prefixItems` array.
|
|
6600
|
+
*/
|
|
6601
|
+
items?: JSONSchema;
|
|
6602
|
+
/**
|
|
6603
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6604
|
+
*
|
|
6605
|
+
* If `contains` is not present within the same schema object, then this
|
|
6606
|
+
* keyword has no effect.
|
|
6607
|
+
*
|
|
6608
|
+
* An instance array is valid against `maxContains` in two ways,
|
|
6609
|
+
* depending on the form of the annotation result of an adjacent
|
|
6610
|
+
* `contains` keyword. The first way is if the annotation result is an
|
|
6611
|
+
* array and the length of that array is less than or equal to the
|
|
6612
|
+
* `maxContains` value. The second way is if the annotation result is a
|
|
6613
|
+
* boolean `true` and the instance array length is less than or equal to
|
|
6614
|
+
* the `maxContains` value.
|
|
6615
|
+
*/
|
|
6616
|
+
maxContains?: number;
|
|
6617
|
+
/**
|
|
6618
|
+
* The value of `maximum` MUST be a number, representing an inclusive
|
|
6619
|
+
* upper limit for a numeric instance.
|
|
6620
|
+
*
|
|
6621
|
+
* If the instance is a number, then this keyword validates only if the
|
|
6622
|
+
* instance is less than or exactly equal to `maximum`.
|
|
6623
|
+
*/
|
|
6624
|
+
maximum?: number;
|
|
6625
|
+
/**
|
|
6626
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6627
|
+
*
|
|
6628
|
+
* An array instance is valid against `maxItems` if its size is less
|
|
6629
|
+
* than, or equal to, the value of this keyword.
|
|
6630
|
+
*
|
|
6631
|
+
* @minimum 0
|
|
6632
|
+
*/
|
|
6633
|
+
maxItems?: number;
|
|
6634
|
+
/**
|
|
6635
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6636
|
+
*
|
|
6637
|
+
* A string instance is valid against this keyword if its length is less
|
|
6638
|
+
* than, or equal to, the value of this keyword.
|
|
6639
|
+
*
|
|
6640
|
+
* The length of a string instance is defined as the number of its
|
|
6641
|
+
* characters as defined by [RFC 8259][RFC8259].
|
|
6642
|
+
*
|
|
6643
|
+
* [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
|
|
6644
|
+
*
|
|
6645
|
+
* @minimum 0
|
|
6646
|
+
*/
|
|
6647
|
+
maxLength?: number;
|
|
6648
|
+
/**
|
|
6649
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6650
|
+
*
|
|
6651
|
+
* An object instance is valid against `maxProperties` if its number of
|
|
6652
|
+
* `properties` is less than, or equal to, the value of this keyword.
|
|
6653
|
+
*
|
|
6654
|
+
* @minimum 0
|
|
6655
|
+
*/
|
|
6656
|
+
maxProperties?: number;
|
|
6657
|
+
/**
|
|
6658
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6659
|
+
*
|
|
6660
|
+
* If `contains` is not present within the same schema object, then this
|
|
6661
|
+
* keyword has no effect.
|
|
6662
|
+
*
|
|
6663
|
+
* An instance array is valid against `minContains` in two ways,
|
|
6664
|
+
* depending on the form of the annotation result of an adjacent
|
|
6665
|
+
* `contains` keyword. The first way is if the annotation result is an
|
|
6666
|
+
* array and the length of that array is greater than or equal to the
|
|
6667
|
+
* `minContains` value. The second way is if the annotation result is a
|
|
6668
|
+
* boolean `true` and the instance array length is greater than or equal
|
|
6669
|
+
* to the `minContains` value.
|
|
6670
|
+
*
|
|
6671
|
+
* A value of `0` is allowed, but is only useful for setting a range
|
|
6672
|
+
* of occurrences from `0` to the value of `maxContains`. A value of
|
|
6673
|
+
* `0` with no `maxContains` causes `contains` to always pass
|
|
6674
|
+
* validation.
|
|
6675
|
+
*
|
|
6676
|
+
* Omitting this keyword has the same behavior as a value of `1`.
|
|
6677
|
+
*
|
|
6678
|
+
* @default 1
|
|
6679
|
+
*/
|
|
6680
|
+
minContains?: number;
|
|
6681
|
+
/**
|
|
6682
|
+
* The value of `minimum` MUST be a number, representing an inclusive
|
|
6683
|
+
* lower limit for a numeric instance.
|
|
6684
|
+
*
|
|
6685
|
+
* If the instance is a number, then this keyword validates only if the
|
|
6686
|
+
* instance is greater than or exactly equal to `minimum`.
|
|
6687
|
+
*/
|
|
6688
|
+
minimum?: number;
|
|
6689
|
+
/**
|
|
6690
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6691
|
+
*
|
|
6692
|
+
* An array instance is valid against `minItems` if its size is greater
|
|
6693
|
+
* than, or equal to, the value of this keyword.
|
|
6694
|
+
*
|
|
6695
|
+
* Omitting this keyword has the same behavior as a value of `0`.
|
|
6696
|
+
*
|
|
6697
|
+
* @default 0
|
|
6698
|
+
* @minimum 0
|
|
6699
|
+
*/
|
|
6700
|
+
minItems?: number;
|
|
6701
|
+
/**
|
|
6702
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6703
|
+
*
|
|
6704
|
+
* A string instance is valid against this keyword if its length is greater
|
|
6705
|
+
* than, or equal to, the value of this keyword.
|
|
6706
|
+
*
|
|
6707
|
+
* The length of a string instance is defined as the number of its
|
|
6708
|
+
* characters as defined by [RFC 8259][RFC8259].
|
|
6709
|
+
*
|
|
6710
|
+
* Omitting this keyword has the same behavior as a value of `0`.
|
|
6711
|
+
*
|
|
6712
|
+
* [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
|
|
6713
|
+
*
|
|
6714
|
+
* @default 0
|
|
6715
|
+
* @minimum 0
|
|
6716
|
+
*/
|
|
6717
|
+
minLength?: number;
|
|
6718
|
+
/**
|
|
6719
|
+
* The value of this keyword MUST be a non-negative integer.
|
|
6720
|
+
*
|
|
6721
|
+
* An object instance is valid against `minProperties` if its number of
|
|
6722
|
+
* `properties` is greater than, or equal to, the value of this keyword.
|
|
6723
|
+
*
|
|
6724
|
+
* Omitting this keyword has the same behavior as a value of `0`.
|
|
6725
|
+
*
|
|
6726
|
+
* @default 0
|
|
6727
|
+
* @minimum 0
|
|
6728
|
+
*/
|
|
6729
|
+
minProperties?: number;
|
|
6730
|
+
/**
|
|
6731
|
+
* The value of `multipleOf` MUST be a number, strictly greater than
|
|
6732
|
+
* `0`.
|
|
6733
|
+
*
|
|
6734
|
+
* A numeric instance is valid only if division by this keyword's value
|
|
6735
|
+
* results in an integer.
|
|
6736
|
+
*
|
|
6737
|
+
* @exclusiveMinimum 0
|
|
6738
|
+
*/
|
|
6739
|
+
multipleOf?: number;
|
|
6740
|
+
/**
|
|
6741
|
+
* This keyword's value MUST be a valid JSON Schema.
|
|
6742
|
+
*
|
|
6743
|
+
* An instance is valid against this keyword if it fails to validate
|
|
6744
|
+
* successfully against the schema defined by this keyword.
|
|
6745
|
+
*/
|
|
6746
|
+
not?: JSONSchema<Value, SchemaType>;
|
|
6747
|
+
/**
|
|
6748
|
+
* This keyword's value MUST be a non-empty array. Each item of the array
|
|
6749
|
+
* MUST be a valid JSON Schema.
|
|
6750
|
+
*
|
|
6751
|
+
* An instance validates successfully against this keyword if it validates
|
|
6752
|
+
* successfully against exactly one schema defined by this keyword's value.
|
|
6753
|
+
*/
|
|
6754
|
+
oneOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
|
|
6755
|
+
/**
|
|
6756
|
+
* The value of this keyword MUST be a string. This string SHOULD be a
|
|
6757
|
+
* valid regular expression, according to the [ECMA-262][ecma262] regular
|
|
6758
|
+
* expression dialect.
|
|
6759
|
+
*
|
|
6760
|
+
* A string instance is considered valid if the regular expression matches
|
|
6761
|
+
* the instance successfully. Recall: regular expressions are not
|
|
6762
|
+
* implicitly anchored.
|
|
6763
|
+
*
|
|
6764
|
+
* [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
|
|
6765
|
+
*
|
|
6766
|
+
* @format "regex"
|
|
6767
|
+
*/
|
|
6768
|
+
pattern?: string;
|
|
6769
|
+
/**
|
|
6770
|
+
* The value of `patternProperties` MUST be an object. Each property name
|
|
6771
|
+
* of this object SHOULD be a valid regular expression, according to the
|
|
6772
|
+
* [ECMA-262][ecma262] regular expression dialect. Each property value of
|
|
6773
|
+
* this object MUST be a valid JSON Schema.
|
|
6774
|
+
*
|
|
6775
|
+
* Validation succeeds if, for each instance name that matches any regular
|
|
6776
|
+
* expressions that appear as a property name in this keyword's value,
|
|
6777
|
+
* the child instance for that name successfully validates against each
|
|
6778
|
+
* schema that corresponds to a matching regular expression.
|
|
6779
|
+
*
|
|
6780
|
+
* The annotation result of this keyword is the set of instance property
|
|
6781
|
+
* names matched by this keyword. Omitting this keyword has the same
|
|
6782
|
+
* assertion behavior as an empty object.
|
|
6783
|
+
*
|
|
6784
|
+
* [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
|
|
6785
|
+
*/
|
|
6786
|
+
patternProperties?: Record<string, JSONSchema>;
|
|
6787
|
+
/**
|
|
6788
|
+
* The value of `prefixItems` MUST be a non-empty array of valid JSON
|
|
6789
|
+
* Schemas.
|
|
6790
|
+
*
|
|
6791
|
+
* Validation succeeds if each element of the instance validates against
|
|
6792
|
+
* the schema at the same position, if any. This keyword does not
|
|
6793
|
+
* constrain the length of the array. If the array is longer than this
|
|
6794
|
+
* keyword's value, this keyword validates only the prefix of matching
|
|
6795
|
+
* length.
|
|
6796
|
+
*
|
|
6797
|
+
* This keyword produces an annotation value which is the largest index to
|
|
6798
|
+
* which this keyword applied a subschema. The value MAY be a boolean
|
|
6799
|
+
* `true` if a subschema was applied to every index of the instance, such
|
|
6800
|
+
* as is produced by the `items` keyword.
|
|
6801
|
+
* This annotation affects the behavior of `items` and
|
|
6802
|
+
* `unevaluatedItems`.
|
|
6803
|
+
*
|
|
6804
|
+
* Omitting this keyword has the same assertion behavior as an empty array.
|
|
6805
|
+
*/
|
|
6806
|
+
prefixItems?: MaybeReadonlyArray<JSONSchema> | JSONSchema;
|
|
6807
|
+
/**
|
|
6808
|
+
* The value of `properties` MUST be an object. Each value of this object
|
|
6809
|
+
* MUST be a valid JSON Schema.
|
|
6810
|
+
*
|
|
6811
|
+
* Validation succeeds if, for each name that appears in both the instance
|
|
6812
|
+
* and as a name within this keyword's value, the child instance for that
|
|
6813
|
+
* name successfully validates against the corresponding schema.
|
|
6814
|
+
*
|
|
6815
|
+
* The annotation result of this keyword is the set of instance property
|
|
6816
|
+
* names matched by this keyword.
|
|
6817
|
+
*
|
|
6818
|
+
* Omitting this keyword has the same assertion behavior as an empty
|
|
6819
|
+
* object.
|
|
6820
|
+
*/
|
|
6821
|
+
properties?: Record<string, JSONSchema>;
|
|
6822
|
+
/**
|
|
6823
|
+
* The value of `propertyNames` MUST be a valid JSON Schema.
|
|
6824
|
+
*
|
|
6825
|
+
* If the instance is an object, this keyword validates if every property
|
|
6826
|
+
* name in the instance validates against the provided schema.
|
|
6827
|
+
* Note the property name that the schema is testing will always be a
|
|
6828
|
+
* string.
|
|
6829
|
+
*
|
|
6830
|
+
* Omitting this keyword has the same behavior as an empty schema.
|
|
6831
|
+
*/
|
|
6832
|
+
propertyNames?: JSONSchema;
|
|
6833
|
+
/**
|
|
6834
|
+
* The value of this keyword MUST be a boolean. When multiple occurrences
|
|
6835
|
+
* of this keyword are applicable to a single sub-instance, the resulting
|
|
6836
|
+
* value MUST be `true` if any occurrence specifies a `true` value, and
|
|
6837
|
+
* MUST be `false` otherwise.
|
|
6838
|
+
*
|
|
6839
|
+
* If `readOnly` has a value of boolean `true`, it indicates that the
|
|
6840
|
+
* value of the instance is managed exclusively by the owning authority,
|
|
6841
|
+
* and attempts by an application to modify the value of this property are
|
|
6842
|
+
* expected to be ignored or rejected by that owning authority.
|
|
6843
|
+
*
|
|
6844
|
+
* An instance document that is marked as `readOnly` for the entire
|
|
6845
|
+
* document MAY be ignored if sent to the owning authority, or MAY result
|
|
6846
|
+
* in an error, at the authority's discretion.
|
|
6847
|
+
*
|
|
6848
|
+
* For example, `readOnly` would be used to mark a database-generated
|
|
6849
|
+
* serial number as read-only.
|
|
6850
|
+
*
|
|
6851
|
+
* This keyword can be used to assist in user interface instance
|
|
6852
|
+
* generation.
|
|
6853
|
+
*
|
|
6854
|
+
* @default false
|
|
6855
|
+
*/
|
|
6856
|
+
readOnly?: boolean;
|
|
6857
|
+
/**
|
|
6858
|
+
* The value of this keyword MUST be an array. Elements of this array, if
|
|
6859
|
+
* any, MUST be strings, and MUST be unique.
|
|
6860
|
+
*
|
|
6861
|
+
* An object instance is valid against this keyword if every item in the
|
|
6862
|
+
* array is the name of a property in the instance.
|
|
6863
|
+
*
|
|
6864
|
+
* Omitting this keyword has the same behavior as an empty array.
|
|
6865
|
+
*/
|
|
6866
|
+
required?: MaybeReadonlyArray<string>;
|
|
6867
|
+
/**
|
|
6868
|
+
* This keyword's value MUST be a valid JSON Schema.
|
|
6869
|
+
*
|
|
6870
|
+
* When `if` is present, and the instance successfully validates against
|
|
6871
|
+
* its subschema, then validation succeeds against this keyword if the
|
|
6872
|
+
* instance also successfully validates against this keyword's subschema.
|
|
6873
|
+
*
|
|
6874
|
+
* This keyword has no effect when `if` is absent, or when the instance
|
|
6875
|
+
* fails to validate against its subschema. Implementations MUST NOT
|
|
6876
|
+
* evaluate the instance against this keyword, for either validation or
|
|
6877
|
+
* annotation collection purposes, in such cases.
|
|
6878
|
+
*/
|
|
6879
|
+
then?: JSONSchema<Value, SchemaType>;
|
|
6880
|
+
/**
|
|
6881
|
+
* Can be used to decorate a user interface with a short label about the
|
|
6882
|
+
* data produced.
|
|
6883
|
+
*/
|
|
6884
|
+
title?: string;
|
|
6885
|
+
/**
|
|
6886
|
+
* The value of this keyword MUST be either a string or an array. If it is
|
|
6887
|
+
* an array, elements of the array MUST be strings and MUST be unique.
|
|
6888
|
+
*
|
|
6889
|
+
* String values MUST be one of the six primitive types (`"null"`,
|
|
6890
|
+
* `"boolean"`, `"object"`, `"array"`, `"number"`, or
|
|
6891
|
+
* `"string"`), or `"integer"` which matches any number with a zero
|
|
6892
|
+
* fractional part.
|
|
6893
|
+
*
|
|
6894
|
+
* An instance validates if and only if the instance is in any of the sets
|
|
6895
|
+
* listed for this keyword.
|
|
6896
|
+
*/
|
|
6897
|
+
type?: SchemaType;
|
|
6898
|
+
/**
|
|
6899
|
+
* The value of `unevaluatedItems` MUST be a valid JSON Schema.
|
|
6900
|
+
*
|
|
6901
|
+
* The behavior of this keyword depends on the annotation results of
|
|
6902
|
+
* adjacent keywords that apply to the instance location being validated.
|
|
6903
|
+
* Specifically, the annotations from `prefixItems`, `items`, and
|
|
6904
|
+
* `contains`, which can come from those keywords when they are adjacent
|
|
6905
|
+
* to the `unevaluatedItems` keyword. Those three annotations, as well as
|
|
6906
|
+
* `unevaluatedItems`, can also result from any and all adjacent
|
|
6907
|
+
* [in-place applicator][in-place-applicator] keywords.
|
|
6908
|
+
*
|
|
6909
|
+
* If no relevant annotations are present, the `unevaluatedItems`
|
|
6910
|
+
* subschema MUST be applied to all locations in the array.
|
|
6911
|
+
* If a boolean `true` value is present from any of the relevant
|
|
6912
|
+
* annotations, `unevaluatedItems` MUST be ignored. Otherwise, the
|
|
6913
|
+
* subschema MUST be applied to any index greater than the largest
|
|
6914
|
+
* annotation value for `prefixItems`, which does not appear in any
|
|
6915
|
+
* annotation value for `contains`.
|
|
6916
|
+
*
|
|
6917
|
+
* This means that `prefixItems`, `items`, `contains`, and all
|
|
6918
|
+
* in-place applicators MUST be evaluated before this keyword can be
|
|
6919
|
+
* evaluated. Authors of extension keywords MUST NOT define an in-place
|
|
6920
|
+
* applicator that would need to be evaluated after this keyword.
|
|
6921
|
+
*
|
|
6922
|
+
* If the `unevaluatedItems` subschema is applied to any positions within
|
|
6923
|
+
* the instance array, it produces an annotation result of boolean
|
|
6924
|
+
* `true`, analogous to the behavior of `items`.
|
|
6925
|
+
*
|
|
6926
|
+
* Omitting this keyword has the same assertion behavior as an empty
|
|
6927
|
+
* schema.
|
|
6928
|
+
*
|
|
6929
|
+
* [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
|
|
6930
|
+
*/
|
|
6931
|
+
unevaluatedItems?: JSONSchema;
|
|
6932
|
+
/**
|
|
6933
|
+
* The value of `unevaluatedProperties` MUST be a valid JSON Schema.
|
|
6934
|
+
*
|
|
6935
|
+
* The behavior of this keyword depends on the annotation results of
|
|
6936
|
+
* adjacent keywords that apply to the instance location being validated.
|
|
6937
|
+
* Specifically, the annotations from `properties`,
|
|
6938
|
+
* `patternProperties`, and `additionalProperties`, which can come from
|
|
6939
|
+
* those keywords when they are adjacent to the `unevaluatedProperties`
|
|
6940
|
+
* keyword. Those three annotations, as well as `unevaluatedProperties`,
|
|
6941
|
+
* can also result from any and all adjacent
|
|
6942
|
+
* [in-place applicator][in-place-applicator] keywords.
|
|
6943
|
+
*
|
|
6944
|
+
* Validation with `unevaluatedProperties` applies only to the child
|
|
6945
|
+
* values of instance names that do not appear in the `properties`,
|
|
6946
|
+
* `patternProperties`, `additionalProperties`, or
|
|
6947
|
+
* `unevaluatedProperties` annotation results that apply to the
|
|
6948
|
+
* instance location being validated.
|
|
6949
|
+
*
|
|
6950
|
+
* For all such properties, validation succeeds if the child instance
|
|
6951
|
+
* validates against the "unevaluatedProperties" schema.
|
|
6952
|
+
*
|
|
6953
|
+
* This means that `properties`, `patternProperties`,
|
|
6954
|
+
* `additionalProperties`, and all in-place applicators MUST be evaluated
|
|
6955
|
+
* before this keyword can be evaluated. Authors of extension keywords
|
|
6956
|
+
* MUST NOT define an in-place applicator that would need to be evaluated
|
|
6957
|
+
* after this keyword.
|
|
6958
|
+
*
|
|
6959
|
+
* The annotation result of this keyword is the set of instance property
|
|
6960
|
+
* names validated by this keyword's subschema.
|
|
6961
|
+
*
|
|
6962
|
+
* Omitting this keyword has the same assertion behavior as an empty
|
|
6963
|
+
* schema.
|
|
6964
|
+
*
|
|
6965
|
+
* [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
|
|
6966
|
+
*/
|
|
6967
|
+
unevaluatedProperties?: JSONSchema;
|
|
6968
|
+
/**
|
|
6969
|
+
* The value of this keyword MUST be a boolean.
|
|
6970
|
+
*
|
|
6971
|
+
* If this keyword has boolean value `false`, the instance validates
|
|
6972
|
+
* successfully. If it has boolean value `true`, the instance validates
|
|
6973
|
+
* successfully if all of its elements are unique.
|
|
6974
|
+
*
|
|
6975
|
+
* Omitting this keyword has the same behavior as a value of `false`.
|
|
6976
|
+
*
|
|
6977
|
+
* @default false
|
|
6978
|
+
*/
|
|
6979
|
+
uniqueItems?: boolean;
|
|
6980
|
+
/**
|
|
6981
|
+
* The value of this keyword MUST be a boolean. When multiple occurrences
|
|
6982
|
+
* of this keyword is applicable to a single sub-instance, the resulting
|
|
6983
|
+
* value MUST be `true` if any occurrence specifies a `true` value, and
|
|
6984
|
+
* MUST be `false` otherwise.
|
|
6985
|
+
*
|
|
6986
|
+
* If `writeOnly` has a value of boolean `true`, it indicates that the
|
|
6987
|
+
* value is never present when the instance is retrieved from the owning
|
|
6988
|
+
* authority. It can be present when sent to the owning authority to update
|
|
6989
|
+
* or create the document (or the resource it represents), but it will not
|
|
6990
|
+
* be included in any updated or newly created version of the instance.
|
|
6991
|
+
*
|
|
6992
|
+
* An instance document that is marked as `writeOnly` for the entire
|
|
6993
|
+
* document MAY be returned as a blank document of some sort, or MAY
|
|
6994
|
+
* produce an error upon retrieval, or have the retrieval request ignored,
|
|
6995
|
+
* at the authority's discretion.
|
|
6996
|
+
*
|
|
6997
|
+
* For example, `writeOnly` would be used to mark a password input field.
|
|
6998
|
+
*
|
|
6999
|
+
* These keywords can be used to assist in user interface instance
|
|
7000
|
+
* generation. In particular, an application MAY choose to use a widget
|
|
7001
|
+
* that hides input values as they are typed for write-only fields.
|
|
7002
|
+
*
|
|
7003
|
+
* @default false
|
|
7004
|
+
*/
|
|
7005
|
+
writeOnly?: boolean;
|
|
7006
|
+
};
|
|
7007
|
+
declare namespace JSONSchema {
|
|
7008
|
+
type TypeValue = ValueOf<TypeName> | TypeName | Array<ValueOf<TypeName> | TypeName> | ReadonlyArray<ValueOf<TypeName> | TypeName>;
|
|
7009
|
+
/**
|
|
7010
|
+
* JSON Schema interface
|
|
7011
|
+
*/
|
|
7012
|
+
type Interface<Value = any, SchemaType extends TypeValue = TypeValue> = Exclude<JSONSchema<Value, SchemaType>, boolean>;
|
|
7013
|
+
type Array<T = any> = Pick<Interface<T, "array">, KeywordByType.Any | KeywordByType.Array>;
|
|
7014
|
+
type Boolean = Pick<Interface<boolean, "boolean">, KeywordByType.Any>;
|
|
7015
|
+
type Integer = Pick<Interface<number, "integer">, KeywordByType.Any | KeywordByType.Number>;
|
|
7016
|
+
type Number = Pick<Interface<number, "number">, KeywordByType.Any | KeywordByType.Number>;
|
|
7017
|
+
type Null = Pick<Interface<null, "null">, KeywordByType.Any>;
|
|
7018
|
+
type Object<T = any> = Pick<Interface<T, "object">, KeywordByType.Any | KeywordByType.Object>;
|
|
7019
|
+
type String = Pick<Interface<string, "string">, KeywordByType.Any | KeywordByType.String>;
|
|
7020
|
+
}
|
|
7021
|
+
declare namespace KeywordByType {
|
|
7022
|
+
type Any = "$anchor" | "$comment" | "$defs" | "$dynamicAnchor" | "$dynamicRef" | "$id" | "$ref" | "$schema" | "$vocabulary" | "allOf" | "anyOf" | "const" | "default" | "definitions" | "deprecated" | "description" | "else" | "enum" | "examples" | "format" | "if" | "not" | "oneOf" | "readOnly" | "then" | "title" | "type" | "writeOnly";
|
|
7023
|
+
type Array = "additionalItems" | "contains" | "items" | "maxContains" | "maxItems" | "minContains" | "minItems" | "prefixItems" | "unevaluatedItems" | "uniqueItems";
|
|
7024
|
+
type Number = "exclusiveMaximum" | "exclusiveMinimum" | "maximum" | "minimum" | "multipleOf";
|
|
7025
|
+
type Object = "additionalProperties" | "dependencies" | "dependentRequired" | "dependentSchemas" | "maxProperties" | "minProperties" | "patternProperties" | "properties" | "propertyNames" | "required" | "unevaluatedProperties";
|
|
7026
|
+
type String = "contentEncoding" | "contentMediaType" | "contentSchema" | "maxLength" | "minLength" | "pattern";
|
|
7027
|
+
}
|
|
7028
|
+
/**
|
|
7029
|
+
* Enum consisting of simple type names for the `type` keyword
|
|
7030
|
+
*/
|
|
7031
|
+
declare enum TypeName {
|
|
7032
|
+
/**
|
|
7033
|
+
* Value MUST be an array.
|
|
7034
|
+
*/
|
|
7035
|
+
Array = "array",
|
|
7036
|
+
/**
|
|
7037
|
+
* Value MUST be a boolean.
|
|
7038
|
+
*/
|
|
7039
|
+
Boolean = "boolean",
|
|
7040
|
+
/**
|
|
7041
|
+
* Value MUST be an integer, no floating point numbers are allowed. This is a
|
|
7042
|
+
* subset of the number type.
|
|
7043
|
+
*/
|
|
7044
|
+
Integer = "integer",
|
|
7045
|
+
/**
|
|
7046
|
+
* Value MUST be null. Note this is mainly for purpose of being able use union
|
|
7047
|
+
* types to define nullability. If this type is not included in a union, null
|
|
7048
|
+
* values are not allowed (the primitives listed above do not allow nulls on
|
|
7049
|
+
* their own).
|
|
7050
|
+
*/
|
|
7051
|
+
Null = "null",
|
|
7052
|
+
/**
|
|
7053
|
+
* Value MUST be a number, floating point numbers are allowed.
|
|
7054
|
+
*/
|
|
7055
|
+
Number = "number",
|
|
7056
|
+
/**
|
|
7057
|
+
* Value MUST be an object.
|
|
7058
|
+
*/
|
|
7059
|
+
Object = "object",
|
|
7060
|
+
/**
|
|
7061
|
+
* Value MUST be a string.
|
|
7062
|
+
*/
|
|
7063
|
+
String = "string"
|
|
7064
|
+
}
|
|
7065
|
+
//#endregion
|
|
7066
|
+
//#region ../../node_modules/.pnpm/@orpc+openapi@1.15.0_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/openapi/dist/shared/openapi.BGy4N6eR.d.mts
|
|
7067
|
+
interface SchemaConverterComponent {
|
|
7068
|
+
allowedStrategies: readonly SchemaConvertOptions['strategy'][];
|
|
7069
|
+
schema: AnySchema;
|
|
7070
|
+
required: boolean;
|
|
7071
|
+
ref: string;
|
|
7072
|
+
}
|
|
7073
|
+
interface SchemaConvertOptions {
|
|
7074
|
+
strategy: 'input' | 'output';
|
|
7075
|
+
/**
|
|
7076
|
+
* Common components should use `$ref` to represent themselves if matched.
|
|
7077
|
+
*/
|
|
7078
|
+
components?: readonly SchemaConverterComponent[];
|
|
7079
|
+
/**
|
|
7080
|
+
* Minimum schema structure depth required before using `$ref` for components.
|
|
7081
|
+
*
|
|
7082
|
+
* For example, if set to 2, `$ref` will only be used for schemas nested at depth 2 or greater.
|
|
7083
|
+
*
|
|
7084
|
+
* @default 0 - No depth limit;
|
|
7085
|
+
*/
|
|
7086
|
+
minStructureDepthForRef?: number;
|
|
7087
|
+
}
|
|
7088
|
+
interface OpenAPIGeneratorGenerateOptions extends Partial<Omit<OpenAPI.Document, 'openapi'>> {
|
|
7089
|
+
/**
|
|
7090
|
+
* Exclude procedures from the OpenAPI specification.
|
|
7091
|
+
*
|
|
7092
|
+
* @deprecated Use `filter` option instead.
|
|
7093
|
+
* @default () => false
|
|
7094
|
+
*/
|
|
7095
|
+
exclude?: (procedure: AnyProcedure | AnyContractProcedure, path: readonly string[]) => boolean;
|
|
7096
|
+
/**
|
|
7097
|
+
* Filter procedures. Return `false` to exclude a procedure from the OpenAPI specification.
|
|
7098
|
+
*
|
|
7099
|
+
* @default true
|
|
7100
|
+
*/
|
|
7101
|
+
filter?: Value<boolean, [options: TraverseContractProcedureCallbackOptions]>;
|
|
7102
|
+
/**
|
|
7103
|
+
* Common schemas to be used for $ref resolution.
|
|
7104
|
+
*/
|
|
7105
|
+
commonSchemas?: Record<string, {
|
|
7106
|
+
/**
|
|
7107
|
+
* Determines which schema definition to use when input and output schemas differ.
|
|
7108
|
+
* This is needed because some schemas transform data differently between input and output,
|
|
7109
|
+
* making it impossible to use a single $ref for both cases.
|
|
7110
|
+
*
|
|
7111
|
+
* @example
|
|
7112
|
+
* ```ts
|
|
7113
|
+
* // This schema transforms a string input into a number output
|
|
7114
|
+
* const Schema = z.string()
|
|
7115
|
+
* .transform(v => Number(v))
|
|
7116
|
+
* .pipe(z.number())
|
|
7117
|
+
*
|
|
7118
|
+
* // Input schema: { type: 'string' }
|
|
7119
|
+
* // Output schema: { type: 'number' }
|
|
7120
|
+
* ```
|
|
7121
|
+
*
|
|
7122
|
+
* When schemas differ between input and output, you must explicitly choose
|
|
7123
|
+
* which version to use for the OpenAPI specification.
|
|
7124
|
+
*
|
|
7125
|
+
* @default 'input' - Uses the input schema definition by default
|
|
7126
|
+
*/
|
|
7127
|
+
strategy?: SchemaConvertOptions['strategy'];
|
|
7128
|
+
schema: AnySchema;
|
|
7129
|
+
} | {
|
|
7130
|
+
error: 'UndefinedError';
|
|
7131
|
+
schema?: never;
|
|
7132
|
+
}>;
|
|
7133
|
+
/**
|
|
7134
|
+
* Define a custom JSON schema for the error response body when using
|
|
7135
|
+
* type-safe errors. Helps align ORPC error formatting with existing API
|
|
7136
|
+
* response standards or conventions.
|
|
7137
|
+
*
|
|
7138
|
+
* @remarks
|
|
7139
|
+
* - Return `null | undefined` to use the default error response body shaper.
|
|
7140
|
+
*/
|
|
7141
|
+
customErrorResponseBodySchema?: Value<JSONSchema | undefined | null, [definedErrors: [code: string, defaultMessage: string, dataRequired: boolean, dataSchema: JSONSchema][], status: number]>;
|
|
7142
|
+
}
|
|
7143
|
+
//#endregion
|
|
7144
|
+
//#region src/doc.d.ts
|
|
7145
|
+
/** Shared by the served `openapi.json` and the snapshot test that guards it, so the two cannot drift. */
|
|
7146
|
+
export declare const OPENAPI_DOC_OPTIONS: OpenAPIGeneratorGenerateOptions;
|
|
2449
7147
|
//#endregion
|
|
2450
7148
|
//#region src/schemas.d.ts
|
|
2451
|
-
type Runtime = z.infer<typeof runtimeSchema>;
|
|
2452
|
-
type Transport = z.infer<typeof transportSchema>;
|
|
2453
|
-
declare const environmentVariableSchema: z.ZodObject<{
|
|
7149
|
+
export type Runtime = z.infer<typeof runtimeSchema>;
|
|
7150
|
+
export type Transport = z.infer<typeof transportSchema>;
|
|
7151
|
+
export declare const environmentVariableSchema: z.ZodObject<{
|
|
2454
7152
|
key: z.ZodString;
|
|
2455
7153
|
value: z.ZodString;
|
|
2456
7154
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
2457
7155
|
}, z.core.$strip>;
|
|
2458
|
-
declare const environmentVariablesSchema: z.ZodArray<z.ZodObject<{
|
|
7156
|
+
export declare const environmentVariablesSchema: z.ZodArray<z.ZodObject<{
|
|
2459
7157
|
key: z.ZodString;
|
|
2460
7158
|
value: z.ZodString;
|
|
2461
7159
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
2462
7160
|
}, z.core.$strip>>;
|
|
2463
|
-
declare const updateEnvironmentVariableSchema: z.ZodObject<{
|
|
7161
|
+
export declare const updateEnvironmentVariableSchema: z.ZodObject<{
|
|
2464
7162
|
key: z.ZodString;
|
|
2465
7163
|
value: z.ZodOptional<z.ZodString>;
|
|
2466
7164
|
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2467
7165
|
}, z.core.$strip>;
|
|
2468
|
-
declare const buildSettingsSchema: z.ZodObject<{
|
|
7166
|
+
export declare const buildSettingsSchema: z.ZodObject<{
|
|
2469
7167
|
installCommand: z.ZodOptional<z.ZodString>;
|
|
2470
7168
|
buildCommand: z.ZodOptional<z.ZodString>;
|
|
2471
7169
|
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
2472
7170
|
startCommand: z.ZodOptional<z.ZodString>;
|
|
2473
7171
|
}, z.core.$strip>;
|
|
2474
|
-
declare const playgroundHeaderSchema: z.ZodObject<{
|
|
7172
|
+
export declare const playgroundHeaderSchema: z.ZodObject<{
|
|
2475
7173
|
name: z.ZodString;
|
|
2476
7174
|
description: z.ZodString;
|
|
2477
7175
|
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
2478
7176
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
2479
7177
|
}, z.core.$strip>;
|
|
2480
|
-
declare const playgroundExamplePromptSchema: z.ZodObject<{
|
|
7178
|
+
export declare const playgroundExamplePromptSchema: z.ZodObject<{
|
|
2481
7179
|
title: z.ZodString;
|
|
2482
7180
|
prompt: z.ZodString;
|
|
2483
7181
|
}, z.core.$strip>;
|
|
2484
|
-
declare const serverFieldsSchema: z.ZodObject<{
|
|
7182
|
+
export declare const serverFieldsSchema: z.ZodObject<{
|
|
2485
7183
|
$schema: z.ZodString;
|
|
2486
7184
|
name: z.ZodString;
|
|
2487
7185
|
description: z.ZodString;
|
|
@@ -2505,4 +7203,4 @@ declare const serverFieldsSchema: z.ZodObject<{
|
|
|
2505
7203
|
}, z.core.$strip>>>;
|
|
2506
7204
|
}, z.core.$strip>;
|
|
2507
7205
|
//#endregion
|
|
2508
|
-
export {
|
|
7206
|
+
export type { IntentCategoryColor, Platform };
|