@cossistant/core 0.0.18 → 0.0.19
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/conversation.d.ts +13 -13
- package/conversation.d.ts.map +1 -1
- package/errors.d.ts.map +1 -1
- package/package.json +1 -1
- package/realtime-events.d.ts +7 -7
- package/rest-client.d.ts.map +1 -1
- package/rest-client.js +2 -2
- package/rest-client.js.map +1 -1
- package/schemas.d.ts.map +1 -1
- package/schemas3.d.ts +3 -3
- package/store/create-store.d.ts.map +1 -1
- package/timeline-item.d.ts +8 -8
- package/timeline-item.d.ts.map +1 -1
- package/util.d.ts.map +1 -1
package/conversation.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ declare const createConversationRequestSchema: ZodObject<{
|
|
|
17
17
|
private: "private";
|
|
18
18
|
}>;
|
|
19
19
|
type: ZodEnum<{
|
|
20
|
-
message: "message";
|
|
21
20
|
event: "event";
|
|
21
|
+
message: "message";
|
|
22
22
|
identification: "identification";
|
|
23
23
|
}>;
|
|
24
24
|
text: ZodNullable<ZodString>;
|
|
@@ -29,7 +29,6 @@ declare const createConversationRequestSchema: ZodObject<{
|
|
|
29
29
|
}, $strip>, ZodObject<{
|
|
30
30
|
type: ZodLiteral<"event">;
|
|
31
31
|
eventType: ZodEnum<{
|
|
32
|
-
resolved: "resolved";
|
|
33
32
|
assigned: "assigned";
|
|
34
33
|
unassigned: "unassigned";
|
|
35
34
|
participant_requested: "participant_requested";
|
|
@@ -39,6 +38,7 @@ declare const createConversationRequestSchema: ZodObject<{
|
|
|
39
38
|
priority_changed: "priority_changed";
|
|
40
39
|
tag_added: "tag_added";
|
|
41
40
|
tag_removed: "tag_removed";
|
|
41
|
+
resolved: "resolved";
|
|
42
42
|
reopened: "reopened";
|
|
43
43
|
visitor_blocked: "visitor_blocked";
|
|
44
44
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -83,8 +83,8 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
83
83
|
private: "private";
|
|
84
84
|
}>;
|
|
85
85
|
type: ZodEnum<{
|
|
86
|
-
message: "message";
|
|
87
86
|
event: "event";
|
|
87
|
+
message: "message";
|
|
88
88
|
identification: "identification";
|
|
89
89
|
}>;
|
|
90
90
|
text: ZodNullable<ZodString>;
|
|
@@ -95,7 +95,6 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
95
95
|
}, $strip>, ZodObject<{
|
|
96
96
|
type: ZodLiteral<"event">;
|
|
97
97
|
eventType: ZodEnum<{
|
|
98
|
-
resolved: "resolved";
|
|
99
98
|
assigned: "assigned";
|
|
100
99
|
unassigned: "unassigned";
|
|
101
100
|
participant_requested: "participant_requested";
|
|
@@ -105,6 +104,7 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
105
104
|
priority_changed: "priority_changed";
|
|
106
105
|
tag_added: "tag_added";
|
|
107
106
|
tag_removed: "tag_removed";
|
|
107
|
+
resolved: "resolved";
|
|
108
108
|
reopened: "reopened";
|
|
109
109
|
visitor_blocked: "visitor_blocked";
|
|
110
110
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -144,8 +144,8 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
144
144
|
visitorId: ZodString;
|
|
145
145
|
websiteId: ZodString;
|
|
146
146
|
status: ZodDefault<ZodEnum<{
|
|
147
|
-
open: "open";
|
|
148
147
|
resolved: "resolved";
|
|
148
|
+
open: "open";
|
|
149
149
|
spam: "spam";
|
|
150
150
|
}>>;
|
|
151
151
|
deletedAt: ZodDefault<ZodNullable<ZodString>>;
|
|
@@ -158,8 +158,8 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
158
158
|
private: "private";
|
|
159
159
|
}>;
|
|
160
160
|
type: ZodEnum<{
|
|
161
|
-
message: "message";
|
|
162
161
|
event: "event";
|
|
162
|
+
message: "message";
|
|
163
163
|
identification: "identification";
|
|
164
164
|
}>;
|
|
165
165
|
text: ZodNullable<ZodString>;
|
|
@@ -170,7 +170,6 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
170
170
|
}, $strip>, ZodObject<{
|
|
171
171
|
type: ZodLiteral<"event">;
|
|
172
172
|
eventType: ZodEnum<{
|
|
173
|
-
resolved: "resolved";
|
|
174
173
|
assigned: "assigned";
|
|
175
174
|
unassigned: "unassigned";
|
|
176
175
|
participant_requested: "participant_requested";
|
|
@@ -180,6 +179,7 @@ declare const createConversationResponseSchema: ZodObject<{
|
|
|
180
179
|
priority_changed: "priority_changed";
|
|
181
180
|
tag_added: "tag_added";
|
|
182
181
|
tag_removed: "tag_removed";
|
|
182
|
+
resolved: "resolved";
|
|
183
183
|
reopened: "reopened";
|
|
184
184
|
visitor_blocked: "visitor_blocked";
|
|
185
185
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -241,8 +241,8 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
241
241
|
visitorId: ZodString;
|
|
242
242
|
websiteId: ZodString;
|
|
243
243
|
status: ZodDefault<ZodEnum<{
|
|
244
|
-
open: "open";
|
|
245
244
|
resolved: "resolved";
|
|
245
|
+
open: "open";
|
|
246
246
|
spam: "spam";
|
|
247
247
|
}>>;
|
|
248
248
|
deletedAt: ZodDefault<ZodNullable<ZodString>>;
|
|
@@ -255,8 +255,8 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
255
255
|
private: "private";
|
|
256
256
|
}>;
|
|
257
257
|
type: ZodEnum<{
|
|
258
|
-
message: "message";
|
|
259
258
|
event: "event";
|
|
259
|
+
message: "message";
|
|
260
260
|
identification: "identification";
|
|
261
261
|
}>;
|
|
262
262
|
text: ZodNullable<ZodString>;
|
|
@@ -267,7 +267,6 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
267
267
|
}, $strip>, ZodObject<{
|
|
268
268
|
type: ZodLiteral<"event">;
|
|
269
269
|
eventType: ZodEnum<{
|
|
270
|
-
resolved: "resolved";
|
|
271
270
|
assigned: "assigned";
|
|
272
271
|
unassigned: "unassigned";
|
|
273
272
|
participant_requested: "participant_requested";
|
|
@@ -277,6 +276,7 @@ declare const listConversationsResponseSchema: ZodObject<{
|
|
|
277
276
|
priority_changed: "priority_changed";
|
|
278
277
|
tag_added: "tag_added";
|
|
279
278
|
tag_removed: "tag_removed";
|
|
279
|
+
resolved: "resolved";
|
|
280
280
|
reopened: "reopened";
|
|
281
281
|
visitor_blocked: "visitor_blocked";
|
|
282
282
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -331,8 +331,8 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
331
331
|
visitorId: ZodString;
|
|
332
332
|
websiteId: ZodString;
|
|
333
333
|
status: ZodDefault<ZodEnum<{
|
|
334
|
-
open: "open";
|
|
335
334
|
resolved: "resolved";
|
|
335
|
+
open: "open";
|
|
336
336
|
spam: "spam";
|
|
337
337
|
}>>;
|
|
338
338
|
deletedAt: ZodDefault<ZodNullable<ZodString>>;
|
|
@@ -345,8 +345,8 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
345
345
|
private: "private";
|
|
346
346
|
}>;
|
|
347
347
|
type: ZodEnum<{
|
|
348
|
-
message: "message";
|
|
349
348
|
event: "event";
|
|
349
|
+
message: "message";
|
|
350
350
|
identification: "identification";
|
|
351
351
|
}>;
|
|
352
352
|
text: ZodNullable<ZodString>;
|
|
@@ -357,7 +357,6 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
357
357
|
}, $strip>, ZodObject<{
|
|
358
358
|
type: ZodLiteral<"event">;
|
|
359
359
|
eventType: ZodEnum<{
|
|
360
|
-
resolved: "resolved";
|
|
361
360
|
assigned: "assigned";
|
|
362
361
|
unassigned: "unassigned";
|
|
363
362
|
participant_requested: "participant_requested";
|
|
@@ -367,6 +366,7 @@ declare const getConversationResponseSchema: ZodObject<{
|
|
|
367
366
|
priority_changed: "priority_changed";
|
|
368
367
|
tag_added: "tag_added";
|
|
369
368
|
tag_removed: "tag_removed";
|
|
369
|
+
resolved: "resolved";
|
|
370
370
|
reopened: "reopened";
|
|
371
371
|
visitor_blocked: "visitor_blocked";
|
|
372
372
|
visitor_unblocked: "visitor_unblocked";
|
package/conversation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../types/src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAIa,iCAA+B;;;;;;IAA/B,cAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,6BAAA,GAAgC,cACpC;cAGK,kCAAgC;;;;;;;;;;;;;IA1BD,CAAA,CAAA;IAAA,IAAA,aAAA,UAAA,CAAA;IAsBhC,IAAA,aAAA,YAA6B,UACjC,CAAA,CAAA;IAGK,KAAA,UAAA,SAAA,CAAA,SAOV,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAES,8BAAA,GAAiC,cACrC;cAGK,gCAA8B;;;;;;;;;;;;;;;;;KA6B/B,wBAAA,GAA2B,cAC/B;cAGK,iCAA+B;;;;;;;IA9CC,SAAA,WAAA;IAAA,MAAA,YAAA,QAAA,CAAA;MASjC,
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../types/src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAIa,iCAA+B;;;;;;IAA/B,cAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,6BAAA,GAAgC,cACpC;cAGK,kCAAgC;;;;;;;;;;;;;IA1BD,CAAA,CAAA;IAAA,IAAA,aAAA,UAAA,CAAA;IAsBhC,IAAA,aAAA,YAA6B,UACjC,CAAA,CAAA;IAGK,KAAA,UAAA,SAAA,CAAA,SAOV,UAAA,CAA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|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","names":["$ZodCheck","$ZodStringFormats","$constructor","$ZodType","StandardSchemaV1","util","$ZodIssueBase","PropertyKey","$ZodIssueInvalidType","Input","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodIssueInvalidStringFormat","$ZodIssueNotMultipleOf","$ZodIssueUnrecognizedKeys","Record","$ZodIssueInvalidUnion","$ZodIssue","$ZodIssueInvalidKey","$ZodIssueInvalidElement","$ZodIssueInvalidValue","Primitive","$ZodIssueCustom","$ZodIssueStringCommonFormats","Exclude","$ZodIssueStringInvalidRegex","$ZodIssueStringInvalidJWT","$ZodIssueStringStartsWith","$ZodIssueStringEndsWith","$ZodIssueStringIncludes","$ZodStringFormatIssues","$ZodIssueCode","$ZodInternalIssue","T","RawIssue","MakePartial","Flatten","$ZodRawIssue","$ZodErrorMap","$ZodError","Error","$ZodRealError","$ZodFlattenedError","U","_FlattenedError","flattenError","_ZodFormattedError","K","$ZodFormattedError","formatError","$ZodErrorTree","Array","treeifyError","toDotPath","PathSegment","prettifyError","FailureResult"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/errors.d.cts"],"sourcesContent":["import type { $ZodCheck, $ZodStringFormats } from \"./checks.cjs\";\nimport { $constructor } from \"./core.cjs\";\nimport type { $ZodType } from \"./schemas.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodIssueBase {\n readonly code?: string;\n readonly input?: unknown;\n readonly path: PropertyKey[];\n readonly message: string;\n}\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_type\";\n readonly expected: $ZodType[\"_zod\"][\"def\"][\"type\"];\n readonly input?: Input;\n}\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_big\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly maximum: number | bigint;\n readonly inclusive?: boolean;\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_small\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly minimum: number | bigint;\n /** True if the allowable range includes the minimum */\n readonly inclusive?: boolean;\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\n readonly code: \"invalid_format\";\n readonly format: $ZodStringFormats | (string & {});\n readonly pattern?: string;\n readonly input?: string;\n}\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\n readonly code: \"not_multiple_of\";\n readonly divisor: number;\n readonly input?: Input;\n}\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\n readonly code: \"unrecognized_keys\";\n readonly keys: string[];\n readonly input?: Record<string, unknown>;\n}\nexport interface $ZodIssueInvalidUnion extends $ZodIssueBase {\n readonly code: \"invalid_union\";\n readonly errors: $ZodIssue[][];\n readonly input?: unknown;\n readonly discriminator?: string | undefined;\n}\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_key\";\n readonly origin: \"map\" | \"record\";\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_element\";\n readonly origin: \"map\" | \"set\";\n readonly key: unknown;\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_value\";\n readonly values: util.Primitive[];\n readonly input?: Input;\n}\nexport interface $ZodIssueCustom extends $ZodIssueBase {\n readonly code: \"custom\";\n readonly params?: Record<string, any> | undefined;\n readonly input?: unknown;\n}\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\n format: Exclude<$ZodStringFormats, \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\">;\n}\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\n format: \"regex\";\n pattern: string;\n}\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\n format: \"jwt\";\n algorithm?: string;\n}\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\n format: \"starts_with\";\n prefix: string;\n}\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\n format: \"ends_with\";\n suffix: string;\n}\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\n format: \"includes\";\n includes: string;\n}\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\nexport type $ZodIssueCode = $ZodIssue[\"code\"];\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \"message\" | \"path\"> & {\n /** The input data */\n readonly input: unknown;\n /** The schema or check that originated this issue. */\n readonly inst?: $ZodType | $ZodCheck;\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\n readonly continue?: boolean | undefined;\n} & Record<string, unknown>> : never;\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\n (issue: $ZodRawIssue<T>): {\n message: string;\n } | string | undefined | null;\n}\nexport interface $ZodError<T = unknown> extends Error {\n type: T;\n issues: $ZodIssue[];\n _zod: {\n output: T;\n def: $ZodIssue[];\n };\n stack?: string;\n name: string;\n}\nexport declare const $ZodError: $constructor<$ZodError>;\ninterface $ZodRealError<T = any> extends $ZodError<T> {\n}\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\ntype _FlattenedError<T, U = string> = {\n formErrors: U[];\n fieldErrors: {\n [P in keyof T]?: U[];\n };\n};\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n} : T extends any[] ? {\n [k: number]: $ZodFormattedError<T[number], U>;\n} : T extends object ? util.Flatten<{\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n}> : any;\nexport type $ZodFormattedError<T, U = string> = {\n _errors: U[];\n} & util.Flatten<_ZodFormattedError<T, U>>;\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\n errors: U[];\n} : T extends [any, ...any[]] ? {\n errors: U[];\n items?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : T extends any[] ? {\n errors: U[];\n items?: Array<$ZodErrorTree<T[number], U>>;\n} : T extends object ? {\n errors: U[];\n properties?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : {\n errors: U[];\n};\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\n/** Format a ZodError as a human-readable string in the following form.\n *\n * From\n *\n * ```ts\n * ZodError {\n * issues: [\n * {\n * expected: 'string',\n * code: 'invalid_type',\n * path: [ 'username' ],\n * message: 'Invalid input: expected string'\n * },\n * {\n * expected: 'number',\n * code: 'invalid_type',\n * path: [ 'favoriteNumbers', 1 ],\n * message: 'Invalid input: expected number'\n * }\n * ];\n * }\n * ```\n *\n * to\n *\n * ```\n * username\n * ✖ Expected number, received string at \"username\n * favoriteNumbers[0]\n * ✖ Invalid input: expected number\n * ```\n */\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\nexport {};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;UAKiBM,aAAAA;EAAAA,SAAAA,IAAAA,CAAAA,EAAa,MAAA;EAMbE,SAAAA,KAAAA,CAAAA,EAAAA,OAAoB;EAEdL,SAAAA,IAAAA,EALJI,WAKIJ,EAAAA;EACFM,SAAAA,OAAAA,EAAAA,MAAAA;;AAHuD,UAA3DD,oBAA2D,CAAA,QAAA,OAAA,CAAA,SAAbF,aAAa,CAAA;EAK3DI,SAAAA,IAAAA,EAAAA,cAAeD;EAQfE,SAAAA,QAAAA,EAXMR,QAWWM,CAAAA,MAAAA,CAAAA,CAAAA,KAQbA,CAAAA,CAAAA,MARuCH,CAAAA;EAU3CM,SAAAA,KAAAA,CAAAA,EApBIH,KAoBJG;AAMjB;AAKiBE,UA7BAJ,eA6ByB,CAAA,QAAA,OAGrBK,CAAAA,SAhCqCT,aA6BM,CAAA;EAK/CU,SAAAA,IAAAA,EAAAA,SAAqB;EAMrBE,SAAAA,MAAAA,EAAAA,QAAmB,GAAA,KAAAT,GAAAA,QAAA,GAAA,MAAA,GAAA,QAAA,GAAA,OAAA,GAAA,KAAA,GA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A,GArCmDX,iBAqCnDW,CArCqEV,CAqCrEU,CAAAA;AACuBV,UArCnBK,YAqCmBL,CAAAA,UArCI3B,aAqCJ2B,GArCoBhB,SAqCpBgB,CAAAA,CAAAA;EAAGU,CAAAA,KAAAA,EApC3BN,YAoC2BM,CApCdV,CAoCcU,CAAAA,CAAAA,EAAAA;IAAtBG,OAAAA,EAAAA,MAAAA;EAAbzC,CAAAA,GAAAA,MAAAA,GAAAA,SAAAA,GAAAA,IAAAA;;UAhCakC,+BAA+BC;QACtCP;UACEhB;;YAEIgB;SACHhB;;;;;cAKQsB,WAAWrC,aAAaqC;KAIjCG,oCAAoCE,gBAAgBX,GAAGU;KAC9DC;cACWD;6BAEIV,KAAKU;;KAKpBG,oCAAoCb,0CACzBA,KAAKe,mBAAmBf,EAAEc,IAAIJ,OAC1CV;eACae,mBAAmBf,WAAWU;IAC3CV,mBAAmB5B,sBACP4B,KAAKe,mBAAmBf,EAAEc,IAAIJ;KAElCK;WACCL;IACTtC,QAAayC,mBAAmBb,GAAGU"}
|
|
1
|
+
{"version":3,"file":"errors.d.ts","names":["$ZodCheck","$ZodStringFormats","$constructor","$ZodType","StandardSchemaV1","util","$ZodIssueBase","PropertyKey","$ZodIssueInvalidType","Input","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodIssueInvalidStringFormat","$ZodIssueNotMultipleOf","$ZodIssueUnrecognizedKeys","Record","$ZodIssueInvalidUnion","$ZodIssue","$ZodIssueInvalidKey","$ZodIssueInvalidElement","$ZodIssueInvalidValue","Primitive","$ZodIssueCustom","$ZodIssueStringCommonFormats","Exclude","$ZodIssueStringInvalidRegex","$ZodIssueStringInvalidJWT","$ZodIssueStringStartsWith","$ZodIssueStringEndsWith","$ZodIssueStringIncludes","$ZodStringFormatIssues","$ZodIssueCode","$ZodInternalIssue","T","RawIssue","MakePartial","Flatten","$ZodRawIssue","$ZodErrorMap","$ZodError","Error","$ZodRealError","$ZodFlattenedError","U","_FlattenedError","flattenError","_ZodFormattedError","K","$ZodFormattedError","formatError","$ZodErrorTree","Array","treeifyError","toDotPath","PathSegment","prettifyError","FailureResult"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/errors.d.cts"],"sourcesContent":["import type { $ZodCheck, $ZodStringFormats } from \"./checks.cjs\";\nimport { $constructor } from \"./core.cjs\";\nimport type { $ZodType } from \"./schemas.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodIssueBase {\n readonly code?: string;\n readonly input?: unknown;\n readonly path: PropertyKey[];\n readonly message: string;\n}\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_type\";\n readonly expected: $ZodType[\"_zod\"][\"def\"][\"type\"];\n readonly input?: Input;\n}\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_big\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly maximum: number | bigint;\n readonly inclusive?: boolean;\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_small\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly minimum: number | bigint;\n /** True if the allowable range includes the minimum */\n readonly inclusive?: boolean;\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\n readonly code: \"invalid_format\";\n readonly format: $ZodStringFormats | (string & {});\n readonly pattern?: string;\n readonly input?: string;\n}\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\n readonly code: \"not_multiple_of\";\n readonly divisor: number;\n readonly input?: Input;\n}\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\n readonly code: \"unrecognized_keys\";\n readonly keys: string[];\n readonly input?: Record<string, unknown>;\n}\nexport interface $ZodIssueInvalidUnion extends $ZodIssueBase {\n readonly code: \"invalid_union\";\n readonly errors: $ZodIssue[][];\n readonly input?: unknown;\n readonly discriminator?: string | undefined;\n}\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_key\";\n readonly origin: \"map\" | \"record\";\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_element\";\n readonly origin: \"map\" | \"set\";\n readonly key: unknown;\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_value\";\n readonly values: util.Primitive[];\n readonly input?: Input;\n}\nexport interface $ZodIssueCustom extends $ZodIssueBase {\n readonly code: \"custom\";\n readonly params?: Record<string, any> | undefined;\n readonly input?: unknown;\n}\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\n format: Exclude<$ZodStringFormats, \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\">;\n}\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\n format: \"regex\";\n pattern: string;\n}\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\n format: \"jwt\";\n algorithm?: string;\n}\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\n format: \"starts_with\";\n prefix: string;\n}\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\n format: \"ends_with\";\n suffix: string;\n}\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\n format: \"includes\";\n includes: string;\n}\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\nexport type $ZodIssueCode = $ZodIssue[\"code\"];\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \"message\" | \"path\"> & {\n /** The input data */\n readonly input: unknown;\n /** The schema or check that originated this issue. */\n readonly inst?: $ZodType | $ZodCheck;\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\n readonly continue?: boolean | undefined;\n} & Record<string, unknown>> : never;\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\n (issue: $ZodRawIssue<T>): {\n message: string;\n } | string | undefined | null;\n}\nexport interface $ZodError<T = unknown> extends Error {\n type: T;\n issues: $ZodIssue[];\n _zod: {\n output: T;\n def: $ZodIssue[];\n };\n stack?: string;\n name: string;\n}\nexport declare const $ZodError: $constructor<$ZodError>;\ninterface $ZodRealError<T = any> extends $ZodError<T> {\n}\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\ntype _FlattenedError<T, U = string> = {\n formErrors: U[];\n fieldErrors: {\n [P in keyof T]?: U[];\n };\n};\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n} : T extends any[] ? {\n [k: number]: $ZodFormattedError<T[number], U>;\n} : T extends object ? util.Flatten<{\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n}> : any;\nexport type $ZodFormattedError<T, U = string> = {\n _errors: U[];\n} & util.Flatten<_ZodFormattedError<T, U>>;\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\n errors: U[];\n} : T extends [any, ...any[]] ? {\n errors: U[];\n items?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : T extends any[] ? {\n errors: U[];\n items?: Array<$ZodErrorTree<T[number], U>>;\n} : T extends object ? {\n errors: U[];\n properties?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : {\n errors: U[];\n};\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\n/** Format a ZodError as a human-readable string in the following form.\n *\n * From\n *\n * ```ts\n * ZodError {\n * issues: [\n * {\n * expected: 'string',\n * code: 'invalid_type',\n * path: [ 'username' ],\n * message: 'Invalid input: expected string'\n * },\n * {\n * expected: 'number',\n * code: 'invalid_type',\n * path: [ 'favoriteNumbers', 1 ],\n * message: 'Invalid input: expected number'\n * }\n * ];\n * }\n * ```\n *\n * to\n *\n * ```\n * username\n * ✖ Expected number, received string at \"username\n * favoriteNumbers[0]\n * ✖ Invalid input: expected number\n * ```\n */\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\nexport {};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;UAKiBM,aAAAA;EAAAA,SAA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;KAElCK;WACCL;IACTtC,QAAayC,mBAAmBb,GAAGU"}
|
package/package.json
CHANGED
package/realtime-events.d.ts
CHANGED
|
@@ -83,8 +83,8 @@ declare const realtimeSchema: {
|
|
|
83
83
|
private: "private";
|
|
84
84
|
}>;
|
|
85
85
|
type: ZodEnum<{
|
|
86
|
-
message: "message";
|
|
87
86
|
event: "event";
|
|
87
|
+
message: "message";
|
|
88
88
|
identification: "identification";
|
|
89
89
|
}>;
|
|
90
90
|
text: ZodNullable<ZodString>;
|
|
@@ -111,8 +111,8 @@ declare const realtimeSchema: {
|
|
|
111
111
|
visitorId: ZodString;
|
|
112
112
|
websiteId: ZodString;
|
|
113
113
|
status: ZodDefault<ZodEnum<{
|
|
114
|
-
open: "open";
|
|
115
114
|
resolved: "resolved";
|
|
115
|
+
open: "open";
|
|
116
116
|
spam: "spam";
|
|
117
117
|
}>>;
|
|
118
118
|
deletedAt: ZodDefault<ZodNullable<ZodString>>;
|
|
@@ -125,8 +125,8 @@ declare const realtimeSchema: {
|
|
|
125
125
|
private: "private";
|
|
126
126
|
}>;
|
|
127
127
|
type: ZodEnum<{
|
|
128
|
-
message: "message";
|
|
129
128
|
event: "event";
|
|
129
|
+
message: "message";
|
|
130
130
|
identification: "identification";
|
|
131
131
|
}>;
|
|
132
132
|
text: ZodNullable<ZodString>;
|
|
@@ -137,7 +137,6 @@ declare const realtimeSchema: {
|
|
|
137
137
|
}, $strip>, ZodObject<{
|
|
138
138
|
type: ZodLiteral<"event">;
|
|
139
139
|
eventType: ZodEnum<{
|
|
140
|
-
resolved: "resolved";
|
|
141
140
|
assigned: "assigned";
|
|
142
141
|
unassigned: "unassigned";
|
|
143
142
|
participant_requested: "participant_requested";
|
|
@@ -147,6 +146,7 @@ declare const realtimeSchema: {
|
|
|
147
146
|
priority_changed: "priority_changed";
|
|
148
147
|
tag_added: "tag_added";
|
|
149
148
|
tag_removed: "tag_removed";
|
|
149
|
+
resolved: "resolved";
|
|
150
150
|
reopened: "reopened";
|
|
151
151
|
visitor_blocked: "visitor_blocked";
|
|
152
152
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -182,8 +182,8 @@ declare const realtimeSchema: {
|
|
|
182
182
|
header: ZodObject<{
|
|
183
183
|
id: ZodString;
|
|
184
184
|
status: ZodEnum<{
|
|
185
|
-
open: "open";
|
|
186
185
|
resolved: "resolved";
|
|
186
|
+
open: "open";
|
|
187
187
|
spam: "spam";
|
|
188
188
|
}>;
|
|
189
189
|
priority: ZodEnum<{
|
|
@@ -231,8 +231,8 @@ declare const realtimeSchema: {
|
|
|
231
231
|
private: "private";
|
|
232
232
|
}>;
|
|
233
233
|
type: ZodEnum<{
|
|
234
|
-
message: "message";
|
|
235
234
|
event: "event";
|
|
235
|
+
message: "message";
|
|
236
236
|
identification: "identification";
|
|
237
237
|
}>;
|
|
238
238
|
text: ZodNullable<ZodString>;
|
|
@@ -243,7 +243,6 @@ declare const realtimeSchema: {
|
|
|
243
243
|
}, $strip>, ZodObject<{
|
|
244
244
|
type: ZodLiteral<"event">;
|
|
245
245
|
eventType: ZodEnum<{
|
|
246
|
-
resolved: "resolved";
|
|
247
246
|
assigned: "assigned";
|
|
248
247
|
unassigned: "unassigned";
|
|
249
248
|
participant_requested: "participant_requested";
|
|
@@ -253,6 +252,7 @@ declare const realtimeSchema: {
|
|
|
253
252
|
priority_changed: "priority_changed";
|
|
254
253
|
tag_added: "tag_added";
|
|
255
254
|
tag_removed: "tag_removed";
|
|
255
|
+
resolved: "resolved";
|
|
256
256
|
reopened: "reopened";
|
|
257
257
|
visitor_blocked: "visitor_blocked";
|
|
258
258
|
visitor_unblocked: "visitor_unblocked";
|
package/rest-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rest-client.d.ts","names":[],"sources":["../src/rest-client.ts"],"sourcesContent":[],"mappings":";;;;;;cAqCa,oBAAA;;EAAA,QAAA,WAAA;EAQQ,QAAA,SAAA;
|
|
1
|
+
{"version":3,"file":"rest-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AzOT,OAyOS,CAzOD,8BAyOC,CAAA;EAAR,mBAAA,CAAA,MAAA,EAzL8B,OAyL9B,CAzLsC,eAAA,CAAA,gBAyLtC,CAAA,CAAA,EAzL0D,OAyL1D,CAAA,IAAA,CAAA;EA6CK,iBAAA,CAAA,MAAA,CAAA,EA9MA,OA8MA,CA9MQ,wBA8MR,CAAA,CAAA,EA7MN,OA6MM,CA7ME,yBA6MF,CAAA;EACE,eAAA,CAAA,MAAA,EA7IF,sBA6IE,CAAA,EA5IR,OA4IQ,CA5IA,uBA4IA,CAAA;EAAR,oBAAA,CAAA,MAAA,EAAA;IAsBM,cAAA,EAAA,MAAA;EACE,CAAA,GAnIN,OAmIM,CAnIE,+BAmIF,CAAA,CAAA,EAlIR,OAkIQ,CAlIA,gCAkIA,CAAA;EAAR,uBAAA,CAAA,MAAA,EAAA;IAAO,cAAA,EAAA,MAAA;MA7FN,QAAQ;;;;;;MAwBR,QAAQ;sBA6CH,0BACN,QAAQ;uCAsBF;;MACN,QAAQ"}
|
package/rest-client.js
CHANGED
|
@@ -14,8 +14,8 @@ var CossistantRestClient = class {
|
|
|
14
14
|
visitorBlocked = false;
|
|
15
15
|
constructor(config) {
|
|
16
16
|
this.config = config;
|
|
17
|
-
this.publicKey = config.publicKey || (typeof process !== "undefined" ? process.env.
|
|
18
|
-
if (!this.publicKey) throw new Error("Public key is required. Please provide it in the config or set
|
|
17
|
+
this.publicKey = config.publicKey || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_COSSISTANT_API_KEY : void 0) || (typeof process !== "undefined" ? process.env.COSSISTANT_API_KEY : void 0) || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_COSSISTANT_KEY : void 0) || "";
|
|
18
|
+
if (!this.publicKey) throw new Error("Public key is required. Please provide it in the config or set NEXT_PUBLIC_COSSISTANT_API_KEY or COSSISTANT_PUBLIC_KEY environment variable.");
|
|
19
19
|
this.baseHeaders = {
|
|
20
20
|
"Content-Type": "application/json",
|
|
21
21
|
"X-Public-Key": this.publicKey
|
package/rest-client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rest-client.js","names":["headers: Record<string, string>","body: CreateConversationRequestBody","body: MarkConversationSeenRequestBody","body: SetConversationTypingRequestBody"],"sources":["../src/rest-client.ts"],"sourcesContent":["import type { IdentifyContactResponse } from \"@cossistant/types/api/contact\";\nimport type {\n\tCreateConversationRequestBody,\n\tCreateConversationResponseBody,\n\tGetConversationRequest,\n\tGetConversationResponse,\n\tGetConversationSeenDataResponse,\n\tListConversationsRequest,\n\tListConversationsResponse,\n\tMarkConversationSeenRequestBody,\n\tMarkConversationSeenResponseBody,\n\tSetConversationTypingRequestBody,\n\tSetConversationTypingResponseBody,\n} from \"@cossistant/types/api/conversation\";\nimport type {\n\tGetConversationTimelineItemsRequest,\n\tGetConversationTimelineItemsResponse,\n\tSendTimelineItemRequest,\n\tSendTimelineItemResponse,\n} from \"@cossistant/types/api/timeline-item\";\nimport { logger } from \"./logger\";\nimport {\n\tCossistantAPIError,\n\ttype CossistantConfig,\n\ttype PublicWebsiteResponse,\n\ttype UpdateVisitorRequest,\n\ttype VisitorMetadata,\n\ttype VisitorResponse,\n} from \"./types\";\nimport { generateConversationId } from \"./utils\";\nimport { collectVisitorData } from \"./visitor-data\";\nimport {\n\tgetExistingVisitorId,\n\tgetVisitorId,\n\tsetVisitorId,\n} from \"./visitor-tracker\";\n\nexport class CossistantRestClient {\n\tprivate config: CossistantConfig;\n\tprivate baseHeaders: Record<string, string>;\n\tprivate publicKey: string;\n\tprivate websiteId: string | null = null;\n\tprivate visitorId: string | null = null;\n\tprivate visitorBlocked = false;\n\n\tconstructor(config: CossistantConfig) {\n\t\tthis.config = config;\n\n\t\t// Get public key from config or environment variables\n\t\tthis.publicKey =\n\t\t\tconfig.publicKey ||\n\t\t\t(typeof process !== \"undefined\"\n\t\t\t\t? process.env.NEXT_PUBLIC_COSSISTANT_KEY\n\t\t\t\t: undefined) ||\n\t\t\t(typeof process !== \"undefined\"\n\t\t\t\t? process.env.COSSISTANT_PUBLIC_KEY\n\t\t\t\t: undefined) ||\n\t\t\t\"\";\n\n\t\tif (!this.publicKey) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Public key is required. Please provide it in the config or set NEXT_PUBLIC_COSSISTANT_KEY or COSSISTANT_PUBLIC_KEY environment variable.\"\n\t\t\t);\n\t\t}\n\n\t\tthis.baseHeaders = {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\"X-Public-Key\": this.publicKey,\n\t\t};\n\n\t\tif (config.userId) {\n\t\t\tthis.baseHeaders[\"X-User-ID\"] = config.userId;\n\t\t}\n\n\t\tif (config.organizationId) {\n\t\t\tthis.baseHeaders[\"X-Organization-ID\"] = config.organizationId;\n\t\t}\n\t}\n\n\tprivate normalizeVisitorResponse(payload: VisitorResponse): VisitorResponse {\n\t\tconst contact = payload.contact ? payload.contact : null;\n\t\treturn {\n\t\t\t...payload,\n\t\t\t// Ensure latitude and longitude are numbers or null\n\t\t\tlatitude:\n\t\t\t\ttypeof payload.latitude === \"string\"\n\t\t\t\t\t? Number.parseFloat(payload.latitude)\n\t\t\t\t\t: payload.latitude,\n\t\t\tlongitude:\n\t\t\t\ttypeof payload.longitude === \"string\"\n\t\t\t\t\t? Number.parseFloat(payload.longitude)\n\t\t\t\t\t: payload.longitude,\n\t\t\tcreatedAt: payload.createdAt,\n\t\t\tupdatedAt: payload.updatedAt,\n\t\t\tlastSeenAt: payload.lastSeenAt ? payload.lastSeenAt : null,\n\t\t\tblockedAt: payload.blockedAt ? payload.blockedAt : null,\n\t\t\tcontact: payload.contact ? payload.contact : null,\n\t\t};\n\t}\n\n\tprivate resolveVisitorId(): string {\n\t\tif (this.visitorId) {\n\t\t\treturn this.visitorId;\n\t\t}\n\n\t\tif (this.websiteId) {\n\t\t\tconst storedVisitorId = getVisitorId(this.websiteId);\n\t\t\tif (storedVisitorId) {\n\t\t\t\tthis.visitorId = storedVisitorId;\n\t\t\t\treturn storedVisitorId;\n\t\t\t}\n\t\t}\n\n\t\tthrow new Error(\"Visitor ID is required\");\n\t}\n\n\tprivate async syncVisitorSnapshot(visitorId: string): Promise<void> {\n\t\ttry {\n\t\t\tconst visitorData = await collectVisitorData();\n\t\t\tif (!visitorData) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst payload = Object.entries(visitorData).reduce<\n\t\t\t\tPartial<UpdateVisitorRequest>\n\t\t\t>((acc, [key, value]) => {\n\t\t\t\tif (value === null || value === undefined) {\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\t\t\t\t(acc as Record<string, unknown>)[key] = value;\n\t\t\t\treturn acc;\n\t\t\t}, {});\n\n\t\t\tif (Object.keys(payload).length === 0) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tawait this.request<VisitorResponse>(`/visitors/${visitorId}`, {\n\t\t\t\tmethod: \"PATCH\",\n\t\t\t\tbody: JSON.stringify(payload),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tlogger.warn(\"Failed to sync visitor data\", error);\n\t\t}\n\t}\n\n\tprivate async request<T>(\n\t\tpath: string,\n\t\toptions: RequestInit = {}\n\t): Promise<T> {\n\t\tif (this.visitorBlocked) {\n\t\t\tconst method = (options.method ?? \"GET\").toUpperCase();\n\t\t\tconst [rawPath] = path.split(\"?\");\n\t\t\tconst normalizedPath = rawPath?.endsWith(\"/\")\n\t\t\t\t? rawPath.slice(0, -1)\n\t\t\t\t: rawPath;\n\t\t\tconst isWebsitesRoot = normalizedPath === \"/websites\";\n\t\t\tconst isSafeMethod = method === \"GET\" || method === \"HEAD\";\n\n\t\t\tif (!(isWebsitesRoot && isSafeMethod)) {\n\t\t\t\tthrow new CossistantAPIError({\n\t\t\t\t\tcode: \"VISITOR_BLOCKED\",\n\t\t\t\t\tmessage: \"Visitor is blocked and cannot perform this action.\",\n\t\t\t\t\tdetails: { path, method },\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tconst url = `${this.config.apiUrl}${path}`;\n\n\t\tconst response = await fetch(url, {\n\t\t\t...options,\n\t\t\theaders: {\n\t\t\t\t...this.baseHeaders,\n\t\t\t\t...options.headers,\n\t\t\t},\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tconst errorData = await response.json().catch(() => ({}));\n\t\t\tconst statusCode = response.status;\n\t\t\tconst errorCode = errorData.code || `HTTP_${statusCode}`;\n\t\t\tconst serverMessage = errorData.message;\n\n\t\t\t// Determine if this is an authentication/authorization error\n\t\t\tconst isAuthError =\n\t\t\t\tstatusCode === 401 ||\n\t\t\t\tstatusCode === 403 ||\n\t\t\t\terrorCode === \"UNAUTHORIZED\" ||\n\t\t\t\terrorCode === \"FORBIDDEN\" ||\n\t\t\t\terrorCode === \"INVALID_API_KEY\" ||\n\t\t\t\terrorCode === \"API_KEY_EXPIRED\" ||\n\t\t\t\terrorCode === \"API_KEY_MISSING\" ||\n\t\t\t\terrorCode?.toUpperCase().includes(\"AUTH\") ||\n\t\t\t\terrorCode?.toUpperCase().includes(\"API_KEY\");\n\n\t\t\t// Use appropriate error message based on error type\n\t\t\tconst errorMessage = isAuthError\n\t\t\t\t? \"Your Cossistant public API key is invalid, expired, missing or not authorized to access this resource.\"\n\t\t\t\t: serverMessage || `Request failed with status ${statusCode}`;\n\n\t\t\t// Log with appropriate level based on error type\n\t\t\tif (isAuthError) {\n\t\t\t\tlogger.error(errorMessage, {\n\t\t\t\t\tdetails: errorData.details,\n\t\t\t\t\tpath,\n\t\t\t\t\tstatus: statusCode,\n\t\t\t\t\tcode: errorCode,\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tlogger.error(\"API request failed\", {\n\t\t\t\t\tmessage: errorMessage,\n\t\t\t\t\tdetails: errorData.details,\n\t\t\t\t\tpath,\n\t\t\t\t\tstatus: statusCode,\n\t\t\t\t\tcode: errorCode,\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthrow new CossistantAPIError({\n\t\t\t\tcode: errorCode,\n\t\t\t\tmessage: errorMessage,\n\t\t\t\tdetails: errorData.details,\n\t\t\t});\n\t\t}\n\n\t\treturn response.json();\n\t}\n\n\tasync getWebsite(): Promise<PublicWebsiteResponse> {\n\t\t// Make the request with visitor ID if we have one stored\n\t\tconst headers: Record<string, string> = {};\n\n\t\t// First, check if we already know the website ID and have a visitor ID for it\n\t\tif (this.websiteId) {\n\t\t\tconst storedVisitorId = getVisitorId(this.websiteId);\n\t\t\tif (storedVisitorId) {\n\t\t\t\theaders[\"X-Visitor-Id\"] = storedVisitorId;\n\t\t\t}\n\t\t} else {\n\t\t\t// We don't know the website ID yet, but check if we have any existing visitor\n\t\t\t// This prevents creating duplicate visitors on page refresh\n\t\t\tconst existingVisitor = getExistingVisitorId(this.publicKey);\n\t\t\tif (existingVisitor) {\n\t\t\t\theaders[\"X-Visitor-Id\"] = existingVisitor.visitorId;\n\t\t\t\t// Pre-populate our local state\n\t\t\t\tthis.websiteId = existingVisitor.websiteId;\n\t\t\t\tthis.visitorId = existingVisitor.visitorId;\n\t\t\t}\n\t\t}\n\n\t\tconst response = await this.request<PublicWebsiteResponse>(\"/websites\", {\n\t\t\theaders,\n\t\t});\n\n\t\t// Store the website ID for future requests\n\t\tthis.websiteId = response.id;\n\n\t\t// Store the visitor ID if we got one\n\t\tthis.visitorBlocked = response.visitor?.isBlocked ?? false;\n\n\t\tif (response.visitor?.id) {\n\t\t\tif (this.visitorBlocked) {\n\t\t\t\tthis.visitorId = response.visitor.id;\n\t\t\t\tsetVisitorId(response.id, response.visitor.id);\n\t\t\t\treturn response;\n\t\t\t}\n\n\t\t\tthis.visitorId = response.visitor.id;\n\t\t\tsetVisitorId(response.id, response.visitor.id);\n\t\t\tthis.syncVisitorSnapshot(response.visitor.id);\n\t\t}\n\n\t\treturn response;\n\t}\n\n\t// Manually prime website and visitor context when the caller already has it\n\tsetWebsiteContext(websiteId: string, visitorId?: string): void {\n\t\tthis.websiteId = websiteId;\n\t\tif (visitorId) {\n\t\t\tthis.visitorId = visitorId;\n\t\t\tsetVisitorId(websiteId, visitorId);\n\t\t}\n\t}\n\n\tsetVisitorBlocked(isBlocked: boolean): void {\n\t\tthis.visitorBlocked = isBlocked;\n\t}\n\n\tgetCurrentWebsiteId(): string | null {\n\t\treturn this.websiteId;\n\t}\n\n\tgetCurrentVisitorId(): string | null {\n\t\tif (this.visitorId) {\n\t\t\treturn this.visitorId;\n\t\t}\n\n\t\tif (!this.websiteId) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn getVisitorId(this.websiteId) ?? null;\n\t}\n\n\tasync updateVisitorMetadata(\n\t\tmetadata: VisitorMetadata\n\t): Promise<VisitorResponse> {\n\t\tconst visitorId = this.resolveVisitorId();\n\t\tconst response = await this.request<VisitorResponse>(\n\t\t\t`/visitors/${visitorId}/metadata`,\n\t\t\t{\n\t\t\t\tmethod: \"PATCH\",\n\t\t\t\tbody: JSON.stringify({ metadata }),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\n\t\treturn this.normalizeVisitorResponse(response);\n\t}\n\n\t/**\n\t * Identify a visitor by creating or updating their contact information\n\t * This will link the visitor to a contact record that can be tracked across devices\n\t */\n\tasync identify(params: {\n\t\texternalId?: string;\n\t\temail?: string;\n\t\tname?: string;\n\t\timage?: string;\n\t\tmetadata?: Record<string, unknown>;\n\t\tcontactOrganizationId?: string;\n\t}): Promise<IdentifyContactResponse> {\n\t\tconst visitorId = this.resolveVisitorId();\n\n\t\tconst response = await this.request<IdentifyContactResponse>(\n\t\t\t\"/contacts/identify\",\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify({\n\t\t\t\t\tvisitorId,\n\t\t\t\t\t...params,\n\t\t\t\t}),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tcontact: {\n\t\t\t\t...response.contact,\n\t\t\t\t// Ensure metadata is properly typed\n\t\t\t\tmetadata:\n\t\t\t\t\ttypeof response.contact.metadata === \"string\"\n\t\t\t\t\t\t? JSON.parse(response.contact.metadata)\n\t\t\t\t\t\t: response.contact.metadata,\n\t\t\t\tcreatedAt: response.contact.createdAt,\n\t\t\t\tupdatedAt: response.contact.updatedAt,\n\t\t\t},\n\t\t\tvisitorId: response.visitorId,\n\t\t};\n\t}\n\n\t/**\n\t * Update metadata for the contact associated with the current visitor\n\t * Note: The visitor must be identified first via the identify() method\n\t */\n\tasync updateContactMetadata(\n\t\tmetadata: Record<string, unknown>\n\t): Promise<VisitorResponse> {\n\t\t// This still uses the visitor metadata endpoint for backward compatibility\n\t\t// The endpoint will internally update the contact metadata\n\t\treturn this.updateVisitorMetadata(metadata as VisitorMetadata);\n\t}\n\n\tasync createConversation(\n\t\tparams: Partial<CreateConversationRequestBody> = {}\n\t): Promise<CreateConversationResponseBody> {\n\t\tconst conversationId = params.conversationId || generateConversationId();\n\n\t\t// Get visitor ID from storage if we have the website ID, or use the provided one\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required\");\n\t\t}\n\n\t\tconst body: CreateConversationRequestBody = {\n\t\t\tconversationId,\n\t\t\tvisitorId,\n\t\t\tdefaultTimelineItems: params.defaultTimelineItems || [],\n\t\t\tchannel: params.channel || \"widget\",\n\t\t};\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<CreateConversationResponseBody>(\n\t\t\t\"/conversations\",\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversation: {\n\t\t\t\t...response.conversation,\n\t\t\t\tcreatedAt: response.conversation.createdAt,\n\t\t\t\tupdatedAt: response.conversation.updatedAt,\n\t\t\t\tdeletedAt: response.conversation.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: response.conversation.lastTimelineItem,\n\t\t\t},\n\t\t\tinitialTimelineItems: response.initialTimelineItems,\n\t\t};\n\t}\n\n\tasync updateConfiguration(config: Partial<CossistantConfig>): Promise<void> {\n\t\tif (config.publicKey) {\n\t\t\tthis.publicKey = config.publicKey;\n\t\t\tthis.baseHeaders[\"X-Public-Key\"] = config.publicKey;\n\t\t}\n\n\t\tif (config.userId) {\n\t\t\tthis.baseHeaders[\"X-User-ID\"] = config.userId;\n\t\t} else if (config.userId === null) {\n\t\t\tconst { \"X-User-ID\": _, ...rest } = this.baseHeaders;\n\t\t\tthis.baseHeaders = rest;\n\t\t}\n\n\t\tif (config.organizationId) {\n\t\t\tthis.baseHeaders[\"X-Organization-ID\"] = config.organizationId;\n\t\t} else if (config.organizationId === null) {\n\t\t\tconst { \"X-Organization-ID\": _, ...rest } = this.baseHeaders;\n\t\t\tthis.baseHeaders = rest;\n\t\t}\n\n\t\tthis.config = { ...this.config, ...config };\n\t}\n\n\tasync listConversations(\n\t\tparams: Partial<ListConversationsRequest> = {}\n\t): Promise<ListConversationsResponse> {\n\t\t// Get visitor ID from storage if we have the website ID, or use the provided one\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required\");\n\t\t}\n\n\t\t// Create query parameters\n\t\tconst queryParams = new URLSearchParams();\n\n\t\tif (visitorId) {\n\t\t\tqueryParams.set(\"visitorId\", visitorId);\n\t\t}\n\n\t\tif (params.page) {\n\t\t\tqueryParams.set(\"page\", params.page.toString());\n\t\t}\n\n\t\tif (params.limit) {\n\t\t\tqueryParams.set(\"limit\", params.limit.toString());\n\t\t}\n\n\t\tif (params.status) {\n\t\t\tqueryParams.set(\"status\", params.status);\n\t\t}\n\n\t\tif (params.orderBy) {\n\t\t\tqueryParams.set(\"orderBy\", params.orderBy);\n\t\t}\n\n\t\tif (params.order) {\n\t\t\tqueryParams.set(\"order\", params.order);\n\t\t}\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<ListConversationsResponse>(\n\t\t\t`/conversations?${queryParams.toString()}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversations: response.conversations.map((conv) => ({\n\t\t\t\t...conv,\n\t\t\t\tcreatedAt: conv.createdAt,\n\t\t\t\tupdatedAt: conv.updatedAt,\n\t\t\t\tdeletedAt: conv.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: conv.lastTimelineItem,\n\t\t\t})),\n\t\t\tpagination: response.pagination,\n\t\t};\n\t}\n\n\tasync getConversation(\n\t\tparams: GetConversationRequest\n\t): Promise<GetConversationResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<GetConversationResponse>(\n\t\t\t`/conversations/${params.conversationId}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversation: {\n\t\t\t\t...response.conversation,\n\t\t\t\tcreatedAt: response.conversation.createdAt,\n\t\t\t\tupdatedAt: response.conversation.updatedAt,\n\t\t\t\tdeletedAt: response.conversation.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: response.conversation.lastTimelineItem,\n\t\t\t},\n\t\t};\n\t}\n\n\tasync markConversationSeen(\n\t\tparams: {\n\t\t\tconversationId: string;\n\t\t} & Partial<MarkConversationSeenRequestBody>\n\t): Promise<MarkConversationSeenResponseBody> {\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required to mark a conversation as seen\");\n\t\t}\n\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst body: MarkConversationSeenRequestBody = {};\n\t\tif (params.visitorId) {\n\t\t\tbody.visitorId = params.visitorId;\n\t\t}\n\n\t\tconst response = await this.request<MarkConversationSeenResponseBody>(\n\t\t\t`/conversations/${params.conversationId}/seen`,\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tconversationId: response.conversationId,\n\t\t\tlastSeenAt: response.lastSeenAt,\n\t\t};\n\t}\n\n\tasync getConversationSeenData(params: {\n\t\tconversationId: string;\n\t}): Promise<GetConversationSeenDataResponse> {\n\t\tconst response = await this.request<GetConversationSeenDataResponse>(\n\t\t\t`/conversations/${params.conversationId}/seen`,\n\t\t\t{\n\t\t\t\tmethod: \"GET\",\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tseenData: response.seenData.map((item) => ({\n\t\t\t\t...item,\n\t\t\t\tlastSeenAt: item.lastSeenAt,\n\t\t\t\tcreatedAt: item.createdAt,\n\t\t\t\tupdatedAt: item.updatedAt,\n\t\t\t\tdeletedAt: item.deletedAt ? item.deletedAt : null,\n\t\t\t})),\n\t\t};\n\t}\n\n\tasync setConversationTyping(params: {\n\t\tconversationId: string;\n\t\tisTyping: boolean;\n\t\tvisitorPreview?: string | null;\n\t\tvisitorId?: string;\n\t}): Promise<SetConversationTypingResponseBody> {\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required to report typing state\");\n\t\t}\n\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst body: SetConversationTypingRequestBody = {\n\t\t\tisTyping: params.isTyping,\n\t\t};\n\n\t\tif (params.visitorId) {\n\t\t\tbody.visitorId = params.visitorId;\n\t\t}\n\n\t\tif (params.visitorPreview && params.isTyping) {\n\t\t\tbody.visitorPreview = params.visitorPreview.slice(0, 2000);\n\t\t}\n\n\t\tconst response = await this.request<SetConversationTypingResponseBody>(\n\t\t\t`/conversations/${params.conversationId}/typing`,\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tconversationId: response.conversationId,\n\t\t\tisTyping: response.isTyping,\n\t\t\tvisitorPreview: response.visitorPreview,\n\t\t\tsentAt: response.sentAt,\n\t\t};\n\t}\n\n\tasync sendMessage(\n\t\tparams: SendTimelineItemRequest\n\t): Promise<SendTimelineItemResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<SendTimelineItemResponse>(\"/messages\", {\n\t\t\tmethod: \"POST\",\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders,\n\t\t});\n\n\t\treturn {\n\t\t\titem: response.item,\n\t\t};\n\t}\n\n\tasync getConversationTimelineItems(\n\t\tparams: GetConversationTimelineItemsRequest & { conversationId: string }\n\t): Promise<GetConversationTimelineItemsResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Create query parameters\n\t\tconst queryParams = new URLSearchParams();\n\n\t\tif (params.limit) {\n\t\t\tqueryParams.set(\"limit\", params.limit.toString());\n\t\t}\n\n\t\tif (params.cursor) {\n\t\t\tqueryParams.set(\"cursor\", params.cursor);\n\t\t}\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<GetConversationTimelineItemsResponse>(\n\t\t\t`/conversations/${params.conversationId}/timeline?${queryParams.toString()}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\titems: response.items,\n\t\t\tnextCursor: response.nextCursor,\n\t\t\thasNextPage: response.hasNextPage,\n\t\t};\n\t}\n}\n"],"mappings":";;;;;;;AAqCA,IAAa,uBAAb,MAAkC;CACjC,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ,YAA2B;CACnC,AAAQ,YAA2B;CACnC,AAAQ,iBAAiB;CAEzB,YAAY,QAA0B;AACrC,OAAK,SAAS;AAGd,OAAK,YACJ,OAAO,cACN,OAAO,YAAY,cACjB,QAAQ,IAAI,6BACZ,YACF,OAAO,YAAY,cACjB,QAAQ,IAAI,wBACZ,WACH;AAED,MAAI,CAAC,KAAK,UACT,OAAM,IAAI,MACT,2IACA;AAGF,OAAK,cAAc;GAClB,gBAAgB;GAChB,gBAAgB,KAAK;GACrB;AAED,MAAI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reateConversationRequestBody","body: MarkConversationSeenRequestBody","body: SetConversationTypingRequestBody"],"sources":["../src/rest-client.ts"],"sourcesContent":["import type { IdentifyContactResponse } from \"@cossistant/types/api/contact\";\nimport type {\n\tCreateConversationRequestBody,\n\tCreateConversationResponseBody,\n\tGetConversationRequest,\n\tGetConversationResponse,\n\tGetConversationSeenDataResponse,\n\tListConversationsRequest,\n\tListConversationsResponse,\n\tMarkConversationSeenRequestBody,\n\tMarkConversationSeenResponseBody,\n\tSetConversationTypingRequestBody,\n\tSetConversationTypingResponseBody,\n} from \"@cossistant/types/api/conversation\";\nimport type {\n\tGetConversationTimelineItemsRequest,\n\tGetConversationTimelineItemsResponse,\n\tSendTimelineItemRequest,\n\tSendTimelineItemResponse,\n} from \"@cossistant/types/api/timeline-item\";\nimport { logger } from \"./logger\";\nimport {\n\tCossistantAPIError,\n\ttype CossistantConfig,\n\ttype PublicWebsiteResponse,\n\ttype UpdateVisitorRequest,\n\ttype VisitorMetadata,\n\ttype VisitorResponse,\n} from \"./types\";\nimport { generateConversationId } from \"./utils\";\nimport { collectVisitorData } from \"./visitor-data\";\nimport {\n\tgetExistingVisitorId,\n\tgetVisitorId,\n\tsetVisitorId,\n} from \"./visitor-tracker\";\n\nexport class CossistantRestClient {\n\tprivate config: CossistantConfig;\n\tprivate baseHeaders: Record<string, string>;\n\tprivate publicKey: string;\n\tprivate websiteId: string | null = null;\n\tprivate visitorId: string | null = null;\n\tprivate visitorBlocked = false;\n\n\tconstructor(config: CossistantConfig) {\n\t\tthis.config = config;\n\n\t\t// Get public key from config or environment variables\n\t\tthis.publicKey =\n\t\t\tconfig.publicKey ||\n\t\t\t(typeof process !== \"undefined\"\n\t\t\t\t? process.env.NEXT_PUBLIC_COSSISTANT_API_KEY\n\t\t\t\t: undefined) ||\n\t\t\t(typeof process !== \"undefined\"\n\t\t\t\t? process.env.COSSISTANT_API_KEY\n\t\t\t\t: undefined) ||\n\t\t\t(typeof process !== \"undefined\"\n\t\t\t\t? process.env.NEXT_PUBLIC_COSSISTANT_KEY\n\t\t\t\t: undefined) ||\n\t\t\t\"\";\n\n\t\tif (!this.publicKey) {\n\t\t\tthrow new Error(\n\t\t\t\t\"Public key is required. Please provide it in the config or set NEXT_PUBLIC_COSSISTANT_API_KEY or COSSISTANT_PUBLIC_KEY environment variable.\"\n\t\t\t);\n\t\t}\n\n\t\tthis.baseHeaders = {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\"X-Public-Key\": this.publicKey,\n\t\t};\n\n\t\tif (config.userId) {\n\t\t\tthis.baseHeaders[\"X-User-ID\"] = config.userId;\n\t\t}\n\n\t\tif (config.organizationId) {\n\t\t\tthis.baseHeaders[\"X-Organization-ID\"] = config.organizationId;\n\t\t}\n\t}\n\n\tprivate normalizeVisitorResponse(payload: VisitorResponse): VisitorResponse {\n\t\tconst contact = payload.contact ? payload.contact : null;\n\t\treturn {\n\t\t\t...payload,\n\t\t\t// Ensure latitude and longitude are numbers or null\n\t\t\tlatitude:\n\t\t\t\ttypeof payload.latitude === \"string\"\n\t\t\t\t\t? Number.parseFloat(payload.latitude)\n\t\t\t\t\t: payload.latitude,\n\t\t\tlongitude:\n\t\t\t\ttypeof payload.longitude === \"string\"\n\t\t\t\t\t? Number.parseFloat(payload.longitude)\n\t\t\t\t\t: payload.longitude,\n\t\t\tcreatedAt: payload.createdAt,\n\t\t\tupdatedAt: payload.updatedAt,\n\t\t\tlastSeenAt: payload.lastSeenAt ? payload.lastSeenAt : null,\n\t\t\tblockedAt: payload.blockedAt ? payload.blockedAt : null,\n\t\t\tcontact: payload.contact ? payload.contact : null,\n\t\t};\n\t}\n\n\tprivate resolveVisitorId(): string {\n\t\tif (this.visitorId) {\n\t\t\treturn this.visitorId;\n\t\t}\n\n\t\tif (this.websiteId) {\n\t\t\tconst storedVisitorId = getVisitorId(this.websiteId);\n\t\t\tif (storedVisitorId) {\n\t\t\t\tthis.visitorId = storedVisitorId;\n\t\t\t\treturn storedVisitorId;\n\t\t\t}\n\t\t}\n\n\t\tthrow new Error(\"Visitor ID is required\");\n\t}\n\n\tprivate async syncVisitorSnapshot(visitorId: string): Promise<void> {\n\t\ttry {\n\t\t\tconst visitorData = await collectVisitorData();\n\t\t\tif (!visitorData) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst payload = Object.entries(visitorData).reduce<\n\t\t\t\tPartial<UpdateVisitorRequest>\n\t\t\t>((acc, [key, value]) => {\n\t\t\t\tif (value === null || value === undefined) {\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\t\t\t\t(acc as Record<string, unknown>)[key] = value;\n\t\t\t\treturn acc;\n\t\t\t}, {});\n\n\t\t\tif (Object.keys(payload).length === 0) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tawait this.request<VisitorResponse>(`/visitors/${visitorId}`, {\n\t\t\t\tmethod: \"PATCH\",\n\t\t\t\tbody: JSON.stringify(payload),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tlogger.warn(\"Failed to sync visitor data\", error);\n\t\t}\n\t}\n\n\tprivate async request<T>(\n\t\tpath: string,\n\t\toptions: RequestInit = {}\n\t): Promise<T> {\n\t\tif (this.visitorBlocked) {\n\t\t\tconst method = (options.method ?? \"GET\").toUpperCase();\n\t\t\tconst [rawPath] = path.split(\"?\");\n\t\t\tconst normalizedPath = rawPath?.endsWith(\"/\")\n\t\t\t\t? rawPath.slice(0, -1)\n\t\t\t\t: rawPath;\n\t\t\tconst isWebsitesRoot = normalizedPath === \"/websites\";\n\t\t\tconst isSafeMethod = method === \"GET\" || method === \"HEAD\";\n\n\t\t\tif (!(isWebsitesRoot && isSafeMethod)) {\n\t\t\t\tthrow new CossistantAPIError({\n\t\t\t\t\tcode: \"VISITOR_BLOCKED\",\n\t\t\t\t\tmessage: \"Visitor is blocked and cannot perform this action.\",\n\t\t\t\t\tdetails: { path, method },\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tconst url = `${this.config.apiUrl}${path}`;\n\n\t\tconst response = await fetch(url, {\n\t\t\t...options,\n\t\t\theaders: {\n\t\t\t\t...this.baseHeaders,\n\t\t\t\t...options.headers,\n\t\t\t},\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tconst errorData = await response.json().catch(() => ({}));\n\t\t\tconst statusCode = response.status;\n\t\t\tconst errorCode = errorData.code || `HTTP_${statusCode}`;\n\t\t\tconst serverMessage = errorData.message;\n\n\t\t\t// Determine if this is an authentication/authorization error\n\t\t\tconst isAuthError =\n\t\t\t\tstatusCode === 401 ||\n\t\t\t\tstatusCode === 403 ||\n\t\t\t\terrorCode === \"UNAUTHORIZED\" ||\n\t\t\t\terrorCode === \"FORBIDDEN\" ||\n\t\t\t\terrorCode === \"INVALID_API_KEY\" ||\n\t\t\t\terrorCode === \"API_KEY_EXPIRED\" ||\n\t\t\t\terrorCode === \"API_KEY_MISSING\" ||\n\t\t\t\terrorCode?.toUpperCase().includes(\"AUTH\") ||\n\t\t\t\terrorCode?.toUpperCase().includes(\"API_KEY\");\n\n\t\t\t// Use appropriate error message based on error type\n\t\t\tconst errorMessage = isAuthError\n\t\t\t\t? \"Your Cossistant public API key is invalid, expired, missing or not authorized to access this resource.\"\n\t\t\t\t: serverMessage || `Request failed with status ${statusCode}`;\n\n\t\t\t// Log with appropriate level based on error type\n\t\t\tif (isAuthError) {\n\t\t\t\tlogger.error(errorMessage, {\n\t\t\t\t\tdetails: errorData.details,\n\t\t\t\t\tpath,\n\t\t\t\t\tstatus: statusCode,\n\t\t\t\t\tcode: errorCode,\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tlogger.error(\"API request failed\", {\n\t\t\t\t\tmessage: errorMessage,\n\t\t\t\t\tdetails: errorData.details,\n\t\t\t\t\tpath,\n\t\t\t\t\tstatus: statusCode,\n\t\t\t\t\tcode: errorCode,\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthrow new CossistantAPIError({\n\t\t\t\tcode: errorCode,\n\t\t\t\tmessage: errorMessage,\n\t\t\t\tdetails: errorData.details,\n\t\t\t});\n\t\t}\n\n\t\treturn response.json();\n\t}\n\n\tasync getWebsite(): Promise<PublicWebsiteResponse> {\n\t\t// Make the request with visitor ID if we have one stored\n\t\tconst headers: Record<string, string> = {};\n\n\t\t// First, check if we already know the website ID and have a visitor ID for it\n\t\tif (this.websiteId) {\n\t\t\tconst storedVisitorId = getVisitorId(this.websiteId);\n\t\t\tif (storedVisitorId) {\n\t\t\t\theaders[\"X-Visitor-Id\"] = storedVisitorId;\n\t\t\t}\n\t\t} else {\n\t\t\t// We don't know the website ID yet, but check if we have any existing visitor\n\t\t\t// This prevents creating duplicate visitors on page refresh\n\t\t\tconst existingVisitor = getExistingVisitorId(this.publicKey);\n\t\t\tif (existingVisitor) {\n\t\t\t\theaders[\"X-Visitor-Id\"] = existingVisitor.visitorId;\n\t\t\t\t// Pre-populate our local state\n\t\t\t\tthis.websiteId = existingVisitor.websiteId;\n\t\t\t\tthis.visitorId = existingVisitor.visitorId;\n\t\t\t}\n\t\t}\n\n\t\tconst response = await this.request<PublicWebsiteResponse>(\"/websites\", {\n\t\t\theaders,\n\t\t});\n\n\t\t// Store the website ID for future requests\n\t\tthis.websiteId = response.id;\n\n\t\t// Store the visitor ID if we got one\n\t\tthis.visitorBlocked = response.visitor?.isBlocked ?? false;\n\n\t\tif (response.visitor?.id) {\n\t\t\tif (this.visitorBlocked) {\n\t\t\t\tthis.visitorId = response.visitor.id;\n\t\t\t\tsetVisitorId(response.id, response.visitor.id);\n\t\t\t\treturn response;\n\t\t\t}\n\n\t\t\tthis.visitorId = response.visitor.id;\n\t\t\tsetVisitorId(response.id, response.visitor.id);\n\t\t\tthis.syncVisitorSnapshot(response.visitor.id);\n\t\t}\n\n\t\treturn response;\n\t}\n\n\t// Manually prime website and visitor context when the caller already has it\n\tsetWebsiteContext(websiteId: string, visitorId?: string): void {\n\t\tthis.websiteId = websiteId;\n\t\tif (visitorId) {\n\t\t\tthis.visitorId = visitorId;\n\t\t\tsetVisitorId(websiteId, visitorId);\n\t\t}\n\t}\n\n\tsetVisitorBlocked(isBlocked: boolean): void {\n\t\tthis.visitorBlocked = isBlocked;\n\t}\n\n\tgetCurrentWebsiteId(): string | null {\n\t\treturn this.websiteId;\n\t}\n\n\tgetCurrentVisitorId(): string | null {\n\t\tif (this.visitorId) {\n\t\t\treturn this.visitorId;\n\t\t}\n\n\t\tif (!this.websiteId) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn getVisitorId(this.websiteId) ?? null;\n\t}\n\n\tasync updateVisitorMetadata(\n\t\tmetadata: VisitorMetadata\n\t): Promise<VisitorResponse> {\n\t\tconst visitorId = this.resolveVisitorId();\n\t\tconst response = await this.request<VisitorResponse>(\n\t\t\t`/visitors/${visitorId}/metadata`,\n\t\t\t{\n\t\t\t\tmethod: \"PATCH\",\n\t\t\t\tbody: JSON.stringify({ metadata }),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\n\t\treturn this.normalizeVisitorResponse(response);\n\t}\n\n\t/**\n\t * Identify a visitor by creating or updating their contact information\n\t * This will link the visitor to a contact record that can be tracked across devices\n\t */\n\tasync identify(params: {\n\t\texternalId?: string;\n\t\temail?: string;\n\t\tname?: string;\n\t\timage?: string;\n\t\tmetadata?: Record<string, unknown>;\n\t\tcontactOrganizationId?: string;\n\t}): Promise<IdentifyContactResponse> {\n\t\tconst visitorId = this.resolveVisitorId();\n\n\t\tconst response = await this.request<IdentifyContactResponse>(\n\t\t\t\"/contacts/identify\",\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify({\n\t\t\t\t\tvisitorId,\n\t\t\t\t\t...params,\n\t\t\t\t}),\n\t\t\t\theaders: {\n\t\t\t\t\t\"X-Visitor-Id\": visitorId,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tcontact: {\n\t\t\t\t...response.contact,\n\t\t\t\t// Ensure metadata is properly typed\n\t\t\t\tmetadata:\n\t\t\t\t\ttypeof response.contact.metadata === \"string\"\n\t\t\t\t\t\t? JSON.parse(response.contact.metadata)\n\t\t\t\t\t\t: response.contact.metadata,\n\t\t\t\tcreatedAt: response.contact.createdAt,\n\t\t\t\tupdatedAt: response.contact.updatedAt,\n\t\t\t},\n\t\t\tvisitorId: response.visitorId,\n\t\t};\n\t}\n\n\t/**\n\t * Update metadata for the contact associated with the current visitor\n\t * Note: The visitor must be identified first via the identify() method\n\t */\n\tasync updateContactMetadata(\n\t\tmetadata: Record<string, unknown>\n\t): Promise<VisitorResponse> {\n\t\t// This still uses the visitor metadata endpoint for backward compatibility\n\t\t// The endpoint will internally update the contact metadata\n\t\treturn this.updateVisitorMetadata(metadata as VisitorMetadata);\n\t}\n\n\tasync createConversation(\n\t\tparams: Partial<CreateConversationRequestBody> = {}\n\t): Promise<CreateConversationResponseBody> {\n\t\tconst conversationId = params.conversationId || generateConversationId();\n\n\t\t// Get visitor ID from storage if we have the website ID, or use the provided one\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required\");\n\t\t}\n\n\t\tconst body: CreateConversationRequestBody = {\n\t\t\tconversationId,\n\t\t\tvisitorId,\n\t\t\tdefaultTimelineItems: params.defaultTimelineItems || [],\n\t\t\tchannel: params.channel || \"widget\",\n\t\t};\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<CreateConversationResponseBody>(\n\t\t\t\"/conversations\",\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversation: {\n\t\t\t\t...response.conversation,\n\t\t\t\tcreatedAt: response.conversation.createdAt,\n\t\t\t\tupdatedAt: response.conversation.updatedAt,\n\t\t\t\tdeletedAt: response.conversation.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: response.conversation.lastTimelineItem,\n\t\t\t},\n\t\t\tinitialTimelineItems: response.initialTimelineItems,\n\t\t};\n\t}\n\n\tasync updateConfiguration(config: Partial<CossistantConfig>): Promise<void> {\n\t\tif (config.publicKey) {\n\t\t\tthis.publicKey = config.publicKey;\n\t\t\tthis.baseHeaders[\"X-Public-Key\"] = config.publicKey;\n\t\t}\n\n\t\tif (config.userId) {\n\t\t\tthis.baseHeaders[\"X-User-ID\"] = config.userId;\n\t\t} else if (config.userId === null) {\n\t\t\tconst { \"X-User-ID\": _, ...rest } = this.baseHeaders;\n\t\t\tthis.baseHeaders = rest;\n\t\t}\n\n\t\tif (config.organizationId) {\n\t\t\tthis.baseHeaders[\"X-Organization-ID\"] = config.organizationId;\n\t\t} else if (config.organizationId === null) {\n\t\t\tconst { \"X-Organization-ID\": _, ...rest } = this.baseHeaders;\n\t\t\tthis.baseHeaders = rest;\n\t\t}\n\n\t\tthis.config = { ...this.config, ...config };\n\t}\n\n\tasync listConversations(\n\t\tparams: Partial<ListConversationsRequest> = {}\n\t): Promise<ListConversationsResponse> {\n\t\t// Get visitor ID from storage if we have the website ID, or use the provided one\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required\");\n\t\t}\n\n\t\t// Create query parameters\n\t\tconst queryParams = new URLSearchParams();\n\n\t\tif (visitorId) {\n\t\t\tqueryParams.set(\"visitorId\", visitorId);\n\t\t}\n\n\t\tif (params.page) {\n\t\t\tqueryParams.set(\"page\", params.page.toString());\n\t\t}\n\n\t\tif (params.limit) {\n\t\t\tqueryParams.set(\"limit\", params.limit.toString());\n\t\t}\n\n\t\tif (params.status) {\n\t\t\tqueryParams.set(\"status\", params.status);\n\t\t}\n\n\t\tif (params.orderBy) {\n\t\t\tqueryParams.set(\"orderBy\", params.orderBy);\n\t\t}\n\n\t\tif (params.order) {\n\t\t\tqueryParams.set(\"order\", params.order);\n\t\t}\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<ListConversationsResponse>(\n\t\t\t`/conversations?${queryParams.toString()}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversations: response.conversations.map((conv) => ({\n\t\t\t\t...conv,\n\t\t\t\tcreatedAt: conv.createdAt,\n\t\t\t\tupdatedAt: conv.updatedAt,\n\t\t\t\tdeletedAt: conv.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: conv.lastTimelineItem,\n\t\t\t})),\n\t\t\tpagination: response.pagination,\n\t\t};\n\t}\n\n\tasync getConversation(\n\t\tparams: GetConversationRequest\n\t): Promise<GetConversationResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<GetConversationResponse>(\n\t\t\t`/conversations/${params.conversationId}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\t// Convert date strings to Date objects\n\t\treturn {\n\t\t\tconversation: {\n\t\t\t\t...response.conversation,\n\t\t\t\tcreatedAt: response.conversation.createdAt,\n\t\t\t\tupdatedAt: response.conversation.updatedAt,\n\t\t\t\tdeletedAt: response.conversation.deletedAt ?? null,\n\t\t\t\tlastTimelineItem: response.conversation.lastTimelineItem,\n\t\t\t},\n\t\t};\n\t}\n\n\tasync markConversationSeen(\n\t\tparams: {\n\t\t\tconversationId: string;\n\t\t} & Partial<MarkConversationSeenRequestBody>\n\t): Promise<MarkConversationSeenResponseBody> {\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required to mark a conversation as seen\");\n\t\t}\n\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst body: MarkConversationSeenRequestBody = {};\n\t\tif (params.visitorId) {\n\t\t\tbody.visitorId = params.visitorId;\n\t\t}\n\n\t\tconst response = await this.request<MarkConversationSeenResponseBody>(\n\t\t\t`/conversations/${params.conversationId}/seen`,\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tconversationId: response.conversationId,\n\t\t\tlastSeenAt: response.lastSeenAt,\n\t\t};\n\t}\n\n\tasync getConversationSeenData(params: {\n\t\tconversationId: string;\n\t}): Promise<GetConversationSeenDataResponse> {\n\t\tconst response = await this.request<GetConversationSeenDataResponse>(\n\t\t\t`/conversations/${params.conversationId}/seen`,\n\t\t\t{\n\t\t\t\tmethod: \"GET\",\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tseenData: response.seenData.map((item) => ({\n\t\t\t\t...item,\n\t\t\t\tlastSeenAt: item.lastSeenAt,\n\t\t\t\tcreatedAt: item.createdAt,\n\t\t\t\tupdatedAt: item.updatedAt,\n\t\t\t\tdeletedAt: item.deletedAt ? item.deletedAt : null,\n\t\t\t})),\n\t\t};\n\t}\n\n\tasync setConversationTyping(params: {\n\t\tconversationId: string;\n\t\tisTyping: boolean;\n\t\tvisitorPreview?: string | null;\n\t\tvisitorId?: string;\n\t}): Promise<SetConversationTypingResponseBody> {\n\t\tconst storedVisitorId = this.websiteId\n\t\t\t? getVisitorId(this.websiteId)\n\t\t\t: undefined;\n\t\tconst visitorId = params.visitorId || storedVisitorId;\n\n\t\tif (!visitorId) {\n\t\t\tthrow new Error(\"Visitor ID is required to report typing state\");\n\t\t}\n\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst body: SetConversationTypingRequestBody = {\n\t\t\tisTyping: params.isTyping,\n\t\t};\n\n\t\tif (params.visitorId) {\n\t\t\tbody.visitorId = params.visitorId;\n\t\t}\n\n\t\tif (params.visitorPreview && params.isTyping) {\n\t\t\tbody.visitorPreview = params.visitorPreview.slice(0, 2000);\n\t\t}\n\n\t\tconst response = await this.request<SetConversationTypingResponseBody>(\n\t\t\t`/conversations/${params.conversationId}/typing`,\n\t\t\t{\n\t\t\t\tmethod: \"POST\",\n\t\t\t\tbody: JSON.stringify(body),\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tconversationId: response.conversationId,\n\t\t\tisTyping: response.isTyping,\n\t\t\tvisitorPreview: response.visitorPreview,\n\t\t\tsentAt: response.sentAt,\n\t\t};\n\t}\n\n\tasync sendMessage(\n\t\tparams: SendTimelineItemRequest\n\t): Promise<SendTimelineItemResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<SendTimelineItemResponse>(\"/messages\", {\n\t\t\tmethod: \"POST\",\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders,\n\t\t});\n\n\t\treturn {\n\t\t\titem: response.item,\n\t\t};\n\t}\n\n\tasync getConversationTimelineItems(\n\t\tparams: GetConversationTimelineItemsRequest & { conversationId: string }\n\t): Promise<GetConversationTimelineItemsResponse> {\n\t\t// Get visitor ID from storage if we have the website ID\n\t\tconst visitorId = this.websiteId ? getVisitorId(this.websiteId) : undefined;\n\n\t\t// Create query parameters\n\t\tconst queryParams = new URLSearchParams();\n\n\t\tif (params.limit) {\n\t\t\tqueryParams.set(\"limit\", params.limit.toString());\n\t\t}\n\n\t\tif (params.cursor) {\n\t\t\tqueryParams.set(\"cursor\", params.cursor);\n\t\t}\n\n\t\t// Add visitor ID header if available\n\t\tconst headers: Record<string, string> = {};\n\t\tif (visitorId) {\n\t\t\theaders[\"X-Visitor-Id\"] = visitorId;\n\t\t}\n\n\t\tconst response = await this.request<GetConversationTimelineItemsResponse>(\n\t\t\t`/conversations/${params.conversationId}/timeline?${queryParams.toString()}`,\n\t\t\t{\n\t\t\t\theaders,\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\titems: response.items,\n\t\t\tnextCursor: response.nextCursor,\n\t\t\thasNextPage: response.hasNextPage,\n\t\t};\n\t}\n}\n"],"mappings":";;;;;;;AAqCA,IAAa,uBAAb,MAAkC;CACjC,AAAQ;CACR,AAAQ;CACR,AAAQ;CACR,AAAQ,YAA2B;CACnC,AAAQ,YAA2B;CACnC,AAAQ,iBAAiB;CAEzB,YAAY,QAA0B;AACrC,OAAK,SAAS;AAGd,OAAK,YACJ,OAAO,cACN,OAAO,YAAY,cACjB,QAAQ,IAAI,iCACZ,YACF,OAAO,YAAY,cACjB,QAAQ,IAAI,qBACZ,YACF,OAAO,YAAY,cACjB,QAAQ,IAAI,6BACZ,WACH;AAED,MAAI,CAAC,KAAK,UACT,OAAM,IAAI,MACT,+IACA;AAGF,OAAK,cAAc;GAClB,gBAAgB;GAChB,gBAAgB,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-1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","names":["checks","core","errors","StandardSchemaV1","util","version","ParseContext","T","$ZodIssueBase","$ZodErrorMap","ParseContextInternal","ParsePayload","$ZodRawIssue","CheckFn","MaybeAsync","$ZodTypeDef","$ZodCheck","_$ZodTypeInternals","AnyFunc","Set","PrimitiveSet","PropValues","RegExp","$ZodType","Record","$ZodTypeInternals","O","I","$ZodStandardSchema","input","output","Props","SomeType","Internals","_$ZodType","$constructor","clone","$ZodStringDef","$ZodStringInternals","Input","$ZodIssueInvalidType","LoosePartial","$ZodString","$ZodStringFormatDef","Format","$ZodCheckStringFormatDef","$ZodStringFormatInternals","$ZodCheckStringFormatInternals","$ZodStringFormat","$ZodGUIDDef","$ZodGUIDInternals","$ZodGUID","$ZodUUIDDef","$ZodUUIDInternals","$ZodUUID","$ZodEmailDef","$ZodEmailInternals","$ZodEmail","$ZodURLDef","$ZodURLInternals","$ZodURL","$ZodEmojiDef","$ZodEmojiInternals","$ZodEmoji","$ZodNanoIDDef","$ZodNanoIDInternals","$ZodNanoID","$ZodCUIDDef","$ZodCUIDInternals","$ZodCUID","$ZodCUID2Def","$ZodCUID2Internals","$ZodCUID2","$ZodULIDDef","$ZodULIDInternals","$ZodULID","$ZodXIDDef","$ZodXIDInternals","$ZodXID","$ZodKSUIDDef","$ZodKSUIDInternals","$ZodKSUID","$ZodISODateTimeDef","$ZodISODateTimeInternals","$ZodISODateTime","$ZodISODateDef","$ZodISODateInternals","$ZodISODate","$ZodISOTimeDef","$ZodISOTimeInternals","$ZodISOTime","$ZodISODurationDef","$ZodISODurationInternals","$ZodISODuration","$ZodIPv4Def","$ZodIPv4Internals","$ZodIPv4","$ZodIPv6Def","$ZodIPv6Internals","$ZodIPv6","$ZodCIDRv4Def","$ZodCIDRv4Internals","$ZodCIDRv4","$ZodCIDRv6Def","$ZodCIDRv6Internals","$ZodCIDRv6","isValidBase64","$ZodBase64Def","$ZodBase64Internals","$ZodBase64","isValidBase64URL","$ZodBase64URLDef","$ZodBase64URLInternals","$ZodBase64URL","$ZodE164Def","$ZodE164Internals","$ZodE164","isValidJWT","JWTAlgorithm","$ZodJWTDef","$ZodJWTInternals","$ZodJWT","$ZodCustomStringFormatDef","$ZodCustomStringFormatInternals","$ZodCustomStringFormat","$ZodNumberDef","$ZodNumberInternals","$ZodNumber","$ZodNumberFormatDef","$ZodCheckNumberFormatDef","$ZodNumberFormatInternals","$ZodCheckNumberFormatInternals","$ZodNumberFormat","$ZodBooleanDef","$ZodBooleanInternals","$ZodBoolean","$ZodBigIntDef","$ZodBigIntInternals","$ZodBigInt","$ZodBigIntFormatDef","$ZodCheckBigIntFormatDef","$ZodBigIntFormatInternals","$ZodCheckBigIntFormatInternals","$ZodBigIntFormat","$ZodSymbolDef","$ZodSymbolInternals","$ZodSymbol","$ZodUndefinedDef","$ZodUndefinedInternals","$ZodUndefined","$ZodNullDef","$ZodNullInternals","$ZodNull","$ZodAnyDef","$ZodAnyInternals","$ZodAny","$ZodUnknownDef","$ZodUnknownInternals","$ZodUnknown","$ZodNeverDef","$ZodNeverInternals","$ZodNever","$ZodVoidDef","$ZodVoidInternals","$ZodVoid","$ZodDateDef","$ZodDateInternals","Date","$ZodDate","$ZodArrayDef","$ZodArrayInternals","$ZodArray","OptionalOutSchema","OptionalInSchema","$InferObjectOutput","Extra","$ZodLooseShape","IsAny","k","Prettify","$InferObjectInput","$ZodObjectConfig","$loose","$strict","$strip","$catchall","$ZodShape","Readonly","$ZodObjectDef","Shape","$ZodObjectInternals","Config","$ZodIssueUnrecognizedKeys","$ZodObject","Params","$ZodObjectJIT","$InferUnionOutput","$InferUnionInput","$ZodUnionDef","Options","IsOptionalIn","IsOptionalOut","$ZodUnionInternals","$ZodIssueInvalidUnion","$ZodUnion","$ZodDiscriminatedUnionDef","Disc","$ZodDiscriminatedUnionInternals","$ZodDiscriminatedUnion","$ZodIntersectionDef","Left","Right","$ZodIntersectionInternals","A","B","$ZodIntersection","$ZodTupleDef","Rest","TupleItems","$InferTupleInputType","TupleInputTypeWithOptionals","TupleInputTypeNoOptionals","Tail","Prefix","$InferTupleOutputType","TupleOutputTypeWithOptionals","TupleOutputTypeNoOptionals","$ZodTupleInternals","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodTuple","$ZodRecordKey","$ZodRecordDef","Key","Value","$InferZodRecordOutput","$partial","Partial","$InferZodRecordInput","$ZodRecordInternals","PropertyKey","$ZodIssueInvalidKey","$ZodRecord","$ZodMapDef","$ZodMapInternals","Map","$ZodIssueInvalidElement","$ZodMap","$ZodSetDef","$ZodSetInternals","$ZodSet","$InferEnumOutput","EnumLike","$InferEnumInput","$ZodEnumDef","$ZodEnumInternals","$ZodIssueInvalidValue","$ZodEnum","$ZodLiteralDef","Literal","$ZodLiteralInternals","$ZodLiteral","_File","globalThis","F","InstanceType","File","$ZodFileDef","$ZodFileInternals","MimeTypes","$ZodFile","$ZodTransformDef","$ZodTransformInternals","$ZodTransform","$ZodOptionalDef","$ZodOptionalInternals","$ZodOptional","$ZodNullableDef","$ZodNullableInternals","$ZodNullable","$ZodDefaultDef","NoUndefined","$ZodDefaultInternals","$ZodDefault","$ZodPrefaultDef","$ZodPrefaultInternals","$ZodPrefault","$ZodNonOptionalDef","$ZodNonOptionalInternals","$ZodNonOptional","$ZodSuccessDef","$ZodSuccessInternals","$ZodSuccess","$ZodCatchCtx","$ZodIssue","$ZodCatchDef","$ZodCatchInternals","$ZodCatch","$ZodNaNDef","$ZodNaNInternals","$ZodNaN","$ZodPipeDef","$ZodPipeInternals","$ZodPipe","$ZodCodecDef","$ZodCodecInternals","$ZodCodec","$ZodReadonlyDef","$ZodReadonlyInternals","MakeReadonly","$ZodReadonly","$ZodTemplateLiteralDef","$ZodTemplateLiteralPart","$ZodTemplateLiteralInternals","Template","$ZodTemplateLiteral","LiteralPart","Exclude","SchemaPartInternals","SchemaPart","UndefinedToEmptyString","AppendToTemplateLiteral","Suffix","ConcatenateTupleOfStrings","First","ConvertPartsToStringTuple","Parts","K","ToTemplateLiteral","$PartsToTemplateLiteral","Last","$ZodFunctionArgs","$ZodFunctionIn","$ZodFunctionOut","$InferInnerFunctionType","Args","Returns","$InferInnerFunctionTypeAsync","$InferOuterFunctionType","$InferOuterFunctionTypeAsync","$ZodFunctionDef","In","Out","$ZodFunctionInternals","$ZodFunction","Items","NewArgs","NewReturns","Parameters","ReturnType","$ZodFunctionParams","$ZodPromiseDef","$ZodPromiseInternals","$ZodPromise","$ZodLazyDef","$ZodLazyInternals","$ZodLazy","$ZodCustomDef","$ZodCheckDef","$ZodCustomInternals","Class","$ZodCheckInternals","$ZodCustom","$ZodTypes","$ZodStringFormatTypes","HashFormat"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/schemas.d.cts"],"sourcesContent":["import * as checks from \"./checks.cjs\";\nimport * as core from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nimport { version } from \"./versions.cjs\";\nexport interface ParseContext<T extends errors.$ZodIssueBase = never> {\n /** Customize error messages. */\n readonly error?: errors.$ZodErrorMap<T>;\n /** Include the `input` field in issue objects. Default `false`. */\n readonly reportInput?: boolean;\n /** Skip eval-based fast path. Default `false`. */\n readonly jitless?: boolean;\n}\n/** @internal */\nexport interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {\n readonly async?: boolean | undefined;\n readonly direction?: \"forward\" | \"backward\";\n readonly skipChecks?: boolean;\n}\nexport interface ParsePayload<T = unknown> {\n value: T;\n issues: errors.$ZodRawIssue[];\n /** A may to mark a whole payload as aborted. Used in codecs/pipes. */\n aborted?: boolean;\n}\nexport type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;\nexport interface $ZodTypeDef {\n type: \"string\" | \"number\" | \"int\" | \"boolean\" | \"bigint\" | \"symbol\" | \"null\" | \"undefined\" | \"void\" | \"never\" | \"any\" | \"unknown\" | \"date\" | \"object\" | \"record\" | \"file\" | \"array\" | \"tuple\" | \"union\" | \"intersection\" | \"map\" | \"set\" | \"enum\" | \"literal\" | \"nullable\" | \"optional\" | \"nonoptional\" | \"success\" | \"transform\" | \"default\" | \"prefault\" | \"catch\" | \"nan\" | \"pipe\" | \"readonly\" | \"template_literal\" | \"promise\" | \"lazy\" | \"function\" | \"custom\";\n error?: errors.$ZodErrorMap<never> | undefined;\n checks?: checks.$ZodCheck<never>[];\n}\nexport interface _$ZodTypeInternals {\n /** The `@zod/core` version of this schema */\n version: typeof version;\n /** Schema definition. */\n def: $ZodTypeDef;\n /** @internal Randomly generated ID for this schema. */\n /** @internal List of deferred initializers. */\n deferred: util.AnyFunc[] | undefined;\n /** @internal Parses input and runs all checks (refinements). */\n run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\n /** @internal Parses input, doesn't run checks. */\n parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\n /** @internal Stores identifiers for the set of traits implemented by this schema. */\n traits: Set<string>;\n /** @internal Indicates that a schema output type should be considered optional inside objects.\n * @default Required\n */\n /** @internal */\n optin?: \"optional\" | undefined;\n /** @internal */\n optout?: \"optional\" | undefined;\n /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().\n *\n * Defined on: enum, const, literal, null, undefined\n * Passthrough: optional, nullable, branded, default, catch, pipe\n * Todo: unions?\n */\n values?: util.PrimitiveSet | undefined;\n /** Default value bubbled up from */\n /** @internal A set of literal discriminators used for the fast path in discriminated unions. */\n propValues?: util.PropValues | undefined;\n /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */\n pattern: RegExp | undefined;\n /** @internal The constructor function of this schema. */\n constr: new (def: any) => $ZodType;\n /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */\n bag: Record<string, unknown>;\n /** @internal The set of issues this schema might throw during type checking. */\n isst: errors.$ZodIssueBase;\n /** An optional method used to override `toJSONSchema` logic. */\n toJSONSchema?: () => unknown;\n /** @internal The parent of this schema. Only set during certain clone operations. */\n parent?: $ZodType | undefined;\n}\n/** @internal */\nexport interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {\n /** @internal The inferred output type */\n output: O;\n /** @internal The inferred input type */\n input: I;\n}\nexport type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;\nexport type SomeType = {\n _zod: _$ZodTypeInternals;\n};\nexport interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {\n _zod: Internals;\n \"~standard\": $ZodStandardSchema<this>;\n}\nexport interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T[\"output\"], T[\"input\"], T> {\n}\nexport declare const $ZodType: core.$constructor<$ZodType>;\nexport { clone } from \"./util.cjs\";\nexport interface $ZodStringDef extends $ZodTypeDef {\n type: \"string\";\n coerce?: boolean;\n checks?: checks.$ZodCheck<string>[];\n}\nexport interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {\n def: $ZodStringDef;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n /** @deprecated Internal API, use with caution (not deprecated) */\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n patterns: Set<RegExp>;\n format: string;\n contentEncoding: string;\n }>;\n}\nexport interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {\n}\nexport declare const $ZodString: core.$constructor<$ZodString>;\nexport interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {\n}\nexport interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {\n def: $ZodStringFormatDef<Format>;\n}\nexport interface $ZodStringFormat<Format extends string = string> extends $ZodType {\n _zod: $ZodStringFormatInternals<Format>;\n}\nexport declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;\nexport interface $ZodGUIDDef extends $ZodStringFormatDef<\"guid\"> {\n}\nexport interface $ZodGUIDInternals extends $ZodStringFormatInternals<\"guid\"> {\n}\nexport interface $ZodGUID extends $ZodType {\n _zod: $ZodGUIDInternals;\n}\nexport declare const $ZodGUID: core.$constructor<$ZodGUID>;\nexport interface $ZodUUIDDef extends $ZodStringFormatDef<\"uuid\"> {\n version?: \"v1\" | \"v2\" | \"v3\" | \"v4\" | \"v5\" | \"v6\" | \"v7\" | \"v8\";\n}\nexport interface $ZodUUIDInternals extends $ZodStringFormatInternals<\"uuid\"> {\n def: $ZodUUIDDef;\n}\nexport interface $ZodUUID extends $ZodType {\n _zod: $ZodUUIDInternals;\n}\nexport declare const $ZodUUID: core.$constructor<$ZodUUID>;\nexport interface $ZodEmailDef extends $ZodStringFormatDef<\"email\"> {\n}\nexport interface $ZodEmailInternals extends $ZodStringFormatInternals<\"email\"> {\n}\nexport interface $ZodEmail extends $ZodType {\n _zod: $ZodEmailInternals;\n}\nexport declare const $ZodEmail: core.$constructor<$ZodEmail>;\nexport interface $ZodURLDef extends $ZodStringFormatDef<\"url\"> {\n hostname?: RegExp | undefined;\n protocol?: RegExp | undefined;\n normalize?: boolean | undefined;\n}\nexport interface $ZodURLInternals extends $ZodStringFormatInternals<\"url\"> {\n def: $ZodURLDef;\n}\nexport interface $ZodURL extends $ZodType {\n _zod: $ZodURLInternals;\n}\nexport declare const $ZodURL: core.$constructor<$ZodURL>;\nexport interface $ZodEmojiDef extends $ZodStringFormatDef<\"emoji\"> {\n}\nexport interface $ZodEmojiInternals extends $ZodStringFormatInternals<\"emoji\"> {\n}\nexport interface $ZodEmoji extends $ZodType {\n _zod: $ZodEmojiInternals;\n}\nexport declare const $ZodEmoji: core.$constructor<$ZodEmoji>;\nexport interface $ZodNanoIDDef extends $ZodStringFormatDef<\"nanoid\"> {\n}\nexport interface $ZodNanoIDInternals extends $ZodStringFormatInternals<\"nanoid\"> {\n}\nexport interface $ZodNanoID extends $ZodType {\n _zod: $ZodNanoIDInternals;\n}\nexport declare const $ZodNanoID: core.$constructor<$ZodNanoID>;\nexport interface $ZodCUIDDef extends $ZodStringFormatDef<\"cuid\"> {\n}\nexport interface $ZodCUIDInternals extends $ZodStringFormatInternals<\"cuid\"> {\n}\nexport interface $ZodCUID extends $ZodType {\n _zod: $ZodCUIDInternals;\n}\nexport declare const $ZodCUID: core.$constructor<$ZodCUID>;\nexport interface $ZodCUID2Def extends $ZodStringFormatDef<\"cuid2\"> {\n}\nexport interface $ZodCUID2Internals extends $ZodStringFormatInternals<\"cuid2\"> {\n}\nexport interface $ZodCUID2 extends $ZodType {\n _zod: $ZodCUID2Internals;\n}\nexport declare const $ZodCUID2: core.$constructor<$ZodCUID2>;\nexport interface $ZodULIDDef extends $ZodStringFormatDef<\"ulid\"> {\n}\nexport interface $ZodULIDInternals extends $ZodStringFormatInternals<\"ulid\"> {\n}\nexport interface $ZodULID extends $ZodType {\n _zod: $ZodULIDInternals;\n}\nexport declare const $ZodULID: core.$constructor<$ZodULID>;\nexport interface $ZodXIDDef extends $ZodStringFormatDef<\"xid\"> {\n}\nexport interface $ZodXIDInternals extends $ZodStringFormatInternals<\"xid\"> {\n}\nexport interface $ZodXID extends $ZodType {\n _zod: $ZodXIDInternals;\n}\nexport declare const $ZodXID: core.$constructor<$ZodXID>;\nexport interface $ZodKSUIDDef extends $ZodStringFormatDef<\"ksuid\"> {\n}\nexport interface $ZodKSUIDInternals extends $ZodStringFormatInternals<\"ksuid\"> {\n}\nexport interface $ZodKSUID extends $ZodType {\n _zod: $ZodKSUIDInternals;\n}\nexport declare const $ZodKSUID: core.$constructor<$ZodKSUID>;\nexport interface $ZodISODateTimeDef extends $ZodStringFormatDef<\"datetime\"> {\n precision: number | null;\n offset: boolean;\n local: boolean;\n}\nexport interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {\n def: $ZodISODateTimeDef;\n}\nexport interface $ZodISODateTime extends $ZodType {\n _zod: $ZodISODateTimeInternals;\n}\nexport declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;\nexport interface $ZodISODateDef extends $ZodStringFormatDef<\"date\"> {\n}\nexport interface $ZodISODateInternals extends $ZodStringFormatInternals<\"date\"> {\n}\nexport interface $ZodISODate extends $ZodType {\n _zod: $ZodISODateInternals;\n}\nexport declare const $ZodISODate: core.$constructor<$ZodISODate>;\nexport interface $ZodISOTimeDef extends $ZodStringFormatDef<\"time\"> {\n precision?: number | null;\n}\nexport interface $ZodISOTimeInternals extends $ZodStringFormatInternals<\"time\"> {\n def: $ZodISOTimeDef;\n}\nexport interface $ZodISOTime extends $ZodType {\n _zod: $ZodISOTimeInternals;\n}\nexport declare const $ZodISOTime: core.$constructor<$ZodISOTime>;\nexport interface $ZodISODurationDef extends $ZodStringFormatDef<\"duration\"> {\n}\nexport interface $ZodISODurationInternals extends $ZodStringFormatInternals<\"duration\"> {\n}\nexport interface $ZodISODuration extends $ZodType {\n _zod: $ZodISODurationInternals;\n}\nexport declare const $ZodISODuration: core.$constructor<$ZodISODuration>;\nexport interface $ZodIPv4Def extends $ZodStringFormatDef<\"ipv4\"> {\n version?: \"v4\";\n}\nexport interface $ZodIPv4Internals extends $ZodStringFormatInternals<\"ipv4\"> {\n def: $ZodIPv4Def;\n}\nexport interface $ZodIPv4 extends $ZodType {\n _zod: $ZodIPv4Internals;\n}\nexport declare const $ZodIPv4: core.$constructor<$ZodIPv4>;\nexport interface $ZodIPv6Def extends $ZodStringFormatDef<\"ipv6\"> {\n version?: \"v6\";\n}\nexport interface $ZodIPv6Internals extends $ZodStringFormatInternals<\"ipv6\"> {\n def: $ZodIPv6Def;\n}\nexport interface $ZodIPv6 extends $ZodType {\n _zod: $ZodIPv6Internals;\n}\nexport declare const $ZodIPv6: core.$constructor<$ZodIPv6>;\nexport interface $ZodCIDRv4Def extends $ZodStringFormatDef<\"cidrv4\"> {\n version?: \"v4\";\n}\nexport interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<\"cidrv4\"> {\n def: $ZodCIDRv4Def;\n}\nexport interface $ZodCIDRv4 extends $ZodType {\n _zod: $ZodCIDRv4Internals;\n}\nexport declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;\nexport interface $ZodCIDRv6Def extends $ZodStringFormatDef<\"cidrv6\"> {\n version?: \"v6\";\n}\nexport interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<\"cidrv6\"> {\n def: $ZodCIDRv6Def;\n}\nexport interface $ZodCIDRv6 extends $ZodType {\n _zod: $ZodCIDRv6Internals;\n}\nexport declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;\nexport declare function isValidBase64(data: string): boolean;\nexport interface $ZodBase64Def extends $ZodStringFormatDef<\"base64\"> {\n}\nexport interface $ZodBase64Internals extends $ZodStringFormatInternals<\"base64\"> {\n}\nexport interface $ZodBase64 extends $ZodType {\n _zod: $ZodBase64Internals;\n}\nexport declare const $ZodBase64: core.$constructor<$ZodBase64>;\nexport declare function isValidBase64URL(data: string): boolean;\nexport interface $ZodBase64URLDef extends $ZodStringFormatDef<\"base64url\"> {\n}\nexport interface $ZodBase64URLInternals extends $ZodStringFormatInternals<\"base64url\"> {\n}\nexport interface $ZodBase64URL extends $ZodType {\n _zod: $ZodBase64URLInternals;\n}\nexport declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;\nexport interface $ZodE164Def extends $ZodStringFormatDef<\"e164\"> {\n}\nexport interface $ZodE164Internals extends $ZodStringFormatInternals<\"e164\"> {\n}\nexport interface $ZodE164 extends $ZodType {\n _zod: $ZodE164Internals;\n}\nexport declare const $ZodE164: core.$constructor<$ZodE164>;\nexport declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;\nexport interface $ZodJWTDef extends $ZodStringFormatDef<\"jwt\"> {\n alg?: util.JWTAlgorithm | undefined;\n}\nexport interface $ZodJWTInternals extends $ZodStringFormatInternals<\"jwt\"> {\n def: $ZodJWTDef;\n}\nexport interface $ZodJWT extends $ZodType {\n _zod: $ZodJWTInternals;\n}\nexport declare const $ZodJWT: core.$constructor<$ZodJWT>;\nexport interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {\n fn: (val: string) => unknown;\n}\nexport interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {\n def: $ZodCustomStringFormatDef<Format>;\n}\nexport interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {\n _zod: $ZodCustomStringFormatInternals<Format>;\n}\nexport declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;\nexport interface $ZodNumberDef extends $ZodTypeDef {\n type: \"number\";\n coerce?: boolean;\n}\nexport interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {\n def: $ZodNumberDef;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n /** @deprecated Internal API, use with caution (not deprecated) */\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n exclusiveMinimum: number;\n exclusiveMaximum: number;\n format: string;\n pattern: RegExp;\n }>;\n}\nexport interface $ZodNumber<Input = unknown> extends $ZodType {\n _zod: $ZodNumberInternals<Input>;\n}\nexport declare const $ZodNumber: core.$constructor<$ZodNumber>;\nexport interface $ZodNumberFormatDef extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef {\n}\nexport interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals {\n def: $ZodNumberFormatDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNumberFormat extends $ZodType {\n _zod: $ZodNumberFormatInternals;\n}\nexport declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;\nexport interface $ZodBooleanDef extends $ZodTypeDef {\n type: \"boolean\";\n coerce?: boolean;\n checks?: checks.$ZodCheck<boolean>[];\n}\nexport interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {\n pattern: RegExp;\n def: $ZodBooleanDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodBoolean<T = unknown> extends $ZodType {\n _zod: $ZodBooleanInternals<T>;\n}\nexport declare const $ZodBoolean: core.$constructor<$ZodBoolean>;\nexport interface $ZodBigIntDef extends $ZodTypeDef {\n type: \"bigint\";\n coerce?: boolean;\n}\nexport interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {\n pattern: RegExp;\n /** @internal Internal API, use with caution */\n def: $ZodBigIntDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: bigint;\n maximum: bigint;\n format: string;\n }>;\n}\nexport interface $ZodBigInt<T = unknown> extends $ZodType {\n _zod: $ZodBigIntInternals<T>;\n}\nexport declare const $ZodBigInt: core.$constructor<$ZodBigInt>;\nexport interface $ZodBigIntFormatDef extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef {\n check: \"bigint_format\";\n}\nexport interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals {\n def: $ZodBigIntFormatDef;\n}\nexport interface $ZodBigIntFormat extends $ZodType {\n _zod: $ZodBigIntFormatInternals;\n}\nexport declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;\nexport interface $ZodSymbolDef extends $ZodTypeDef {\n type: \"symbol\";\n}\nexport interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {\n def: $ZodSymbolDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodSymbol extends $ZodType {\n _zod: $ZodSymbolInternals;\n}\nexport declare const $ZodSymbol: core.$constructor<$ZodSymbol>;\nexport interface $ZodUndefinedDef extends $ZodTypeDef {\n type: \"undefined\";\n}\nexport interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {\n pattern: RegExp;\n def: $ZodUndefinedDef;\n values: util.PrimitiveSet;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodUndefined extends $ZodType {\n _zod: $ZodUndefinedInternals;\n}\nexport declare const $ZodUndefined: core.$constructor<$ZodUndefined>;\nexport interface $ZodNullDef extends $ZodTypeDef {\n type: \"null\";\n}\nexport interface $ZodNullInternals extends $ZodTypeInternals<null, null> {\n pattern: RegExp;\n def: $ZodNullDef;\n values: util.PrimitiveSet;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNull extends $ZodType {\n _zod: $ZodNullInternals;\n}\nexport declare const $ZodNull: core.$constructor<$ZodNull>;\nexport interface $ZodAnyDef extends $ZodTypeDef {\n type: \"any\";\n}\nexport interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {\n def: $ZodAnyDef;\n isst: never;\n}\nexport interface $ZodAny extends $ZodType {\n _zod: $ZodAnyInternals;\n}\nexport declare const $ZodAny: core.$constructor<$ZodAny>;\nexport interface $ZodUnknownDef extends $ZodTypeDef {\n type: \"unknown\";\n}\nexport interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {\n def: $ZodUnknownDef;\n isst: never;\n}\nexport interface $ZodUnknown extends $ZodType {\n _zod: $ZodUnknownInternals;\n}\nexport declare const $ZodUnknown: core.$constructor<$ZodUnknown>;\nexport interface $ZodNeverDef extends $ZodTypeDef {\n type: \"never\";\n}\nexport interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {\n def: $ZodNeverDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNever extends $ZodType {\n _zod: $ZodNeverInternals;\n}\nexport declare const $ZodNever: core.$constructor<$ZodNever>;\nexport interface $ZodVoidDef extends $ZodTypeDef {\n type: \"void\";\n}\nexport interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {\n def: $ZodVoidDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodVoid extends $ZodType {\n _zod: $ZodVoidInternals;\n}\nexport declare const $ZodVoid: core.$constructor<$ZodVoid>;\nexport interface $ZodDateDef extends $ZodTypeDef {\n type: \"date\";\n coerce?: boolean;\n}\nexport interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {\n def: $ZodDateDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: Date;\n maximum: Date;\n format: string;\n }>;\n}\nexport interface $ZodDate<T = unknown> extends $ZodType {\n _zod: $ZodDateInternals<T>;\n}\nexport declare const $ZodDate: core.$constructor<$ZodDate>;\nexport interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"array\";\n element: T;\n}\nexport interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {\n def: $ZodArrayDef<T>;\n isst: errors.$ZodIssueInvalidType;\n output: core.output<T>[];\n input: core.input<T>[];\n}\nexport interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {\n}\nexport declare const $ZodArray: core.$constructor<$ZodArray>;\ntype OptionalOutSchema = {\n _zod: {\n optout: \"optional\";\n };\n};\ntype OptionalInSchema = {\n _zod: {\n optin: \"optional\";\n };\n};\nexport type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k][\"_zod\"][\"output\"];\n} & {\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k][\"_zod\"][\"output\"];\n} & Extra>;\nexport type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k][\"_zod\"][\"input\"];\n} & {\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k][\"_zod\"][\"input\"];\n} & Extra>;\nexport type $ZodObjectConfig = {\n out: Record<string, unknown>;\n in: Record<string, unknown>;\n};\nexport type $loose = {\n out: Record<string, unknown>;\n in: Record<string, unknown>;\n};\nexport type $strict = {\n out: {};\n in: {};\n};\nexport type $strip = {\n out: {};\n in: {};\n};\nexport type $catchall<T extends SomeType> = {\n out: {\n [k: string]: core.output<T>;\n };\n in: {\n [k: string]: core.input<T>;\n };\n};\nexport type $ZodShape = Readonly<{\n [k: string]: $ZodType;\n}>;\nexport interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {\n type: \"object\";\n shape: Shape;\n catchall?: $ZodType | undefined;\n}\nexport interface $ZodObjectInternals<\n/** @ts-ignore Cast variance */\nout Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {\n def: $ZodObjectDef<Shape>;\n config: Config;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;\n propValues: util.PropValues;\n output: $InferObjectOutput<Shape, Config[\"out\"]>;\n input: $InferObjectInput<Shape, Config[\"in\"]>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport type $ZodLooseShape = Record<string, any>;\nexport interface $ZodObject<\n/** @ts-ignore Cast variance */\nout Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {\n \"~standard\": $ZodStandardSchema<this>;\n}\nexport declare const $ZodObject: core.$constructor<$ZodObject>;\nexport declare const $ZodObjectJIT: core.$constructor<$ZodObject>;\nexport type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;\nexport type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;\nexport interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {\n type: \"union\";\n options: Options;\n}\ntype IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;\ntype IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;\nexport interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {\n def: $ZodUnionDef<T>;\n isst: errors.$ZodIssueInvalidUnion;\n pattern: T[number][\"_zod\"][\"pattern\"];\n values: T[number][\"_zod\"][\"values\"];\n output: $InferUnionOutput<T[number]>;\n input: $InferUnionInput<T[number]>;\n optin: IsOptionalIn<T[number]> extends false ? \"optional\" | undefined : \"optional\";\n optout: IsOptionalOut<T[number]> extends false ? \"optional\" | undefined : \"optional\";\n}\nexport interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {\n _zod: $ZodUnionInternals<T>;\n}\nexport declare const $ZodUnion: core.$constructor<$ZodUnion>;\nexport interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {\n discriminator: Disc;\n unionFallback?: boolean;\n}\nexport interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {\n def: $ZodDiscriminatedUnionDef<Options, Disc>;\n propValues: util.PropValues;\n}\nexport interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {\n _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;\n}\nexport declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;\nexport interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"intersection\";\n left: Left;\n right: Right;\n}\nexport interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {\n def: $ZodIntersectionDef<A, B>;\n isst: never;\n optin: A[\"_zod\"][\"optin\"] | B[\"_zod\"][\"optin\"];\n optout: A[\"_zod\"][\"optout\"] | B[\"_zod\"][\"optout\"];\n output: core.output<A> & core.output<B>;\n input: core.input<A> & core.input<B>;\n}\nexport interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodIntersectionInternals<A, B>;\n}\nexport declare const $ZodIntersection: core.$constructor<$ZodIntersection>;\nexport interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {\n type: \"tuple\";\n items: T;\n rest: Rest;\n}\nexport type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [\n ...TupleInputTypeWithOptionals<T>,\n ...(Rest extends SomeType ? core.input<Rest>[] : [])\n];\ntype TupleInputTypeNoOptionals<T extends util.TupleItems> = {\n [k in keyof T]: core.input<T[k]>;\n};\ntype TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\n ...infer Prefix extends SomeType[],\n infer Tail extends SomeType\n] ? Tail[\"_zod\"][\"optin\"] extends \"optional\" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];\nexport type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [\n ...TupleOutputTypeWithOptionals<T>,\n ...(Rest extends SomeType ? core.output<Rest>[] : [])\n];\ntype TupleOutputTypeNoOptionals<T extends util.TupleItems> = {\n [k in keyof T]: core.output<T[k]>;\n};\ntype TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\n ...infer Prefix extends SomeType[],\n infer Tail extends SomeType\n] ? Tail[\"_zod\"][\"optout\"] extends \"optional\" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];\nexport interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {\n def: $ZodTupleDef<T, Rest>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;\n output: $InferTupleOutputType<T, Rest>;\n input: $InferTupleInputType<T, Rest>;\n}\nexport interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {\n _zod: $ZodTupleInternals<T, Rest>;\n}\nexport declare const $ZodTuple: core.$constructor<$ZodTuple>;\nexport type $ZodRecordKey = $ZodType<string | number | symbol, string | number | symbol>;\nexport interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"record\";\n keyType: Key;\n valueType: Value;\n}\nexport type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.output<Key>, core.output<Value>>> : Record<core.output<Key>, core.output<Value>>;\nexport type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key>, core.input<Value>>> : Record<core.input<Key>, core.input<Value>>;\nexport interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {\n def: $ZodRecordDef<Key, Value>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport type $partial = {\n \"~~partial\": true;\n};\nexport interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodRecordInternals<Key, Value>;\n}\nexport declare const $ZodRecord: core.$constructor<$ZodRecord>;\nexport interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"map\";\n keyType: Key;\n valueType: Value;\n}\nexport interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {\n def: $ZodMapDef<Key, Value>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodMapInternals<Key, Value>;\n}\nexport declare const $ZodMap: core.$constructor<$ZodMap>;\nexport interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"set\";\n valueType: T;\n}\nexport interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {\n def: $ZodSetDef<T>;\n isst: errors.$ZodIssueInvalidType;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodSetInternals<T>;\n}\nexport declare const $ZodSet: core.$constructor<$ZodSet>;\nexport type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};\nexport type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};\nexport interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {\n type: \"enum\";\n entries: T;\n}\nexport interface $ZodEnumInternals<\n/** @ts-ignore Cast variance */\nout T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {\n def: $ZodEnumDef<T>;\n /** @deprecated Internal API, use with caution (not deprecated) */\n values: util.PrimitiveSet;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n isst: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {\n _zod: $ZodEnumInternals<T>;\n}\nexport declare const $ZodEnum: core.$constructor<$ZodEnum>;\nexport interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {\n type: \"literal\";\n values: T[];\n}\nexport interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {\n def: $ZodLiteralDef<T>;\n values: Set<T>;\n pattern: RegExp;\n isst: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {\n _zod: $ZodLiteralInternals<T>;\n}\nexport declare const $ZodLiteral: core.$constructor<$ZodLiteral>;\ntype _File = typeof globalThis extends {\n File: infer F extends new (...args: any[]) => any;\n} ? InstanceType<F> : {};\n/** Do not reference this directly. */\nexport interface File extends _File {\n readonly type: string;\n readonly size: number;\n}\nexport interface $ZodFileDef extends $ZodTypeDef {\n type: \"file\";\n}\nexport interface $ZodFileInternals extends $ZodTypeInternals<File, File> {\n def: $ZodFileDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n mime: util.MimeTypes[];\n }>;\n}\nexport interface $ZodFile extends $ZodType {\n _zod: $ZodFileInternals;\n}\nexport declare const $ZodFile: core.$constructor<$ZodFile>;\nexport interface $ZodTransformDef extends $ZodTypeDef {\n type: \"transform\";\n transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;\n}\nexport interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {\n def: $ZodTransformDef;\n isst: never;\n}\nexport interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {\n _zod: $ZodTransformInternals<O, I>;\n}\nexport declare const $ZodTransform: core.$constructor<$ZodTransform>;\nexport interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"optional\";\n innerType: T;\n}\nexport interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {\n def: $ZodOptionalDef<T>;\n optin: \"optional\";\n optout: \"optional\";\n isst: never;\n values: T[\"_zod\"][\"values\"];\n pattern: T[\"_zod\"][\"pattern\"];\n}\nexport interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodOptionalInternals<T>;\n}\nexport declare const $ZodOptional: core.$constructor<$ZodOptional>;\nexport interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"nullable\";\n innerType: T;\n}\nexport interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {\n def: $ZodNullableDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n values: T[\"_zod\"][\"values\"];\n pattern: T[\"_zod\"][\"pattern\"];\n}\nexport interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodNullableInternals<T>;\n}\nexport declare const $ZodNullable: core.$constructor<$ZodNullable>;\nexport interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"default\";\n innerType: T;\n /** The default value. May be a getter. */\n defaultValue: util.NoUndefined<core.output<T>>;\n}\nexport interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\n def: $ZodDefaultDef<T>;\n optin: \"optional\";\n optout?: \"optional\" | undefined;\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodDefaultInternals<T>;\n}\nexport declare const $ZodDefault: core.$constructor<$ZodDefault>;\nexport interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"prefault\";\n innerType: T;\n /** The default value. May be a getter. */\n defaultValue: core.input<T>;\n}\nexport interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\n def: $ZodPrefaultDef<T>;\n optin: \"optional\";\n optout?: \"optional\" | undefined;\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPrefaultInternals<T>;\n}\nexport declare const $ZodPrefault: core.$constructor<$ZodPrefault>;\nexport interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"nonoptional\";\n innerType: T;\n}\nexport interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {\n def: $ZodNonOptionalDef<T>;\n isst: errors.$ZodIssueInvalidType;\n values: T[\"_zod\"][\"values\"];\n optin: \"optional\" | undefined;\n optout: \"optional\" | undefined;\n}\nexport interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodNonOptionalInternals<T>;\n}\nexport declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;\nexport interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"success\";\n innerType: T;\n}\nexport interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {\n def: $ZodSuccessDef<T>;\n isst: never;\n optin: T[\"_zod\"][\"optin\"];\n optout: \"optional\" | undefined;\n}\nexport interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodSuccessInternals<T>;\n}\nexport declare const $ZodSuccess: core.$constructor<$ZodSuccess>;\nexport interface $ZodCatchCtx extends ParsePayload {\n /** @deprecated Use `ctx.issues` */\n error: {\n issues: errors.$ZodIssue[];\n };\n /** @deprecated Use `ctx.value` */\n input: unknown;\n}\nexport interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"catch\";\n innerType: T;\n catchValue: (ctx: $ZodCatchCtx) => unknown;\n}\nexport interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\n def: $ZodCatchDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodCatchInternals<T>;\n}\nexport declare const $ZodCatch: core.$constructor<$ZodCatch>;\nexport interface $ZodNaNDef extends $ZodTypeDef {\n type: \"nan\";\n}\nexport interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {\n def: $ZodNaNDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNaN extends $ZodType {\n _zod: $ZodNaNInternals;\n}\nexport declare const $ZodNaN: core.$constructor<$ZodNaN>;\nexport interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"pipe\";\n in: A;\n out: B;\n /** Only defined inside $ZodCodec instances. */\n transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\n /** Only defined inside $ZodCodec instances. */\n reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\n}\nexport interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\n def: $ZodPipeDef<A, B>;\n isst: never;\n values: A[\"_zod\"][\"values\"];\n optin: A[\"_zod\"][\"optin\"];\n optout: B[\"_zod\"][\"optout\"];\n propValues: A[\"_zod\"][\"propValues\"];\n}\nexport interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPipeInternals<A, B>;\n}\nexport declare const $ZodPipe: core.$constructor<$ZodPipe>;\nexport interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {\n transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\n reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\n}\nexport interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\n def: $ZodCodecDef<A, B>;\n isst: never;\n values: A[\"_zod\"][\"values\"];\n optin: A[\"_zod\"][\"optin\"];\n optout: B[\"_zod\"][\"optout\"];\n propValues: A[\"_zod\"][\"propValues\"];\n}\nexport interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodCodecInternals<A, B>;\n}\nexport declare const $ZodCodec: core.$constructor<$ZodCodec>;\nexport interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"readonly\";\n innerType: T;\n}\nexport interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {\n def: $ZodReadonlyDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n propValues: T[\"_zod\"][\"propValues\"];\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodReadonlyInternals<T>;\n}\nexport declare const $ZodReadonly: core.$constructor<$ZodReadonly>;\nexport interface $ZodTemplateLiteralDef extends $ZodTypeDef {\n type: \"template_literal\";\n parts: $ZodTemplateLiteralPart[];\n format?: string | undefined;\n}\nexport interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {\n pattern: RegExp;\n def: $ZodTemplateLiteralDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {\n _zod: $ZodTemplateLiteralInternals<Template>;\n}\ntype LiteralPart = Exclude<util.Literal, symbol>;\ninterface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {\n pattern: RegExp;\n}\ninterface SchemaPart extends $ZodType {\n _zod: SchemaPartInternals;\n}\nexport type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;\ntype UndefinedToEmptyString<T> = T extends undefined ? \"\" : T;\ntype AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;\nexport type ConcatenateTupleOfStrings<T extends string[]> = T extends [\n infer First extends string,\n ...infer Rest extends string[]\n] ? Rest extends string[] ? First extends \"\" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : \"\";\nexport type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {\n [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;\n};\nexport type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;\nexport type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;\nexport declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;\nexport type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;\nexport type $ZodFunctionIn = $ZodFunctionArgs;\nexport type $ZodFunctionOut = $ZodType;\nexport type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;\nexport type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;\nexport type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;\nexport type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => util.MaybeAsync<core.output<Returns>>;\nexport interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {\n type: \"function\";\n input: In;\n output: Out;\n}\nexport interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {\n def: $ZodFunctionDef<Args, Returns>;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {\n /** @deprecated */\n _def: $ZodFunctionDef<Args, Returns>;\n _input: $InferInnerFunctionType<Args, Returns>;\n _output: $InferOuterFunctionType<Args, Returns>;\n implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this[\"_output\"]>) => ReturnType<F> extends ReturnType<this[\"_output\"]> ? ReturnType<F> : ReturnType<this[\"_output\"]>;\n implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;\n input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;\n input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;\n input(...args: any[]): $ZodFunction<any, Returns>;\n output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;\n}\nexport interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {\n input?: I;\n output?: O;\n}\nexport declare const $ZodFunction: core.$constructor<$ZodFunction>;\nexport interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"promise\";\n innerType: T;\n}\nexport interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, util.MaybeAsync<core.input<T>>> {\n def: $ZodPromiseDef<T>;\n isst: never;\n}\nexport interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPromiseInternals<T>;\n}\nexport declare const $ZodPromise: core.$constructor<$ZodPromise>;\nexport interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"lazy\";\n getter: () => T;\n}\nexport interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\n def: $ZodLazyDef<T>;\n isst: never;\n /** Auto-cached way to retrieve the inner schema */\n innerType: T;\n pattern: T[\"_zod\"][\"pattern\"];\n propValues: T[\"_zod\"][\"propValues\"];\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n}\nexport interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodLazyInternals<T>;\n}\nexport declare const $ZodLazy: core.$constructor<$ZodLazy>;\nexport interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {\n type: \"custom\";\n check: \"custom\";\n path?: PropertyKey[] | undefined;\n error?: errors.$ZodErrorMap | undefined;\n params?: Record<string, any> | undefined;\n fn: (arg: O) => unknown;\n}\nexport interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {\n def: $ZodCustomDef;\n issc: errors.$ZodIssue;\n isst: never;\n bag: util.LoosePartial<{\n Class: typeof util.Class;\n }>;\n}\nexport interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {\n _zod: $ZodCustomInternals<O, I>;\n}\nexport declare const $ZodCustom: core.$constructor<$ZodCustom>;\nexport type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;\nexport type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<\"hex\"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<\"hostname\">;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;UAMiBM,yBAAuBJ;;EAAvBI,SAAAA,KAAAA,CAAY,EAERJ,YAFQ,CAEYK,GAFZ,CAAA;EAAWL;EAECK,SAAAA,WAAAA,CAAAA,EAAAA,OAAAA;EAApBL;EAAmB,SAAA,OAAA,CAAA,EAAA,OAAA;AAOxC;;AAAmGK,UAAlFG,oBAAkFH,CAAAA,YAAnDL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BtR,WAAWT,kBAAkBA;QAC3D6R,sBAAsB7S;;cAEX+S,cAAcrT,aAAkBqT;UAiGpC+C,mCAAmCtV,aAAaf;;;SAGtDgP;UACC9O;WACCsB;YACCE;;UAEG6U,sDAAsD9U,kBAAkBC,GAAGC,IAAI3B,mBAA0B0B;OACjH2U;QACCnW;;OAEDE;kBACaA;;;UAGLsW,6CAA6CnV;QACpDgV,oBAAoB7U,GAAGC;;cAEZ+U,YAAYzW,aAAkByW"}
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","names":["checks","core","errors","StandardSchemaV1","util","version","ParseContext","T","$ZodIssueBase","$ZodErrorMap","ParseContextInternal","ParsePayload","$ZodRawIssue","CheckFn","MaybeAsync","$ZodTypeDef","$ZodCheck","_$ZodTypeInternals","AnyFunc","Set","PrimitiveSet","PropValues","RegExp","$ZodType","Record","$ZodTypeInternals","O","I","$ZodStandardSchema","input","output","Props","SomeType","Internals","_$ZodType","$constructor","clone","$ZodStringDef","$ZodStringInternals","Input","$ZodIssueInvalidType","LoosePartial","$ZodString","$ZodStringFormatDef","Format","$ZodCheckStringFormatDef","$ZodStringFormatInternals","$ZodCheckStringFormatInternals","$ZodStringFormat","$ZodGUIDDef","$ZodGUIDInternals","$ZodGUID","$ZodUUIDDef","$ZodUUIDInternals","$ZodUUID","$ZodEmailDef","$ZodEmailInternals","$ZodEmail","$ZodURLDef","$ZodURLInternals","$ZodURL","$ZodEmojiDef","$ZodEmojiInternals","$ZodEmoji","$ZodNanoIDDef","$ZodNanoIDInternals","$ZodNanoID","$ZodCUIDDef","$ZodCUIDInternals","$ZodCUID","$ZodCUID2Def","$ZodCUID2Internals","$ZodCUID2","$ZodULIDDef","$ZodULIDInternals","$ZodULID","$ZodXIDDef","$ZodXIDInternals","$ZodXID","$ZodKSUIDDef","$ZodKSUIDInternals","$ZodKSUID","$ZodISODateTimeDef","$ZodISODateTimeInternals","$ZodISODateTime","$ZodISODateDef","$ZodISODateInternals","$ZodISODate","$ZodISOTimeDef","$ZodISOTimeInternals","$ZodISOTime","$ZodISODurationDef","$ZodISODurationInternals","$ZodISODuration","$ZodIPv4Def","$ZodIPv4Internals","$ZodIPv4","$ZodIPv6Def","$ZodIPv6Internals","$ZodIPv6","$ZodCIDRv4Def","$ZodCIDRv4Internals","$ZodCIDRv4","$ZodCIDRv6Def","$ZodCIDRv6Internals","$ZodCIDRv6","isValidBase64","$ZodBase64Def","$ZodBase64Internals","$ZodBase64","isValidBase64URL","$ZodBase64URLDef","$ZodBase64URLInternals","$ZodBase64URL","$ZodE164Def","$ZodE164Internals","$ZodE164","isValidJWT","JWTAlgorithm","$ZodJWTDef","$ZodJWTInternals","$ZodJWT","$ZodCustomStringFormatDef","$ZodCustomStringFormatInternals","$ZodCustomStringFormat","$ZodNumberDef","$ZodNumberInternals","$ZodNumber","$ZodNumberFormatDef","$ZodCheckNumberFormatDef","$ZodNumberFormatInternals","$ZodCheckNumberFormatInternals","$ZodNumberFormat","$ZodBooleanDef","$ZodBooleanInternals","$ZodBoolean","$ZodBigIntDef","$ZodBigIntInternals","$ZodBigInt","$ZodBigIntFormatDef","$ZodCheckBigIntFormatDef","$ZodBigIntFormatInternals","$ZodCheckBigIntFormatInternals","$ZodBigIntFormat","$ZodSymbolDef","$ZodSymbolInternals","$ZodSymbol","$ZodUndefinedDef","$ZodUndefinedInternals","$ZodUndefined","$ZodNullDef","$ZodNullInternals","$ZodNull","$ZodAnyDef","$ZodAnyInternals","$ZodAny","$ZodUnknownDef","$ZodUnknownInternals","$ZodUnknown","$ZodNeverDef","$ZodNeverInternals","$ZodNever","$ZodVoidDef","$ZodVoidInternals","$ZodVoid","$ZodDateDef","$ZodDateInternals","Date","$ZodDate","$ZodArrayDef","$ZodArrayInternals","$ZodArray","OptionalOutSchema","OptionalInSchema","$InferObjectOutput","Extra","$ZodLooseShape","IsAny","k","Prettify","$InferObjectInput","$ZodObjectConfig","$loose","$strict","$strip","$catchall","$ZodShape","Readonly","$ZodObjectDef","Shape","$ZodObjectInternals","Config","$ZodIssueUnrecognizedKeys","$ZodObject","Params","$ZodObjectJIT","$InferUnionOutput","$InferUnionInput","$ZodUnionDef","Options","IsOptionalIn","IsOptionalOut","$ZodUnionInternals","$ZodIssueInvalidUnion","$ZodUnion","$ZodDiscriminatedUnionDef","Disc","$ZodDiscriminatedUnionInternals","$ZodDiscriminatedUnion","$ZodIntersectionDef","Left","Right","$ZodIntersectionInternals","A","B","$ZodIntersection","$ZodTupleDef","Rest","TupleItems","$InferTupleInputType","TupleInputTypeWithOptionals","TupleInputTypeNoOptionals","Tail","Prefix","$InferTupleOutputType","TupleOutputTypeWithOptionals","TupleOutputTypeNoOptionals","$ZodTupleInternals","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodTuple","$ZodRecordKey","$ZodRecordDef","Key","Value","$InferZodRecordOutput","$partial","Partial","$InferZodRecordInput","$ZodRecordInternals","PropertyKey","$ZodIssueInvalidKey","$ZodRecord","$ZodMapDef","$ZodMapInternals","Map","$ZodIssueInvalidElement","$ZodMap","$ZodSetDef","$ZodSetInternals","$ZodSet","$InferEnumOutput","EnumLike","$InferEnumInput","$ZodEnumDef","$ZodEnumInternals","$ZodIssueInvalidValue","$ZodEnum","$ZodLiteralDef","Literal","$ZodLiteralInternals","$ZodLiteral","_File","globalThis","F","InstanceType","File","$ZodFileDef","$ZodFileInternals","MimeTypes","$ZodFile","$ZodTransformDef","$ZodTransformInternals","$ZodTransform","$ZodOptionalDef","$ZodOptionalInternals","$ZodOptional","$ZodNullableDef","$ZodNullableInternals","$ZodNullable","$ZodDefaultDef","NoUndefined","$ZodDefaultInternals","$ZodDefault","$ZodPrefaultDef","$ZodPrefaultInternals","$ZodPrefault","$ZodNonOptionalDef","$ZodNonOptionalInternals","$ZodNonOptional","$ZodSuccessDef","$ZodSuccessInternals","$ZodSuccess","$ZodCatchCtx","$ZodIssue","$ZodCatchDef","$ZodCatchInternals","$ZodCatch","$ZodNaNDef","$ZodNaNInternals","$ZodNaN","$ZodPipeDef","$ZodPipeInternals","$ZodPipe","$ZodCodecDef","$ZodCodecInternals","$ZodCodec","$ZodReadonlyDef","$ZodReadonlyInternals","MakeReadonly","$ZodReadonly","$ZodTemplateLiteralDef","$ZodTemplateLiteralPart","$ZodTemplateLiteralInternals","Template","$ZodTemplateLiteral","LiteralPart","Exclude","SchemaPartInternals","SchemaPart","UndefinedToEmptyString","AppendToTemplateLiteral","Suffix","ConcatenateTupleOfStrings","First","ConvertPartsToStringTuple","Parts","K","ToTemplateLiteral","$PartsToTemplateLiteral","Last","$ZodFunctionArgs","$ZodFunctionIn","$ZodFunctionOut","$InferInnerFunctionType","Args","Returns","$InferInnerFunctionTypeAsync","$InferOuterFunctionType","$InferOuterFunctionTypeAsync","$ZodFunctionDef","In","Out","$ZodFunctionInternals","$ZodFunction","Items","NewArgs","NewReturns","Parameters","ReturnType","$ZodFunctionParams","$ZodPromiseDef","$ZodPromiseInternals","$ZodPromise","$ZodLazyDef","$ZodLazyInternals","$ZodLazy","$ZodCustomDef","$ZodCheckDef","$ZodCustomInternals","Class","$ZodCheckInternals","$ZodCustom","$ZodTypes","$ZodStringFormatTypes","HashFormat"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/schemas.d.cts"],"sourcesContent":["import * as checks from \"./checks.cjs\";\nimport * as core from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nimport { version } from \"./versions.cjs\";\nexport interface ParseContext<T extends errors.$ZodIssueBase = never> {\n /** Customize error messages. */\n readonly error?: errors.$ZodErrorMap<T>;\n /** Include the `input` field in issue objects. Default `false`. */\n readonly reportInput?: boolean;\n /** Skip eval-based fast path. Default `false`. */\n readonly jitless?: boolean;\n}\n/** @internal */\nexport interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {\n readonly async?: boolean | undefined;\n readonly direction?: \"forward\" | \"backward\";\n readonly skipChecks?: boolean;\n}\nexport interface ParsePayload<T = unknown> {\n value: T;\n issues: errors.$ZodRawIssue[];\n /** A may to mark a whole payload as aborted. Used in codecs/pipes. */\n aborted?: boolean;\n}\nexport type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;\nexport interface $ZodTypeDef {\n type: \"string\" | \"number\" | \"int\" | \"boolean\" | \"bigint\" | \"symbol\" | \"null\" | \"undefined\" | \"void\" | \"never\" | \"any\" | \"unknown\" | \"date\" | \"object\" | \"record\" | \"file\" | \"array\" | \"tuple\" | \"union\" | \"intersection\" | \"map\" | \"set\" | \"enum\" | \"literal\" | \"nullable\" | \"optional\" | \"nonoptional\" | \"success\" | \"transform\" | \"default\" | \"prefault\" | \"catch\" | \"nan\" | \"pipe\" | \"readonly\" | \"template_literal\" | \"promise\" | \"lazy\" | \"function\" | \"custom\";\n error?: errors.$ZodErrorMap<never> | undefined;\n checks?: checks.$ZodCheck<never>[];\n}\nexport interface _$ZodTypeInternals {\n /** The `@zod/core` version of this schema */\n version: typeof version;\n /** Schema definition. */\n def: $ZodTypeDef;\n /** @internal Randomly generated ID for this schema. */\n /** @internal List of deferred initializers. */\n deferred: util.AnyFunc[] | undefined;\n /** @internal Parses input and runs all checks (refinements). */\n run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\n /** @internal Parses input, doesn't run checks. */\n parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\n /** @internal Stores identifiers for the set of traits implemented by this schema. */\n traits: Set<string>;\n /** @internal Indicates that a schema output type should be considered optional inside objects.\n * @default Required\n */\n /** @internal */\n optin?: \"optional\" | undefined;\n /** @internal */\n optout?: \"optional\" | undefined;\n /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().\n *\n * Defined on: enum, const, literal, null, undefined\n * Passthrough: optional, nullable, branded, default, catch, pipe\n * Todo: unions?\n */\n values?: util.PrimitiveSet | undefined;\n /** Default value bubbled up from */\n /** @internal A set of literal discriminators used for the fast path in discriminated unions. */\n propValues?: util.PropValues | undefined;\n /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */\n pattern: RegExp | undefined;\n /** @internal The constructor function of this schema. */\n constr: new (def: any) => $ZodType;\n /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */\n bag: Record<string, unknown>;\n /** @internal The set of issues this schema might throw during type checking. */\n isst: errors.$ZodIssueBase;\n /** An optional method used to override `toJSONSchema` logic. */\n toJSONSchema?: () => unknown;\n /** @internal The parent of this schema. Only set during certain clone operations. */\n parent?: $ZodType | undefined;\n}\n/** @internal */\nexport interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {\n /** @internal The inferred output type */\n output: O;\n /** @internal The inferred input type */\n input: I;\n}\nexport type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;\nexport type SomeType = {\n _zod: _$ZodTypeInternals;\n};\nexport interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {\n _zod: Internals;\n \"~standard\": $ZodStandardSchema<this>;\n}\nexport interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T[\"output\"], T[\"input\"], T> {\n}\nexport declare const $ZodType: core.$constructor<$ZodType>;\nexport { clone } from \"./util.cjs\";\nexport interface $ZodStringDef extends $ZodTypeDef {\n type: \"string\";\n coerce?: boolean;\n checks?: checks.$ZodCheck<string>[];\n}\nexport interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {\n def: $ZodStringDef;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n /** @deprecated Internal API, use with caution (not deprecated) */\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n patterns: Set<RegExp>;\n format: string;\n contentEncoding: string;\n }>;\n}\nexport interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {\n}\nexport declare const $ZodString: core.$constructor<$ZodString>;\nexport interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {\n}\nexport interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {\n def: $ZodStringFormatDef<Format>;\n}\nexport interface $ZodStringFormat<Format extends string = string> extends $ZodType {\n _zod: $ZodStringFormatInternals<Format>;\n}\nexport declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;\nexport interface $ZodGUIDDef extends $ZodStringFormatDef<\"guid\"> {\n}\nexport interface $ZodGUIDInternals extends $ZodStringFormatInternals<\"guid\"> {\n}\nexport interface $ZodGUID extends $ZodType {\n _zod: $ZodGUIDInternals;\n}\nexport declare const $ZodGUID: core.$constructor<$ZodGUID>;\nexport interface $ZodUUIDDef extends $ZodStringFormatDef<\"uuid\"> {\n version?: \"v1\" | \"v2\" | \"v3\" | \"v4\" | \"v5\" | \"v6\" | \"v7\" | \"v8\";\n}\nexport interface $ZodUUIDInternals extends $ZodStringFormatInternals<\"uuid\"> {\n def: $ZodUUIDDef;\n}\nexport interface $ZodUUID extends $ZodType {\n _zod: $ZodUUIDInternals;\n}\nexport declare const $ZodUUID: core.$constructor<$ZodUUID>;\nexport interface $ZodEmailDef extends $ZodStringFormatDef<\"email\"> {\n}\nexport interface $ZodEmailInternals extends $ZodStringFormatInternals<\"email\"> {\n}\nexport interface $ZodEmail extends $ZodType {\n _zod: $ZodEmailInternals;\n}\nexport declare const $ZodEmail: core.$constructor<$ZodEmail>;\nexport interface $ZodURLDef extends $ZodStringFormatDef<\"url\"> {\n hostname?: RegExp | undefined;\n protocol?: RegExp | undefined;\n normalize?: boolean | undefined;\n}\nexport interface $ZodURLInternals extends $ZodStringFormatInternals<\"url\"> {\n def: $ZodURLDef;\n}\nexport interface $ZodURL extends $ZodType {\n _zod: $ZodURLInternals;\n}\nexport declare const $ZodURL: core.$constructor<$ZodURL>;\nexport interface $ZodEmojiDef extends $ZodStringFormatDef<\"emoji\"> {\n}\nexport interface $ZodEmojiInternals extends $ZodStringFormatInternals<\"emoji\"> {\n}\nexport interface $ZodEmoji extends $ZodType {\n _zod: $ZodEmojiInternals;\n}\nexport declare const $ZodEmoji: core.$constructor<$ZodEmoji>;\nexport interface $ZodNanoIDDef extends $ZodStringFormatDef<\"nanoid\"> {\n}\nexport interface $ZodNanoIDInternals extends $ZodStringFormatInternals<\"nanoid\"> {\n}\nexport interface $ZodNanoID extends $ZodType {\n _zod: $ZodNanoIDInternals;\n}\nexport declare const $ZodNanoID: core.$constructor<$ZodNanoID>;\nexport interface $ZodCUIDDef extends $ZodStringFormatDef<\"cuid\"> {\n}\nexport interface $ZodCUIDInternals extends $ZodStringFormatInternals<\"cuid\"> {\n}\nexport interface $ZodCUID extends $ZodType {\n _zod: $ZodCUIDInternals;\n}\nexport declare const $ZodCUID: core.$constructor<$ZodCUID>;\nexport interface $ZodCUID2Def extends $ZodStringFormatDef<\"cuid2\"> {\n}\nexport interface $ZodCUID2Internals extends $ZodStringFormatInternals<\"cuid2\"> {\n}\nexport interface $ZodCUID2 extends $ZodType {\n _zod: $ZodCUID2Internals;\n}\nexport declare const $ZodCUID2: core.$constructor<$ZodCUID2>;\nexport interface $ZodULIDDef extends $ZodStringFormatDef<\"ulid\"> {\n}\nexport interface $ZodULIDInternals extends $ZodStringFormatInternals<\"ulid\"> {\n}\nexport interface $ZodULID extends $ZodType {\n _zod: $ZodULIDInternals;\n}\nexport declare const $ZodULID: core.$constructor<$ZodULID>;\nexport interface $ZodXIDDef extends $ZodStringFormatDef<\"xid\"> {\n}\nexport interface $ZodXIDInternals extends $ZodStringFormatInternals<\"xid\"> {\n}\nexport interface $ZodXID extends $ZodType {\n _zod: $ZodXIDInternals;\n}\nexport declare const $ZodXID: core.$constructor<$ZodXID>;\nexport interface $ZodKSUIDDef extends $ZodStringFormatDef<\"ksuid\"> {\n}\nexport interface $ZodKSUIDInternals extends $ZodStringFormatInternals<\"ksuid\"> {\n}\nexport interface $ZodKSUID extends $ZodType {\n _zod: $ZodKSUIDInternals;\n}\nexport declare const $ZodKSUID: core.$constructor<$ZodKSUID>;\nexport interface $ZodISODateTimeDef extends $ZodStringFormatDef<\"datetime\"> {\n precision: number | null;\n offset: boolean;\n local: boolean;\n}\nexport interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {\n def: $ZodISODateTimeDef;\n}\nexport interface $ZodISODateTime extends $ZodType {\n _zod: $ZodISODateTimeInternals;\n}\nexport declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;\nexport interface $ZodISODateDef extends $ZodStringFormatDef<\"date\"> {\n}\nexport interface $ZodISODateInternals extends $ZodStringFormatInternals<\"date\"> {\n}\nexport interface $ZodISODate extends $ZodType {\n _zod: $ZodISODateInternals;\n}\nexport declare const $ZodISODate: core.$constructor<$ZodISODate>;\nexport interface $ZodISOTimeDef extends $ZodStringFormatDef<\"time\"> {\n precision?: number | null;\n}\nexport interface $ZodISOTimeInternals extends $ZodStringFormatInternals<\"time\"> {\n def: $ZodISOTimeDef;\n}\nexport interface $ZodISOTime extends $ZodType {\n _zod: $ZodISOTimeInternals;\n}\nexport declare const $ZodISOTime: core.$constructor<$ZodISOTime>;\nexport interface $ZodISODurationDef extends $ZodStringFormatDef<\"duration\"> {\n}\nexport interface $ZodISODurationInternals extends $ZodStringFormatInternals<\"duration\"> {\n}\nexport interface $ZodISODuration extends $ZodType {\n _zod: $ZodISODurationInternals;\n}\nexport declare const $ZodISODuration: core.$constructor<$ZodISODuration>;\nexport interface $ZodIPv4Def extends $ZodStringFormatDef<\"ipv4\"> {\n version?: \"v4\";\n}\nexport interface $ZodIPv4Internals extends $ZodStringFormatInternals<\"ipv4\"> {\n def: $ZodIPv4Def;\n}\nexport interface $ZodIPv4 extends $ZodType {\n _zod: $ZodIPv4Internals;\n}\nexport declare const $ZodIPv4: core.$constructor<$ZodIPv4>;\nexport interface $ZodIPv6Def extends $ZodStringFormatDef<\"ipv6\"> {\n version?: \"v6\";\n}\nexport interface $ZodIPv6Internals extends $ZodStringFormatInternals<\"ipv6\"> {\n def: $ZodIPv6Def;\n}\nexport interface $ZodIPv6 extends $ZodType {\n _zod: $ZodIPv6Internals;\n}\nexport declare const $ZodIPv6: core.$constructor<$ZodIPv6>;\nexport interface $ZodCIDRv4Def extends $ZodStringFormatDef<\"cidrv4\"> {\n version?: \"v4\";\n}\nexport interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<\"cidrv4\"> {\n def: $ZodCIDRv4Def;\n}\nexport interface $ZodCIDRv4 extends $ZodType {\n _zod: $ZodCIDRv4Internals;\n}\nexport declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;\nexport interface $ZodCIDRv6Def extends $ZodStringFormatDef<\"cidrv6\"> {\n version?: \"v6\";\n}\nexport interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<\"cidrv6\"> {\n def: $ZodCIDRv6Def;\n}\nexport interface $ZodCIDRv6 extends $ZodType {\n _zod: $ZodCIDRv6Internals;\n}\nexport declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;\nexport declare function isValidBase64(data: string): boolean;\nexport interface $ZodBase64Def extends $ZodStringFormatDef<\"base64\"> {\n}\nexport interface $ZodBase64Internals extends $ZodStringFormatInternals<\"base64\"> {\n}\nexport interface $ZodBase64 extends $ZodType {\n _zod: $ZodBase64Internals;\n}\nexport declare const $ZodBase64: core.$constructor<$ZodBase64>;\nexport declare function isValidBase64URL(data: string): boolean;\nexport interface $ZodBase64URLDef extends $ZodStringFormatDef<\"base64url\"> {\n}\nexport interface $ZodBase64URLInternals extends $ZodStringFormatInternals<\"base64url\"> {\n}\nexport interface $ZodBase64URL extends $ZodType {\n _zod: $ZodBase64URLInternals;\n}\nexport declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;\nexport interface $ZodE164Def extends $ZodStringFormatDef<\"e164\"> {\n}\nexport interface $ZodE164Internals extends $ZodStringFormatInternals<\"e164\"> {\n}\nexport interface $ZodE164 extends $ZodType {\n _zod: $ZodE164Internals;\n}\nexport declare const $ZodE164: core.$constructor<$ZodE164>;\nexport declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;\nexport interface $ZodJWTDef extends $ZodStringFormatDef<\"jwt\"> {\n alg?: util.JWTAlgorithm | undefined;\n}\nexport interface $ZodJWTInternals extends $ZodStringFormatInternals<\"jwt\"> {\n def: $ZodJWTDef;\n}\nexport interface $ZodJWT extends $ZodType {\n _zod: $ZodJWTInternals;\n}\nexport declare const $ZodJWT: core.$constructor<$ZodJWT>;\nexport interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {\n fn: (val: string) => unknown;\n}\nexport interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {\n def: $ZodCustomStringFormatDef<Format>;\n}\nexport interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {\n _zod: $ZodCustomStringFormatInternals<Format>;\n}\nexport declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;\nexport interface $ZodNumberDef extends $ZodTypeDef {\n type: \"number\";\n coerce?: boolean;\n}\nexport interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {\n def: $ZodNumberDef;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n /** @deprecated Internal API, use with caution (not deprecated) */\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n exclusiveMinimum: number;\n exclusiveMaximum: number;\n format: string;\n pattern: RegExp;\n }>;\n}\nexport interface $ZodNumber<Input = unknown> extends $ZodType {\n _zod: $ZodNumberInternals<Input>;\n}\nexport declare const $ZodNumber: core.$constructor<$ZodNumber>;\nexport interface $ZodNumberFormatDef extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef {\n}\nexport interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals {\n def: $ZodNumberFormatDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNumberFormat extends $ZodType {\n _zod: $ZodNumberFormatInternals;\n}\nexport declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;\nexport interface $ZodBooleanDef extends $ZodTypeDef {\n type: \"boolean\";\n coerce?: boolean;\n checks?: checks.$ZodCheck<boolean>[];\n}\nexport interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {\n pattern: RegExp;\n def: $ZodBooleanDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodBoolean<T = unknown> extends $ZodType {\n _zod: $ZodBooleanInternals<T>;\n}\nexport declare const $ZodBoolean: core.$constructor<$ZodBoolean>;\nexport interface $ZodBigIntDef extends $ZodTypeDef {\n type: \"bigint\";\n coerce?: boolean;\n}\nexport interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {\n pattern: RegExp;\n /** @internal Internal API, use with caution */\n def: $ZodBigIntDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: bigint;\n maximum: bigint;\n format: string;\n }>;\n}\nexport interface $ZodBigInt<T = unknown> extends $ZodType {\n _zod: $ZodBigIntInternals<T>;\n}\nexport declare const $ZodBigInt: core.$constructor<$ZodBigInt>;\nexport interface $ZodBigIntFormatDef extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef {\n check: \"bigint_format\";\n}\nexport interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals {\n def: $ZodBigIntFormatDef;\n}\nexport interface $ZodBigIntFormat extends $ZodType {\n _zod: $ZodBigIntFormatInternals;\n}\nexport declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;\nexport interface $ZodSymbolDef extends $ZodTypeDef {\n type: \"symbol\";\n}\nexport interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {\n def: $ZodSymbolDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodSymbol extends $ZodType {\n _zod: $ZodSymbolInternals;\n}\nexport declare const $ZodSymbol: core.$constructor<$ZodSymbol>;\nexport interface $ZodUndefinedDef extends $ZodTypeDef {\n type: \"undefined\";\n}\nexport interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {\n pattern: RegExp;\n def: $ZodUndefinedDef;\n values: util.PrimitiveSet;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodUndefined extends $ZodType {\n _zod: $ZodUndefinedInternals;\n}\nexport declare const $ZodUndefined: core.$constructor<$ZodUndefined>;\nexport interface $ZodNullDef extends $ZodTypeDef {\n type: \"null\";\n}\nexport interface $ZodNullInternals extends $ZodTypeInternals<null, null> {\n pattern: RegExp;\n def: $ZodNullDef;\n values: util.PrimitiveSet;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNull extends $ZodType {\n _zod: $ZodNullInternals;\n}\nexport declare const $ZodNull: core.$constructor<$ZodNull>;\nexport interface $ZodAnyDef extends $ZodTypeDef {\n type: \"any\";\n}\nexport interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {\n def: $ZodAnyDef;\n isst: never;\n}\nexport interface $ZodAny extends $ZodType {\n _zod: $ZodAnyInternals;\n}\nexport declare const $ZodAny: core.$constructor<$ZodAny>;\nexport interface $ZodUnknownDef extends $ZodTypeDef {\n type: \"unknown\";\n}\nexport interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {\n def: $ZodUnknownDef;\n isst: never;\n}\nexport interface $ZodUnknown extends $ZodType {\n _zod: $ZodUnknownInternals;\n}\nexport declare const $ZodUnknown: core.$constructor<$ZodUnknown>;\nexport interface $ZodNeverDef extends $ZodTypeDef {\n type: \"never\";\n}\nexport interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {\n def: $ZodNeverDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNever extends $ZodType {\n _zod: $ZodNeverInternals;\n}\nexport declare const $ZodNever: core.$constructor<$ZodNever>;\nexport interface $ZodVoidDef extends $ZodTypeDef {\n type: \"void\";\n}\nexport interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {\n def: $ZodVoidDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodVoid extends $ZodType {\n _zod: $ZodVoidInternals;\n}\nexport declare const $ZodVoid: core.$constructor<$ZodVoid>;\nexport interface $ZodDateDef extends $ZodTypeDef {\n type: \"date\";\n coerce?: boolean;\n}\nexport interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {\n def: $ZodDateDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: Date;\n maximum: Date;\n format: string;\n }>;\n}\nexport interface $ZodDate<T = unknown> extends $ZodType {\n _zod: $ZodDateInternals<T>;\n}\nexport declare const $ZodDate: core.$constructor<$ZodDate>;\nexport interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"array\";\n element: T;\n}\nexport interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {\n def: $ZodArrayDef<T>;\n isst: errors.$ZodIssueInvalidType;\n output: core.output<T>[];\n input: core.input<T>[];\n}\nexport interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {\n}\nexport declare const $ZodArray: core.$constructor<$ZodArray>;\ntype OptionalOutSchema = {\n _zod: {\n optout: \"optional\";\n };\n};\ntype OptionalInSchema = {\n _zod: {\n optin: \"optional\";\n };\n};\nexport type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k][\"_zod\"][\"output\"];\n} & {\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k][\"_zod\"][\"output\"];\n} & Extra>;\nexport type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k][\"_zod\"][\"input\"];\n} & {\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k][\"_zod\"][\"input\"];\n} & Extra>;\nexport type $ZodObjectConfig = {\n out: Record<string, unknown>;\n in: Record<string, unknown>;\n};\nexport type $loose = {\n out: Record<string, unknown>;\n in: Record<string, unknown>;\n};\nexport type $strict = {\n out: {};\n in: {};\n};\nexport type $strip = {\n out: {};\n in: {};\n};\nexport type $catchall<T extends SomeType> = {\n out: {\n [k: string]: core.output<T>;\n };\n in: {\n [k: string]: core.input<T>;\n };\n};\nexport type $ZodShape = Readonly<{\n [k: string]: $ZodType;\n}>;\nexport interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {\n type: \"object\";\n shape: Shape;\n catchall?: $ZodType | undefined;\n}\nexport interface $ZodObjectInternals<\n/** @ts-ignore Cast variance */\nout Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {\n def: $ZodObjectDef<Shape>;\n config: Config;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;\n propValues: util.PropValues;\n output: $InferObjectOutput<Shape, Config[\"out\"]>;\n input: $InferObjectInput<Shape, Config[\"in\"]>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport type $ZodLooseShape = Record<string, any>;\nexport interface $ZodObject<\n/** @ts-ignore Cast variance */\nout Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {\n \"~standard\": $ZodStandardSchema<this>;\n}\nexport declare const $ZodObject: core.$constructor<$ZodObject>;\nexport declare const $ZodObjectJIT: core.$constructor<$ZodObject>;\nexport type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;\nexport type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;\nexport interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {\n type: \"union\";\n options: Options;\n}\ntype IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;\ntype IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;\nexport interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {\n def: $ZodUnionDef<T>;\n isst: errors.$ZodIssueInvalidUnion;\n pattern: T[number][\"_zod\"][\"pattern\"];\n values: T[number][\"_zod\"][\"values\"];\n output: $InferUnionOutput<T[number]>;\n input: $InferUnionInput<T[number]>;\n optin: IsOptionalIn<T[number]> extends false ? \"optional\" | undefined : \"optional\";\n optout: IsOptionalOut<T[number]> extends false ? \"optional\" | undefined : \"optional\";\n}\nexport interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {\n _zod: $ZodUnionInternals<T>;\n}\nexport declare const $ZodUnion: core.$constructor<$ZodUnion>;\nexport interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {\n discriminator: Disc;\n unionFallback?: boolean;\n}\nexport interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {\n def: $ZodDiscriminatedUnionDef<Options, Disc>;\n propValues: util.PropValues;\n}\nexport interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {\n _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;\n}\nexport declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;\nexport interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"intersection\";\n left: Left;\n right: Right;\n}\nexport interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {\n def: $ZodIntersectionDef<A, B>;\n isst: never;\n optin: A[\"_zod\"][\"optin\"] | B[\"_zod\"][\"optin\"];\n optout: A[\"_zod\"][\"optout\"] | B[\"_zod\"][\"optout\"];\n output: core.output<A> & core.output<B>;\n input: core.input<A> & core.input<B>;\n}\nexport interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodIntersectionInternals<A, B>;\n}\nexport declare const $ZodIntersection: core.$constructor<$ZodIntersection>;\nexport interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {\n type: \"tuple\";\n items: T;\n rest: Rest;\n}\nexport type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [\n ...TupleInputTypeWithOptionals<T>,\n ...(Rest extends SomeType ? core.input<Rest>[] : [])\n];\ntype TupleInputTypeNoOptionals<T extends util.TupleItems> = {\n [k in keyof T]: core.input<T[k]>;\n};\ntype TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\n ...infer Prefix extends SomeType[],\n infer Tail extends SomeType\n] ? Tail[\"_zod\"][\"optin\"] extends \"optional\" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];\nexport type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [\n ...TupleOutputTypeWithOptionals<T>,\n ...(Rest extends SomeType ? core.output<Rest>[] : [])\n];\ntype TupleOutputTypeNoOptionals<T extends util.TupleItems> = {\n [k in keyof T]: core.output<T[k]>;\n};\ntype TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\n ...infer Prefix extends SomeType[],\n infer Tail extends SomeType\n] ? Tail[\"_zod\"][\"optout\"] extends \"optional\" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];\nexport interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {\n def: $ZodTupleDef<T, Rest>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;\n output: $InferTupleOutputType<T, Rest>;\n input: $InferTupleInputType<T, Rest>;\n}\nexport interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {\n _zod: $ZodTupleInternals<T, Rest>;\n}\nexport declare const $ZodTuple: core.$constructor<$ZodTuple>;\nexport type $ZodRecordKey = $ZodType<string | number | symbol, string | number | symbol>;\nexport interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"record\";\n keyType: Key;\n valueType: Value;\n}\nexport type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.output<Key>, core.output<Value>>> : Record<core.output<Key>, core.output<Value>>;\nexport type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key>, core.input<Value>>> : Record<core.input<Key>, core.input<Value>>;\nexport interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {\n def: $ZodRecordDef<Key, Value>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport type $partial = {\n \"~~partial\": true;\n};\nexport interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodRecordInternals<Key, Value>;\n}\nexport declare const $ZodRecord: core.$constructor<$ZodRecord>;\nexport interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"map\";\n keyType: Key;\n valueType: Value;\n}\nexport interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {\n def: $ZodMapDef<Key, Value>;\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodMapInternals<Key, Value>;\n}\nexport declare const $ZodMap: core.$constructor<$ZodMap>;\nexport interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"set\";\n valueType: T;\n}\nexport interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {\n def: $ZodSetDef<T>;\n isst: errors.$ZodIssueInvalidType;\n optin?: \"optional\" | undefined;\n optout?: \"optional\" | undefined;\n}\nexport interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodSetInternals<T>;\n}\nexport declare const $ZodSet: core.$constructor<$ZodSet>;\nexport type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};\nexport type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};\nexport interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {\n type: \"enum\";\n entries: T;\n}\nexport interface $ZodEnumInternals<\n/** @ts-ignore Cast variance */\nout T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {\n def: $ZodEnumDef<T>;\n /** @deprecated Internal API, use with caution (not deprecated) */\n values: util.PrimitiveSet;\n /** @deprecated Internal API, use with caution (not deprecated) */\n pattern: RegExp;\n isst: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {\n _zod: $ZodEnumInternals<T>;\n}\nexport declare const $ZodEnum: core.$constructor<$ZodEnum>;\nexport interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {\n type: \"literal\";\n values: T[];\n}\nexport interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {\n def: $ZodLiteralDef<T>;\n values: Set<T>;\n pattern: RegExp;\n isst: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {\n _zod: $ZodLiteralInternals<T>;\n}\nexport declare const $ZodLiteral: core.$constructor<$ZodLiteral>;\ntype _File = typeof globalThis extends {\n File: infer F extends new (...args: any[]) => any;\n} ? InstanceType<F> : {};\n/** Do not reference this directly. */\nexport interface File extends _File {\n readonly type: string;\n readonly size: number;\n}\nexport interface $ZodFileDef extends $ZodTypeDef {\n type: \"file\";\n}\nexport interface $ZodFileInternals extends $ZodTypeInternals<File, File> {\n def: $ZodFileDef;\n isst: errors.$ZodIssueInvalidType;\n bag: util.LoosePartial<{\n minimum: number;\n maximum: number;\n mime: util.MimeTypes[];\n }>;\n}\nexport interface $ZodFile extends $ZodType {\n _zod: $ZodFileInternals;\n}\nexport declare const $ZodFile: core.$constructor<$ZodFile>;\nexport interface $ZodTransformDef extends $ZodTypeDef {\n type: \"transform\";\n transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;\n}\nexport interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {\n def: $ZodTransformDef;\n isst: never;\n}\nexport interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {\n _zod: $ZodTransformInternals<O, I>;\n}\nexport declare const $ZodTransform: core.$constructor<$ZodTransform>;\nexport interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"optional\";\n innerType: T;\n}\nexport interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {\n def: $ZodOptionalDef<T>;\n optin: \"optional\";\n optout: \"optional\";\n isst: never;\n values: T[\"_zod\"][\"values\"];\n pattern: T[\"_zod\"][\"pattern\"];\n}\nexport interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodOptionalInternals<T>;\n}\nexport declare const $ZodOptional: core.$constructor<$ZodOptional>;\nexport interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"nullable\";\n innerType: T;\n}\nexport interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {\n def: $ZodNullableDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n values: T[\"_zod\"][\"values\"];\n pattern: T[\"_zod\"][\"pattern\"];\n}\nexport interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodNullableInternals<T>;\n}\nexport declare const $ZodNullable: core.$constructor<$ZodNullable>;\nexport interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"default\";\n innerType: T;\n /** The default value. May be a getter. */\n defaultValue: util.NoUndefined<core.output<T>>;\n}\nexport interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\n def: $ZodDefaultDef<T>;\n optin: \"optional\";\n optout?: \"optional\" | undefined;\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodDefaultInternals<T>;\n}\nexport declare const $ZodDefault: core.$constructor<$ZodDefault>;\nexport interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"prefault\";\n innerType: T;\n /** The default value. May be a getter. */\n defaultValue: core.input<T>;\n}\nexport interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\n def: $ZodPrefaultDef<T>;\n optin: \"optional\";\n optout?: \"optional\" | undefined;\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPrefaultInternals<T>;\n}\nexport declare const $ZodPrefault: core.$constructor<$ZodPrefault>;\nexport interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"nonoptional\";\n innerType: T;\n}\nexport interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {\n def: $ZodNonOptionalDef<T>;\n isst: errors.$ZodIssueInvalidType;\n values: T[\"_zod\"][\"values\"];\n optin: \"optional\" | undefined;\n optout: \"optional\" | undefined;\n}\nexport interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodNonOptionalInternals<T>;\n}\nexport declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;\nexport interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"success\";\n innerType: T;\n}\nexport interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {\n def: $ZodSuccessDef<T>;\n isst: never;\n optin: T[\"_zod\"][\"optin\"];\n optout: \"optional\" | undefined;\n}\nexport interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodSuccessInternals<T>;\n}\nexport declare const $ZodSuccess: core.$constructor<$ZodSuccess>;\nexport interface $ZodCatchCtx extends ParsePayload {\n /** @deprecated Use `ctx.issues` */\n error: {\n issues: errors.$ZodIssue[];\n };\n /** @deprecated Use `ctx.value` */\n input: unknown;\n}\nexport interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"catch\";\n innerType: T;\n catchValue: (ctx: $ZodCatchCtx) => unknown;\n}\nexport interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\n def: $ZodCatchDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodCatchInternals<T>;\n}\nexport declare const $ZodCatch: core.$constructor<$ZodCatch>;\nexport interface $ZodNaNDef extends $ZodTypeDef {\n type: \"nan\";\n}\nexport interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {\n def: $ZodNaNDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodNaN extends $ZodType {\n _zod: $ZodNaNInternals;\n}\nexport declare const $ZodNaN: core.$constructor<$ZodNaN>;\nexport interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"pipe\";\n in: A;\n out: B;\n /** Only defined inside $ZodCodec instances. */\n transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\n /** Only defined inside $ZodCodec instances. */\n reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\n}\nexport interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\n def: $ZodPipeDef<A, B>;\n isst: never;\n values: A[\"_zod\"][\"values\"];\n optin: A[\"_zod\"][\"optin\"];\n optout: B[\"_zod\"][\"optout\"];\n propValues: A[\"_zod\"][\"propValues\"];\n}\nexport interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPipeInternals<A, B>;\n}\nexport declare const $ZodPipe: core.$constructor<$ZodPipe>;\nexport interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {\n transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\n reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\n}\nexport interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\n def: $ZodCodecDef<A, B>;\n isst: never;\n values: A[\"_zod\"][\"values\"];\n optin: A[\"_zod\"][\"optin\"];\n optout: B[\"_zod\"][\"optout\"];\n propValues: A[\"_zod\"][\"propValues\"];\n}\nexport interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodCodecInternals<A, B>;\n}\nexport declare const $ZodCodec: core.$constructor<$ZodCodec>;\nexport interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"readonly\";\n innerType: T;\n}\nexport interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {\n def: $ZodReadonlyDef<T>;\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n isst: never;\n propValues: T[\"_zod\"][\"propValues\"];\n values: T[\"_zod\"][\"values\"];\n}\nexport interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodReadonlyInternals<T>;\n}\nexport declare const $ZodReadonly: core.$constructor<$ZodReadonly>;\nexport interface $ZodTemplateLiteralDef extends $ZodTypeDef {\n type: \"template_literal\";\n parts: $ZodTemplateLiteralPart[];\n format?: string | undefined;\n}\nexport interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {\n pattern: RegExp;\n def: $ZodTemplateLiteralDef;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {\n _zod: $ZodTemplateLiteralInternals<Template>;\n}\ntype LiteralPart = Exclude<util.Literal, symbol>;\ninterface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {\n pattern: RegExp;\n}\ninterface SchemaPart extends $ZodType {\n _zod: SchemaPartInternals;\n}\nexport type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;\ntype UndefinedToEmptyString<T> = T extends undefined ? \"\" : T;\ntype AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;\nexport type ConcatenateTupleOfStrings<T extends string[]> = T extends [\n infer First extends string,\n ...infer Rest extends string[]\n] ? Rest extends string[] ? First extends \"\" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : \"\";\nexport type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {\n [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;\n};\nexport type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;\nexport type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;\nexport declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;\nexport type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;\nexport type $ZodFunctionIn = $ZodFunctionArgs;\nexport type $ZodFunctionOut = $ZodType;\nexport type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;\nexport type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;\nexport type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;\nexport type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => util.MaybeAsync<core.output<Returns>>;\nexport interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {\n type: \"function\";\n input: In;\n output: Out;\n}\nexport interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {\n def: $ZodFunctionDef<Args, Returns>;\n isst: errors.$ZodIssueInvalidType;\n}\nexport interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {\n /** @deprecated */\n _def: $ZodFunctionDef<Args, Returns>;\n _input: $InferInnerFunctionType<Args, Returns>;\n _output: $InferOuterFunctionType<Args, Returns>;\n implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this[\"_output\"]>) => ReturnType<F> extends ReturnType<this[\"_output\"]> ? ReturnType<F> : ReturnType<this[\"_output\"]>;\n implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;\n input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;\n input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;\n input(...args: any[]): $ZodFunction<any, Returns>;\n output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;\n}\nexport interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {\n input?: I;\n output?: O;\n}\nexport declare const $ZodFunction: core.$constructor<$ZodFunction>;\nexport interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"promise\";\n innerType: T;\n}\nexport interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, util.MaybeAsync<core.input<T>>> {\n def: $ZodPromiseDef<T>;\n isst: never;\n}\nexport interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodPromiseInternals<T>;\n}\nexport declare const $ZodPromise: core.$constructor<$ZodPromise>;\nexport interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\n type: \"lazy\";\n getter: () => T;\n}\nexport interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\n def: $ZodLazyDef<T>;\n isst: never;\n /** Auto-cached way to retrieve the inner schema */\n innerType: T;\n pattern: T[\"_zod\"][\"pattern\"];\n propValues: T[\"_zod\"][\"propValues\"];\n optin: T[\"_zod\"][\"optin\"];\n optout: T[\"_zod\"][\"optout\"];\n}\nexport interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {\n _zod: $ZodLazyInternals<T>;\n}\nexport declare const $ZodLazy: core.$constructor<$ZodLazy>;\nexport interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {\n type: \"custom\";\n check: \"custom\";\n path?: PropertyKey[] | undefined;\n error?: errors.$ZodErrorMap | undefined;\n params?: Record<string, any> | undefined;\n fn: (arg: O) => unknown;\n}\nexport interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {\n def: $ZodCustomDef;\n issc: errors.$ZodIssue;\n isst: never;\n bag: util.LoosePartial<{\n Class: typeof util.Class;\n }>;\n}\nexport interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {\n _zod: $ZodCustomInternals<O, I>;\n}\nexport declare const $ZodCustom: core.$constructor<$ZodCustom>;\nexport type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;\nexport type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<\"hex\"> | $ZodCustomStringFormat<util.HashFormat> | $ZodC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oBAAoBS,WAAWT,kBAAkBA;QACtFuR,kBAAkBzF,GAAGC;;cAEVyF,UAAU9S,aAAkB8S;UAiBhCI,4BAA0BnR,WAAWT,kBAAkBR;;aAEzDR;;UAEE6S,kCAAgCpR,WAAWT,kBAAkBE,kBAAkBrB,aAAkBH,OAAYM,OAAKH,aAAkBH,MAAWM;OACvJ4S,gBAAgB5S;SACdA;UACCA;;cAEIA;UACJA;;UAEK+S,yBAAuBtR,WAAWT,kBAAkBA;QAC3D6R,sBAAsB7S;;cAEX+S,cAAcrT,aAAkBqT;UAiGpC+C,mCAAmCtV,aAAaf;;;SAGtDgP;UACC9O;WACCsB;YACCE;;UAEG6U,sDAAsD9U,kBAAkBC,GAAGC,IAAI3B,mBAA0B0B;OACjH2U;QACCnW;;OAEDE;kBACaA;;;UAGLsW,6CAA6CnV;QACpDgV,oBAAoB7U,GAAGC;;cAEZ+U,YAAYzW,aAAkByW"}
|
package/schemas3.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ declare const conversationSchema: ZodObject<{
|
|
|
12
12
|
visitorId: ZodString;
|
|
13
13
|
websiteId: ZodString;
|
|
14
14
|
status: ZodDefault<ZodEnum<{
|
|
15
|
-
open: "open";
|
|
16
15
|
resolved: "resolved";
|
|
16
|
+
open: "open";
|
|
17
17
|
spam: "spam";
|
|
18
18
|
}>>;
|
|
19
19
|
deletedAt: ZodDefault<ZodNullable<ZodString>>;
|
|
@@ -26,8 +26,8 @@ declare const conversationSchema: ZodObject<{
|
|
|
26
26
|
private: "private";
|
|
27
27
|
}>;
|
|
28
28
|
type: ZodEnum<{
|
|
29
|
-
message: "message";
|
|
30
29
|
event: "event";
|
|
30
|
+
message: "message";
|
|
31
31
|
identification: "identification";
|
|
32
32
|
}>;
|
|
33
33
|
text: ZodNullable<ZodString>;
|
|
@@ -38,7 +38,6 @@ declare const conversationSchema: ZodObject<{
|
|
|
38
38
|
}, $strip>, ZodObject<{
|
|
39
39
|
type: ZodLiteral<"event">;
|
|
40
40
|
eventType: ZodEnum<{
|
|
41
|
-
resolved: "resolved";
|
|
42
41
|
assigned: "assigned";
|
|
43
42
|
unassigned: "unassigned";
|
|
44
43
|
participant_requested: "participant_requested";
|
|
@@ -48,6 +47,7 @@ declare const conversationSchema: ZodObject<{
|
|
|
48
47
|
priority_changed: "priority_changed";
|
|
49
48
|
tag_added: "tag_added";
|
|
50
49
|
tag_removed: "tag_removed";
|
|
50
|
+
resolved: "resolved";
|
|
51
51
|
reopened: "reopened";
|
|
52
52
|
visitor_blocked: "visitor_blocked";
|
|
53
53
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-store.d.ts","names":[],"sources":["../../src/store/create-store.ts"],"sourcesContent":[],"mappings":";KAAY,gCAAgC;AAAhC,KAEA,gBAAA,GAFa,GAAA,
|
|
1
|
+
{"version":3,"file":"create-store.d.ts","names":[],"sources":["../../src/store/create-store.ts"],"sourcesContent":[],"mappings":";KAAY,gCAAgC;AAAhC,KAEA,gBAAA,GAFa,GAAA,GAAmB,IAAA;AAEhC,KAEA,YAFgB,CAAA,MAAA,CAAA,GAAA,CAAA,KAAA,EAEe,MAFf,EAAA,GAE0B,MAF1B;AAEhB,KAEA,KAFA,CAAA,MAAY,CAAA,GAAA;EAEZ,QAAK,EAAA,EACJ,MADI;EACJ,QAAA,CAAA,OAAA,EACM,YADN,CACmB,MADnB,CAAA,CAAA,EAAA,IAAA;EACmB,SAAA,CAAA,QAAA,EACX,aADW,CACG,MADH,CAAA,CAAA,EACa,gBADb;EAAb,KAAA,CAAA,EAAA,EAAA,GAAA,GAAA,IAAA,CAAA,EAAA,IAAA;CACgB;AAAd,iBAIL,WAJK,CAAA,MAAA,CAAA,CAAA,YAAA,EAI6B,MAJ7B,CAAA,EAIsC,KAJtC,CAI4C,MAJ5C,CAAA"}
|
package/timeline-item.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
15
15
|
private: "private";
|
|
16
16
|
}>;
|
|
17
17
|
type: ZodEnum<{
|
|
18
|
-
message: "message";
|
|
19
18
|
event: "event";
|
|
19
|
+
message: "message";
|
|
20
20
|
identification: "identification";
|
|
21
21
|
}>;
|
|
22
22
|
text: ZodNullable<ZodString>;
|
|
@@ -27,7 +27,6 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
27
27
|
}, $strip>, ZodObject<{
|
|
28
28
|
type: ZodLiteral<"event">;
|
|
29
29
|
eventType: ZodEnum<{
|
|
30
|
-
resolved: "resolved";
|
|
31
30
|
assigned: "assigned";
|
|
32
31
|
unassigned: "unassigned";
|
|
33
32
|
participant_requested: "participant_requested";
|
|
@@ -37,6 +36,7 @@ declare const timelineItemSchema: ZodObject<{
|
|
|
37
36
|
priority_changed: "priority_changed";
|
|
38
37
|
tag_added: "tag_added";
|
|
39
38
|
tag_removed: "tag_removed";
|
|
39
|
+
resolved: "resolved";
|
|
40
40
|
reopened: "reopened";
|
|
41
41
|
visitor_blocked: "visitor_blocked";
|
|
42
42
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -85,8 +85,8 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
85
85
|
private: "private";
|
|
86
86
|
}>;
|
|
87
87
|
type: ZodEnum<{
|
|
88
|
-
message: "message";
|
|
89
88
|
event: "event";
|
|
89
|
+
message: "message";
|
|
90
90
|
identification: "identification";
|
|
91
91
|
}>;
|
|
92
92
|
text: ZodNullable<ZodString>;
|
|
@@ -97,7 +97,6 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
97
97
|
}, $strip>, ZodObject<{
|
|
98
98
|
type: ZodLiteral<"event">;
|
|
99
99
|
eventType: ZodEnum<{
|
|
100
|
-
resolved: "resolved";
|
|
101
100
|
assigned: "assigned";
|
|
102
101
|
unassigned: "unassigned";
|
|
103
102
|
participant_requested: "participant_requested";
|
|
@@ -107,6 +106,7 @@ declare const getConversationTimelineItemsResponseSchema: ZodObject<{
|
|
|
107
106
|
priority_changed: "priority_changed";
|
|
108
107
|
tag_added: "tag_added";
|
|
109
108
|
tag_removed: "tag_removed";
|
|
109
|
+
resolved: "resolved";
|
|
110
110
|
reopened: "reopened";
|
|
111
111
|
visitor_blocked: "visitor_blocked";
|
|
112
112
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -147,8 +147,8 @@ declare const sendTimelineItemRequestSchema: ZodObject<{
|
|
|
147
147
|
item: ZodObject<{
|
|
148
148
|
id: ZodOptional<ZodString>;
|
|
149
149
|
type: ZodDefault<ZodEnum<{
|
|
150
|
-
message: "message";
|
|
151
150
|
event: "event";
|
|
151
|
+
message: "message";
|
|
152
152
|
}>>;
|
|
153
153
|
text: ZodString;
|
|
154
154
|
parts: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
|
|
@@ -157,7 +157,6 @@ declare const sendTimelineItemRequestSchema: ZodObject<{
|
|
|
157
157
|
}, $strip>, ZodObject<{
|
|
158
158
|
type: ZodLiteral<"event">;
|
|
159
159
|
eventType: ZodEnum<{
|
|
160
|
-
resolved: "resolved";
|
|
161
160
|
assigned: "assigned";
|
|
162
161
|
unassigned: "unassigned";
|
|
163
162
|
participant_requested: "participant_requested";
|
|
@@ -167,6 +166,7 @@ declare const sendTimelineItemRequestSchema: ZodObject<{
|
|
|
167
166
|
priority_changed: "priority_changed";
|
|
168
167
|
tag_added: "tag_added";
|
|
169
168
|
tag_removed: "tag_removed";
|
|
169
|
+
resolved: "resolved";
|
|
170
170
|
reopened: "reopened";
|
|
171
171
|
visitor_blocked: "visitor_blocked";
|
|
172
172
|
visitor_unblocked: "visitor_unblocked";
|
|
@@ -214,8 +214,8 @@ declare const sendTimelineItemResponseSchema: ZodObject<{
|
|
|
214
214
|
private: "private";
|
|
215
215
|
}>;
|
|
216
216
|
type: ZodEnum<{
|
|
217
|
-
message: "message";
|
|
218
217
|
event: "event";
|
|
218
|
+
message: "message";
|
|
219
219
|
identification: "identification";
|
|
220
220
|
}>;
|
|
221
221
|
text: ZodNullable<ZodString>;
|
|
@@ -226,7 +226,6 @@ declare const sendTimelineItemResponseSchema: ZodObject<{
|
|
|
226
226
|
}, $strip>, ZodObject<{
|
|
227
227
|
type: ZodLiteral<"event">;
|
|
228
228
|
eventType: ZodEnum<{
|
|
229
|
-
resolved: "resolved";
|
|
230
229
|
assigned: "assigned";
|
|
231
230
|
unassigned: "unassigned";
|
|
232
231
|
participant_requested: "participant_requested";
|
|
@@ -236,6 +235,7 @@ declare const sendTimelineItemResponseSchema: ZodObject<{
|
|
|
236
235
|
priority_changed: "priority_changed";
|
|
237
236
|
tag_added: "tag_added";
|
|
238
237
|
tag_removed: "tag_removed";
|
|
238
|
+
resolved: "resolved";
|
|
239
239
|
reopened: "reopened";
|
|
240
240
|
visitor_blocked: "visitor_blocked";
|
|
241
241
|
visitor_unblocked: "visitor_unblocked";
|
package/timeline-item.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-item.d.ts","names":[],"sources":["../../types/src/api/timeline-item.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAgMY,cA9EC,kBA8ED,EA9EmB,SA8EgB,CAAA;EAIlC,EAAA,aAAA,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA9BD,kBAAA,GAAqB,cAAe;KAEpC,YAAA,GAAe,cAAe;cAS7B,2CAAyC;;;;AAmBC,KAJ3C,mCAAA,GAAsC,MAIK,CAAA,OAH/C,yCAG+C,CAAA;AAAA,cAA1C,0CAA0C,EAAA,SAAA,CAAA;EAiB3C,KAAA,UAAA,UAAA,CAAA;IAKC,EAAA,aAAA,UAkDV,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAvDS,oCAAA,GAAuC,cAC3C;cAIK,+BAA6B;;;;;MAAA,
|
|
1
|
+
{"version":3,"file":"timeline-item.d.ts","names":[],"sources":["../../types/src/api/timeline-item.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAgMY,cA9EC,kBA8ED,EA9EmB,SA8EgB,CAAA;EAIlC,EAAA,aAAA,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA9BD,kBAAA,GAAqB,cAAe;KAEpC,YAAA,GAAe,cAAe;cAS7B,2CAAyC;;;;AAmBC,KAJ3C,mCAAA,GAAsC,MAIK,CAAA,OAH/C,yCAG+C,CAAA;AAAA,cAA1C,0CAA0C,EAAA,SAAA,CAAA;EAiB3C,KAAA,UAAA,UAAA,CAAA;IAKC,EAAA,aAAA,UAkDV,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAvDS,oCAAA,GAAuC,cAC3C;cAIK,+BAA6B;;;;;MAAA,KAAA,EAAA,OAAA;MAAA,OAAA,EAAA,SAAA;IAoD9B,CAAA,CAAA,CAAA;IAIC,IAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAJD,uBAAA,GAA0B,cAC9B;cAGK,gCAA8B;;;;;;;;;;;;;;IAAA,IAAA,aAAA,UAAA,CAAA;IAAA,IAAA,aAAA,YAAA,UAAA,CAAA,CAAA;IAU/B,KAAA,UAAA,SAAwB,CAAA,SAC5B,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KADI,wBAAA,GAA2B,cAC/B"}
|
package/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","names":["checks","$ZodConfig","errors","schemas","JSONType","JWTAlgorithm","HashAlgorithm","HashEncoding","HashFormat","IPVersion","MimeTypes","ParsedTypes","AssertEqual","V","T","U","AssertNotEqual","AssertExtends","IsAny","Omit","K","Exclude","Pick","OmitKeys","MakePartial","InexactPartial","MakeRequired","Required","Exactly","X","Record","NoUndefined","Whatever","LoosePartial","Mask","Keys","PropertyKey","Writeable","P","EmptyObject","BuiltIn","Symbol","toStringTag","Date","Error","Generator","Promise","RegExp","MakeReadonly","Map","ReadonlyMap","Set","ReadonlySet","Head","Tail","Array","ReadonlyArray","Readonly","SomeObject","Identity","Flatten","k","Mapped","Prettify","NoNeverKeys","NoNever","Extend","A","B","TupleItems","SomeType","AnyFunc","IsProp","MaybeAsync","KeyOf","OmitIndexSignature","ExtractIndexSignature","SchemaClass","EnumValue","EnumLike","ToEnum","KeysEnum","KeysArray","Literal","LiteralArray","Primitive","PrimitiveArray","HasSize","HasLength","Numeric","SafeParseResult","SafeParseSuccess","SafeParseError","$ZodError","PropValues","PrimitiveSet","assertEqual","assertNotEqual","assertIs","assertNever","assert","getEnumValues","joinValues","jsonStringifyReplacer","cached","nullish","cleanRegex","floatSafeRemainder","defineLazy","objectClone","assignProp","mergeDefs","cloneDef","$ZodType","getElementAtPath","promiseAllObject","Awaited","randomString","esc","captureStackTrace","Function","isObject","allowsEval","isPlainObject","shallowClone","numKeys","getParsedType","propertyKeyTypes","primitiveTypes","escapeRegex","clone","EmptyToNever","Normalize","normalizeParams","createTransparentProxy","stringifyPrimitive","optionalKeys","$ZodShape","CleanKey","ToCleanMap","$ZodLooseShape","FromCleanMap","NUMBER_FORMAT_RANGES","$ZodNumberFormats","BIGINT_FORMAT_RANGES","$ZodBigIntFormats","pick","$ZodObject","omit","extend","safeExtend","merge","partial","$ZodOptional","required","$ZodNonOptional","Constructor","Def","aborted","ParsePayload","prefixIssues","$ZodRawIssue","unwrapMessage","finalizeIssue","ParseContextInternal","$ZodIssue","getSizableOrigin","getLengthableOrigin","issue","cleanEnum","base64ToUint8Array","Uint8Array","InstanceType","uint8ArrayToBase64","base64urlToUint8Array","uint8ArrayToBase64url","hexToUint8Array","uint8ArrayToHex","Class"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/util.d.cts"],"sourcesContent":["import type * as checks from \"./checks.cjs\";\nimport type { $ZodConfig } from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nexport type JSONType = string | number | boolean | null | JSONType[] | {\n [key: string]: JSONType;\n};\nexport type JWTAlgorithm = \"HS256\" | \"HS384\" | \"HS512\" | \"RS256\" | \"RS384\" | \"RS512\" | \"ES256\" | \"ES384\" | \"ES512\" | \"PS256\" | \"PS384\" | \"PS512\" | \"EdDSA\" | (string & {});\nexport type HashAlgorithm = \"md5\" | \"sha1\" | \"sha256\" | \"sha384\" | \"sha512\";\nexport type HashEncoding = \"hex\" | \"base64\" | \"base64url\";\nexport type HashFormat = `${HashAlgorithm}_${HashEncoding}`;\nexport type IPVersion = \"v4\" | \"v6\";\nexport type MimeTypes = \"application/json\" | \"application/xml\" | \"application/x-www-form-urlencoded\" | \"application/javascript\" | \"application/pdf\" | \"application/zip\" | \"application/vnd.ms-excel\" | \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" | \"application/msword\" | \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\" | \"application/vnd.ms-powerpoint\" | \"application/vnd.openxmlformats-officedocument.presentationml.presentation\" | \"application/octet-stream\" | \"application/graphql\" | \"text/html\" | \"text/plain\" | \"text/css\" | \"text/javascript\" | \"text/csv\" | \"image/png\" | \"image/jpeg\" | \"image/gif\" | \"image/svg+xml\" | \"image/webp\" | \"audio/mpeg\" | \"audio/ogg\" | \"audio/wav\" | \"audio/webm\" | \"video/mp4\" | \"video/webm\" | \"video/ogg\" | \"font/woff\" | \"font/woff2\" | \"font/ttf\" | \"font/otf\" | \"multipart/form-data\" | (string & {});\nexport type ParsedTypes = \"string\" | \"number\" | \"bigint\" | \"boolean\" | \"symbol\" | \"undefined\" | \"object\" | \"function\" | \"file\" | \"date\" | \"array\" | \"map\" | \"set\" | \"nan\" | \"null\" | \"promise\";\nexport type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\nexport type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? false : true;\nexport type AssertExtends<T, U> = T extends U ? T : never;\nexport type IsAny<T> = 0 extends 1 & T ? true : false;\nexport type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\nexport type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\nexport type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;\nexport type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;\nexport type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\nexport type NoUndefined<T> = T extends undefined ? never : T;\nexport type Whatever = {} | undefined | null;\nexport type LoosePartial<T extends object> = InexactPartial<T> & {\n [k: string]: unknown;\n};\nexport type Mask<Keys extends PropertyKey> = {\n [K in Keys]?: true;\n};\nexport type Writeable<T> = {\n -readonly [P in keyof T]: T[P];\n} & {};\nexport type InexactPartial<T> = {\n [P in keyof T]?: T[P] | undefined;\n};\nexport type EmptyObject = Record<string, never>;\nexport type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\n readonly [Symbol.toStringTag]: string;\n} | Date | Error | Generator | Promise<unknown> | RegExp;\nexport type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\nexport type SomeObject = Record<PropertyKey, any>;\nexport type Identity<T> = T;\nexport type Flatten<T> = Identity<{\n [k in keyof T]: T[k];\n}>;\nexport type Mapped<T> = {\n [k in keyof T]: T[k];\n};\nexport type Prettify<T> = {\n [K in keyof T]: T[K];\n} & {};\nexport type NoNeverKeys<T> = {\n [k in keyof T]: [T[k]] extends [never] ? never : k;\n}[keyof T];\nexport type NoNever<T> = Identity<{\n [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never;\n}>;\nexport type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : {\n [K in keyof A as K extends keyof B ? never : K]: A[K];\n} & {\n [K in keyof B]: B[K];\n}>;\nexport type TupleItems = ReadonlyArray<schemas.SomeType>;\nexport type AnyFunc = (...args: any[]) => any;\nexport type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;\nexport type MaybeAsync<T> = T | Promise<T>;\nexport type KeyOf<T> = keyof OmitIndexSignature<T>;\nexport type OmitIndexSignature<T> = {\n [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K];\n};\nexport type ExtractIndexSignature<T> = {\n [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K];\n};\nexport type Keys<T extends object> = keyof OmitIndexSignature<T>;\nexport type SchemaClass<T extends schemas.SomeType> = {\n new (def: T[\"_zod\"][\"def\"]): T;\n};\nexport type EnumValue = string | number;\nexport type EnumLike = Readonly<Record<string, EnumValue>>;\nexport type ToEnum<T extends EnumValue> = Flatten<{\n [k in T]: k;\n}>;\nexport type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;\nexport type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;\nexport type Literal = string | number | bigint | boolean | null | undefined;\nexport type LiteralArray = Array<Literal>;\nexport type Primitive = string | number | symbol | bigint | boolean | null | undefined;\nexport type PrimitiveArray = Array<Primitive>;\nexport type HasSize = {\n size: number;\n};\nexport type HasLength = {\n length: number;\n};\nexport type Numeric = number | bigint | Date;\nexport type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;\nexport type SafeParseSuccess<T> = {\n success: true;\n data: T;\n error?: never;\n};\nexport type SafeParseError<T> = {\n success: false;\n data?: never;\n error: errors.$ZodError<T>;\n};\nexport type PropValues = Record<string, Set<Primitive>>;\nexport type PrimitiveSet = Set<Primitive>;\nexport declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;\nexport declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;\nexport declare function assertIs<T>(_arg: T): void;\nexport declare function assertNever(_x: never): never;\nexport declare function assert<T>(_: any): asserts _ is T;\nexport declare function getEnumValues(entries: EnumLike): EnumValue[];\nexport declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;\nexport declare function jsonStringifyReplacer(_: string, value: any): any;\nexport declare function cached<T>(getter: () => T): {\n value: T;\n};\nexport declare function nullish(input: any): boolean;\nexport declare function cleanRegex(source: string): string;\nexport declare function floatSafeRemainder(val: number, step: number): number;\nexport declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;\nexport declare function objectClone(obj: object): any;\nexport declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;\nexport declare function mergeDefs(...defs: Record<string, any>[]): any;\nexport declare function cloneDef(schema: schemas.$ZodType): any;\nexport declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;\nexport declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{\n [k in keyof T]: Awaited<T[k]>;\n}>;\nexport declare function randomString(length?: number): string;\nexport declare function esc(str: string): string;\nexport declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;\nexport declare function isObject(data: any): data is Record<PropertyKey, unknown>;\nexport declare const allowsEval: {\n value: boolean;\n};\nexport declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;\nexport declare function shallowClone(o: any): any;\nexport declare function numKeys(data: any): number;\nexport declare const getParsedType: (data: any) => ParsedTypes;\nexport declare const propertyKeyTypes: Set<string>;\nexport declare const primitiveTypes: Set<string>;\nexport declare function escapeRegex(str: string): string;\nexport declare function clone<T extends schemas.$ZodType>(inst: T, def?: T[\"_zod\"][\"def\"], params?: {\n parent: boolean;\n}): T;\nexport type EmptyToNever<T> = keyof T extends never ? never : T;\nexport type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{\n [k in keyof Omit<T, \"error\" | \"message\">]: T[k];\n} & (\"error\" extends keyof T ? {\n error?: Exclude<T[\"error\"], string>;\n} : unknown)> : never;\nexport declare function normalizeParams<T>(_params: T): Normalize<T>;\nexport declare function createTransparentProxy<T extends object>(getter: () => T): T;\nexport declare function stringifyPrimitive(value: any): string;\nexport declare function optionalKeys(shape: schemas.$ZodShape): string[];\nexport type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;\nexport type ToCleanMap<T extends schemas.$ZodLooseShape> = {\n [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k;\n};\nexport type FromCleanMap<T extends schemas.$ZodLooseShape> = {\n [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k;\n};\nexport declare const NUMBER_FORMAT_RANGES: Record<checks.$ZodNumberFormats, [number, number]>;\nexport declare const BIGINT_FORMAT_RANGES: Record<checks.$ZodBigIntFormats, [bigint, bigint]>;\nexport declare function pick(schema: schemas.$ZodObject, mask: Record<string, unknown>): any;\nexport declare function omit(schema: schemas.$ZodObject, mask: object): any;\nexport declare function extend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\nexport declare function safeExtend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\nexport declare function merge(a: schemas.$ZodObject, b: schemas.$ZodObject): any;\nexport declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null, schema: schemas.$ZodObject, mask: object | undefined): any;\nexport declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;\nexport type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;\nexport declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;\nexport declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];\nexport declare function unwrapMessage(message: string | {\n message: string;\n} | undefined | null): string | undefined;\nexport declare function finalizeIssue(iss: errors.$ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): errors.$ZodIssue;\nexport declare function getSizableOrigin(input: any): \"set\" | \"map\" | \"file\" | \"unknown\";\nexport declare function getLengthableOrigin(input: any): \"array\" | \"string\" | \"unknown\";\nexport declare function issue(_iss: string, input: any, inst: any): errors.$ZodRawIssue;\nexport declare function issue(_iss: errors.$ZodRawIssue): errors.$ZodRawIssue;\nexport declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];\nexport declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToBase64(bytes: Uint8Array): string;\nexport declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToBase64url(bytes: Uint8Array): string;\nexport declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToHex(bytes: Uint8Array): string;\nexport declare abstract class Class {\n constructor(..._args: any[]);\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAkBkEoB,KAXtDf,YAAAA,GAWsDe,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,CAAAA,MAAAA,GAAAA,CAAAA,CAAAA,CAAAA;AAEkBA,KAHxEF,KAGwEE,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,SAAAA,CAAAA,GAH/CN,CAG+CM,GAAAA,IAAAA,GAAAA,KAAAA;AAARE,KAFhEH,IAEgEG,CAAAA,CAAAA,EAAAA,YAAAA,MAFxCR,CAEwCQ,CAAAA,GAFnCA,IAEmCA,CAF9BR,CAE8BQ,EAF3BD,OAE2BC,CAAAA,MAFbR,CAEaQ,EAFVF,GAEUE,CAAAA,CAAAA;AAAD,KAA/DE,WAA+D,CAAA,CAAA,EAA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d.ts","names":["checks","$ZodConfig","errors","schemas","JSONType","JWTAlgorithm","HashAlgorithm","HashEncoding","HashFormat","IPVersion","MimeTypes","ParsedTypes","AssertEqual","V","T","U","AssertNotEqual","AssertExtends","IsAny","Omit","K","Exclude","Pick","OmitKeys","MakePartial","InexactPartial","MakeRequired","Required","Exactly","X","Record","NoUndefined","Whatever","LoosePartial","Mask","Keys","PropertyKey","Writeable","P","EmptyObject","BuiltIn","Symbol","toStringTag","Date","Error","Generator","Promise","RegExp","MakeReadonly","Map","ReadonlyMap","Set","ReadonlySet","Head","Tail","Array","ReadonlyArray","Readonly","SomeObject","Identity","Flatten","k","Mapped","Prettify","NoNeverKeys","NoNever","Extend","A","B","TupleItems","SomeType","AnyFunc","IsProp","MaybeAsync","KeyOf","OmitIndexSignature","ExtractIndexSignature","SchemaClass","EnumValue","EnumLike","ToEnum","KeysEnum","KeysArray","Literal","LiteralArray","Primitive","PrimitiveArray","HasSize","HasLength","Numeric","SafeParseResult","SafeParseSuccess","SafeParseError","$ZodError","PropValues","PrimitiveSet","assertEqual","assertNotEqual","assertIs","assertNever","assert","getEnumValues","joinValues","jsonStringifyReplacer","cached","nullish","cleanRegex","floatSafeRemainder","defineLazy","objectClone","assignProp","mergeDefs","cloneDef","$ZodType","getElementAtPath","promiseAllObject","Awaited","randomString","esc","captureStackTrace","Function","isObject","allowsEval","isPlainObject","shallowClone","numKeys","getParsedType","propertyKeyTypes","primitiveTypes","escapeRegex","clone","EmptyToNever","Normalize","normalizeParams","createTransparentProxy","stringifyPrimitive","optionalKeys","$ZodShape","CleanKey","ToCleanMap","$ZodLooseShape","FromCleanMap","NUMBER_FORMAT_RANGES","$ZodNumberFormats","BIGINT_FORMAT_RANGES","$ZodBigIntFormats","pick","$ZodObject","omit","extend","safeExtend","merge","partial","$ZodOptional","required","$ZodNonOptional","Constructor","Def","aborted","ParsePayload","prefixIssues","$ZodRawIssue","unwrapMessage","finalizeIssue","ParseContextInternal","$ZodIssue","getSizableOrigin","getLengthableOrigin","issue","cleanEnum","base64ToUint8Array","Uint8Array","InstanceType","uint8ArrayToBase64","base64urlToUint8Array","uint8ArrayToBase64url","hexToUint8Array","uint8ArrayToHex","Class"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/util.d.cts"],"sourcesContent":["import type * as checks from \"./checks.cjs\";\nimport type { $ZodConfig } from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nexport type JSONType = string | number | boolean | null | JSONType[] | {\n [key: string]: JSONType;\n};\nexport type JWTAlgorithm = \"HS256\" | \"HS384\" | \"HS512\" | \"RS256\" | \"RS384\" | \"RS512\" | \"ES256\" | \"ES384\" | \"ES512\" | \"PS256\" | \"PS384\" | \"PS512\" | \"EdDSA\" | (string & {});\nexport type HashAlgorithm = \"md5\" | \"sha1\" | \"sha256\" | \"sha384\" | \"sha512\";\nexport type HashEncoding = \"hex\" | \"base64\" | \"base64url\";\nexport type HashFormat = `${HashAlgorithm}_${HashEncoding}`;\nexport type IPVersion = \"v4\" | \"v6\";\nexport type MimeTypes = \"application/json\" | \"application/xml\" | \"application/x-www-form-urlencoded\" | \"application/javascript\" | \"application/pdf\" | \"application/zip\" | \"application/vnd.ms-excel\" | \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" | \"application/msword\" | \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\" | \"application/vnd.ms-powerpoint\" | \"application/vnd.openxmlformats-officedocument.presentationml.presentation\" | \"application/octet-stream\" | \"application/graphql\" | \"text/html\" | \"text/plain\" | \"text/css\" | \"text/javascript\" | \"text/csv\" | \"image/png\" | \"image/jpeg\" | \"image/gif\" | \"image/svg+xml\" | \"image/webp\" | \"audio/mpeg\" | \"audio/ogg\" | \"audio/wav\" | \"audio/webm\" | \"video/mp4\" | \"video/webm\" | \"video/ogg\" | \"font/woff\" | \"font/woff2\" | \"font/ttf\" | \"font/otf\" | \"multipart/form-data\" | (string & {});\nexport type ParsedTypes = \"string\" | \"number\" | \"bigint\" | \"boolean\" | \"symbol\" | \"undefined\" | \"object\" | \"function\" | \"file\" | \"date\" | \"array\" | \"map\" | \"set\" | \"nan\" | \"null\" | \"promise\";\nexport type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\nexport type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? false : true;\nexport type AssertExtends<T, U> = T extends U ? T : never;\nexport type IsAny<T> = 0 extends 1 & T ? true : false;\nexport type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\nexport type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\nexport type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;\nexport type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;\nexport type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\nexport type NoUndefined<T> = T extends undefined ? never : T;\nexport type Whatever = {} | undefined | null;\nexport type LoosePartial<T extends object> = InexactPartial<T> & {\n [k: string]: unknown;\n};\nexport type Mask<Keys extends PropertyKey> = {\n [K in Keys]?: true;\n};\nexport type Writeable<T> = {\n -readonly [P in keyof T]: T[P];\n} & {};\nexport type InexactPartial<T> = {\n [P in keyof T]?: T[P] | undefined;\n};\nexport type EmptyObject = Record<string, never>;\nexport type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\n readonly [Symbol.toStringTag]: string;\n} | Date | Error | Generator | Promise<unknown> | RegExp;\nexport type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\nexport type SomeObject = Record<PropertyKey, any>;\nexport type Identity<T> = T;\nexport type Flatten<T> = Identity<{\n [k in keyof T]: T[k];\n}>;\nexport type Mapped<T> = {\n [k in keyof T]: T[k];\n};\nexport type Prettify<T> = {\n [K in keyof T]: T[K];\n} & {};\nexport type NoNeverKeys<T> = {\n [k in keyof T]: [T[k]] extends [never] ? never : k;\n}[keyof T];\nexport type NoNever<T> = Identity<{\n [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never;\n}>;\nexport type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : {\n [K in keyof A as K extends keyof B ? never : K]: A[K];\n} & {\n [K in keyof B]: B[K];\n}>;\nexport type TupleItems = ReadonlyArray<schemas.SomeType>;\nexport type AnyFunc = (...args: any[]) => any;\nexport type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;\nexport type MaybeAsync<T> = T | Promise<T>;\nexport type KeyOf<T> = keyof OmitIndexSignature<T>;\nexport type OmitIndexSignature<T> = {\n [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K];\n};\nexport type ExtractIndexSignature<T> = {\n [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K];\n};\nexport type Keys<T extends object> = keyof OmitIndexSignature<T>;\nexport type SchemaClass<T extends schemas.SomeType> = {\n new (def: T[\"_zod\"][\"def\"]): T;\n};\nexport type EnumValue = string | number;\nexport type EnumLike = Readonly<Record<string, EnumValue>>;\nexport type ToEnum<T extends EnumValue> = Flatten<{\n [k in T]: k;\n}>;\nexport type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;\nexport type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;\nexport type Literal = string | number | bigint | boolean | null | undefined;\nexport type LiteralArray = Array<Literal>;\nexport type Primitive = string | number | symbol | bigint | boolean | null | undefined;\nexport type PrimitiveArray = Array<Primitive>;\nexport type HasSize = {\n size: number;\n};\nexport type HasLength = {\n length: number;\n};\nexport type Numeric = number | bigint | Date;\nexport type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;\nexport type SafeParseSuccess<T> = {\n success: true;\n data: T;\n error?: never;\n};\nexport type SafeParseError<T> = {\n success: false;\n data?: never;\n error: errors.$ZodError<T>;\n};\nexport type PropValues = Record<string, Set<Primitive>>;\nexport type PrimitiveSet = Set<Primitive>;\nexport declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;\nexport declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;\nexport declare function assertIs<T>(_arg: T): void;\nexport declare function assertNever(_x: never): never;\nexport declare function assert<T>(_: any): asserts _ is T;\nexport declare function getEnumValues(entries: EnumLike): EnumValue[];\nexport declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;\nexport declare function jsonStringifyReplacer(_: string, value: any): any;\nexport declare function cached<T>(getter: () => T): {\n value: T;\n};\nexport declare function nullish(input: any): boolean;\nexport declare function cleanRegex(source: string): string;\nexport declare function floatSafeRemainder(val: number, step: number): number;\nexport declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;\nexport declare function objectClone(obj: object): any;\nexport declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;\nexport declare function mergeDefs(...defs: Record<string, any>[]): any;\nexport declare function cloneDef(schema: schemas.$ZodType): any;\nexport declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;\nexport declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{\n [k in keyof T]: Awaited<T[k]>;\n}>;\nexport declare function randomString(length?: number): string;\nexport declare function esc(str: string): string;\nexport declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;\nexport declare function isObject(data: any): data is Record<PropertyKey, unknown>;\nexport declare const allowsEval: {\n value: boolean;\n};\nexport declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;\nexport declare function shallowClone(o: any): any;\nexport declare function numKeys(data: any): number;\nexport declare const getParsedType: (data: any) => ParsedTypes;\nexport declare const propertyKeyTypes: Set<string>;\nexport declare const primitiveTypes: Set<string>;\nexport declare function escapeRegex(str: string): string;\nexport declare function clone<T extends schemas.$ZodType>(inst: T, def?: T[\"_zod\"][\"def\"], params?: {\n parent: boolean;\n}): T;\nexport type EmptyToNever<T> = keyof T extends never ? never : T;\nexport type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{\n [k in keyof Omit<T, \"error\" | \"message\">]: T[k];\n} & (\"error\" extends keyof T ? {\n error?: Exclude<T[\"error\"], string>;\n} : unknown)> : never;\nexport declare function normalizeParams<T>(_params: T): Normalize<T>;\nexport declare function createTransparentProxy<T extends object>(getter: () => T): T;\nexport declare function stringifyPrimitive(value: any): string;\nexport declare function optionalKeys(shape: schemas.$ZodShape): string[];\nexport type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;\nexport type ToCleanMap<T extends schemas.$ZodLooseShape> = {\n [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k;\n};\nexport type FromCleanMap<T extends schemas.$ZodLooseShape> = {\n [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k;\n};\nexport declare const NUMBER_FORMAT_RANGES: Record<checks.$ZodNumberFormats, [number, number]>;\nexport declare const BIGINT_FORMAT_RANGES: Record<checks.$ZodBigIntFormats, [bigint, bigint]>;\nexport declare function pick(schema: schemas.$ZodObject, mask: Record<string, unknown>): any;\nexport declare function omit(schema: schemas.$ZodObject, mask: object): any;\nexport declare function extend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\nexport declare function safeExtend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\nexport declare function merge(a: schemas.$ZodObject, b: schemas.$ZodObject): any;\nexport declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null, schema: schemas.$ZodObject, mask: object | undefined): any;\nexport declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;\nexport type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;\nexport declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;\nexport declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];\nexport declare function unwrapMessage(message: string | {\n message: string;\n} | undefined | null): string | undefined;\nexport declare function finalizeIssue(iss: errors.$ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): errors.$ZodIssue;\nexport declare function getSizableOrigin(input: any): \"set\" | \"map\" | \"file\" | \"unknown\";\nexport declare function getLengthableOrigin(input: any): \"array\" | \"string\" | \"unknown\";\nexport declare function issue(_iss: string, input: any, inst: any): errors.$ZodRawIssue;\nexport declare function issue(_iss: errors.$ZodRawIssue): errors.$ZodRawIssue;\nexport declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];\nexport declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToBase64(bytes: Uint8Array): string;\nexport declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToBase64url(bytes: Uint8Array): string;\nexport declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;\nexport declare function uint8ArrayToHex(bytes: Uint8Array): string;\nexport declare abstract class Class {\n constructor(..._args: any[]);\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAkBkEoB,KAXtDf,YAAAA,GAWsDe,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,OAAAA,GAAAA,CAAAA,MAAAA,GAAAA,CAAAA,CAAAA,CAAAA;AAEkBA,KAHxEF,KAGwEE,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,SAAAA,CAAAA,GAH/CN,CAG+CM,GAAAA,IAAAA,GAAAA,KAAAA;AAARE,KAFhEH,IAEgEG,CAAAA,CAAAA,EAAAA,YAAAA,M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