@kl1/contracts 1.1.59-uat → 1.1.60-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +138 -138
- package/dist/src/chat/schema.d.ts +51 -81
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +46 -46
- package/dist/src/contract.d.ts +393 -236
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/facebook-feed/index.d.ts +66 -66
- package/dist/src/facebook-feed/schema.d.ts +3 -3
- package/dist/src/instagram/index.d.ts +33 -33
- package/dist/src/line/index.d.ts +38 -38
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/messenger/index.d.ts +33 -33
- package/dist/src/subscription/index.d.ts +157 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +33 -33
- package/dist/src/webchat/index.d.ts +33 -33
- package/package.json +1 -1
@@ -377,7 +377,7 @@ export declare const messengerContract: {
|
|
377
377
|
id: z.ZodOptional<z.ZodString>;
|
378
378
|
message: z.ZodOptional<z.ZodString>;
|
379
379
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
380
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
380
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
381
381
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
382
382
|
metadata: z.ZodOptional<z.ZodAny>;
|
383
383
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -429,7 +429,7 @@ export declare const messengerContract: {
|
|
429
429
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
430
430
|
feedPostId: z.ZodOptional<z.ZodString>;
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
432
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
432
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
433
433
|
direction: "incoming" | "outgoing" | "system";
|
434
434
|
id?: string | undefined;
|
435
435
|
message?: string | undefined;
|
@@ -460,7 +460,7 @@ export declare const messengerContract: {
|
|
460
460
|
parentMessageId?: string | undefined;
|
461
461
|
feedPostId?: string | undefined;
|
462
462
|
}, {
|
463
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
463
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
464
464
|
direction: "incoming" | "outgoing" | "system";
|
465
465
|
id?: string | undefined;
|
466
466
|
message?: string | undefined;
|
@@ -493,7 +493,7 @@ export declare const messengerContract: {
|
|
493
493
|
}>;
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
495
495
|
message: {
|
496
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
496
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
497
497
|
direction: "incoming" | "outgoing" | "system";
|
498
498
|
id?: string | undefined;
|
499
499
|
message?: string | undefined;
|
@@ -596,7 +596,7 @@ export declare const messengerContract: {
|
|
596
596
|
isBot: boolean | null;
|
597
597
|
}, {
|
598
598
|
message: {
|
599
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
599
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
600
600
|
direction: "incoming" | "outgoing" | "system";
|
601
601
|
id?: string | undefined;
|
602
602
|
message?: string | undefined;
|
@@ -703,7 +703,7 @@ export declare const messengerContract: {
|
|
703
703
|
200: z.ZodObject<{
|
704
704
|
requestId: z.ZodString;
|
705
705
|
data: z.ZodObject<{
|
706
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
706
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
707
707
|
message: z.ZodString;
|
708
708
|
id: z.ZodString;
|
709
709
|
url: z.ZodString;
|
@@ -4134,7 +4134,7 @@ export declare const messengerContract: {
|
|
4134
4134
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4135
4135
|
message: z.ZodString;
|
4136
4136
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4137
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
4137
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4138
4138
|
readAt: z.ZodDate;
|
4139
4139
|
metadata: z.ZodAny;
|
4140
4140
|
platformId: z.ZodString;
|
@@ -4792,7 +4792,7 @@ export declare const messengerContract: {
|
|
4792
4792
|
};
|
4793
4793
|
}>;
|
4794
4794
|
}, "strip", z.ZodTypeAny, {
|
4795
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
4795
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4796
4796
|
message: string;
|
4797
4797
|
id: string;
|
4798
4798
|
url: string;
|
@@ -4954,7 +4954,7 @@ export declare const messengerContract: {
|
|
4954
4954
|
metadata?: any;
|
4955
4955
|
template?: any;
|
4956
4956
|
}, {
|
4957
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
4957
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4958
4958
|
message: string;
|
4959
4959
|
id: string;
|
4960
4960
|
url: string;
|
@@ -5327,7 +5327,7 @@ export declare const messengerContract: {
|
|
5327
5327
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5328
5328
|
message: z.ZodString;
|
5329
5329
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5330
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
5330
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
5331
5331
|
readAt: z.ZodDate;
|
5332
5332
|
metadata: z.ZodAny;
|
5333
5333
|
platformId: z.ZodString;
|
@@ -8319,7 +8319,7 @@ export declare const messengerContract: {
|
|
8319
8319
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8320
8320
|
message: z.ZodString;
|
8321
8321
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8322
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
8322
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
8323
8323
|
readAt: z.ZodDate;
|
8324
8324
|
metadata: z.ZodAny;
|
8325
8325
|
platformId: z.ZodString;
|
@@ -8977,7 +8977,7 @@ export declare const messengerContract: {
|
|
8977
8977
|
};
|
8978
8978
|
}>;
|
8979
8979
|
}, "strip", z.ZodTypeAny, {
|
8980
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
8980
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8981
8981
|
message: string;
|
8982
8982
|
id: string;
|
8983
8983
|
url: string;
|
@@ -9139,7 +9139,7 @@ export declare const messengerContract: {
|
|
9139
9139
|
metadata?: any;
|
9140
9140
|
template?: any;
|
9141
9141
|
}, {
|
9142
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
9142
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9143
9143
|
message: string;
|
9144
9144
|
id: string;
|
9145
9145
|
url: string;
|
@@ -9939,7 +9939,7 @@ export declare const messengerContract: {
|
|
9939
9939
|
isActive: boolean;
|
9940
9940
|
}>;
|
9941
9941
|
}, "strip", z.ZodTypeAny, {
|
9942
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
9942
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9943
9943
|
message: string;
|
9944
9944
|
id: string;
|
9945
9945
|
url: string;
|
@@ -10432,7 +10432,7 @@ export declare const messengerContract: {
|
|
10432
10432
|
previewUrl: string;
|
10433
10433
|
imageSetId: string;
|
10434
10434
|
repliedMessage: {
|
10435
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
10435
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10436
10436
|
message: string;
|
10437
10437
|
id: string;
|
10438
10438
|
url: string;
|
@@ -10641,7 +10641,7 @@ export declare const messengerContract: {
|
|
10641
10641
|
metadata?: any;
|
10642
10642
|
template?: any;
|
10643
10643
|
}, {
|
10644
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
10644
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10645
10645
|
message: string;
|
10646
10646
|
id: string;
|
10647
10647
|
url: string;
|
@@ -11134,7 +11134,7 @@ export declare const messengerContract: {
|
|
11134
11134
|
previewUrl: string;
|
11135
11135
|
imageSetId: string;
|
11136
11136
|
repliedMessage: {
|
11137
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
11137
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
11138
11138
|
message: string;
|
11139
11139
|
id: string;
|
11140
11140
|
url: string;
|
@@ -11344,7 +11344,7 @@ export declare const messengerContract: {
|
|
11344
11344
|
template?: any;
|
11345
11345
|
}>>>;
|
11346
11346
|
}, "strip", z.ZodTypeAny, {
|
11347
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
11347
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
11348
11348
|
message: string;
|
11349
11349
|
id: string;
|
11350
11350
|
url: string;
|
@@ -11837,7 +11837,7 @@ export declare const messengerContract: {
|
|
11837
11837
|
previewUrl: string;
|
11838
11838
|
imageSetId: string;
|
11839
11839
|
repliedMessage: {
|
11840
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
11840
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
11841
11841
|
message: string;
|
11842
11842
|
id: string;
|
11843
11843
|
url: string;
|
@@ -12046,7 +12046,7 @@ export declare const messengerContract: {
|
|
12046
12046
|
template?: any;
|
12047
12047
|
metadata?: any;
|
12048
12048
|
fromMessage?: {
|
12049
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12049
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12050
12050
|
message: string;
|
12051
12051
|
id: string;
|
12052
12052
|
url: string;
|
@@ -12539,7 +12539,7 @@ export declare const messengerContract: {
|
|
12539
12539
|
previewUrl: string;
|
12540
12540
|
imageSetId: string;
|
12541
12541
|
repliedMessage: {
|
12542
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12542
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12543
12543
|
message: string;
|
12544
12544
|
id: string;
|
12545
12545
|
url: string;
|
@@ -12749,7 +12749,7 @@ export declare const messengerContract: {
|
|
12749
12749
|
template?: any;
|
12750
12750
|
} | null | undefined;
|
12751
12751
|
}, {
|
12752
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12753
12753
|
message: string;
|
12754
12754
|
id: string;
|
12755
12755
|
url: string;
|
@@ -13242,7 +13242,7 @@ export declare const messengerContract: {
|
|
13242
13242
|
previewUrl: string;
|
13243
13243
|
imageSetId: string;
|
13244
13244
|
repliedMessage: {
|
13245
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
13245
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13246
13246
|
message: string;
|
13247
13247
|
id: string;
|
13248
13248
|
url: string;
|
@@ -13451,7 +13451,7 @@ export declare const messengerContract: {
|
|
13451
13451
|
template?: any;
|
13452
13452
|
metadata?: any;
|
13453
13453
|
fromMessage?: {
|
13454
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
13454
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13455
13455
|
message: string;
|
13456
13456
|
id: string;
|
13457
13457
|
url: string;
|
@@ -13944,7 +13944,7 @@ export declare const messengerContract: {
|
|
13944
13944
|
previewUrl: string;
|
13945
13945
|
imageSetId: string;
|
13946
13946
|
repliedMessage: {
|
13947
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
13947
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13948
13948
|
message: string;
|
13949
13949
|
id: string;
|
13950
13950
|
url: string;
|
@@ -14156,7 +14156,7 @@ export declare const messengerContract: {
|
|
14156
14156
|
}>;
|
14157
14157
|
}, "strip", z.ZodTypeAny, {
|
14158
14158
|
data: {
|
14159
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14159
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14160
14160
|
message: string;
|
14161
14161
|
id: string;
|
14162
14162
|
url: string;
|
@@ -14649,7 +14649,7 @@ export declare const messengerContract: {
|
|
14649
14649
|
previewUrl: string;
|
14650
14650
|
imageSetId: string;
|
14651
14651
|
repliedMessage: {
|
14652
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14652
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14653
14653
|
message: string;
|
14654
14654
|
id: string;
|
14655
14655
|
url: string;
|
@@ -14858,7 +14858,7 @@ export declare const messengerContract: {
|
|
14858
14858
|
template?: any;
|
14859
14859
|
metadata?: any;
|
14860
14860
|
fromMessage?: {
|
14861
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14861
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14862
14862
|
message: string;
|
14863
14863
|
id: string;
|
14864
14864
|
url: string;
|
@@ -15351,7 +15351,7 @@ export declare const messengerContract: {
|
|
15351
15351
|
previewUrl: string;
|
15352
15352
|
imageSetId: string;
|
15353
15353
|
repliedMessage: {
|
15354
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
15354
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
15355
15355
|
message: string;
|
15356
15356
|
id: string;
|
15357
15357
|
url: string;
|
@@ -15564,7 +15564,7 @@ export declare const messengerContract: {
|
|
15564
15564
|
requestId: string;
|
15565
15565
|
}, {
|
15566
15566
|
data: {
|
15567
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
15567
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
15568
15568
|
message: string;
|
15569
15569
|
id: string;
|
15570
15570
|
url: string;
|
@@ -16057,7 +16057,7 @@ export declare const messengerContract: {
|
|
16057
16057
|
previewUrl: string;
|
16058
16058
|
imageSetId: string;
|
16059
16059
|
repliedMessage: {
|
16060
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16060
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16061
16061
|
message: string;
|
16062
16062
|
id: string;
|
16063
16063
|
url: string;
|
@@ -16266,7 +16266,7 @@ export declare const messengerContract: {
|
|
16266
16266
|
template?: any;
|
16267
16267
|
metadata?: any;
|
16268
16268
|
fromMessage?: {
|
16269
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16269
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16270
16270
|
message: string;
|
16271
16271
|
id: string;
|
16272
16272
|
url: string;
|
@@ -16759,7 +16759,7 @@ export declare const messengerContract: {
|
|
16759
16759
|
previewUrl: string;
|
16760
16760
|
imageSetId: string;
|
16761
16761
|
repliedMessage: {
|
16762
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16762
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16763
16763
|
message: string;
|
16764
16764
|
id: string;
|
16765
16765
|
url: string;
|
@@ -701,5 +701,162 @@ export declare const subscriptionContract: {
|
|
701
701
|
};
|
702
702
|
path: "subscriptions/";
|
703
703
|
};
|
704
|
+
getAvailablePlan: {
|
705
|
+
method: "GET";
|
706
|
+
query: null;
|
707
|
+
responses: {
|
708
|
+
200: z.ZodObject<{
|
709
|
+
requestId: z.ZodString;
|
710
|
+
data: z.ZodArray<z.ZodObject<{
|
711
|
+
id: z.ZodString;
|
712
|
+
createdAt: z.ZodDate;
|
713
|
+
updatedAt: z.ZodDate;
|
714
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
715
|
+
provider: z.ZodString;
|
716
|
+
productId: z.ZodString;
|
717
|
+
name: z.ZodString;
|
718
|
+
type: z.ZodString;
|
719
|
+
omnichannel: z.ZodString;
|
720
|
+
usageType: z.ZodNullable<z.ZodString>;
|
721
|
+
productPrice: z.ZodObject<{
|
722
|
+
id: z.ZodString;
|
723
|
+
createdAt: z.ZodDate;
|
724
|
+
updatedAt: z.ZodDate;
|
725
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
726
|
+
priceId: z.ZodString;
|
727
|
+
name: z.ZodNullable<z.ZodString>;
|
728
|
+
perUnit: z.ZodNumber;
|
729
|
+
price: z.ZodNumber;
|
730
|
+
currency: z.ZodNullable<z.ZodString>;
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
732
|
+
id: string;
|
733
|
+
name: string | null;
|
734
|
+
currency: string | null;
|
735
|
+
createdAt: Date;
|
736
|
+
updatedAt: Date;
|
737
|
+
deletedAt: Date | null;
|
738
|
+
priceId: string;
|
739
|
+
perUnit: number;
|
740
|
+
price: number;
|
741
|
+
}, {
|
742
|
+
id: string;
|
743
|
+
name: string | null;
|
744
|
+
currency: string | null;
|
745
|
+
createdAt: Date;
|
746
|
+
updatedAt: Date;
|
747
|
+
deletedAt: Date | null;
|
748
|
+
priceId: string;
|
749
|
+
perUnit: number;
|
750
|
+
price: number;
|
751
|
+
}>;
|
752
|
+
}, "strip", z.ZodTypeAny, {
|
753
|
+
type: string;
|
754
|
+
id: string;
|
755
|
+
name: string;
|
756
|
+
createdAt: Date;
|
757
|
+
updatedAt: Date;
|
758
|
+
deletedAt: Date | null;
|
759
|
+
provider: string;
|
760
|
+
productId: string;
|
761
|
+
omnichannel: string;
|
762
|
+
usageType: string | null;
|
763
|
+
productPrice: {
|
764
|
+
id: string;
|
765
|
+
name: string | null;
|
766
|
+
currency: string | null;
|
767
|
+
createdAt: Date;
|
768
|
+
updatedAt: Date;
|
769
|
+
deletedAt: Date | null;
|
770
|
+
priceId: string;
|
771
|
+
perUnit: number;
|
772
|
+
price: number;
|
773
|
+
};
|
774
|
+
}, {
|
775
|
+
type: string;
|
776
|
+
id: string;
|
777
|
+
name: string;
|
778
|
+
createdAt: Date;
|
779
|
+
updatedAt: Date;
|
780
|
+
deletedAt: Date | null;
|
781
|
+
provider: string;
|
782
|
+
productId: string;
|
783
|
+
omnichannel: string;
|
784
|
+
usageType: string | null;
|
785
|
+
productPrice: {
|
786
|
+
id: string;
|
787
|
+
name: string | null;
|
788
|
+
currency: string | null;
|
789
|
+
createdAt: Date;
|
790
|
+
updatedAt: Date;
|
791
|
+
deletedAt: Date | null;
|
792
|
+
priceId: string;
|
793
|
+
perUnit: number;
|
794
|
+
price: number;
|
795
|
+
};
|
796
|
+
}>, "many">;
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
798
|
+
data: {
|
799
|
+
type: string;
|
800
|
+
id: string;
|
801
|
+
name: string;
|
802
|
+
createdAt: Date;
|
803
|
+
updatedAt: Date;
|
804
|
+
deletedAt: Date | null;
|
805
|
+
provider: string;
|
806
|
+
productId: string;
|
807
|
+
omnichannel: string;
|
808
|
+
usageType: string | null;
|
809
|
+
productPrice: {
|
810
|
+
id: string;
|
811
|
+
name: string | null;
|
812
|
+
currency: string | null;
|
813
|
+
createdAt: Date;
|
814
|
+
updatedAt: Date;
|
815
|
+
deletedAt: Date | null;
|
816
|
+
priceId: string;
|
817
|
+
perUnit: number;
|
818
|
+
price: number;
|
819
|
+
};
|
820
|
+
}[];
|
821
|
+
requestId: string;
|
822
|
+
}, {
|
823
|
+
data: {
|
824
|
+
type: string;
|
825
|
+
id: string;
|
826
|
+
name: string;
|
827
|
+
createdAt: Date;
|
828
|
+
updatedAt: Date;
|
829
|
+
deletedAt: Date | null;
|
830
|
+
provider: string;
|
831
|
+
productId: string;
|
832
|
+
omnichannel: string;
|
833
|
+
usageType: string | null;
|
834
|
+
productPrice: {
|
835
|
+
id: string;
|
836
|
+
name: string | null;
|
837
|
+
currency: string | null;
|
838
|
+
createdAt: Date;
|
839
|
+
updatedAt: Date;
|
840
|
+
deletedAt: Date | null;
|
841
|
+
priceId: string;
|
842
|
+
perUnit: number;
|
843
|
+
price: number;
|
844
|
+
};
|
845
|
+
}[];
|
846
|
+
requestId: string;
|
847
|
+
}>;
|
848
|
+
500: z.ZodObject<{
|
849
|
+
message: z.ZodString;
|
850
|
+
error: z.ZodAny;
|
851
|
+
}, "strip", z.ZodTypeAny, {
|
852
|
+
message: string;
|
853
|
+
error?: any;
|
854
|
+
}, {
|
855
|
+
message: string;
|
856
|
+
error?: any;
|
857
|
+
}>;
|
858
|
+
};
|
859
|
+
path: "subscriptions/available-plan";
|
860
|
+
};
|
704
861
|
};
|
705
862
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/subscription/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE9E,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/subscription/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ChC,CAAC"}
|