@kl1/contracts 1.3.19 → 1.3.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +257 -1992
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +0 -36
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -23
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2212 -2580
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +603 -679
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +390 -501
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +359 -359
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +35405 -40773
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +65 -76
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +81 -90
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +49 -911
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -395
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -10
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -5
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +261 -360
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +268 -359
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +7 -16
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +261 -360
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +0 -5
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/sms/index.d.ts +7 -44
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +261 -338
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +660 -660
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +261 -338
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +261 -338
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +261 -348
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +48 -350
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +4 -46
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +12 -66
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -323
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/entities/src/enums/chat.d.ts +0 -12
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1748 -2102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1748 -2101
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,21 +1,17 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import {
|
2
|
+
import { WidgetSchema } from './schema';
|
3
3
|
import { CreateWidgetSchema, GetWidgetUrlPathQuerySchema, UpdateWidgetSchema } from './validation';
|
4
4
|
export type CreateWidgetRequest = z.infer<typeof CreateWidgetSchema>;
|
5
5
|
export type UpdateWidgetRequest = z.infer<typeof UpdateWidgetSchema>;
|
6
6
|
export type GetWidgetUrlQueryRequest = z.infer<typeof GetWidgetUrlPathQuerySchema>;
|
7
7
|
export type Widget = z.infer<typeof WidgetSchema>;
|
8
|
-
export type WidgetPosition = z.infer<typeof WidgetPositionSchema>;
|
9
|
-
export type WidgetType = z.infer<typeof WidgetTypeSchema>;
|
10
|
-
export type WidgetHeader = z.infer<typeof WidgetHeaderSchema>;
|
11
|
-
export type WidgetMethod = z.infer<typeof WidgetMethodSchema>;
|
12
8
|
export declare const widgetContract: {
|
13
9
|
createWidget: {
|
14
10
|
body: z.ZodObject<{
|
15
11
|
name: z.ZodString;
|
16
|
-
description: z.
|
12
|
+
description: z.ZodString;
|
17
13
|
url: z.ZodString;
|
18
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
14
|
+
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>;
|
19
15
|
fields: z.ZodOptional<z.ZodObject<{
|
20
16
|
data: z.ZodArray<z.ZodString, "many">;
|
21
17
|
}, "strip", z.ZodTypeAny, {
|
@@ -23,49 +19,22 @@ export declare const widgetContract: {
|
|
23
19
|
}, {
|
24
20
|
data: string[];
|
25
21
|
}>>;
|
26
|
-
type: z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>;
|
27
|
-
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
28
|
-
key: z.ZodString;
|
29
|
-
value: z.ZodString;
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
31
|
-
key: string;
|
32
|
-
value: string;
|
33
|
-
}, {
|
34
|
-
key: string;
|
35
|
-
value: string;
|
36
|
-
}>, "many">>;
|
37
|
-
method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
38
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
39
22
|
}, "strip", z.ZodTypeAny, {
|
40
23
|
name: string;
|
41
|
-
type: "custom" | "iframe";
|
42
24
|
url: string;
|
43
|
-
position: "menu" | "ticket_detail" | "contact_detail"
|
44
|
-
|
45
|
-
description?: string | undefined;
|
25
|
+
position: "menu" | "ticket_detail" | "contact_detail";
|
26
|
+
description: string;
|
46
27
|
fields?: {
|
47
28
|
data: string[];
|
48
29
|
} | undefined;
|
49
|
-
headers?: {
|
50
|
-
key: string;
|
51
|
-
value: string;
|
52
|
-
}[] | undefined;
|
53
|
-
method?: "get" | "post" | undefined;
|
54
30
|
}, {
|
55
31
|
name: string;
|
56
|
-
type: "custom" | "iframe";
|
57
32
|
url: string;
|
58
|
-
position: "menu" | "ticket_detail" | "contact_detail"
|
59
|
-
|
60
|
-
description?: string | undefined;
|
33
|
+
position: "menu" | "ticket_detail" | "contact_detail";
|
34
|
+
description: string;
|
61
35
|
fields?: {
|
62
36
|
data: string[];
|
63
37
|
} | undefined;
|
64
|
-
headers?: {
|
65
|
-
key: string;
|
66
|
-
value: string;
|
67
|
-
}[] | undefined;
|
68
|
-
method?: "get" | "post" | undefined;
|
69
38
|
}>;
|
70
39
|
summary: "Create a widget.";
|
71
40
|
method: "POST";
|
@@ -79,7 +48,7 @@ export declare const widgetContract: {
|
|
79
48
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
80
49
|
name: z.ZodString;
|
81
50
|
description: z.ZodNullable<z.ZodString>;
|
82
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
51
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
83
52
|
fields: z.ZodObject<{
|
84
53
|
data: z.ZodArray<z.ZodString, "many">;
|
85
54
|
}, "strip", z.ZodTypeAny, {
|
@@ -88,57 +57,27 @@ export declare const widgetContract: {
|
|
88
57
|
data: string[];
|
89
58
|
}>;
|
90
59
|
url: z.ZodString;
|
91
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
92
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
93
|
-
key: z.ZodString;
|
94
|
-
value: z.ZodString;
|
95
|
-
}, "strip", z.ZodTypeAny, {
|
96
|
-
key: string;
|
97
|
-
value: string;
|
98
|
-
}, {
|
99
|
-
key: string;
|
100
|
-
value: string;
|
101
|
-
}>, "many">>;
|
102
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
103
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
104
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
105
60
|
}, "strip", z.ZodTypeAny, {
|
106
61
|
name: string;
|
107
|
-
type: "custom" | "iframe" | null;
|
108
62
|
id: string;
|
109
63
|
url: string;
|
110
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
111
|
-
method: "get" | "post" | null;
|
64
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
112
65
|
description: string | null;
|
113
66
|
createdAt: Date;
|
114
67
|
updatedAt: Date;
|
115
68
|
deletedAt: Date | null;
|
116
|
-
headers: {
|
117
|
-
key: string;
|
118
|
-
value: string;
|
119
|
-
}[] | null;
|
120
|
-
fileKey: string | null;
|
121
|
-
fileUrl: string | null;
|
122
69
|
fields: {
|
123
70
|
data: string[];
|
124
71
|
};
|
125
72
|
}, {
|
126
73
|
name: string;
|
127
|
-
type: "custom" | "iframe" | null;
|
128
74
|
id: string;
|
129
75
|
url: string;
|
130
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
131
|
-
method: "get" | "post" | null;
|
76
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
132
77
|
description: string | null;
|
133
78
|
createdAt: Date;
|
134
79
|
updatedAt: Date;
|
135
80
|
deletedAt: Date | null;
|
136
|
-
headers: {
|
137
|
-
key: string;
|
138
|
-
value: string;
|
139
|
-
}[] | null;
|
140
|
-
fileKey: string | null;
|
141
|
-
fileUrl: string | null;
|
142
81
|
fields: {
|
143
82
|
data: string[];
|
144
83
|
};
|
@@ -147,21 +86,13 @@ export declare const widgetContract: {
|
|
147
86
|
requestId: string;
|
148
87
|
widget: {
|
149
88
|
name: string;
|
150
|
-
type: "custom" | "iframe" | null;
|
151
89
|
id: string;
|
152
90
|
url: string;
|
153
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
154
|
-
method: "get" | "post" | null;
|
91
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
155
92
|
description: string | null;
|
156
93
|
createdAt: Date;
|
157
94
|
updatedAt: Date;
|
158
95
|
deletedAt: Date | null;
|
159
|
-
headers: {
|
160
|
-
key: string;
|
161
|
-
value: string;
|
162
|
-
}[] | null;
|
163
|
-
fileKey: string | null;
|
164
|
-
fileUrl: string | null;
|
165
96
|
fields: {
|
166
97
|
data: string[];
|
167
98
|
};
|
@@ -170,21 +101,13 @@ export declare const widgetContract: {
|
|
170
101
|
requestId: string;
|
171
102
|
widget: {
|
172
103
|
name: string;
|
173
|
-
type: "custom" | "iframe" | null;
|
174
104
|
id: string;
|
175
105
|
url: string;
|
176
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
177
|
-
method: "get" | "post" | null;
|
106
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
178
107
|
description: string | null;
|
179
108
|
createdAt: Date;
|
180
109
|
updatedAt: Date;
|
181
110
|
deletedAt: Date | null;
|
182
|
-
headers: {
|
183
|
-
key: string;
|
184
|
-
value: string;
|
185
|
-
}[] | null;
|
186
|
-
fileKey: string | null;
|
187
|
-
fileUrl: string | null;
|
188
111
|
fields: {
|
189
112
|
data: string[];
|
190
113
|
};
|
@@ -218,7 +141,7 @@ export declare const widgetContract: {
|
|
218
141
|
error?: any;
|
219
142
|
}>;
|
220
143
|
};
|
221
|
-
path: "
|
144
|
+
path: "widget";
|
222
145
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
223
146
|
'x-tenant': z.ZodString;
|
224
147
|
'x-service-token': z.ZodString;
|
@@ -260,41 +183,25 @@ export declare const widgetContract: {
|
|
260
183
|
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
261
184
|
data: z.ZodArray<z.ZodType<{
|
262
185
|
name: string;
|
263
|
-
type: "custom" | "iframe" | null;
|
264
186
|
id: string;
|
265
187
|
url: string;
|
266
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
267
|
-
method: "get" | "post" | null;
|
188
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
268
189
|
description: string | null;
|
269
190
|
createdAt: Date;
|
270
191
|
updatedAt: Date;
|
271
192
|
deletedAt: Date | null;
|
272
|
-
headers: {
|
273
|
-
key: string;
|
274
|
-
value: string;
|
275
|
-
}[] | null;
|
276
|
-
fileKey: string | null;
|
277
|
-
fileUrl: string | null;
|
278
193
|
fields: {
|
279
194
|
data: string[];
|
280
195
|
};
|
281
196
|
}, z.ZodTypeDef, {
|
282
197
|
name: string;
|
283
|
-
type: "custom" | "iframe" | null;
|
284
198
|
id: string;
|
285
199
|
url: string;
|
286
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
287
|
-
method: "get" | "post" | null;
|
200
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
288
201
|
description: string | null;
|
289
202
|
createdAt: Date;
|
290
203
|
updatedAt: Date;
|
291
204
|
deletedAt: Date | null;
|
292
|
-
headers: {
|
293
|
-
key: string;
|
294
|
-
value: string;
|
295
|
-
}[] | null;
|
296
|
-
fileKey: string | null;
|
297
|
-
fileUrl: string | null;
|
298
205
|
fields: {
|
299
206
|
data: string[];
|
300
207
|
};
|
@@ -302,21 +209,13 @@ export declare const widgetContract: {
|
|
302
209
|
}, "strip", z.ZodTypeAny, {
|
303
210
|
data: {
|
304
211
|
name: string;
|
305
|
-
type: "custom" | "iframe" | null;
|
306
212
|
id: string;
|
307
213
|
url: string;
|
308
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
309
|
-
method: "get" | "post" | null;
|
214
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
310
215
|
description: string | null;
|
311
216
|
createdAt: Date;
|
312
217
|
updatedAt: Date;
|
313
218
|
deletedAt: Date | null;
|
314
|
-
headers: {
|
315
|
-
key: string;
|
316
|
-
value: string;
|
317
|
-
}[] | null;
|
318
|
-
fileKey: string | null;
|
319
|
-
fileUrl: string | null;
|
320
219
|
fields: {
|
321
220
|
data: string[];
|
322
221
|
};
|
@@ -328,21 +227,13 @@ export declare const widgetContract: {
|
|
328
227
|
}, {
|
329
228
|
data: {
|
330
229
|
name: string;
|
331
|
-
type: "custom" | "iframe" | null;
|
332
230
|
id: string;
|
333
231
|
url: string;
|
334
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
335
|
-
method: "get" | "post" | null;
|
232
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
336
233
|
description: string | null;
|
337
234
|
createdAt: Date;
|
338
235
|
updatedAt: Date;
|
339
236
|
deletedAt: Date | null;
|
340
|
-
headers: {
|
341
|
-
key: string;
|
342
|
-
value: string;
|
343
|
-
}[] | null;
|
344
|
-
fileKey: string | null;
|
345
|
-
fileUrl: string | null;
|
346
237
|
fields: {
|
347
238
|
data: string[];
|
348
239
|
};
|
@@ -380,7 +271,7 @@ export declare const widgetContract: {
|
|
380
271
|
error?: any;
|
381
272
|
}>;
|
382
273
|
};
|
383
|
-
path: "
|
274
|
+
path: "widget";
|
384
275
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
385
276
|
'x-tenant': z.ZodString;
|
386
277
|
'x-service-token': z.ZodString;
|
@@ -409,7 +300,7 @@ export declare const widgetContract: {
|
|
409
300
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
410
301
|
name: z.ZodString;
|
411
302
|
description: z.ZodNullable<z.ZodString>;
|
412
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
303
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
413
304
|
fields: z.ZodObject<{
|
414
305
|
data: z.ZodArray<z.ZodString, "many">;
|
415
306
|
}, "strip", z.ZodTypeAny, {
|
@@ -418,57 +309,27 @@ export declare const widgetContract: {
|
|
418
309
|
data: string[];
|
419
310
|
}>;
|
420
311
|
url: z.ZodString;
|
421
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
422
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
423
|
-
key: z.ZodString;
|
424
|
-
value: z.ZodString;
|
425
|
-
}, "strip", z.ZodTypeAny, {
|
426
|
-
key: string;
|
427
|
-
value: string;
|
428
|
-
}, {
|
429
|
-
key: string;
|
430
|
-
value: string;
|
431
|
-
}>, "many">>;
|
432
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
433
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
434
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
435
312
|
}, "strip", z.ZodTypeAny, {
|
436
313
|
name: string;
|
437
|
-
type: "custom" | "iframe" | null;
|
438
314
|
id: string;
|
439
315
|
url: string;
|
440
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
441
|
-
method: "get" | "post" | null;
|
316
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
442
317
|
description: string | null;
|
443
318
|
createdAt: Date;
|
444
319
|
updatedAt: Date;
|
445
320
|
deletedAt: Date | null;
|
446
|
-
headers: {
|
447
|
-
key: string;
|
448
|
-
value: string;
|
449
|
-
}[] | null;
|
450
|
-
fileKey: string | null;
|
451
|
-
fileUrl: string | null;
|
452
321
|
fields: {
|
453
322
|
data: string[];
|
454
323
|
};
|
455
324
|
}, {
|
456
325
|
name: string;
|
457
|
-
type: "custom" | "iframe" | null;
|
458
326
|
id: string;
|
459
327
|
url: string;
|
460
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
461
|
-
method: "get" | "post" | null;
|
328
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
462
329
|
description: string | null;
|
463
330
|
createdAt: Date;
|
464
331
|
updatedAt: Date;
|
465
332
|
deletedAt: Date | null;
|
466
|
-
headers: {
|
467
|
-
key: string;
|
468
|
-
value: string;
|
469
|
-
}[] | null;
|
470
|
-
fileKey: string | null;
|
471
|
-
fileUrl: string | null;
|
472
333
|
fields: {
|
473
334
|
data: string[];
|
474
335
|
};
|
@@ -501,7 +362,7 @@ export declare const widgetContract: {
|
|
501
362
|
error?: any;
|
502
363
|
}>;
|
503
364
|
};
|
504
|
-
path: "
|
365
|
+
path: "widget/menu";
|
505
366
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
506
367
|
'x-tenant': z.ZodString;
|
507
368
|
'x-service-token': z.ZodString;
|
@@ -530,7 +391,7 @@ export declare const widgetContract: {
|
|
530
391
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
531
392
|
name: z.ZodString;
|
532
393
|
description: z.ZodNullable<z.ZodString>;
|
533
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
394
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
534
395
|
fields: z.ZodObject<{
|
535
396
|
data: z.ZodArray<z.ZodString, "many">;
|
536
397
|
}, "strip", z.ZodTypeAny, {
|
@@ -539,57 +400,27 @@ export declare const widgetContract: {
|
|
539
400
|
data: string[];
|
540
401
|
}>;
|
541
402
|
url: z.ZodString;
|
542
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
543
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
544
|
-
key: z.ZodString;
|
545
|
-
value: z.ZodString;
|
546
|
-
}, "strip", z.ZodTypeAny, {
|
547
|
-
key: string;
|
548
|
-
value: string;
|
549
|
-
}, {
|
550
|
-
key: string;
|
551
|
-
value: string;
|
552
|
-
}>, "many">>;
|
553
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
554
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
555
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
556
403
|
}, "strip", z.ZodTypeAny, {
|
557
404
|
name: string;
|
558
|
-
type: "custom" | "iframe" | null;
|
559
405
|
id: string;
|
560
406
|
url: string;
|
561
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
562
|
-
method: "get" | "post" | null;
|
407
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
563
408
|
description: string | null;
|
564
409
|
createdAt: Date;
|
565
410
|
updatedAt: Date;
|
566
411
|
deletedAt: Date | null;
|
567
|
-
headers: {
|
568
|
-
key: string;
|
569
|
-
value: string;
|
570
|
-
}[] | null;
|
571
|
-
fileKey: string | null;
|
572
|
-
fileUrl: string | null;
|
573
412
|
fields: {
|
574
413
|
data: string[];
|
575
414
|
};
|
576
415
|
}, {
|
577
416
|
name: string;
|
578
|
-
type: "custom" | "iframe" | null;
|
579
417
|
id: string;
|
580
418
|
url: string;
|
581
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
582
|
-
method: "get" | "post" | null;
|
419
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
583
420
|
description: string | null;
|
584
421
|
createdAt: Date;
|
585
422
|
updatedAt: Date;
|
586
423
|
deletedAt: Date | null;
|
587
|
-
headers: {
|
588
|
-
key: string;
|
589
|
-
value: string;
|
590
|
-
}[] | null;
|
591
|
-
fileKey: string | null;
|
592
|
-
fileUrl: string | null;
|
593
424
|
fields: {
|
594
425
|
data: string[];
|
595
426
|
};
|
@@ -622,7 +453,7 @@ export declare const widgetContract: {
|
|
622
453
|
error?: any;
|
623
454
|
}>;
|
624
455
|
};
|
625
|
-
path: "
|
456
|
+
path: "widget/ticket_detail";
|
626
457
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
627
458
|
'x-tenant': z.ZodString;
|
628
459
|
'x-service-token': z.ZodString;
|
@@ -651,7 +482,7 @@ export declare const widgetContract: {
|
|
651
482
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
652
483
|
name: z.ZodString;
|
653
484
|
description: z.ZodNullable<z.ZodString>;
|
654
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
485
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
655
486
|
fields: z.ZodObject<{
|
656
487
|
data: z.ZodArray<z.ZodString, "many">;
|
657
488
|
}, "strip", z.ZodTypeAny, {
|
@@ -660,57 +491,27 @@ export declare const widgetContract: {
|
|
660
491
|
data: string[];
|
661
492
|
}>;
|
662
493
|
url: z.ZodString;
|
663
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
664
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
665
|
-
key: z.ZodString;
|
666
|
-
value: z.ZodString;
|
667
|
-
}, "strip", z.ZodTypeAny, {
|
668
|
-
key: string;
|
669
|
-
value: string;
|
670
|
-
}, {
|
671
|
-
key: string;
|
672
|
-
value: string;
|
673
|
-
}>, "many">>;
|
674
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
675
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
676
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
677
494
|
}, "strip", z.ZodTypeAny, {
|
678
495
|
name: string;
|
679
|
-
type: "custom" | "iframe" | null;
|
680
496
|
id: string;
|
681
497
|
url: string;
|
682
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
683
|
-
method: "get" | "post" | null;
|
498
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
684
499
|
description: string | null;
|
685
500
|
createdAt: Date;
|
686
501
|
updatedAt: Date;
|
687
502
|
deletedAt: Date | null;
|
688
|
-
headers: {
|
689
|
-
key: string;
|
690
|
-
value: string;
|
691
|
-
}[] | null;
|
692
|
-
fileKey: string | null;
|
693
|
-
fileUrl: string | null;
|
694
503
|
fields: {
|
695
504
|
data: string[];
|
696
505
|
};
|
697
506
|
}, {
|
698
507
|
name: string;
|
699
|
-
type: "custom" | "iframe" | null;
|
700
508
|
id: string;
|
701
509
|
url: string;
|
702
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
703
|
-
method: "get" | "post" | null;
|
510
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
704
511
|
description: string | null;
|
705
512
|
createdAt: Date;
|
706
513
|
updatedAt: Date;
|
707
514
|
deletedAt: Date | null;
|
708
|
-
headers: {
|
709
|
-
key: string;
|
710
|
-
value: string;
|
711
|
-
}[] | null;
|
712
|
-
fileKey: string | null;
|
713
|
-
fileUrl: string | null;
|
714
515
|
fields: {
|
715
516
|
data: string[];
|
716
517
|
};
|
@@ -743,7 +544,7 @@ export declare const widgetContract: {
|
|
743
544
|
error?: any;
|
744
545
|
}>;
|
745
546
|
};
|
746
|
-
path: "
|
547
|
+
path: "widget/contact_detail";
|
747
548
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
748
549
|
'x-tenant': z.ZodString;
|
749
550
|
'x-service-token': z.ZodString;
|
@@ -779,7 +580,7 @@ export declare const widgetContract: {
|
|
779
580
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
780
581
|
name: z.ZodString;
|
781
582
|
description: z.ZodNullable<z.ZodString>;
|
782
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
583
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
783
584
|
fields: z.ZodObject<{
|
784
585
|
data: z.ZodArray<z.ZodString, "many">;
|
785
586
|
}, "strip", z.ZodTypeAny, {
|
@@ -788,57 +589,27 @@ export declare const widgetContract: {
|
|
788
589
|
data: string[];
|
789
590
|
}>;
|
790
591
|
url: z.ZodString;
|
791
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
792
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
793
|
-
key: z.ZodString;
|
794
|
-
value: z.ZodString;
|
795
|
-
}, "strip", z.ZodTypeAny, {
|
796
|
-
key: string;
|
797
|
-
value: string;
|
798
|
-
}, {
|
799
|
-
key: string;
|
800
|
-
value: string;
|
801
|
-
}>, "many">>;
|
802
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
803
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
804
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
805
592
|
}, "strip", z.ZodTypeAny, {
|
806
593
|
name: string;
|
807
|
-
type: "custom" | "iframe" | null;
|
808
594
|
id: string;
|
809
595
|
url: string;
|
810
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
811
|
-
method: "get" | "post" | null;
|
596
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
812
597
|
description: string | null;
|
813
598
|
createdAt: Date;
|
814
599
|
updatedAt: Date;
|
815
600
|
deletedAt: Date | null;
|
816
|
-
headers: {
|
817
|
-
key: string;
|
818
|
-
value: string;
|
819
|
-
}[] | null;
|
820
|
-
fileKey: string | null;
|
821
|
-
fileUrl: string | null;
|
822
601
|
fields: {
|
823
602
|
data: string[];
|
824
603
|
};
|
825
604
|
}, {
|
826
605
|
name: string;
|
827
|
-
type: "custom" | "iframe" | null;
|
828
606
|
id: string;
|
829
607
|
url: string;
|
830
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
831
|
-
method: "get" | "post" | null;
|
608
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
832
609
|
description: string | null;
|
833
610
|
createdAt: Date;
|
834
611
|
updatedAt: Date;
|
835
612
|
deletedAt: Date | null;
|
836
|
-
headers: {
|
837
|
-
key: string;
|
838
|
-
value: string;
|
839
|
-
}[] | null;
|
840
|
-
fileKey: string | null;
|
841
|
-
fileUrl: string | null;
|
842
613
|
fields: {
|
843
614
|
data: string[];
|
844
615
|
};
|
@@ -871,7 +642,7 @@ export declare const widgetContract: {
|
|
871
642
|
error?: any;
|
872
643
|
}>;
|
873
644
|
};
|
874
|
-
path: "
|
645
|
+
path: "widget/:id";
|
875
646
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
876
647
|
'x-tenant': z.ZodString;
|
877
648
|
'x-service-token': z.ZodString;
|
@@ -931,7 +702,7 @@ export declare const widgetContract: {
|
|
931
702
|
error?: any;
|
932
703
|
}>;
|
933
704
|
};
|
934
|
-
path: "
|
705
|
+
path: "widget/url_token/generate";
|
935
706
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
936
707
|
'x-tenant': z.ZodString;
|
937
708
|
'x-service-token': z.ZodString;
|
@@ -952,9 +723,9 @@ export declare const widgetContract: {
|
|
952
723
|
updateWidget: {
|
953
724
|
body: z.ZodObject<{
|
954
725
|
name: z.ZodString;
|
955
|
-
description: z.
|
726
|
+
description: z.ZodString;
|
956
727
|
url: z.ZodString;
|
957
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
728
|
+
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>;
|
958
729
|
fields: z.ZodOptional<z.ZodObject<{
|
959
730
|
data: z.ZodArray<z.ZodString, "many">;
|
960
731
|
}, "strip", z.ZodTypeAny, {
|
@@ -962,49 +733,22 @@ export declare const widgetContract: {
|
|
962
733
|
}, {
|
963
734
|
data: string[];
|
964
735
|
}>>;
|
965
|
-
type: z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>;
|
966
|
-
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
967
|
-
key: z.ZodString;
|
968
|
-
value: z.ZodString;
|
969
|
-
}, "strip", z.ZodTypeAny, {
|
970
|
-
key: string;
|
971
|
-
value: string;
|
972
|
-
}, {
|
973
|
-
key: string;
|
974
|
-
value: string;
|
975
|
-
}>, "many">>;
|
976
|
-
method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
977
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
978
736
|
}, "strip", z.ZodTypeAny, {
|
979
737
|
name: string;
|
980
|
-
type: "custom" | "iframe";
|
981
738
|
url: string;
|
982
|
-
position: "menu" | "ticket_detail" | "contact_detail"
|
983
|
-
|
984
|
-
description?: string | undefined;
|
739
|
+
position: "menu" | "ticket_detail" | "contact_detail";
|
740
|
+
description: string;
|
985
741
|
fields?: {
|
986
742
|
data: string[];
|
987
743
|
} | undefined;
|
988
|
-
headers?: {
|
989
|
-
key: string;
|
990
|
-
value: string;
|
991
|
-
}[] | undefined;
|
992
|
-
method?: "get" | "post" | undefined;
|
993
744
|
}, {
|
994
745
|
name: string;
|
995
|
-
type: "custom" | "iframe";
|
996
746
|
url: string;
|
997
|
-
position: "menu" | "ticket_detail" | "contact_detail"
|
998
|
-
|
999
|
-
description?: string | undefined;
|
747
|
+
position: "menu" | "ticket_detail" | "contact_detail";
|
748
|
+
description: string;
|
1000
749
|
fields?: {
|
1001
750
|
data: string[];
|
1002
751
|
} | undefined;
|
1003
|
-
headers?: {
|
1004
|
-
key: string;
|
1005
|
-
value: string;
|
1006
|
-
}[] | undefined;
|
1007
|
-
method?: "get" | "post" | undefined;
|
1008
752
|
}>;
|
1009
753
|
summary: "Update a widget.";
|
1010
754
|
method: "PATCH";
|
@@ -1025,7 +769,7 @@ export declare const widgetContract: {
|
|
1025
769
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1026
770
|
name: z.ZodString;
|
1027
771
|
description: z.ZodNullable<z.ZodString>;
|
1028
|
-
position: z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail"
|
772
|
+
position: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"menu">, z.ZodLiteral<"ticket_detail">, z.ZodLiteral<"contact_detail">]>>;
|
1029
773
|
fields: z.ZodObject<{
|
1030
774
|
data: z.ZodArray<z.ZodString, "many">;
|
1031
775
|
}, "strip", z.ZodTypeAny, {
|
@@ -1034,57 +778,27 @@ export declare const widgetContract: {
|
|
1034
778
|
data: string[];
|
1035
779
|
}>;
|
1036
780
|
url: z.ZodString;
|
1037
|
-
type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"iframe">, z.ZodLiteral<"custom">]>>;
|
1038
|
-
headers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
1039
|
-
key: z.ZodString;
|
1040
|
-
value: z.ZodString;
|
1041
|
-
}, "strip", z.ZodTypeAny, {
|
1042
|
-
key: string;
|
1043
|
-
value: string;
|
1044
|
-
}, {
|
1045
|
-
key: string;
|
1046
|
-
value: string;
|
1047
|
-
}>, "many">>;
|
1048
|
-
method: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"get">, z.ZodLiteral<"post">]>>;
|
1049
|
-
fileKey: z.ZodNullable<z.ZodString>;
|
1050
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
1051
781
|
}, "strip", z.ZodTypeAny, {
|
1052
782
|
name: string;
|
1053
|
-
type: "custom" | "iframe" | null;
|
1054
783
|
id: string;
|
1055
784
|
url: string;
|
1056
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
1057
|
-
method: "get" | "post" | null;
|
785
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
1058
786
|
description: string | null;
|
1059
787
|
createdAt: Date;
|
1060
788
|
updatedAt: Date;
|
1061
789
|
deletedAt: Date | null;
|
1062
|
-
headers: {
|
1063
|
-
key: string;
|
1064
|
-
value: string;
|
1065
|
-
}[] | null;
|
1066
|
-
fileKey: string | null;
|
1067
|
-
fileUrl: string | null;
|
1068
790
|
fields: {
|
1069
791
|
data: string[];
|
1070
792
|
};
|
1071
793
|
}, {
|
1072
794
|
name: string;
|
1073
|
-
type: "custom" | "iframe" | null;
|
1074
795
|
id: string;
|
1075
796
|
url: string;
|
1076
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
1077
|
-
method: "get" | "post" | null;
|
797
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
1078
798
|
description: string | null;
|
1079
799
|
createdAt: Date;
|
1080
800
|
updatedAt: Date;
|
1081
801
|
deletedAt: Date | null;
|
1082
|
-
headers: {
|
1083
|
-
key: string;
|
1084
|
-
value: string;
|
1085
|
-
}[] | null;
|
1086
|
-
fileKey: string | null;
|
1087
|
-
fileUrl: string | null;
|
1088
802
|
fields: {
|
1089
803
|
data: string[];
|
1090
804
|
};
|
@@ -1093,21 +807,13 @@ export declare const widgetContract: {
|
|
1093
807
|
requestId: string;
|
1094
808
|
widget: {
|
1095
809
|
name: string;
|
1096
|
-
type: "custom" | "iframe" | null;
|
1097
810
|
id: string;
|
1098
811
|
url: string;
|
1099
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
1100
|
-
method: "get" | "post" | null;
|
812
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
1101
813
|
description: string | null;
|
1102
814
|
createdAt: Date;
|
1103
815
|
updatedAt: Date;
|
1104
816
|
deletedAt: Date | null;
|
1105
|
-
headers: {
|
1106
|
-
key: string;
|
1107
|
-
value: string;
|
1108
|
-
}[] | null;
|
1109
|
-
fileKey: string | null;
|
1110
|
-
fileUrl: string | null;
|
1111
817
|
fields: {
|
1112
818
|
data: string[];
|
1113
819
|
};
|
@@ -1116,21 +822,13 @@ export declare const widgetContract: {
|
|
1116
822
|
requestId: string;
|
1117
823
|
widget: {
|
1118
824
|
name: string;
|
1119
|
-
type: "custom" | "iframe" | null;
|
1120
825
|
id: string;
|
1121
826
|
url: string;
|
1122
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
1123
|
-
method: "get" | "post" | null;
|
827
|
+
position: "menu" | "ticket_detail" | "contact_detail" | null;
|
1124
828
|
description: string | null;
|
1125
829
|
createdAt: Date;
|
1126
830
|
updatedAt: Date;
|
1127
831
|
deletedAt: Date | null;
|
1128
|
-
headers: {
|
1129
|
-
key: string;
|
1130
|
-
value: string;
|
1131
|
-
}[] | null;
|
1132
|
-
fileKey: string | null;
|
1133
|
-
fileUrl: string | null;
|
1134
832
|
fields: {
|
1135
833
|
data: string[];
|
1136
834
|
};
|
@@ -1154,7 +852,7 @@ export declare const widgetContract: {
|
|
1154
852
|
error?: any;
|
1155
853
|
}>;
|
1156
854
|
};
|
1157
|
-
path: "
|
855
|
+
path: "widget/:id";
|
1158
856
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1159
857
|
'x-tenant': z.ZodString;
|
1160
858
|
'x-service-token': z.ZodString;
|
@@ -1205,7 +903,7 @@ export declare const widgetContract: {
|
|
1205
903
|
error?: any;
|
1206
904
|
}>;
|
1207
905
|
};
|
1208
|
-
path: "
|
906
|
+
path: "widget/:id";
|
1209
907
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1210
908
|
'x-tenant': z.ZodString;
|
1211
909
|
'x-service-token': z.ZodString;
|