@kl1/contracts 1.1.52-uat → 1.1.54-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -0
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +22 -18
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +41 -29
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +21 -8
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +345 -47
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +45 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/facebook-feed/index.d.ts +10 -10
- package/dist/src/facebook-feed/schema.d.ts +1 -1
- package/dist/src/instagram/index.d.ts +5 -5
- package/dist/src/line/index.d.ts +6 -6
- package/dist/src/line/validation.d.ts +1 -1
- package/dist/src/messenger/index.d.ts +5 -5
- package/dist/src/role/index.d.ts +125 -0
- package/dist/src/role/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +5 -5
- package/dist/src/webchat/index.d.ts +5 -5
- package/package.json +1 -1
@@ -370,7 +370,7 @@ export declare const platformWebchatContract: {
|
|
370
370
|
id: z.ZodOptional<z.ZodString>;
|
371
371
|
message: z.ZodOptional<z.ZodString>;
|
372
372
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
373
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
373
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
374
374
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
375
375
|
metadata: z.ZodOptional<z.ZodAny>;
|
376
376
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -696,7 +696,7 @@ export declare const platformWebchatContract: {
|
|
696
696
|
200: z.ZodObject<{
|
697
697
|
requestId: z.ZodString;
|
698
698
|
data: z.ZodObject<{
|
699
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
699
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
700
700
|
message: z.ZodString;
|
701
701
|
id: z.ZodString;
|
702
702
|
url: z.ZodString;
|
@@ -4127,7 +4127,7 @@ export declare const platformWebchatContract: {
|
|
4127
4127
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4128
4128
|
message: z.ZodString;
|
4129
4129
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4130
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4130
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4131
4131
|
readAt: z.ZodDate;
|
4132
4132
|
metadata: z.ZodAny;
|
4133
4133
|
platformId: z.ZodString;
|
@@ -5320,7 +5320,7 @@ export declare const platformWebchatContract: {
|
|
5320
5320
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5321
5321
|
message: z.ZodString;
|
5322
5322
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5323
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
5323
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
5324
5324
|
readAt: z.ZodDate;
|
5325
5325
|
metadata: z.ZodAny;
|
5326
5326
|
platformId: z.ZodString;
|
@@ -8312,7 +8312,7 @@ export declare const platformWebchatContract: {
|
|
8312
8312
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8313
8313
|
message: z.ZodString;
|
8314
8314
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8315
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
8315
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
8316
8316
|
readAt: z.ZodDate;
|
8317
8317
|
metadata: z.ZodAny;
|
8318
8318
|
platformId: z.ZodString;
|