@cossistant/types 0.0.24 → 0.0.25
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/api/common.d.ts +17 -20
- package/api/common.d.ts.map +1 -1
- package/api/contact.d.ts +99 -101
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +322 -326
- package/api/conversation.d.ts.map +1 -1
- package/api/notification.d.ts +70 -73
- package/api/notification.d.ts.map +1 -1
- package/api/organization.d.ts +7 -9
- package/api/organization.d.ts.map +1 -1
- package/api/timeline-item.d.ts +261 -265
- package/api/timeline-item.d.ts.map +1 -1
- package/api/upload.d.ts +95 -98
- package/api/upload.d.ts.map +1 -1
- package/api/user.d.ts +19 -21
- package/api/user.d.ts.map +1 -1
- package/api/visitor.d.ts +110 -112
- package/api/visitor.d.ts.map +1 -1
- package/api/website.d.ts +177 -179
- package/api/website.d.ts.map +1 -1
- package/package.json +1 -1
- package/realtime-events.d.ts +330 -332
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +80 -82
- package/schemas.d.ts.map +1 -1
- package/trpc/contact.d.ts +78 -80
- package/trpc/contact.d.ts.map +1 -1
- package/trpc/conversation.d.ts +328 -330
- package/trpc/conversation.d.ts.map +1 -1
- package/trpc/visitor.d.ts +105 -107
- package/trpc/visitor.d.ts.map +1 -1
- package/api.d.ts +0 -71
- package/api.d.ts.map +0 -1
- package/checks.d.ts +0 -189
- package/checks.d.ts.map +0 -1
- package/coerce.d.ts +0 -9
- package/coerce.d.ts.map +0 -1
- package/core.d.ts +0 -35
- package/core.d.ts.map +0 -1
- package/errors.d.ts +0 -121
- package/errors.d.ts.map +0 -1
- package/errors2.d.ts +0 -24
- package/errors2.d.ts.map +0 -1
- package/index2.d.ts +0 -4
- package/index3.d.ts +0 -1
- package/metadata.d.ts +0 -1
- package/openapi-generator.d.ts +0 -1
- package/openapi-generator2.d.ts +0 -1
- package/openapi-generator3.d.ts +0 -1
- package/openapi30.d.ts +0 -125
- package/openapi30.d.ts.map +0 -1
- package/openapi31.d.ts +0 -131
- package/openapi31.d.ts.map +0 -1
- package/parse.d.ts +0 -17
- package/parse.d.ts.map +0 -1
- package/registries.d.ts +0 -32
- package/registries.d.ts.map +0 -1
- package/schemas2.d.ts +0 -685
- package/schemas2.d.ts.map +0 -1
- package/schemas3.d.ts +0 -325
- package/schemas3.d.ts.map +0 -1
- package/specification-extension.d.ts +0 -9
- package/specification-extension.d.ts.map +0 -1
- package/standard-schema.d.ts +0 -59
- package/standard-schema.d.ts.map +0 -1
- package/util.d.ts +0 -41
- package/util.d.ts.map +0 -1
- package/versions.d.ts +0 -9
- package/versions.d.ts.map +0 -1
- package/zod-extensions.d.ts +0 -39
- package/zod-extensions.d.ts.map +0 -1
package/api/website.d.ts
CHANGED
|
@@ -1,219 +1,217 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { output } from "../core.js";
|
|
3
|
-
import { ZodArray, ZodBoolean, ZodEnum, ZodNullable, ZodObject, ZodOptional, ZodString, ZodULID, ZodURL } from "../schemas3.js";
|
|
4
|
-
import "../index3.js";
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
5
2
|
|
|
6
3
|
//#region src/api/website.d.ts
|
|
4
|
+
|
|
7
5
|
/**
|
|
8
6
|
* Website creation request schema
|
|
9
7
|
*/
|
|
10
|
-
declare const createWebsiteRequestSchema: ZodObject<{
|
|
11
|
-
name: ZodString;
|
|
12
|
-
domain: ZodString;
|
|
13
|
-
organizationId: ZodULID;
|
|
14
|
-
installationTarget: ZodEnum<{
|
|
8
|
+
declare const createWebsiteRequestSchema: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
domain: z.ZodString;
|
|
11
|
+
organizationId: z.ZodULID;
|
|
12
|
+
installationTarget: z.ZodEnum<{
|
|
15
13
|
readonly NEXTJS: "nextjs";
|
|
16
14
|
readonly REACT: "react";
|
|
17
15
|
}>;
|
|
18
|
-
},
|
|
19
|
-
type CreateWebsiteRequest =
|
|
20
|
-
declare const websiteApiKeySchema: ZodObject<{
|
|
21
|
-
id: ZodULID;
|
|
22
|
-
name: ZodString;
|
|
23
|
-
key: ZodNullable<ZodString>;
|
|
24
|
-
keyType: ZodEnum<{
|
|
25
|
-
private: "private";
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type CreateWebsiteRequest = z.infer<typeof createWebsiteRequestSchema>;
|
|
18
|
+
declare const websiteApiKeySchema: z.ZodObject<{
|
|
19
|
+
id: z.ZodULID;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
key: z.ZodNullable<z.ZodString>;
|
|
22
|
+
keyType: z.ZodEnum<{
|
|
26
23
|
public: "public";
|
|
24
|
+
private: "private";
|
|
27
25
|
}>;
|
|
28
|
-
isTest: ZodBoolean;
|
|
29
|
-
isActive: ZodBoolean;
|
|
30
|
-
createdAt: ZodString;
|
|
31
|
-
lastUsedAt: ZodNullable<ZodString>;
|
|
32
|
-
revokedAt: ZodNullable<ZodString>;
|
|
33
|
-
},
|
|
34
|
-
type WebsiteApiKey =
|
|
35
|
-
declare const websiteSummarySchema: ZodObject<{
|
|
36
|
-
id: ZodULID;
|
|
37
|
-
slug: ZodString;
|
|
38
|
-
name: ZodString;
|
|
39
|
-
domain: ZodString;
|
|
40
|
-
contactEmail: ZodNullable<ZodString>;
|
|
41
|
-
logoUrl: ZodNullable<ZodString>;
|
|
42
|
-
organizationId: ZodULID;
|
|
43
|
-
whitelistedDomains: ZodArray<ZodURL>;
|
|
44
|
-
defaultParticipantIds: ZodNullable<ZodArray<ZodString>>;
|
|
45
|
-
},
|
|
46
|
-
type WebsiteSummary =
|
|
47
|
-
declare const websiteDeveloperSettingsResponseSchema: ZodObject<{
|
|
48
|
-
website: ZodObject<{
|
|
49
|
-
id: ZodULID;
|
|
50
|
-
slug: ZodString;
|
|
51
|
-
name: ZodString;
|
|
52
|
-
domain: ZodString;
|
|
53
|
-
contactEmail: ZodNullable<ZodString>;
|
|
54
|
-
logoUrl: ZodNullable<ZodString>;
|
|
55
|
-
organizationId: ZodULID;
|
|
56
|
-
whitelistedDomains: ZodArray<ZodURL>;
|
|
57
|
-
defaultParticipantIds: ZodNullable<ZodArray<ZodString>>;
|
|
58
|
-
},
|
|
59
|
-
apiKeys: ZodArray<ZodObject<{
|
|
60
|
-
id: ZodULID;
|
|
61
|
-
name: ZodString;
|
|
62
|
-
key: ZodNullable<ZodString>;
|
|
63
|
-
keyType: ZodEnum<{
|
|
64
|
-
private: "private";
|
|
26
|
+
isTest: z.ZodBoolean;
|
|
27
|
+
isActive: z.ZodBoolean;
|
|
28
|
+
createdAt: z.ZodString;
|
|
29
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
30
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
type WebsiteApiKey = z.infer<typeof websiteApiKeySchema>;
|
|
33
|
+
declare const websiteSummarySchema: z.ZodObject<{
|
|
34
|
+
id: z.ZodULID;
|
|
35
|
+
slug: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
domain: z.ZodString;
|
|
38
|
+
contactEmail: z.ZodNullable<z.ZodString>;
|
|
39
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
40
|
+
organizationId: z.ZodULID;
|
|
41
|
+
whitelistedDomains: z.ZodArray<z.ZodURL>;
|
|
42
|
+
defaultParticipantIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type WebsiteSummary = z.infer<typeof websiteSummarySchema>;
|
|
45
|
+
declare const websiteDeveloperSettingsResponseSchema: z.ZodObject<{
|
|
46
|
+
website: z.ZodObject<{
|
|
47
|
+
id: z.ZodULID;
|
|
48
|
+
slug: z.ZodString;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
domain: z.ZodString;
|
|
51
|
+
contactEmail: z.ZodNullable<z.ZodString>;
|
|
52
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
53
|
+
organizationId: z.ZodULID;
|
|
54
|
+
whitelistedDomains: z.ZodArray<z.ZodURL>;
|
|
55
|
+
defaultParticipantIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodULID;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
key: z.ZodNullable<z.ZodString>;
|
|
61
|
+
keyType: z.ZodEnum<{
|
|
65
62
|
public: "public";
|
|
63
|
+
private: "private";
|
|
66
64
|
}>;
|
|
67
|
-
isTest: ZodBoolean;
|
|
68
|
-
isActive: ZodBoolean;
|
|
69
|
-
createdAt: ZodString;
|
|
70
|
-
lastUsedAt: ZodNullable<ZodString>;
|
|
71
|
-
revokedAt: ZodNullable<ZodString>;
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
type WebsiteDeveloperSettingsResponse =
|
|
75
|
-
declare const createWebsiteApiKeyRequestSchema: ZodObject<{
|
|
76
|
-
organizationId: ZodULID;
|
|
77
|
-
websiteId: ZodULID;
|
|
78
|
-
name: ZodString;
|
|
79
|
-
keyType: ZodEnum<{
|
|
80
|
-
private: "private";
|
|
65
|
+
isTest: z.ZodBoolean;
|
|
66
|
+
isActive: z.ZodBoolean;
|
|
67
|
+
createdAt: z.ZodString;
|
|
68
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
69
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
type WebsiteDeveloperSettingsResponse = z.infer<typeof websiteDeveloperSettingsResponseSchema>;
|
|
73
|
+
declare const createWebsiteApiKeyRequestSchema: z.ZodObject<{
|
|
74
|
+
organizationId: z.ZodULID;
|
|
75
|
+
websiteId: z.ZodULID;
|
|
76
|
+
name: z.ZodString;
|
|
77
|
+
keyType: z.ZodEnum<{
|
|
81
78
|
public: "public";
|
|
79
|
+
private: "private";
|
|
82
80
|
}>;
|
|
83
|
-
isTest: ZodBoolean;
|
|
84
|
-
},
|
|
85
|
-
type CreateWebsiteApiKeyRequest =
|
|
86
|
-
declare const revokeWebsiteApiKeyRequestSchema: ZodObject<{
|
|
87
|
-
organizationId: ZodULID;
|
|
88
|
-
websiteId: ZodULID;
|
|
89
|
-
apiKeyId: ZodULID;
|
|
90
|
-
},
|
|
91
|
-
type RevokeWebsiteApiKeyRequest =
|
|
92
|
-
declare const updateWebsiteRequestSchema: ZodObject<{
|
|
93
|
-
organizationId: ZodULID;
|
|
94
|
-
websiteId: ZodULID;
|
|
95
|
-
data: ZodObject<{
|
|
96
|
-
name: ZodOptional<ZodString>;
|
|
97
|
-
slug: ZodOptional<ZodString>;
|
|
98
|
-
domain: ZodOptional<ZodString>;
|
|
99
|
-
contactEmail: ZodOptional<ZodNullable<ZodString>>;
|
|
100
|
-
description: ZodOptional<ZodNullable<ZodString>>;
|
|
101
|
-
logoUrl: ZodOptional<ZodNullable<ZodString>>;
|
|
102
|
-
whitelistedDomains: ZodOptional<ZodArray<ZodURL>>;
|
|
103
|
-
defaultParticipantIds: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
|
|
104
|
-
installationTarget: ZodOptional<ZodEnum<{
|
|
81
|
+
isTest: z.ZodBoolean;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
type CreateWebsiteApiKeyRequest = z.infer<typeof createWebsiteApiKeyRequestSchema>;
|
|
84
|
+
declare const revokeWebsiteApiKeyRequestSchema: z.ZodObject<{
|
|
85
|
+
organizationId: z.ZodULID;
|
|
86
|
+
websiteId: z.ZodULID;
|
|
87
|
+
apiKeyId: z.ZodULID;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
type RevokeWebsiteApiKeyRequest = z.infer<typeof revokeWebsiteApiKeyRequestSchema>;
|
|
90
|
+
declare const updateWebsiteRequestSchema: z.ZodObject<{
|
|
91
|
+
organizationId: z.ZodULID;
|
|
92
|
+
websiteId: z.ZodULID;
|
|
93
|
+
data: z.ZodObject<{
|
|
94
|
+
name: z.ZodOptional<z.ZodString>;
|
|
95
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
96
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
97
|
+
contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
whitelistedDomains: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
101
|
+
defaultParticipantIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
102
|
+
installationTarget: z.ZodOptional<z.ZodEnum<{
|
|
105
103
|
readonly NEXTJS: "nextjs";
|
|
106
104
|
readonly REACT: "react";
|
|
107
105
|
}>>;
|
|
108
|
-
status: ZodOptional<ZodEnum<{
|
|
106
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
109
107
|
active: "active";
|
|
110
108
|
inactive: "inactive";
|
|
111
109
|
}>>;
|
|
112
|
-
teamId: ZodOptional<ZodNullable<ZodString>>;
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
type UpdateWebsiteRequest =
|
|
110
|
+
teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
type UpdateWebsiteRequest = z.infer<typeof updateWebsiteRequestSchema>;
|
|
116
114
|
/**
|
|
117
115
|
* Website creation response schema
|
|
118
116
|
*/
|
|
119
|
-
declare const createWebsiteResponseSchema: ZodObject<{
|
|
120
|
-
id: ZodULID;
|
|
121
|
-
name: ZodString;
|
|
122
|
-
slug: ZodString;
|
|
123
|
-
whitelistedDomains: ZodArray<ZodURL>;
|
|
124
|
-
organizationId: ZodULID;
|
|
125
|
-
apiKeys: ZodArray<ZodObject<{
|
|
126
|
-
id: ZodULID;
|
|
127
|
-
name: ZodString;
|
|
128
|
-
key: ZodNullable<ZodString>;
|
|
129
|
-
keyType: ZodEnum<{
|
|
130
|
-
private: "private";
|
|
117
|
+
declare const createWebsiteResponseSchema: z.ZodObject<{
|
|
118
|
+
id: z.ZodULID;
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
slug: z.ZodString;
|
|
121
|
+
whitelistedDomains: z.ZodArray<z.ZodURL>;
|
|
122
|
+
organizationId: z.ZodULID;
|
|
123
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
124
|
+
id: z.ZodULID;
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
key: z.ZodNullable<z.ZodString>;
|
|
127
|
+
keyType: z.ZodEnum<{
|
|
131
128
|
public: "public";
|
|
129
|
+
private: "private";
|
|
132
130
|
}>;
|
|
133
|
-
isTest: ZodBoolean;
|
|
134
|
-
isActive: ZodBoolean;
|
|
135
|
-
createdAt: ZodString;
|
|
136
|
-
lastUsedAt: ZodNullable<ZodString>;
|
|
137
|
-
revokedAt: ZodNullable<ZodString>;
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
type CreateWebsiteResponse =
|
|
131
|
+
isTest: z.ZodBoolean;
|
|
132
|
+
isActive: z.ZodBoolean;
|
|
133
|
+
createdAt: z.ZodString;
|
|
134
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
135
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
type CreateWebsiteResponse = z.infer<typeof createWebsiteResponseSchema>;
|
|
141
139
|
/**
|
|
142
140
|
* Website domain validation request schema
|
|
143
141
|
*/
|
|
144
|
-
declare const checkWebsiteDomainRequestSchema: ZodObject<{
|
|
145
|
-
domain: ZodString;
|
|
146
|
-
},
|
|
147
|
-
type CheckWebsiteDomainRequest =
|
|
148
|
-
declare const availableHumanAgentSchema: ZodObject<{
|
|
149
|
-
id: ZodULID;
|
|
150
|
-
name: ZodString;
|
|
151
|
-
image: ZodNullable<ZodString>;
|
|
152
|
-
lastSeenAt: ZodNullable<ZodString>;
|
|
153
|
-
},
|
|
154
|
-
declare const AvailableAIAgentSchema: ZodObject<{
|
|
155
|
-
id: ZodULID;
|
|
156
|
-
name: ZodString;
|
|
157
|
-
image: ZodNullable<ZodString>;
|
|
158
|
-
},
|
|
142
|
+
declare const checkWebsiteDomainRequestSchema: z.ZodObject<{
|
|
143
|
+
domain: z.ZodString;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
type CheckWebsiteDomainRequest = z.infer<typeof checkWebsiteDomainRequestSchema>;
|
|
146
|
+
declare const availableHumanAgentSchema: z.ZodObject<{
|
|
147
|
+
id: z.ZodULID;
|
|
148
|
+
name: z.ZodString;
|
|
149
|
+
image: z.ZodNullable<z.ZodString>;
|
|
150
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
declare const AvailableAIAgentSchema: z.ZodObject<{
|
|
153
|
+
id: z.ZodULID;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
image: z.ZodNullable<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
159
157
|
/**
|
|
160
158
|
* Website information response schema
|
|
161
159
|
*/
|
|
162
|
-
declare const publicWebsiteResponseSchema: ZodObject<{
|
|
163
|
-
id: ZodULID;
|
|
164
|
-
name: ZodString;
|
|
165
|
-
domain: ZodString;
|
|
166
|
-
description: ZodNullable<ZodString>;
|
|
167
|
-
logoUrl: ZodNullable<ZodString>;
|
|
168
|
-
organizationId: ZodULID;
|
|
169
|
-
status: ZodString;
|
|
170
|
-
lastOnlineAt: ZodNullable<ZodString>;
|
|
171
|
-
availableHumanAgents: ZodArray<ZodObject<{
|
|
172
|
-
id: ZodULID;
|
|
173
|
-
name: ZodString;
|
|
174
|
-
image: ZodNullable<ZodString>;
|
|
175
|
-
lastSeenAt: ZodNullable<ZodString>;
|
|
176
|
-
},
|
|
177
|
-
availableAIAgents: ZodArray<ZodObject<{
|
|
178
|
-
id: ZodULID;
|
|
179
|
-
name: ZodString;
|
|
180
|
-
image: ZodNullable<ZodString>;
|
|
181
|
-
},
|
|
182
|
-
visitor: ZodObject<{
|
|
183
|
-
id: ZodULID;
|
|
184
|
-
isBlocked: ZodBoolean;
|
|
185
|
-
language: ZodNullable<ZodString>;
|
|
186
|
-
contact: ZodNullable<ZodObject<{
|
|
187
|
-
id: ZodULID;
|
|
188
|
-
name: ZodNullable<ZodString>;
|
|
189
|
-
email: ZodNullable<ZodString>;
|
|
190
|
-
image: ZodNullable<ZodString>;
|
|
191
|
-
metadataHash: ZodOptional<ZodString>;
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
type PublicWebsiteResponse =
|
|
196
|
-
type AvailableHumanAgent =
|
|
197
|
-
type AvailableAIAgent =
|
|
160
|
+
declare const publicWebsiteResponseSchema: z.ZodObject<{
|
|
161
|
+
id: z.ZodULID;
|
|
162
|
+
name: z.ZodString;
|
|
163
|
+
domain: z.ZodString;
|
|
164
|
+
description: z.ZodNullable<z.ZodString>;
|
|
165
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
166
|
+
organizationId: z.ZodULID;
|
|
167
|
+
status: z.ZodString;
|
|
168
|
+
lastOnlineAt: z.ZodNullable<z.ZodString>;
|
|
169
|
+
availableHumanAgents: z.ZodArray<z.ZodObject<{
|
|
170
|
+
id: z.ZodULID;
|
|
171
|
+
name: z.ZodString;
|
|
172
|
+
image: z.ZodNullable<z.ZodString>;
|
|
173
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
availableAIAgents: z.ZodArray<z.ZodObject<{
|
|
176
|
+
id: z.ZodULID;
|
|
177
|
+
name: z.ZodString;
|
|
178
|
+
image: z.ZodNullable<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
visitor: z.ZodObject<{
|
|
181
|
+
id: z.ZodULID;
|
|
182
|
+
isBlocked: z.ZodBoolean;
|
|
183
|
+
language: z.ZodNullable<z.ZodString>;
|
|
184
|
+
contact: z.ZodNullable<z.ZodObject<{
|
|
185
|
+
id: z.ZodULID;
|
|
186
|
+
name: z.ZodNullable<z.ZodString>;
|
|
187
|
+
email: z.ZodNullable<z.ZodString>;
|
|
188
|
+
image: z.ZodNullable<z.ZodString>;
|
|
189
|
+
metadataHash: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
type PublicWebsiteResponse = z.infer<typeof publicWebsiteResponseSchema>;
|
|
194
|
+
type AvailableHumanAgent = z.infer<typeof availableHumanAgentSchema>;
|
|
195
|
+
type AvailableAIAgent = z.infer<typeof AvailableAIAgentSchema>;
|
|
198
196
|
/**
|
|
199
197
|
* List websites by organization request schema
|
|
200
198
|
*/
|
|
201
|
-
declare const listByOrganizationRequestSchema: ZodObject<{
|
|
202
|
-
organizationId: ZodULID;
|
|
203
|
-
},
|
|
204
|
-
type ListByOrganizationRequest =
|
|
199
|
+
declare const listByOrganizationRequestSchema: z.ZodObject<{
|
|
200
|
+
organizationId: z.ZodULID;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
type ListByOrganizationRequest = z.infer<typeof listByOrganizationRequestSchema>;
|
|
205
203
|
/**
|
|
206
204
|
* Website list item schema - simplified website info for listing
|
|
207
205
|
*/
|
|
208
|
-
declare const websiteListItemSchema: ZodObject<{
|
|
209
|
-
id: ZodULID;
|
|
210
|
-
name: ZodString;
|
|
211
|
-
slug: ZodString;
|
|
212
|
-
logoUrl: ZodNullable<ZodString>;
|
|
213
|
-
domain: ZodString;
|
|
214
|
-
organizationId: ZodULID;
|
|
215
|
-
},
|
|
216
|
-
type WebsiteListItem =
|
|
206
|
+
declare const websiteListItemSchema: z.ZodObject<{
|
|
207
|
+
id: z.ZodULID;
|
|
208
|
+
name: z.ZodString;
|
|
209
|
+
slug: z.ZodString;
|
|
210
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
211
|
+
domain: z.ZodString;
|
|
212
|
+
organizationId: z.ZodULID;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
type WebsiteListItem = z.infer<typeof websiteListItemSchema>;
|
|
217
215
|
//#endregion
|
|
218
216
|
export { AvailableAIAgent, AvailableAIAgentSchema, AvailableHumanAgent, CheckWebsiteDomainRequest, CreateWebsiteApiKeyRequest, CreateWebsiteRequest, CreateWebsiteResponse, ListByOrganizationRequest, PublicWebsiteResponse, RevokeWebsiteApiKeyRequest, UpdateWebsiteRequest, WebsiteApiKey, WebsiteDeveloperSettingsResponse, WebsiteListItem, WebsiteSummary, availableHumanAgentSchema, checkWebsiteDomainRequestSchema, createWebsiteApiKeyRequestSchema, createWebsiteRequestSchema, createWebsiteResponseSchema, listByOrganizationRequestSchema, publicWebsiteResponseSchema, revokeWebsiteApiKeyRequestSchema, updateWebsiteRequestSchema, websiteApiKeySchema, websiteDeveloperSettingsResponseSchema, websiteListItemSchema, websiteSummarySchema };
|
|
219
217
|
//# sourceMappingURL=website.d.ts.map
|
package/api/website.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"website.d.ts","names":[],"sources":["../../src/api/website.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"website.d.ts","names":[],"sources":["../../src/api/website.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;cAAa,4BAA0B,CAAA,CAAA;;;;;IAAA,SAAA,MAAA,EAAA,QAAA;IAAA,SAAA,KAAA,EAAA,OAAA;EA8B3B,CAAA,CAAA;AASZ,CAAA,eAAa,CAAA;KATD,oBAAA,GAAuB,CAAA,CAAE,aAAa;cASrC,qBAAmB,CAAA,CAAA;;;;;;;;;;;;EAAA,SAAA,eAAA,YAAA,CAAA;CAAA,eAAA,CAA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