@webzaytsev/support-sdk 0.1.0 → 0.1.2
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/README.md +230 -0
- package/dist/client.gen.d.mts +14 -0
- package/dist/client.gen.d.ts +6 -5
- package/dist/client.gen.js +785 -6
- package/dist/client.gen.js.map +1 -1
- package/dist/client.gen.mjs +784 -0
- package/dist/client.gen.mjs.map +1 -0
- package/dist/index.d.mts +58 -0
- package/dist/index.d.ts +58 -3
- package/dist/index.js +878 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +869 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types.gen-DHi9F3K-.d.mts +670 -0
- package/dist/types.gen-DHi9F3K-.d.ts +670 -0
- package/dist/zod.gen.d.mts +267 -0
- package/dist/zod.gen.d.ts +34 -32
- package/dist/zod.gen.js +170 -177
- package/dist/zod.gen.js.map +1 -1
- package/dist/zod.gen.mjs +119 -0
- package/dist/zod.gen.mjs.map +1 -0
- package/package.json +18 -8
- package/dist/client/client.gen.d.ts +0 -3
- package/dist/client/client.gen.d.ts.map +0 -1
- package/dist/client/client.gen.js +0 -221
- package/dist/client/client.gen.js.map +0 -1
- package/dist/client/index.d.ts +0 -9
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js +0 -18
- package/dist/client/index.js.map +0 -1
- package/dist/client/types.gen.d.ts +0 -121
- package/dist/client/types.gen.d.ts.map +0 -1
- package/dist/client/types.gen.js +0 -4
- package/dist/client/types.gen.js.map +0 -1
- package/dist/client/utils.gen.d.ts +0 -38
- package/dist/client/utils.gen.d.ts.map +0 -1
- package/dist/client/utils.gen.js +0 -242
- package/dist/client/utils.gen.js.map +0 -1
- package/dist/client.gen.d.ts.map +0 -1
- package/dist/core/auth.gen.d.ts +0 -19
- package/dist/core/auth.gen.d.ts.map +0 -1
- package/dist/core/auth.gen.js +0 -19
- package/dist/core/auth.gen.js.map +0 -1
- package/dist/core/bodySerializer.gen.d.ts +0 -26
- package/dist/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/core/bodySerializer.gen.js +0 -61
- package/dist/core/bodySerializer.gen.js.map +0 -1
- package/dist/core/params.gen.d.ts +0 -44
- package/dist/core/params.gen.d.ts.map +0 -1
- package/dist/core/params.gen.js +0 -105
- package/dist/core/params.gen.js.map +0 -1
- package/dist/core/pathSerializer.gen.d.ts +0 -34
- package/dist/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/core/pathSerializer.gen.js +0 -116
- package/dist/core/pathSerializer.gen.js.map +0 -1
- package/dist/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/core/queryKeySerializer.gen.js +0 -99
- package/dist/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/core/serverSentEvents.gen.js +0 -136
- package/dist/core/serverSentEvents.gen.js.map +0 -1
- package/dist/core/types.gen.d.ts +0 -79
- package/dist/core/types.gen.d.ts.map +0 -1
- package/dist/core/types.gen.js +0 -4
- package/dist/core/types.gen.js.map +0 -1
- package/dist/core/utils.gen.d.ts +0 -20
- package/dist/core/utils.gen.d.ts.map +0 -1
- package/dist/core/utils.gen.js +0 -94
- package/dist/core/utils.gen.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/sdk.gen.d.ts +0 -56
- package/dist/sdk.gen.d.ts.map +0 -1
- package/dist/sdk.gen.js +0 -105
- package/dist/sdk.gen.js.map +0 -1
- package/dist/types.gen.d.ts +0 -355
- package/dist/types.gen.d.ts.map +0 -1
- package/dist/types.gen.js +0 -4
- package/dist/types.gen.js.map +0 -1
- package/dist/zod.gen.d.ts.map +0 -1
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const zWebProfileDto: z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6
|
+
profileUrl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const zIssueTokenDto: z.ZodObject<{
|
|
10
|
+
userId: z.ZodString;
|
|
11
|
+
userProfile: z.ZodObject<{
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
email: z.ZodOptional<z.ZodString>;
|
|
14
|
+
profileUrl: z.ZodOptional<z.ZodString>;
|
|
15
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
ttlSec: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const zIssueTokenResponseDto: z.ZodObject<{
|
|
20
|
+
token: z.ZodString;
|
|
21
|
+
expiresAt: z.ZodISODateTime;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const zWebSseEventDataDto: z.ZodObject<{
|
|
24
|
+
messageId: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
text: z.ZodOptional<z.ZodString>;
|
|
26
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
escalatableMessageId: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
source: z.ZodOptional<z.ZodString>;
|
|
29
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
30
|
+
message: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const zWebSseEventDto: z.ZodObject<{
|
|
33
|
+
type: z.ZodEnum<{
|
|
34
|
+
message: "message";
|
|
35
|
+
resolved: "resolved";
|
|
36
|
+
closed: "closed";
|
|
37
|
+
escalation_ack: "escalation_ack";
|
|
38
|
+
reopened: "reopened";
|
|
39
|
+
heartbeat: "heartbeat";
|
|
40
|
+
}>;
|
|
41
|
+
ticketId: z.ZodNumber;
|
|
42
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
messageId: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
text: z.ZodOptional<z.ZodString>;
|
|
45
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
+
escalatableMessageId: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
source: z.ZodOptional<z.ZodString>;
|
|
48
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
message: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const zSendMessageDto: z.ZodObject<{
|
|
53
|
+
text: z.ZodString;
|
|
54
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
declare const zSendMessageResponseDto: z.ZodObject<{
|
|
57
|
+
ticketId: z.ZodNumber;
|
|
58
|
+
messageId: z.ZodNumber;
|
|
59
|
+
createdAt: z.ZodISODateTime;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
declare const zTicketInfoDto: z.ZodObject<{
|
|
62
|
+
id: z.ZodNumber;
|
|
63
|
+
status: z.ZodEnum<{
|
|
64
|
+
closed: "closed";
|
|
65
|
+
open: "open";
|
|
66
|
+
}>;
|
|
67
|
+
createdAt: z.ZodISODateTime;
|
|
68
|
+
updatedAt: z.ZodISODateTime;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
declare const zMessageDto: z.ZodObject<{
|
|
71
|
+
id: z.ZodNumber;
|
|
72
|
+
role: z.ZodEnum<{
|
|
73
|
+
user: "user";
|
|
74
|
+
moderator: "moderator";
|
|
75
|
+
bot: "bot";
|
|
76
|
+
system: "system";
|
|
77
|
+
}>;
|
|
78
|
+
content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
+
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
80
|
+
createdAt: z.ZodISODateTime;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
declare const zCurrentTicketResponseDto: z.ZodObject<{
|
|
83
|
+
ticket: z.ZodNullable<z.ZodObject<{
|
|
84
|
+
id: z.ZodNumber;
|
|
85
|
+
status: z.ZodEnum<{
|
|
86
|
+
closed: "closed";
|
|
87
|
+
open: "open";
|
|
88
|
+
}>;
|
|
89
|
+
createdAt: z.ZodISODateTime;
|
|
90
|
+
updatedAt: z.ZodISODateTime;
|
|
91
|
+
}, z.core.$strip>>;
|
|
92
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
93
|
+
id: z.ZodNumber;
|
|
94
|
+
role: z.ZodEnum<{
|
|
95
|
+
user: "user";
|
|
96
|
+
moderator: "moderator";
|
|
97
|
+
bot: "bot";
|
|
98
|
+
system: "system";
|
|
99
|
+
}>;
|
|
100
|
+
content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
101
|
+
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
102
|
+
createdAt: z.ZodISODateTime;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
declare const zMessagesResponseDto: z.ZodObject<{
|
|
106
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
107
|
+
id: z.ZodNumber;
|
|
108
|
+
role: z.ZodEnum<{
|
|
109
|
+
user: "user";
|
|
110
|
+
moderator: "moderator";
|
|
111
|
+
bot: "bot";
|
|
112
|
+
system: "system";
|
|
113
|
+
}>;
|
|
114
|
+
content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
115
|
+
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
116
|
+
createdAt: z.ZodISODateTime;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
nextCursor: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
declare const zUploadResponseDto: z.ZodObject<{
|
|
121
|
+
uploadId: z.ZodString;
|
|
122
|
+
mimeType: z.ZodString;
|
|
123
|
+
sizeBytes: z.ZodNumber;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
declare const zWebAuthControllerIssueTokenBody: z.ZodObject<{
|
|
126
|
+
userId: z.ZodString;
|
|
127
|
+
userProfile: z.ZodObject<{
|
|
128
|
+
name: z.ZodString;
|
|
129
|
+
email: z.ZodOptional<z.ZodString>;
|
|
130
|
+
profileUrl: z.ZodOptional<z.ZodString>;
|
|
131
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
ttlSec: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
/**
|
|
136
|
+
* Short-lived JWT issued
|
|
137
|
+
*/
|
|
138
|
+
declare const zWebAuthControllerIssueTokenResponse: z.ZodObject<{
|
|
139
|
+
token: z.ZodString;
|
|
140
|
+
expiresAt: z.ZodISODateTime;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
declare const zWebTicketsControllerSendMessageBody: z.ZodObject<{
|
|
143
|
+
text: z.ZodString;
|
|
144
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
/**
|
|
147
|
+
* Message recorded
|
|
148
|
+
*/
|
|
149
|
+
declare const zWebTicketsControllerSendMessageResponse: z.ZodObject<{
|
|
150
|
+
ticketId: z.ZodNumber;
|
|
151
|
+
messageId: z.ZodNumber;
|
|
152
|
+
createdAt: z.ZodISODateTime;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
/**
|
|
155
|
+
* Current ticket state
|
|
156
|
+
*/
|
|
157
|
+
declare const zWebTicketsControllerGetCurrentTicketResponse: z.ZodObject<{
|
|
158
|
+
ticket: z.ZodNullable<z.ZodObject<{
|
|
159
|
+
id: z.ZodNumber;
|
|
160
|
+
status: z.ZodEnum<{
|
|
161
|
+
closed: "closed";
|
|
162
|
+
open: "open";
|
|
163
|
+
}>;
|
|
164
|
+
createdAt: z.ZodISODateTime;
|
|
165
|
+
updatedAt: z.ZodISODateTime;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
168
|
+
id: z.ZodNumber;
|
|
169
|
+
role: z.ZodEnum<{
|
|
170
|
+
user: "user";
|
|
171
|
+
moderator: "moderator";
|
|
172
|
+
bot: "bot";
|
|
173
|
+
system: "system";
|
|
174
|
+
}>;
|
|
175
|
+
content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
176
|
+
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
177
|
+
createdAt: z.ZodISODateTime;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
declare const zWebTicketsControllerGetMessagesPath: z.ZodObject<{
|
|
181
|
+
id: z.ZodNumber;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
declare const zWebTicketsControllerGetMessagesQuery: z.ZodObject<{
|
|
184
|
+
since: z.ZodOptional<z.ZodString>;
|
|
185
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
/**
|
|
188
|
+
* Messages since cursor
|
|
189
|
+
*/
|
|
190
|
+
declare const zWebTicketsControllerGetMessagesResponse: z.ZodObject<{
|
|
191
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
192
|
+
id: z.ZodNumber;
|
|
193
|
+
role: z.ZodEnum<{
|
|
194
|
+
user: "user";
|
|
195
|
+
moderator: "moderator";
|
|
196
|
+
bot: "bot";
|
|
197
|
+
system: "system";
|
|
198
|
+
}>;
|
|
199
|
+
content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
200
|
+
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
201
|
+
createdAt: z.ZodISODateTime;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
nextCursor: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
declare const zWebTicketsControllerSseStreamPath: z.ZodObject<{
|
|
206
|
+
id: z.ZodNumber;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
declare const zWebTicketsControllerSseStreamQuery: z.ZodObject<{
|
|
209
|
+
access_token: z.ZodOptional<z.ZodUnknown>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
/**
|
|
212
|
+
* Server-Sent Events stream
|
|
213
|
+
*/
|
|
214
|
+
declare const zWebTicketsControllerSseStreamResponse: z.ZodObject<{
|
|
215
|
+
type: z.ZodEnum<{
|
|
216
|
+
message: "message";
|
|
217
|
+
resolved: "resolved";
|
|
218
|
+
closed: "closed";
|
|
219
|
+
escalation_ack: "escalation_ack";
|
|
220
|
+
reopened: "reopened";
|
|
221
|
+
heartbeat: "heartbeat";
|
|
222
|
+
}>;
|
|
223
|
+
ticketId: z.ZodNumber;
|
|
224
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
messageId: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
text: z.ZodOptional<z.ZodString>;
|
|
227
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
+
escalatableMessageId: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
source: z.ZodOptional<z.ZodString>;
|
|
230
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
231
|
+
message: z.ZodOptional<z.ZodString>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
declare const zWebTicketsControllerEscalatePath: z.ZodObject<{
|
|
235
|
+
id: z.ZodNumber;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
/**
|
|
238
|
+
* Escalation request submitted
|
|
239
|
+
*/
|
|
240
|
+
declare const zWebTicketsControllerEscalateResponse: z.ZodVoid;
|
|
241
|
+
declare const zWebTicketsControllerResolveByUserPath: z.ZodObject<{
|
|
242
|
+
id: z.ZodNumber;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
/**
|
|
245
|
+
* Ticket resolved
|
|
246
|
+
*/
|
|
247
|
+
declare const zWebTicketsControllerResolveByUserResponse: z.ZodVoid;
|
|
248
|
+
declare const zWebUploadsControllerUploadBody: z.ZodObject<{
|
|
249
|
+
file: z.ZodString;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
/**
|
|
252
|
+
* File uploaded successfully
|
|
253
|
+
*/
|
|
254
|
+
declare const zWebUploadsControllerUploadResponse: z.ZodObject<{
|
|
255
|
+
uploadId: z.ZodString;
|
|
256
|
+
mimeType: z.ZodString;
|
|
257
|
+
sizeBytes: z.ZodNumber;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
declare const zWebUploadsControllerGetUploadPath: z.ZodObject<{
|
|
260
|
+
id: z.ZodString;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
/**
|
|
263
|
+
* Image file stream
|
|
264
|
+
*/
|
|
265
|
+
declare const zWebUploadsControllerGetUploadResponse: z.ZodString;
|
|
266
|
+
|
|
267
|
+
export { zCurrentTicketResponseDto, zIssueTokenDto, zIssueTokenResponseDto, zMessageDto, zMessagesResponseDto, zSendMessageDto, zSendMessageResponseDto, zTicketInfoDto, zUploadResponseDto, zWebAuthControllerIssueTokenBody, zWebAuthControllerIssueTokenResponse, zWebProfileDto, zWebSseEventDataDto, zWebSseEventDto, zWebTicketsControllerEscalatePath, zWebTicketsControllerEscalateResponse, zWebTicketsControllerGetCurrentTicketResponse, zWebTicketsControllerGetMessagesPath, zWebTicketsControllerGetMessagesQuery, zWebTicketsControllerGetMessagesResponse, zWebTicketsControllerResolveByUserPath, zWebTicketsControllerResolveByUserResponse, zWebTicketsControllerSendMessageBody, zWebTicketsControllerSendMessageResponse, zWebTicketsControllerSseStreamPath, zWebTicketsControllerSseStreamQuery, zWebTicketsControllerSseStreamResponse, zWebUploadsControllerGetUploadPath, zWebUploadsControllerGetUploadResponse, zWebUploadsControllerUploadBody, zWebUploadsControllerUploadResponse };
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const zWebProfileDto: z.ZodObject<{
|
|
3
4
|
name: z.ZodString;
|
|
4
5
|
email: z.ZodOptional<z.ZodString>;
|
|
5
6
|
profileUrl: z.ZodOptional<z.ZodString>;
|
|
6
7
|
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7
8
|
}, z.core.$strip>;
|
|
8
|
-
|
|
9
|
+
declare const zIssueTokenDto: z.ZodObject<{
|
|
9
10
|
userId: z.ZodString;
|
|
10
11
|
userProfile: z.ZodObject<{
|
|
11
12
|
name: z.ZodString;
|
|
@@ -15,11 +16,11 @@ export declare const zIssueTokenDto: z.ZodObject<{
|
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
ttlSec: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
17
18
|
}, z.core.$strip>;
|
|
18
|
-
|
|
19
|
+
declare const zIssueTokenResponseDto: z.ZodObject<{
|
|
19
20
|
token: z.ZodString;
|
|
20
21
|
expiresAt: z.ZodISODateTime;
|
|
21
22
|
}, z.core.$strip>;
|
|
22
|
-
|
|
23
|
+
declare const zWebSseEventDataDto: z.ZodObject<{
|
|
23
24
|
messageId: z.ZodOptional<z.ZodNumber>;
|
|
24
25
|
text: z.ZodOptional<z.ZodString>;
|
|
25
26
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -28,7 +29,7 @@ export declare const zWebSseEventDataDto: z.ZodObject<{
|
|
|
28
29
|
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
29
30
|
message: z.ZodOptional<z.ZodString>;
|
|
30
31
|
}, z.core.$strip>;
|
|
31
|
-
|
|
32
|
+
declare const zWebSseEventDto: z.ZodObject<{
|
|
32
33
|
type: z.ZodEnum<{
|
|
33
34
|
message: "message";
|
|
34
35
|
resolved: "resolved";
|
|
@@ -48,16 +49,16 @@ export declare const zWebSseEventDto: z.ZodObject<{
|
|
|
48
49
|
message: z.ZodOptional<z.ZodString>;
|
|
49
50
|
}, z.core.$strip>>;
|
|
50
51
|
}, z.core.$strip>;
|
|
51
|
-
|
|
52
|
+
declare const zSendMessageDto: z.ZodObject<{
|
|
52
53
|
text: z.ZodString;
|
|
53
54
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
55
|
}, z.core.$strip>;
|
|
55
|
-
|
|
56
|
+
declare const zSendMessageResponseDto: z.ZodObject<{
|
|
56
57
|
ticketId: z.ZodNumber;
|
|
57
58
|
messageId: z.ZodNumber;
|
|
58
59
|
createdAt: z.ZodISODateTime;
|
|
59
60
|
}, z.core.$strip>;
|
|
60
|
-
|
|
61
|
+
declare const zTicketInfoDto: z.ZodObject<{
|
|
61
62
|
id: z.ZodNumber;
|
|
62
63
|
status: z.ZodEnum<{
|
|
63
64
|
closed: "closed";
|
|
@@ -66,7 +67,7 @@ export declare const zTicketInfoDto: z.ZodObject<{
|
|
|
66
67
|
createdAt: z.ZodISODateTime;
|
|
67
68
|
updatedAt: z.ZodISODateTime;
|
|
68
69
|
}, z.core.$strip>;
|
|
69
|
-
|
|
70
|
+
declare const zMessageDto: z.ZodObject<{
|
|
70
71
|
id: z.ZodNumber;
|
|
71
72
|
role: z.ZodEnum<{
|
|
72
73
|
user: "user";
|
|
@@ -78,7 +79,7 @@ export declare const zMessageDto: z.ZodObject<{
|
|
|
78
79
|
webAttachmentIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
79
80
|
createdAt: z.ZodISODateTime;
|
|
80
81
|
}, z.core.$strip>;
|
|
81
|
-
|
|
82
|
+
declare const zCurrentTicketResponseDto: z.ZodObject<{
|
|
82
83
|
ticket: z.ZodNullable<z.ZodObject<{
|
|
83
84
|
id: z.ZodNumber;
|
|
84
85
|
status: z.ZodEnum<{
|
|
@@ -101,7 +102,7 @@ export declare const zCurrentTicketResponseDto: z.ZodObject<{
|
|
|
101
102
|
createdAt: z.ZodISODateTime;
|
|
102
103
|
}, z.core.$strip>>;
|
|
103
104
|
}, z.core.$strip>;
|
|
104
|
-
|
|
105
|
+
declare const zMessagesResponseDto: z.ZodObject<{
|
|
105
106
|
messages: z.ZodArray<z.ZodObject<{
|
|
106
107
|
id: z.ZodNumber;
|
|
107
108
|
role: z.ZodEnum<{
|
|
@@ -116,12 +117,12 @@ export declare const zMessagesResponseDto: z.ZodObject<{
|
|
|
116
117
|
}, z.core.$strip>>;
|
|
117
118
|
nextCursor: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
118
119
|
}, z.core.$strip>;
|
|
119
|
-
|
|
120
|
+
declare const zUploadResponseDto: z.ZodObject<{
|
|
120
121
|
uploadId: z.ZodString;
|
|
121
122
|
mimeType: z.ZodString;
|
|
122
123
|
sizeBytes: z.ZodNumber;
|
|
123
124
|
}, z.core.$strip>;
|
|
124
|
-
|
|
125
|
+
declare const zWebAuthControllerIssueTokenBody: z.ZodObject<{
|
|
125
126
|
userId: z.ZodString;
|
|
126
127
|
userProfile: z.ZodObject<{
|
|
127
128
|
name: z.ZodString;
|
|
@@ -134,18 +135,18 @@ export declare const zWebAuthControllerIssueTokenBody: z.ZodObject<{
|
|
|
134
135
|
/**
|
|
135
136
|
* Short-lived JWT issued
|
|
136
137
|
*/
|
|
137
|
-
|
|
138
|
+
declare const zWebAuthControllerIssueTokenResponse: z.ZodObject<{
|
|
138
139
|
token: z.ZodString;
|
|
139
140
|
expiresAt: z.ZodISODateTime;
|
|
140
141
|
}, z.core.$strip>;
|
|
141
|
-
|
|
142
|
+
declare const zWebTicketsControllerSendMessageBody: z.ZodObject<{
|
|
142
143
|
text: z.ZodString;
|
|
143
144
|
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
145
|
}, z.core.$strip>;
|
|
145
146
|
/**
|
|
146
147
|
* Message recorded
|
|
147
148
|
*/
|
|
148
|
-
|
|
149
|
+
declare const zWebTicketsControllerSendMessageResponse: z.ZodObject<{
|
|
149
150
|
ticketId: z.ZodNumber;
|
|
150
151
|
messageId: z.ZodNumber;
|
|
151
152
|
createdAt: z.ZodISODateTime;
|
|
@@ -153,7 +154,7 @@ export declare const zWebTicketsControllerSendMessageResponse: z.ZodObject<{
|
|
|
153
154
|
/**
|
|
154
155
|
* Current ticket state
|
|
155
156
|
*/
|
|
156
|
-
|
|
157
|
+
declare const zWebTicketsControllerGetCurrentTicketResponse: z.ZodObject<{
|
|
157
158
|
ticket: z.ZodNullable<z.ZodObject<{
|
|
158
159
|
id: z.ZodNumber;
|
|
159
160
|
status: z.ZodEnum<{
|
|
@@ -176,17 +177,17 @@ export declare const zWebTicketsControllerGetCurrentTicketResponse: z.ZodObject<
|
|
|
176
177
|
createdAt: z.ZodISODateTime;
|
|
177
178
|
}, z.core.$strip>>;
|
|
178
179
|
}, z.core.$strip>;
|
|
179
|
-
|
|
180
|
+
declare const zWebTicketsControllerGetMessagesPath: z.ZodObject<{
|
|
180
181
|
id: z.ZodNumber;
|
|
181
182
|
}, z.core.$strip>;
|
|
182
|
-
|
|
183
|
+
declare const zWebTicketsControllerGetMessagesQuery: z.ZodObject<{
|
|
183
184
|
since: z.ZodOptional<z.ZodString>;
|
|
184
185
|
limit: z.ZodOptional<z.ZodString>;
|
|
185
186
|
}, z.core.$strip>;
|
|
186
187
|
/**
|
|
187
188
|
* Messages since cursor
|
|
188
189
|
*/
|
|
189
|
-
|
|
190
|
+
declare const zWebTicketsControllerGetMessagesResponse: z.ZodObject<{
|
|
190
191
|
messages: z.ZodArray<z.ZodObject<{
|
|
191
192
|
id: z.ZodNumber;
|
|
192
193
|
role: z.ZodEnum<{
|
|
@@ -201,16 +202,16 @@ export declare const zWebTicketsControllerGetMessagesResponse: z.ZodObject<{
|
|
|
201
202
|
}, z.core.$strip>>;
|
|
202
203
|
nextCursor: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
203
204
|
}, z.core.$strip>;
|
|
204
|
-
|
|
205
|
+
declare const zWebTicketsControllerSseStreamPath: z.ZodObject<{
|
|
205
206
|
id: z.ZodNumber;
|
|
206
207
|
}, z.core.$strip>;
|
|
207
|
-
|
|
208
|
+
declare const zWebTicketsControllerSseStreamQuery: z.ZodObject<{
|
|
208
209
|
access_token: z.ZodOptional<z.ZodUnknown>;
|
|
209
210
|
}, z.core.$strip>;
|
|
210
211
|
/**
|
|
211
212
|
* Server-Sent Events stream
|
|
212
213
|
*/
|
|
213
|
-
|
|
214
|
+
declare const zWebTicketsControllerSseStreamResponse: z.ZodObject<{
|
|
214
215
|
type: z.ZodEnum<{
|
|
215
216
|
message: "message";
|
|
216
217
|
resolved: "resolved";
|
|
@@ -230,36 +231,37 @@ export declare const zWebTicketsControllerSseStreamResponse: z.ZodObject<{
|
|
|
230
231
|
message: z.ZodOptional<z.ZodString>;
|
|
231
232
|
}, z.core.$strip>>;
|
|
232
233
|
}, z.core.$strip>;
|
|
233
|
-
|
|
234
|
+
declare const zWebTicketsControllerEscalatePath: z.ZodObject<{
|
|
234
235
|
id: z.ZodNumber;
|
|
235
236
|
}, z.core.$strip>;
|
|
236
237
|
/**
|
|
237
238
|
* Escalation request submitted
|
|
238
239
|
*/
|
|
239
|
-
|
|
240
|
-
|
|
240
|
+
declare const zWebTicketsControllerEscalateResponse: z.ZodVoid;
|
|
241
|
+
declare const zWebTicketsControllerResolveByUserPath: z.ZodObject<{
|
|
241
242
|
id: z.ZodNumber;
|
|
242
243
|
}, z.core.$strip>;
|
|
243
244
|
/**
|
|
244
245
|
* Ticket resolved
|
|
245
246
|
*/
|
|
246
|
-
|
|
247
|
-
|
|
247
|
+
declare const zWebTicketsControllerResolveByUserResponse: z.ZodVoid;
|
|
248
|
+
declare const zWebUploadsControllerUploadBody: z.ZodObject<{
|
|
248
249
|
file: z.ZodString;
|
|
249
250
|
}, z.core.$strip>;
|
|
250
251
|
/**
|
|
251
252
|
* File uploaded successfully
|
|
252
253
|
*/
|
|
253
|
-
|
|
254
|
+
declare const zWebUploadsControllerUploadResponse: z.ZodObject<{
|
|
254
255
|
uploadId: z.ZodString;
|
|
255
256
|
mimeType: z.ZodString;
|
|
256
257
|
sizeBytes: z.ZodNumber;
|
|
257
258
|
}, z.core.$strip>;
|
|
258
|
-
|
|
259
|
+
declare const zWebUploadsControllerGetUploadPath: z.ZodObject<{
|
|
259
260
|
id: z.ZodString;
|
|
260
261
|
}, z.core.$strip>;
|
|
261
262
|
/**
|
|
262
263
|
* Image file stream
|
|
263
264
|
*/
|
|
264
|
-
|
|
265
|
-
|
|
265
|
+
declare const zWebUploadsControllerGetUploadResponse: z.ZodString;
|
|
266
|
+
|
|
267
|
+
export { zCurrentTicketResponseDto, zIssueTokenDto, zIssueTokenResponseDto, zMessageDto, zMessagesResponseDto, zSendMessageDto, zSendMessageResponseDto, zTicketInfoDto, zUploadResponseDto, zWebAuthControllerIssueTokenBody, zWebAuthControllerIssueTokenResponse, zWebProfileDto, zWebSseEventDataDto, zWebSseEventDto, zWebTicketsControllerEscalatePath, zWebTicketsControllerEscalateResponse, zWebTicketsControllerGetCurrentTicketResponse, zWebTicketsControllerGetMessagesPath, zWebTicketsControllerGetMessagesQuery, zWebTicketsControllerGetMessagesResponse, zWebTicketsControllerResolveByUserPath, zWebTicketsControllerResolveByUserResponse, zWebTicketsControllerSendMessageBody, zWebTicketsControllerSendMessageResponse, zWebTicketsControllerSseStreamPath, zWebTicketsControllerSseStreamQuery, zWebTicketsControllerSseStreamResponse, zWebUploadsControllerGetUploadPath, zWebUploadsControllerGetUploadResponse, zWebUploadsControllerUploadBody, zWebUploadsControllerUploadResponse };
|