@kl1/contracts 1.0.82 → 1.0.84
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 +35 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +35 -22
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +19 -72
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +46 -22
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +390 -113
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +5 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +3 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +66 -25
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +190 -9
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +13 -6
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +38 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/notification/index.d.ts +69 -7
- package/dist/src/notification/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +12 -0
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -13594,6 +13594,7 @@ export declare const apiContract: {
|
|
13594
13594
|
startedDate: import("zod").ZodNullable<import("zod").ZodString>;
|
13595
13595
|
handledTime: import("zod").ZodNullable<import("zod").ZodString>;
|
13596
13596
|
firstResponseTime: import("zod").ZodNullable<import("zod").ZodString>;
|
13597
|
+
resolutionTime: import("zod").ZodNullable<import("zod").ZodString>;
|
13597
13598
|
slaMeet: import("zod").ZodNullable<import("zod").ZodString>;
|
13598
13599
|
evaluateForm: import("zod").ZodNullable<import("zod").ZodObject<{
|
13599
13600
|
id: import("zod").ZodString;
|
@@ -19118,6 +19119,7 @@ export declare const apiContract: {
|
|
19118
19119
|
} | null;
|
19119
19120
|
customerPhone: string | null;
|
19120
19121
|
channelType: string | null;
|
19122
|
+
resolutionTime: string | null;
|
19121
19123
|
slaMeet: string | null;
|
19122
19124
|
evaluateForm: {
|
19123
19125
|
id: string;
|
@@ -19840,6 +19842,7 @@ export declare const apiContract: {
|
|
19840
19842
|
} | null;
|
19841
19843
|
customerPhone: string | null;
|
19842
19844
|
channelType: string | null;
|
19845
|
+
resolutionTime: string | null;
|
19843
19846
|
slaMeet: string | null;
|
19844
19847
|
evaluateForm: {
|
19845
19848
|
id: string;
|
@@ -20568,6 +20571,7 @@ export declare const apiContract: {
|
|
20568
20571
|
} | null;
|
20569
20572
|
customerPhone: string | null;
|
20570
20573
|
channelType: string | null;
|
20574
|
+
resolutionTime: string | null;
|
20571
20575
|
slaMeet: string | null;
|
20572
20576
|
evaluateForm: {
|
20573
20577
|
id: string;
|
@@ -21296,6 +21300,7 @@ export declare const apiContract: {
|
|
21296
21300
|
} | null;
|
21297
21301
|
customerPhone: string | null;
|
21298
21302
|
channelType: string | null;
|
21303
|
+
resolutionTime: string | null;
|
21299
21304
|
slaMeet: string | null;
|
21300
21305
|
evaluateForm: {
|
21301
21306
|
id: string;
|
@@ -81674,8 +81679,8 @@ export declare const platformContract: {
|
|
81674
81679
|
line: {
|
81675
81680
|
sendSticker: {
|
81676
81681
|
body: import("zod").ZodObject<{
|
81677
|
-
packageId: import("zod").
|
81678
|
-
stickerId: import("zod").
|
81682
|
+
packageId: import("zod").ZodNumber;
|
81683
|
+
stickerId: import("zod").ZodNumber;
|
81679
81684
|
room: import("zod").ZodObject<{
|
81680
81685
|
id: import("zod").ZodString;
|
81681
81686
|
lastMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -81778,6 +81783,7 @@ export declare const platformContract: {
|
|
81778
81783
|
phone: string | null;
|
81779
81784
|
}>>;
|
81780
81785
|
channel: import("zod").ZodObject<{
|
81786
|
+
id: import("zod").ZodString;
|
81781
81787
|
name: import("zod").ZodString;
|
81782
81788
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
81783
81789
|
metadata: import("zod").ZodObject<{
|
@@ -81825,6 +81831,7 @@ export declare const platformContract: {
|
|
81825
81831
|
}>>;
|
81826
81832
|
}, "strip", import("zod").ZodTypeAny, {
|
81827
81833
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
81834
|
+
id: string;
|
81828
81835
|
name: string;
|
81829
81836
|
metadata: {
|
81830
81837
|
id: string;
|
@@ -81847,6 +81854,7 @@ export declare const platformContract: {
|
|
81847
81854
|
} | undefined;
|
81848
81855
|
}, {
|
81849
81856
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
81857
|
+
id: string;
|
81850
81858
|
name: string;
|
81851
81859
|
metadata: {
|
81852
81860
|
id: string;
|
@@ -81872,6 +81880,7 @@ export declare const platformContract: {
|
|
81872
81880
|
id: string;
|
81873
81881
|
channel: {
|
81874
81882
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
81883
|
+
id: string;
|
81875
81884
|
name: string;
|
81876
81885
|
metadata: {
|
81877
81886
|
id: string;
|
@@ -81926,6 +81935,7 @@ export declare const platformContract: {
|
|
81926
81935
|
id: string;
|
81927
81936
|
channel: {
|
81928
81937
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
81938
|
+
id: string;
|
81929
81939
|
name: string;
|
81930
81940
|
metadata: {
|
81931
81941
|
id: string;
|
@@ -82108,6 +82118,7 @@ export declare const platformContract: {
|
|
82108
82118
|
id: string;
|
82109
82119
|
channel: {
|
82110
82120
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82121
|
+
id: string;
|
82111
82122
|
name: string;
|
82112
82123
|
metadata: {
|
82113
82124
|
id: string;
|
@@ -82159,8 +82170,8 @@ export declare const platformContract: {
|
|
82159
82170
|
lastMessage?: string | undefined;
|
82160
82171
|
handleTime?: number | undefined;
|
82161
82172
|
};
|
82162
|
-
packageId:
|
82163
|
-
stickerId:
|
82173
|
+
packageId: number;
|
82174
|
+
stickerId: number;
|
82164
82175
|
}, {
|
82165
82176
|
message: {
|
82166
82177
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
@@ -82193,6 +82204,7 @@ export declare const platformContract: {
|
|
82193
82204
|
id: string;
|
82194
82205
|
channel: {
|
82195
82206
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82207
|
+
id: string;
|
82196
82208
|
name: string;
|
82197
82209
|
metadata: {
|
82198
82210
|
id: string;
|
@@ -82244,8 +82256,8 @@ export declare const platformContract: {
|
|
82244
82256
|
lastMessage?: string | undefined;
|
82245
82257
|
handleTime?: number | undefined;
|
82246
82258
|
};
|
82247
|
-
packageId:
|
82248
|
-
stickerId:
|
82259
|
+
packageId: number;
|
82260
|
+
stickerId: number;
|
82249
82261
|
}>;
|
82250
82262
|
summary: "Send sticker to LINE";
|
82251
82263
|
method: "POST";
|
@@ -82331,13 +82343,152 @@ export declare const platformContract: {
|
|
82331
82343
|
responses: {
|
82332
82344
|
200: import("zod").ZodObject<{
|
82333
82345
|
requestId: import("zod").ZodString;
|
82334
|
-
data: import("zod").
|
82346
|
+
data: import("zod").ZodObject<{
|
82347
|
+
id: import("zod").ZodString;
|
82348
|
+
name: import("zod").ZodString;
|
82349
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
82350
|
+
metadata: import("zod").ZodObject<{
|
82351
|
+
id: import("zod").ZodString;
|
82352
|
+
name: import("zod").ZodString;
|
82353
|
+
accessToken: import("zod").ZodString;
|
82354
|
+
channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
82355
|
+
additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
|
82356
|
+
}, "strip", import("zod").ZodTypeAny, {
|
82357
|
+
id: string;
|
82358
|
+
name: string;
|
82359
|
+
accessToken: string;
|
82360
|
+
channelSecret?: string | undefined;
|
82361
|
+
additionalCredentials?: any;
|
82362
|
+
}, {
|
82363
|
+
id: string;
|
82364
|
+
name: string;
|
82365
|
+
accessToken: string;
|
82366
|
+
channelSecret?: string | undefined;
|
82367
|
+
additionalCredentials?: any;
|
82368
|
+
}>;
|
82369
|
+
platformId: import("zod").ZodString;
|
82370
|
+
brandName: import("zod").ZodString;
|
82371
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
|
82372
|
+
connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
82373
|
+
connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
82374
|
+
actor: import("zod").ZodOptional<import("zod").ZodObject<{
|
82375
|
+
id: import("zod").ZodString;
|
82376
|
+
name: import("zod").ZodString;
|
82377
|
+
email: import("zod").ZodString;
|
82378
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
82379
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
82380
|
+
}, "strip", import("zod").ZodTypeAny, {
|
82381
|
+
id: string;
|
82382
|
+
address: string | null;
|
82383
|
+
name: string;
|
82384
|
+
email: string;
|
82385
|
+
phone: string | null;
|
82386
|
+
}, {
|
82387
|
+
id: string;
|
82388
|
+
address: string | null;
|
82389
|
+
name: string;
|
82390
|
+
email: string;
|
82391
|
+
phone: string | null;
|
82392
|
+
}>>;
|
82393
|
+
}, "strip", import("zod").ZodTypeAny, {
|
82394
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82395
|
+
id: string;
|
82396
|
+
name: string;
|
82397
|
+
metadata: {
|
82398
|
+
id: string;
|
82399
|
+
name: string;
|
82400
|
+
accessToken: string;
|
82401
|
+
channelSecret?: string | undefined;
|
82402
|
+
additionalCredentials?: any;
|
82403
|
+
};
|
82404
|
+
status: boolean;
|
82405
|
+
brandName: string;
|
82406
|
+
platformId: string;
|
82407
|
+
connectedUserName?: string | null | undefined;
|
82408
|
+
connectedUserId?: string | null | undefined;
|
82409
|
+
actor?: {
|
82410
|
+
id: string;
|
82411
|
+
address: string | null;
|
82412
|
+
name: string;
|
82413
|
+
email: string;
|
82414
|
+
phone: string | null;
|
82415
|
+
} | undefined;
|
82416
|
+
}, {
|
82417
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82418
|
+
id: string;
|
82419
|
+
name: string;
|
82420
|
+
metadata: {
|
82421
|
+
id: string;
|
82422
|
+
name: string;
|
82423
|
+
accessToken: string;
|
82424
|
+
channelSecret?: string | undefined;
|
82425
|
+
additionalCredentials?: any;
|
82426
|
+
};
|
82427
|
+
status: boolean;
|
82428
|
+
brandName: string;
|
82429
|
+
platformId: string;
|
82430
|
+
connectedUserName?: string | null | undefined;
|
82431
|
+
connectedUserId?: string | null | undefined;
|
82432
|
+
actor?: {
|
82433
|
+
id: string;
|
82434
|
+
address: string | null;
|
82435
|
+
name: string;
|
82436
|
+
email: string;
|
82437
|
+
phone: string | null;
|
82438
|
+
} | undefined;
|
82439
|
+
}>;
|
82335
82440
|
}, "strip", import("zod").ZodTypeAny, {
|
82441
|
+
data: {
|
82442
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82443
|
+
id: string;
|
82444
|
+
name: string;
|
82445
|
+
metadata: {
|
82446
|
+
id: string;
|
82447
|
+
name: string;
|
82448
|
+
accessToken: string;
|
82449
|
+
channelSecret?: string | undefined;
|
82450
|
+
additionalCredentials?: any;
|
82451
|
+
};
|
82452
|
+
status: boolean;
|
82453
|
+
brandName: string;
|
82454
|
+
platformId: string;
|
82455
|
+
connectedUserName?: string | null | undefined;
|
82456
|
+
connectedUserId?: string | null | undefined;
|
82457
|
+
actor?: {
|
82458
|
+
id: string;
|
82459
|
+
address: string | null;
|
82460
|
+
name: string;
|
82461
|
+
email: string;
|
82462
|
+
phone: string | null;
|
82463
|
+
} | undefined;
|
82464
|
+
};
|
82336
82465
|
requestId: string;
|
82337
|
-
data?: any;
|
82338
82466
|
}, {
|
82467
|
+
data: {
|
82468
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82469
|
+
id: string;
|
82470
|
+
name: string;
|
82471
|
+
metadata: {
|
82472
|
+
id: string;
|
82473
|
+
name: string;
|
82474
|
+
accessToken: string;
|
82475
|
+
channelSecret?: string | undefined;
|
82476
|
+
additionalCredentials?: any;
|
82477
|
+
};
|
82478
|
+
status: boolean;
|
82479
|
+
brandName: string;
|
82480
|
+
platformId: string;
|
82481
|
+
connectedUserName?: string | null | undefined;
|
82482
|
+
connectedUserId?: string | null | undefined;
|
82483
|
+
actor?: {
|
82484
|
+
id: string;
|
82485
|
+
address: string | null;
|
82486
|
+
name: string;
|
82487
|
+
email: string;
|
82488
|
+
phone: string | null;
|
82489
|
+
} | undefined;
|
82490
|
+
};
|
82339
82491
|
requestId: string;
|
82340
|
-
data?: any;
|
82341
82492
|
}>;
|
82342
82493
|
500: import("zod").ZodObject<{
|
82343
82494
|
message: import("zod").ZodString;
|
@@ -82349,6 +82500,16 @@ export declare const platformContract: {
|
|
82349
82500
|
message: string;
|
82350
82501
|
error?: any;
|
82351
82502
|
}>;
|
82503
|
+
400: import("zod").ZodObject<{
|
82504
|
+
message: import("zod").ZodString;
|
82505
|
+
error: import("zod").ZodAny;
|
82506
|
+
}, "strip", import("zod").ZodTypeAny, {
|
82507
|
+
message: string;
|
82508
|
+
error?: any;
|
82509
|
+
}, {
|
82510
|
+
message: string;
|
82511
|
+
error?: any;
|
82512
|
+
}>;
|
82352
82513
|
};
|
82353
82514
|
path: "/connect";
|
82354
82515
|
};
|
@@ -82456,6 +82617,7 @@ export declare const platformContract: {
|
|
82456
82617
|
phone: string | null;
|
82457
82618
|
}>>;
|
82458
82619
|
channel: import("zod").ZodObject<{
|
82620
|
+
id: import("zod").ZodString;
|
82459
82621
|
name: import("zod").ZodString;
|
82460
82622
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
82461
82623
|
metadata: import("zod").ZodObject<{
|
@@ -82503,6 +82665,7 @@ export declare const platformContract: {
|
|
82503
82665
|
}>>;
|
82504
82666
|
}, "strip", import("zod").ZodTypeAny, {
|
82505
82667
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82668
|
+
id: string;
|
82506
82669
|
name: string;
|
82507
82670
|
metadata: {
|
82508
82671
|
id: string;
|
@@ -82525,6 +82688,7 @@ export declare const platformContract: {
|
|
82525
82688
|
} | undefined;
|
82526
82689
|
}, {
|
82527
82690
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82691
|
+
id: string;
|
82528
82692
|
name: string;
|
82529
82693
|
metadata: {
|
82530
82694
|
id: string;
|
@@ -82550,6 +82714,7 @@ export declare const platformContract: {
|
|
82550
82714
|
id: string;
|
82551
82715
|
channel: {
|
82552
82716
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82717
|
+
id: string;
|
82553
82718
|
name: string;
|
82554
82719
|
metadata: {
|
82555
82720
|
id: string;
|
@@ -82604,6 +82769,7 @@ export declare const platformContract: {
|
|
82604
82769
|
id: string;
|
82605
82770
|
channel: {
|
82606
82771
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82772
|
+
id: string;
|
82607
82773
|
name: string;
|
82608
82774
|
metadata: {
|
82609
82775
|
id: string;
|
@@ -82786,6 +82952,7 @@ export declare const platformContract: {
|
|
82786
82952
|
id: string;
|
82787
82953
|
channel: {
|
82788
82954
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82955
|
+
id: string;
|
82789
82956
|
name: string;
|
82790
82957
|
metadata: {
|
82791
82958
|
id: string;
|
@@ -82869,6 +83036,7 @@ export declare const platformContract: {
|
|
82869
83036
|
id: string;
|
82870
83037
|
channel: {
|
82871
83038
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
83039
|
+
id: string;
|
82872
83040
|
name: string;
|
82873
83041
|
metadata: {
|
82874
83042
|
id: string;
|
@@ -89642,6 +89810,7 @@ export declare const platformContract: {
|
|
89642
89810
|
};
|
89643
89811
|
disconnect: {
|
89644
89812
|
body: import("zod").ZodObject<{
|
89813
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
89645
89814
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
89646
89815
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
89647
89816
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -89688,6 +89857,7 @@ export declare const platformContract: {
|
|
89688
89857
|
phone: string | null;
|
89689
89858
|
}>>>;
|
89690
89859
|
}, "strip", import("zod").ZodTypeAny, {
|
89860
|
+
id?: string | undefined;
|
89691
89861
|
name?: string | undefined;
|
89692
89862
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
89693
89863
|
metadata?: {
|
@@ -89710,6 +89880,7 @@ export declare const platformContract: {
|
|
89710
89880
|
phone: string | null;
|
89711
89881
|
} | undefined;
|
89712
89882
|
}, {
|
89883
|
+
id?: string | undefined;
|
89713
89884
|
name?: string | undefined;
|
89714
89885
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
89715
89886
|
metadata?: {
|
@@ -89737,6 +89908,7 @@ export declare const platformContract: {
|
|
89737
89908
|
200: import("zod").ZodObject<{
|
89738
89909
|
requestId: import("zod").ZodString;
|
89739
89910
|
data: import("zod").ZodObject<{
|
89911
|
+
id: import("zod").ZodString;
|
89740
89912
|
name: import("zod").ZodString;
|
89741
89913
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
89742
89914
|
metadata: import("zod").ZodObject<{
|
@@ -89784,6 +89956,7 @@ export declare const platformContract: {
|
|
89784
89956
|
}>>;
|
89785
89957
|
}, "strip", import("zod").ZodTypeAny, {
|
89786
89958
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
89959
|
+
id: string;
|
89787
89960
|
name: string;
|
89788
89961
|
metadata: {
|
89789
89962
|
id: string;
|
@@ -89806,6 +89979,7 @@ export declare const platformContract: {
|
|
89806
89979
|
} | undefined;
|
89807
89980
|
}, {
|
89808
89981
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
89982
|
+
id: string;
|
89809
89983
|
name: string;
|
89810
89984
|
metadata: {
|
89811
89985
|
id: string;
|
@@ -89830,6 +90004,7 @@ export declare const platformContract: {
|
|
89830
90004
|
}, "strip", import("zod").ZodTypeAny, {
|
89831
90005
|
data: {
|
89832
90006
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90007
|
+
id: string;
|
89833
90008
|
name: string;
|
89834
90009
|
metadata: {
|
89835
90010
|
id: string;
|
@@ -89855,6 +90030,7 @@ export declare const platformContract: {
|
|
89855
90030
|
}, {
|
89856
90031
|
data: {
|
89857
90032
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90033
|
+
id: string;
|
89858
90034
|
name: string;
|
89859
90035
|
metadata: {
|
89860
90036
|
id: string;
|
@@ -89915,6 +90091,7 @@ export declare const platformContract: {
|
|
89915
90091
|
200: import("zod").ZodObject<{
|
89916
90092
|
requestId: import("zod").ZodString;
|
89917
90093
|
data: import("zod").ZodObject<{
|
90094
|
+
id: import("zod").ZodString;
|
89918
90095
|
name: import("zod").ZodString;
|
89919
90096
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
89920
90097
|
metadata: import("zod").ZodObject<{
|
@@ -89962,6 +90139,7 @@ export declare const platformContract: {
|
|
89962
90139
|
}>>;
|
89963
90140
|
}, "strip", import("zod").ZodTypeAny, {
|
89964
90141
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90142
|
+
id: string;
|
89965
90143
|
name: string;
|
89966
90144
|
metadata: {
|
89967
90145
|
id: string;
|
@@ -89984,6 +90162,7 @@ export declare const platformContract: {
|
|
89984
90162
|
} | undefined;
|
89985
90163
|
}, {
|
89986
90164
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90165
|
+
id: string;
|
89987
90166
|
name: string;
|
89988
90167
|
metadata: {
|
89989
90168
|
id: string;
|
@@ -90008,6 +90187,7 @@ export declare const platformContract: {
|
|
90008
90187
|
}, "strip", import("zod").ZodTypeAny, {
|
90009
90188
|
data: {
|
90010
90189
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90190
|
+
id: string;
|
90011
90191
|
name: string;
|
90012
90192
|
metadata: {
|
90013
90193
|
id: string;
|
@@ -90033,6 +90213,7 @@ export declare const platformContract: {
|
|
90033
90213
|
}, {
|
90034
90214
|
data: {
|
90035
90215
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90216
|
+
id: string;
|
90036
90217
|
name: string;
|
90037
90218
|
metadata: {
|
90038
90219
|
id: string;
|
@@ -90093,6 +90274,7 @@ export declare const platformContract: {
|
|
90093
90274
|
200: import("zod").ZodObject<{
|
90094
90275
|
requestId: import("zod").ZodString;
|
90095
90276
|
data: import("zod").ZodObject<{
|
90277
|
+
id: import("zod").ZodString;
|
90096
90278
|
name: import("zod").ZodString;
|
90097
90279
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
90098
90280
|
metadata: import("zod").ZodObject<{
|
@@ -90140,6 +90322,7 @@ export declare const platformContract: {
|
|
90140
90322
|
}>>;
|
90141
90323
|
}, "strip", import("zod").ZodTypeAny, {
|
90142
90324
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90325
|
+
id: string;
|
90143
90326
|
name: string;
|
90144
90327
|
metadata: {
|
90145
90328
|
id: string;
|
@@ -90162,6 +90345,7 @@ export declare const platformContract: {
|
|
90162
90345
|
} | undefined;
|
90163
90346
|
}, {
|
90164
90347
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90348
|
+
id: string;
|
90165
90349
|
name: string;
|
90166
90350
|
metadata: {
|
90167
90351
|
id: string;
|
@@ -90186,6 +90370,7 @@ export declare const platformContract: {
|
|
90186
90370
|
}, "strip", import("zod").ZodTypeAny, {
|
90187
90371
|
data: {
|
90188
90372
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90373
|
+
id: string;
|
90189
90374
|
name: string;
|
90190
90375
|
metadata: {
|
90191
90376
|
id: string;
|
@@ -90211,6 +90396,7 @@ export declare const platformContract: {
|
|
90211
90396
|
}, {
|
90212
90397
|
data: {
|
90213
90398
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90399
|
+
id: string;
|
90214
90400
|
name: string;
|
90215
90401
|
metadata: {
|
90216
90402
|
id: string;
|
@@ -90363,6 +90549,7 @@ export declare const platformContract: {
|
|
90363
90549
|
phone: string | null;
|
90364
90550
|
}>>;
|
90365
90551
|
channel: import("zod").ZodObject<{
|
90552
|
+
id: import("zod").ZodString;
|
90366
90553
|
name: import("zod").ZodString;
|
90367
90554
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
90368
90555
|
metadata: import("zod").ZodObject<{
|
@@ -90410,6 +90597,7 @@ export declare const platformContract: {
|
|
90410
90597
|
}>>;
|
90411
90598
|
}, "strip", import("zod").ZodTypeAny, {
|
90412
90599
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90600
|
+
id: string;
|
90413
90601
|
name: string;
|
90414
90602
|
metadata: {
|
90415
90603
|
id: string;
|
@@ -90432,6 +90620,7 @@ export declare const platformContract: {
|
|
90432
90620
|
} | undefined;
|
90433
90621
|
}, {
|
90434
90622
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90623
|
+
id: string;
|
90435
90624
|
name: string;
|
90436
90625
|
metadata: {
|
90437
90626
|
id: string;
|
@@ -90457,6 +90646,7 @@ export declare const platformContract: {
|
|
90457
90646
|
id: string;
|
90458
90647
|
channel: {
|
90459
90648
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90649
|
+
id: string;
|
90460
90650
|
name: string;
|
90461
90651
|
metadata: {
|
90462
90652
|
id: string;
|
@@ -90511,6 +90701,7 @@ export declare const platformContract: {
|
|
90511
90701
|
id: string;
|
90512
90702
|
channel: {
|
90513
90703
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90704
|
+
id: string;
|
90514
90705
|
name: string;
|
90515
90706
|
metadata: {
|
90516
90707
|
id: string;
|
@@ -90693,6 +90884,7 @@ export declare const platformContract: {
|
|
90693
90884
|
id: string;
|
90694
90885
|
channel: {
|
90695
90886
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90887
|
+
id: string;
|
90696
90888
|
name: string;
|
90697
90889
|
metadata: {
|
90698
90890
|
id: string;
|
@@ -90776,6 +90968,7 @@ export declare const platformContract: {
|
|
90776
90968
|
id: string;
|
90777
90969
|
channel: {
|
90778
90970
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90971
|
+
id: string;
|
90779
90972
|
name: string;
|
90780
90973
|
metadata: {
|
90781
90974
|
id: string;
|
@@ -97549,6 +97742,7 @@ export declare const platformContract: {
|
|
97549
97742
|
};
|
97550
97743
|
connectToService: {
|
97551
97744
|
body: import("zod").ZodObject<{
|
97745
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
97552
97746
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
97553
97747
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
97554
97748
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -97595,6 +97789,7 @@ export declare const platformContract: {
|
|
97595
97789
|
phone: string | null;
|
97596
97790
|
}>>>;
|
97597
97791
|
}, "strip", import("zod").ZodTypeAny, {
|
97792
|
+
id?: string | undefined;
|
97598
97793
|
name?: string | undefined;
|
97599
97794
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
97600
97795
|
metadata?: {
|
@@ -97617,6 +97812,7 @@ export declare const platformContract: {
|
|
97617
97812
|
phone: string | null;
|
97618
97813
|
} | undefined;
|
97619
97814
|
}, {
|
97815
|
+
id?: string | undefined;
|
97620
97816
|
name?: string | undefined;
|
97621
97817
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
97622
97818
|
metadata?: {
|
@@ -97644,6 +97840,7 @@ export declare const platformContract: {
|
|
97644
97840
|
200: import("zod").ZodObject<{
|
97645
97841
|
requestId: import("zod").ZodString;
|
97646
97842
|
data: import("zod").ZodObject<{
|
97843
|
+
id: import("zod").ZodString;
|
97647
97844
|
name: import("zod").ZodString;
|
97648
97845
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
97649
97846
|
metadata: import("zod").ZodObject<{
|
@@ -97691,6 +97888,7 @@ export declare const platformContract: {
|
|
97691
97888
|
}>>;
|
97692
97889
|
}, "strip", import("zod").ZodTypeAny, {
|
97693
97890
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
97891
|
+
id: string;
|
97694
97892
|
name: string;
|
97695
97893
|
metadata: {
|
97696
97894
|
id: string;
|
@@ -97713,6 +97911,7 @@ export declare const platformContract: {
|
|
97713
97911
|
} | undefined;
|
97714
97912
|
}, {
|
97715
97913
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
97914
|
+
id: string;
|
97716
97915
|
name: string;
|
97717
97916
|
metadata: {
|
97718
97917
|
id: string;
|
@@ -97737,6 +97936,7 @@ export declare const platformContract: {
|
|
97737
97936
|
}, "strip", import("zod").ZodTypeAny, {
|
97738
97937
|
data: {
|
97739
97938
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
97939
|
+
id: string;
|
97740
97940
|
name: string;
|
97741
97941
|
metadata: {
|
97742
97942
|
id: string;
|
@@ -97762,6 +97962,7 @@ export declare const platformContract: {
|
|
97762
97962
|
}, {
|
97763
97963
|
data: {
|
97764
97964
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
97965
|
+
id: string;
|
97765
97966
|
name: string;
|
97766
97967
|
metadata: {
|
97767
97968
|
id: string;
|
@@ -97810,6 +98011,7 @@ export declare const platformContract: {
|
|
97810
98011
|
};
|
97811
98012
|
disconnectToService: {
|
97812
98013
|
body: import("zod").ZodObject<{
|
98014
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
97813
98015
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
97814
98016
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
97815
98017
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -97856,6 +98058,7 @@ export declare const platformContract: {
|
|
97856
98058
|
phone: string | null;
|
97857
98059
|
}>>>;
|
97858
98060
|
}, "strip", import("zod").ZodTypeAny, {
|
98061
|
+
id?: string | undefined;
|
97859
98062
|
name?: string | undefined;
|
97860
98063
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
97861
98064
|
metadata?: {
|
@@ -97878,6 +98081,7 @@ export declare const platformContract: {
|
|
97878
98081
|
phone: string | null;
|
97879
98082
|
} | undefined;
|
97880
98083
|
}, {
|
98084
|
+
id?: string | undefined;
|
97881
98085
|
name?: string | undefined;
|
97882
98086
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
97883
98087
|
metadata?: {
|
@@ -97905,6 +98109,7 @@ export declare const platformContract: {
|
|
97905
98109
|
200: import("zod").ZodObject<{
|
97906
98110
|
requestId: import("zod").ZodString;
|
97907
98111
|
data: import("zod").ZodObject<{
|
98112
|
+
id: import("zod").ZodString;
|
97908
98113
|
name: import("zod").ZodString;
|
97909
98114
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
97910
98115
|
metadata: import("zod").ZodObject<{
|
@@ -97952,6 +98157,7 @@ export declare const platformContract: {
|
|
97952
98157
|
}>>;
|
97953
98158
|
}, "strip", import("zod").ZodTypeAny, {
|
97954
98159
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98160
|
+
id: string;
|
97955
98161
|
name: string;
|
97956
98162
|
metadata: {
|
97957
98163
|
id: string;
|
@@ -97974,6 +98180,7 @@ export declare const platformContract: {
|
|
97974
98180
|
} | undefined;
|
97975
98181
|
}, {
|
97976
98182
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98183
|
+
id: string;
|
97977
98184
|
name: string;
|
97978
98185
|
metadata: {
|
97979
98186
|
id: string;
|
@@ -97998,6 +98205,7 @@ export declare const platformContract: {
|
|
97998
98205
|
}, "strip", import("zod").ZodTypeAny, {
|
97999
98206
|
data: {
|
98000
98207
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98208
|
+
id: string;
|
98001
98209
|
name: string;
|
98002
98210
|
metadata: {
|
98003
98211
|
id: string;
|
@@ -98023,6 +98231,7 @@ export declare const platformContract: {
|
|
98023
98231
|
}, {
|
98024
98232
|
data: {
|
98025
98233
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98234
|
+
id: string;
|
98026
98235
|
name: string;
|
98027
98236
|
metadata: {
|
98028
98237
|
id: string;
|
@@ -98083,6 +98292,7 @@ export declare const platformContract: {
|
|
98083
98292
|
200: import("zod").ZodObject<{
|
98084
98293
|
requestId: import("zod").ZodString;
|
98085
98294
|
data: import("zod").ZodObject<{
|
98295
|
+
id: import("zod").ZodString;
|
98086
98296
|
name: import("zod").ZodString;
|
98087
98297
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
98088
98298
|
metadata: import("zod").ZodObject<{
|
@@ -98130,6 +98340,7 @@ export declare const platformContract: {
|
|
98130
98340
|
}>>;
|
98131
98341
|
}, "strip", import("zod").ZodTypeAny, {
|
98132
98342
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98343
|
+
id: string;
|
98133
98344
|
name: string;
|
98134
98345
|
metadata: {
|
98135
98346
|
id: string;
|
@@ -98152,6 +98363,7 @@ export declare const platformContract: {
|
|
98152
98363
|
} | undefined;
|
98153
98364
|
}, {
|
98154
98365
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98366
|
+
id: string;
|
98155
98367
|
name: string;
|
98156
98368
|
metadata: {
|
98157
98369
|
id: string;
|
@@ -98176,6 +98388,7 @@ export declare const platformContract: {
|
|
98176
98388
|
}, "strip", import("zod").ZodTypeAny, {
|
98177
98389
|
data: {
|
98178
98390
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98391
|
+
id: string;
|
98179
98392
|
name: string;
|
98180
98393
|
metadata: {
|
98181
98394
|
id: string;
|
@@ -98201,6 +98414,7 @@ export declare const platformContract: {
|
|
98201
98414
|
}, {
|
98202
98415
|
data: {
|
98203
98416
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98417
|
+
id: string;
|
98204
98418
|
name: string;
|
98205
98419
|
metadata: {
|
98206
98420
|
id: string;
|
@@ -98261,6 +98475,7 @@ export declare const platformContract: {
|
|
98261
98475
|
200: import("zod").ZodObject<{
|
98262
98476
|
requestId: import("zod").ZodString;
|
98263
98477
|
data: import("zod").ZodObject<{
|
98478
|
+
id: import("zod").ZodString;
|
98264
98479
|
name: import("zod").ZodString;
|
98265
98480
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
98266
98481
|
metadata: import("zod").ZodObject<{
|
@@ -98308,6 +98523,7 @@ export declare const platformContract: {
|
|
98308
98523
|
}>>;
|
98309
98524
|
}, "strip", import("zod").ZodTypeAny, {
|
98310
98525
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98526
|
+
id: string;
|
98311
98527
|
name: string;
|
98312
98528
|
metadata: {
|
98313
98529
|
id: string;
|
@@ -98330,6 +98546,7 @@ export declare const platformContract: {
|
|
98330
98546
|
} | undefined;
|
98331
98547
|
}, {
|
98332
98548
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98549
|
+
id: string;
|
98333
98550
|
name: string;
|
98334
98551
|
metadata: {
|
98335
98552
|
id: string;
|
@@ -98354,6 +98571,7 @@ export declare const platformContract: {
|
|
98354
98571
|
}, "strip", import("zod").ZodTypeAny, {
|
98355
98572
|
data: {
|
98356
98573
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98574
|
+
id: string;
|
98357
98575
|
name: string;
|
98358
98576
|
metadata: {
|
98359
98577
|
id: string;
|
@@ -98379,6 +98597,7 @@ export declare const platformContract: {
|
|
98379
98597
|
}, {
|
98380
98598
|
data: {
|
98381
98599
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98600
|
+
id: string;
|
98382
98601
|
name: string;
|
98383
98602
|
metadata: {
|
98384
98603
|
id: string;
|
@@ -98528,6 +98747,7 @@ export declare const platformContract: {
|
|
98528
98747
|
200: import("zod").ZodObject<{
|
98529
98748
|
requestId: import("zod").ZodString;
|
98530
98749
|
data: import("zod").ZodObject<{
|
98750
|
+
id: import("zod").ZodString;
|
98531
98751
|
name: import("zod").ZodString;
|
98532
98752
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
98533
98753
|
metadata: import("zod").ZodObject<{
|
@@ -98575,6 +98795,7 @@ export declare const platformContract: {
|
|
98575
98795
|
}>>;
|
98576
98796
|
}, "strip", import("zod").ZodTypeAny, {
|
98577
98797
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98798
|
+
id: string;
|
98578
98799
|
name: string;
|
98579
98800
|
metadata: {
|
98580
98801
|
id: string;
|
@@ -98597,6 +98818,7 @@ export declare const platformContract: {
|
|
98597
98818
|
} | undefined;
|
98598
98819
|
}, {
|
98599
98820
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98821
|
+
id: string;
|
98600
98822
|
name: string;
|
98601
98823
|
metadata: {
|
98602
98824
|
id: string;
|
@@ -98621,6 +98843,7 @@ export declare const platformContract: {
|
|
98621
98843
|
}, "strip", import("zod").ZodTypeAny, {
|
98622
98844
|
data: {
|
98623
98845
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98846
|
+
id: string;
|
98624
98847
|
name: string;
|
98625
98848
|
metadata: {
|
98626
98849
|
id: string;
|
@@ -98646,6 +98869,7 @@ export declare const platformContract: {
|
|
98646
98869
|
}, {
|
98647
98870
|
data: {
|
98648
98871
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
98872
|
+
id: string;
|
98649
98873
|
name: string;
|
98650
98874
|
metadata: {
|
98651
98875
|
id: string;
|
@@ -98924,6 +99148,7 @@ export declare const platformContract: {
|
|
98924
99148
|
phone: string | null;
|
98925
99149
|
}>>;
|
98926
99150
|
channel: import("zod").ZodObject<{
|
99151
|
+
id: import("zod").ZodString;
|
98927
99152
|
name: import("zod").ZodString;
|
98928
99153
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
98929
99154
|
metadata: import("zod").ZodObject<{
|
@@ -98971,6 +99196,7 @@ export declare const platformContract: {
|
|
98971
99196
|
}>>;
|
98972
99197
|
}, "strip", import("zod").ZodTypeAny, {
|
98973
99198
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99199
|
+
id: string;
|
98974
99200
|
name: string;
|
98975
99201
|
metadata: {
|
98976
99202
|
id: string;
|
@@ -98993,6 +99219,7 @@ export declare const platformContract: {
|
|
98993
99219
|
} | undefined;
|
98994
99220
|
}, {
|
98995
99221
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99222
|
+
id: string;
|
98996
99223
|
name: string;
|
98997
99224
|
metadata: {
|
98998
99225
|
id: string;
|
@@ -99018,6 +99245,7 @@ export declare const platformContract: {
|
|
99018
99245
|
id: string;
|
99019
99246
|
channel: {
|
99020
99247
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99248
|
+
id: string;
|
99021
99249
|
name: string;
|
99022
99250
|
metadata: {
|
99023
99251
|
id: string;
|
@@ -99072,6 +99300,7 @@ export declare const platformContract: {
|
|
99072
99300
|
id: string;
|
99073
99301
|
channel: {
|
99074
99302
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99303
|
+
id: string;
|
99075
99304
|
name: string;
|
99076
99305
|
metadata: {
|
99077
99306
|
id: string;
|
@@ -99254,6 +99483,7 @@ export declare const platformContract: {
|
|
99254
99483
|
id: string;
|
99255
99484
|
channel: {
|
99256
99485
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99486
|
+
id: string;
|
99257
99487
|
name: string;
|
99258
99488
|
metadata: {
|
99259
99489
|
id: string;
|
@@ -99337,6 +99567,7 @@ export declare const platformContract: {
|
|
99337
99567
|
id: string;
|
99338
99568
|
channel: {
|
99339
99569
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99570
|
+
id: string;
|
99340
99571
|
name: string;
|
99341
99572
|
metadata: {
|
99342
99573
|
id: string;
|
@@ -106110,9 +106341,10 @@ export declare const platformContract: {
|
|
106110
106341
|
};
|
106111
106342
|
connectToService: {
|
106112
106343
|
body: import("zod").ZodObject<{
|
106113
|
-
|
106114
|
-
|
106115
|
-
|
106344
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
106345
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
106346
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
106347
|
+
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
106116
106348
|
id: import("zod").ZodString;
|
106117
106349
|
name: import("zod").ZodString;
|
106118
106350
|
accessToken: import("zod").ZodString;
|
@@ -106130,13 +106362,13 @@ export declare const platformContract: {
|
|
106130
106362
|
accessToken: string;
|
106131
106363
|
channelSecret?: string | undefined;
|
106132
106364
|
additionalCredentials?: any;
|
106133
|
-
}
|
106134
|
-
platformId: import("zod").ZodString
|
106135
|
-
brandName: import("zod").ZodString
|
106136
|
-
status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]
|
106137
|
-
connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString
|
106138
|
-
connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString
|
106139
|
-
actor: import("zod").ZodOptional<import("zod").ZodObject<{
|
106365
|
+
}>>;
|
106366
|
+
platformId: import("zod").ZodOptional<import("zod").ZodString>;
|
106367
|
+
brandName: import("zod").ZodOptional<import("zod").ZodString>;
|
106368
|
+
status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
|
106369
|
+
connectedUserName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
106370
|
+
connectedUserId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
106371
|
+
actor: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
106140
106372
|
id: import("zod").ZodString;
|
106141
106373
|
name: import("zod").ZodString;
|
106142
106374
|
email: import("zod").ZodString;
|
@@ -106154,20 +106386,21 @@ export declare const platformContract: {
|
|
106154
106386
|
name: string;
|
106155
106387
|
email: string;
|
106156
106388
|
phone: string | null;
|
106157
|
-
}
|
106389
|
+
}>>>;
|
106158
106390
|
}, "strip", import("zod").ZodTypeAny, {
|
106159
|
-
|
106160
|
-
name
|
106161
|
-
|
106391
|
+
id?: string | undefined;
|
106392
|
+
name?: string | undefined;
|
106393
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
106394
|
+
metadata?: {
|
106162
106395
|
id: string;
|
106163
106396
|
name: string;
|
106164
106397
|
accessToken: string;
|
106165
106398
|
channelSecret?: string | undefined;
|
106166
106399
|
additionalCredentials?: any;
|
106167
|
-
};
|
106168
|
-
|
106169
|
-
brandName
|
106170
|
-
|
106400
|
+
} | undefined;
|
106401
|
+
platformId?: string | undefined;
|
106402
|
+
brandName?: string | undefined;
|
106403
|
+
status?: boolean | undefined;
|
106171
106404
|
connectedUserName?: string | null | undefined;
|
106172
106405
|
connectedUserId?: string | null | undefined;
|
106173
106406
|
actor?: {
|
@@ -106178,18 +106411,19 @@ export declare const platformContract: {
|
|
106178
106411
|
phone: string | null;
|
106179
106412
|
} | undefined;
|
106180
106413
|
}, {
|
106181
|
-
|
106182
|
-
name
|
106183
|
-
|
106414
|
+
id?: string | undefined;
|
106415
|
+
name?: string | undefined;
|
106416
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
106417
|
+
metadata?: {
|
106184
106418
|
id: string;
|
106185
106419
|
name: string;
|
106186
106420
|
accessToken: string;
|
106187
106421
|
channelSecret?: string | undefined;
|
106188
106422
|
additionalCredentials?: any;
|
106189
|
-
};
|
106190
|
-
|
106191
|
-
brandName
|
106192
|
-
|
106423
|
+
} | undefined;
|
106424
|
+
platformId?: string | undefined;
|
106425
|
+
brandName?: string | undefined;
|
106426
|
+
status?: boolean | undefined;
|
106193
106427
|
connectedUserName?: string | null | undefined;
|
106194
106428
|
connectedUserId?: string | null | undefined;
|
106195
106429
|
actor?: {
|
@@ -106205,6 +106439,7 @@ export declare const platformContract: {
|
|
106205
106439
|
200: import("zod").ZodObject<{
|
106206
106440
|
requestId: import("zod").ZodString;
|
106207
106441
|
data: import("zod").ZodObject<{
|
106442
|
+
id: import("zod").ZodString;
|
106208
106443
|
name: import("zod").ZodString;
|
106209
106444
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
106210
106445
|
metadata: import("zod").ZodObject<{
|
@@ -106252,6 +106487,7 @@ export declare const platformContract: {
|
|
106252
106487
|
}>>;
|
106253
106488
|
}, "strip", import("zod").ZodTypeAny, {
|
106254
106489
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106490
|
+
id: string;
|
106255
106491
|
name: string;
|
106256
106492
|
metadata: {
|
106257
106493
|
id: string;
|
@@ -106274,6 +106510,7 @@ export declare const platformContract: {
|
|
106274
106510
|
} | undefined;
|
106275
106511
|
}, {
|
106276
106512
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106513
|
+
id: string;
|
106277
106514
|
name: string;
|
106278
106515
|
metadata: {
|
106279
106516
|
id: string;
|
@@ -106298,6 +106535,7 @@ export declare const platformContract: {
|
|
106298
106535
|
}, "strip", import("zod").ZodTypeAny, {
|
106299
106536
|
data: {
|
106300
106537
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106538
|
+
id: string;
|
106301
106539
|
name: string;
|
106302
106540
|
metadata: {
|
106303
106541
|
id: string;
|
@@ -106323,6 +106561,7 @@ export declare const platformContract: {
|
|
106323
106561
|
}, {
|
106324
106562
|
data: {
|
106325
106563
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106564
|
+
id: string;
|
106326
106565
|
name: string;
|
106327
106566
|
metadata: {
|
106328
106567
|
id: string;
|
@@ -106371,6 +106610,7 @@ export declare const platformContract: {
|
|
106371
106610
|
};
|
106372
106611
|
disconnectToService: {
|
106373
106612
|
body: import("zod").ZodObject<{
|
106613
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
106374
106614
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
106375
106615
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
106376
106616
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -106417,6 +106657,7 @@ export declare const platformContract: {
|
|
106417
106657
|
phone: string | null;
|
106418
106658
|
}>>>;
|
106419
106659
|
}, "strip", import("zod").ZodTypeAny, {
|
106660
|
+
id?: string | undefined;
|
106420
106661
|
name?: string | undefined;
|
106421
106662
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
106422
106663
|
metadata?: {
|
@@ -106439,6 +106680,7 @@ export declare const platformContract: {
|
|
106439
106680
|
phone: string | null;
|
106440
106681
|
} | undefined;
|
106441
106682
|
}, {
|
106683
|
+
id?: string | undefined;
|
106442
106684
|
name?: string | undefined;
|
106443
106685
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
106444
106686
|
metadata?: {
|
@@ -106466,6 +106708,7 @@ export declare const platformContract: {
|
|
106466
106708
|
200: import("zod").ZodObject<{
|
106467
106709
|
requestId: import("zod").ZodString;
|
106468
106710
|
data: import("zod").ZodObject<{
|
106711
|
+
id: import("zod").ZodString;
|
106469
106712
|
name: import("zod").ZodString;
|
106470
106713
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
106471
106714
|
metadata: import("zod").ZodObject<{
|
@@ -106513,6 +106756,7 @@ export declare const platformContract: {
|
|
106513
106756
|
}>>;
|
106514
106757
|
}, "strip", import("zod").ZodTypeAny, {
|
106515
106758
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106759
|
+
id: string;
|
106516
106760
|
name: string;
|
106517
106761
|
metadata: {
|
106518
106762
|
id: string;
|
@@ -106535,6 +106779,7 @@ export declare const platformContract: {
|
|
106535
106779
|
} | undefined;
|
106536
106780
|
}, {
|
106537
106781
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106782
|
+
id: string;
|
106538
106783
|
name: string;
|
106539
106784
|
metadata: {
|
106540
106785
|
id: string;
|
@@ -106559,6 +106804,7 @@ export declare const platformContract: {
|
|
106559
106804
|
}, "strip", import("zod").ZodTypeAny, {
|
106560
106805
|
data: {
|
106561
106806
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106807
|
+
id: string;
|
106562
106808
|
name: string;
|
106563
106809
|
metadata: {
|
106564
106810
|
id: string;
|
@@ -106584,6 +106830,7 @@ export declare const platformContract: {
|
|
106584
106830
|
}, {
|
106585
106831
|
data: {
|
106586
106832
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106833
|
+
id: string;
|
106587
106834
|
name: string;
|
106588
106835
|
metadata: {
|
106589
106836
|
id: string;
|
@@ -106644,6 +106891,7 @@ export declare const platformContract: {
|
|
106644
106891
|
200: import("zod").ZodObject<{
|
106645
106892
|
requestId: import("zod").ZodString;
|
106646
106893
|
data: import("zod").ZodObject<{
|
106894
|
+
id: import("zod").ZodString;
|
106647
106895
|
name: import("zod").ZodString;
|
106648
106896
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
106649
106897
|
metadata: import("zod").ZodObject<{
|
@@ -106691,6 +106939,7 @@ export declare const platformContract: {
|
|
106691
106939
|
}>>;
|
106692
106940
|
}, "strip", import("zod").ZodTypeAny, {
|
106693
106941
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106942
|
+
id: string;
|
106694
106943
|
name: string;
|
106695
106944
|
metadata: {
|
106696
106945
|
id: string;
|
@@ -106713,6 +106962,7 @@ export declare const platformContract: {
|
|
106713
106962
|
} | undefined;
|
106714
106963
|
}, {
|
106715
106964
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106965
|
+
id: string;
|
106716
106966
|
name: string;
|
106717
106967
|
metadata: {
|
106718
106968
|
id: string;
|
@@ -106737,6 +106987,7 @@ export declare const platformContract: {
|
|
106737
106987
|
}, "strip", import("zod").ZodTypeAny, {
|
106738
106988
|
data: {
|
106739
106989
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
106990
|
+
id: string;
|
106740
106991
|
name: string;
|
106741
106992
|
metadata: {
|
106742
106993
|
id: string;
|
@@ -106762,6 +107013,7 @@ export declare const platformContract: {
|
|
106762
107013
|
}, {
|
106763
107014
|
data: {
|
106764
107015
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107016
|
+
id: string;
|
106765
107017
|
name: string;
|
106766
107018
|
metadata: {
|
106767
107019
|
id: string;
|
@@ -106822,6 +107074,7 @@ export declare const platformContract: {
|
|
106822
107074
|
200: import("zod").ZodObject<{
|
106823
107075
|
requestId: import("zod").ZodString;
|
106824
107076
|
data: import("zod").ZodObject<{
|
107077
|
+
id: import("zod").ZodString;
|
106825
107078
|
name: import("zod").ZodString;
|
106826
107079
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
106827
107080
|
metadata: import("zod").ZodObject<{
|
@@ -106869,6 +107122,7 @@ export declare const platformContract: {
|
|
106869
107122
|
}>>;
|
106870
107123
|
}, "strip", import("zod").ZodTypeAny, {
|
106871
107124
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107125
|
+
id: string;
|
106872
107126
|
name: string;
|
106873
107127
|
metadata: {
|
106874
107128
|
id: string;
|
@@ -106891,6 +107145,7 @@ export declare const platformContract: {
|
|
106891
107145
|
} | undefined;
|
106892
107146
|
}, {
|
106893
107147
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107148
|
+
id: string;
|
106894
107149
|
name: string;
|
106895
107150
|
metadata: {
|
106896
107151
|
id: string;
|
@@ -106915,6 +107170,7 @@ export declare const platformContract: {
|
|
106915
107170
|
}, "strip", import("zod").ZodTypeAny, {
|
106916
107171
|
data: {
|
106917
107172
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107173
|
+
id: string;
|
106918
107174
|
name: string;
|
106919
107175
|
metadata: {
|
106920
107176
|
id: string;
|
@@ -106940,6 +107196,7 @@ export declare const platformContract: {
|
|
106940
107196
|
}, {
|
106941
107197
|
data: {
|
106942
107198
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107199
|
+
id: string;
|
106943
107200
|
name: string;
|
106944
107201
|
metadata: {
|
106945
107202
|
id: string;
|
@@ -106988,6 +107245,7 @@ export declare const platformContract: {
|
|
106988
107245
|
};
|
106989
107246
|
relogin: {
|
106990
107247
|
body: import("zod").ZodObject<{
|
107248
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
106991
107249
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
106992
107250
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
106993
107251
|
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
@@ -107034,6 +107292,7 @@ export declare const platformContract: {
|
|
107034
107292
|
phone: string | null;
|
107035
107293
|
}>>>;
|
107036
107294
|
}, "strip", import("zod").ZodTypeAny, {
|
107295
|
+
id?: string | undefined;
|
107037
107296
|
name?: string | undefined;
|
107038
107297
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
107039
107298
|
metadata?: {
|
@@ -107056,6 +107315,7 @@ export declare const platformContract: {
|
|
107056
107315
|
phone: string | null;
|
107057
107316
|
} | undefined;
|
107058
107317
|
}, {
|
107318
|
+
id?: string | undefined;
|
107059
107319
|
name?: string | undefined;
|
107060
107320
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
107061
107321
|
metadata?: {
|
@@ -107083,6 +107343,7 @@ export declare const platformContract: {
|
|
107083
107343
|
200: import("zod").ZodObject<{
|
107084
107344
|
requestId: import("zod").ZodString;
|
107085
107345
|
data: import("zod").ZodObject<{
|
107346
|
+
id: import("zod").ZodString;
|
107086
107347
|
name: import("zod").ZodString;
|
107087
107348
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
107088
107349
|
metadata: import("zod").ZodObject<{
|
@@ -107130,6 +107391,7 @@ export declare const platformContract: {
|
|
107130
107391
|
}>>;
|
107131
107392
|
}, "strip", import("zod").ZodTypeAny, {
|
107132
107393
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107394
|
+
id: string;
|
107133
107395
|
name: string;
|
107134
107396
|
metadata: {
|
107135
107397
|
id: string;
|
@@ -107152,6 +107414,7 @@ export declare const platformContract: {
|
|
107152
107414
|
} | undefined;
|
107153
107415
|
}, {
|
107154
107416
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107417
|
+
id: string;
|
107155
107418
|
name: string;
|
107156
107419
|
metadata: {
|
107157
107420
|
id: string;
|
@@ -107176,6 +107439,7 @@ export declare const platformContract: {
|
|
107176
107439
|
}, "strip", import("zod").ZodTypeAny, {
|
107177
107440
|
data: {
|
107178
107441
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107442
|
+
id: string;
|
107179
107443
|
name: string;
|
107180
107444
|
metadata: {
|
107181
107445
|
id: string;
|
@@ -107201,6 +107465,7 @@ export declare const platformContract: {
|
|
107201
107465
|
}, {
|
107202
107466
|
data: {
|
107203
107467
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
107468
|
+
id: string;
|
107204
107469
|
name: string;
|
107205
107470
|
metadata: {
|
107206
107471
|
id: string;
|
@@ -108581,6 +108846,7 @@ export declare const platformContract: {
|
|
108581
108846
|
phone: string | null;
|
108582
108847
|
}>>;
|
108583
108848
|
channel: import("zod").ZodObject<{
|
108849
|
+
id: import("zod").ZodString;
|
108584
108850
|
name: import("zod").ZodString;
|
108585
108851
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
108586
108852
|
metadata: import("zod").ZodObject<{
|
@@ -108628,6 +108894,7 @@ export declare const platformContract: {
|
|
108628
108894
|
}>>;
|
108629
108895
|
}, "strip", import("zod").ZodTypeAny, {
|
108630
108896
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
108897
|
+
id: string;
|
108631
108898
|
name: string;
|
108632
108899
|
metadata: {
|
108633
108900
|
id: string;
|
@@ -108650,6 +108917,7 @@ export declare const platformContract: {
|
|
108650
108917
|
} | undefined;
|
108651
108918
|
}, {
|
108652
108919
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
108920
|
+
id: string;
|
108653
108921
|
name: string;
|
108654
108922
|
metadata: {
|
108655
108923
|
id: string;
|
@@ -108675,6 +108943,7 @@ export declare const platformContract: {
|
|
108675
108943
|
id: string;
|
108676
108944
|
channel: {
|
108677
108945
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
108946
|
+
id: string;
|
108678
108947
|
name: string;
|
108679
108948
|
metadata: {
|
108680
108949
|
id: string;
|
@@ -108729,6 +108998,7 @@ export declare const platformContract: {
|
|
108729
108998
|
id: string;
|
108730
108999
|
channel: {
|
108731
109000
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109001
|
+
id: string;
|
108732
109002
|
name: string;
|
108733
109003
|
metadata: {
|
108734
109004
|
id: string;
|
@@ -108911,6 +109181,7 @@ export declare const platformContract: {
|
|
108911
109181
|
id: string;
|
108912
109182
|
channel: {
|
108913
109183
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109184
|
+
id: string;
|
108914
109185
|
name: string;
|
108915
109186
|
metadata: {
|
108916
109187
|
id: string;
|
@@ -108994,6 +109265,7 @@ export declare const platformContract: {
|
|
108994
109265
|
id: string;
|
108995
109266
|
channel: {
|
108996
109267
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109268
|
+
id: string;
|
108997
109269
|
name: string;
|
108998
109270
|
metadata: {
|
108999
109271
|
id: string;
|
@@ -116316,6 +116588,7 @@ export declare const platformContract: {
|
|
116316
116588
|
200: import("zod").ZodObject<{
|
116317
116589
|
requestId: import("zod").ZodString;
|
116318
116590
|
data: import("zod").ZodObject<{
|
116591
|
+
id: import("zod").ZodString;
|
116319
116592
|
name: import("zod").ZodString;
|
116320
116593
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
116321
116594
|
metadata: import("zod").ZodObject<{
|
@@ -116363,6 +116636,7 @@ export declare const platformContract: {
|
|
116363
116636
|
}>>;
|
116364
116637
|
}, "strip", import("zod").ZodTypeAny, {
|
116365
116638
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
116639
|
+
id: string;
|
116366
116640
|
name: string;
|
116367
116641
|
metadata: {
|
116368
116642
|
id: string;
|
@@ -116385,6 +116659,7 @@ export declare const platformContract: {
|
|
116385
116659
|
} | undefined;
|
116386
116660
|
}, {
|
116387
116661
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
116662
|
+
id: string;
|
116388
116663
|
name: string;
|
116389
116664
|
metadata: {
|
116390
116665
|
id: string;
|
@@ -116409,6 +116684,7 @@ export declare const platformContract: {
|
|
116409
116684
|
}, "strip", import("zod").ZodTypeAny, {
|
116410
116685
|
data: {
|
116411
116686
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
116687
|
+
id: string;
|
116412
116688
|
name: string;
|
116413
116689
|
metadata: {
|
116414
116690
|
id: string;
|
@@ -116434,6 +116710,7 @@ export declare const platformContract: {
|
|
116434
116710
|
}, {
|
116435
116711
|
data: {
|
116436
116712
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
116713
|
+
id: string;
|
116437
116714
|
name: string;
|
116438
116715
|
metadata: {
|
116439
116716
|
id: string;
|
@@ -124129,14 +124406,14 @@ export declare const chatContract: {
|
|
124129
124406
|
};
|
124130
124407
|
}>>;
|
124131
124408
|
sticker: import("zod").ZodOptional<import("zod").ZodObject<{
|
124132
|
-
packageId: import("zod").
|
124133
|
-
stickerId: import("zod").
|
124409
|
+
packageId: import("zod").ZodNumber;
|
124410
|
+
stickerId: import("zod").ZodNumber;
|
124134
124411
|
}, "strip", import("zod").ZodTypeAny, {
|
124135
|
-
packageId
|
124136
|
-
stickerId
|
124412
|
+
packageId: number;
|
124413
|
+
stickerId: number;
|
124137
124414
|
}, {
|
124138
|
-
packageId
|
124139
|
-
stickerId
|
124415
|
+
packageId: number;
|
124416
|
+
stickerId: number;
|
124140
124417
|
}>>;
|
124141
124418
|
file: import("zod").ZodOptional<import("zod").ZodType<File, import("zod").ZodTypeDef, File>>;
|
124142
124419
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -124197,8 +124474,8 @@ export declare const chatContract: {
|
|
124197
124474
|
};
|
124198
124475
|
} | undefined;
|
124199
124476
|
sticker?: {
|
124200
|
-
packageId
|
124201
|
-
stickerId
|
124477
|
+
packageId: number;
|
124478
|
+
stickerId: number;
|
124202
124479
|
} | undefined;
|
124203
124480
|
file?: File | undefined;
|
124204
124481
|
}, {
|
@@ -124259,8 +124536,8 @@ export declare const chatContract: {
|
|
124259
124536
|
};
|
124260
124537
|
} | undefined;
|
124261
124538
|
sticker?: {
|
124262
|
-
packageId
|
124263
|
-
stickerId
|
124539
|
+
packageId: number;
|
124540
|
+
stickerId: number;
|
124264
124541
|
} | undefined;
|
124265
124542
|
file?: File | undefined;
|
124266
124543
|
}>;
|
@@ -131010,68 +131287,6 @@ export declare const chatContract: {
|
|
131010
131287
|
'x-client-timezone'?: string | undefined;
|
131011
131288
|
}>>>;
|
131012
131289
|
};
|
131013
|
-
sendLineSticker: {
|
131014
|
-
body: import("zod").ZodObject<{
|
131015
|
-
roomId: import("zod").ZodString;
|
131016
|
-
packageId: import("zod").ZodString;
|
131017
|
-
stickerId: import("zod").ZodString;
|
131018
|
-
}, "strip", import("zod").ZodTypeAny, {
|
131019
|
-
roomId: string;
|
131020
|
-
packageId: string;
|
131021
|
-
stickerId: string;
|
131022
|
-
}, {
|
131023
|
-
roomId: string;
|
131024
|
-
packageId: string;
|
131025
|
-
stickerId: string;
|
131026
|
-
}>;
|
131027
|
-
method: "POST";
|
131028
|
-
responses: {
|
131029
|
-
200: import("zod").ZodOptional<import("zod").ZodObject<{
|
131030
|
-
message: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
131031
|
-
}, "strip", import("zod").ZodTypeAny, {
|
131032
|
-
message?: string | null | undefined;
|
131033
|
-
}, {
|
131034
|
-
message?: string | null | undefined;
|
131035
|
-
}>>;
|
131036
|
-
422: import("zod").ZodObject<{
|
131037
|
-
message: import("zod").ZodString;
|
131038
|
-
error: import("zod").ZodAny;
|
131039
|
-
}, "strip", import("zod").ZodTypeAny, {
|
131040
|
-
message: string;
|
131041
|
-
error?: any;
|
131042
|
-
}, {
|
131043
|
-
message: string;
|
131044
|
-
error?: any;
|
131045
|
-
}>;
|
131046
|
-
500: import("zod").ZodObject<{
|
131047
|
-
message: import("zod").ZodString;
|
131048
|
-
error: import("zod").ZodAny;
|
131049
|
-
}, "strip", import("zod").ZodTypeAny, {
|
131050
|
-
message: string;
|
131051
|
-
error?: any;
|
131052
|
-
}, {
|
131053
|
-
message: string;
|
131054
|
-
error?: any;
|
131055
|
-
}>;
|
131056
|
-
};
|
131057
|
-
path: "chat/line/sticker";
|
131058
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
131059
|
-
'x-tenant': import("zod").ZodString;
|
131060
|
-
authorization: import("zod").ZodString;
|
131061
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
131062
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
131063
|
-
}, "strip", import("zod").ZodTypeAny, {
|
131064
|
-
'x-tenant': string;
|
131065
|
-
authorization: string;
|
131066
|
-
'x-client-timezone': string;
|
131067
|
-
'x-code'?: string | undefined;
|
131068
|
-
}, {
|
131069
|
-
'x-tenant': string;
|
131070
|
-
authorization: string;
|
131071
|
-
'x-code'?: string | undefined;
|
131072
|
-
'x-client-timezone'?: string | undefined;
|
131073
|
-
}>>>;
|
131074
|
-
};
|
131075
131290
|
getRoomsByPlatformContactId: {
|
131076
131291
|
method: "GET";
|
131077
131292
|
pathParams: import("zod").ZodObject<{
|
@@ -168598,14 +168813,76 @@ export declare const notificationContract: {
|
|
168598
168813
|
};
|
168599
168814
|
path: "notification";
|
168600
168815
|
};
|
168816
|
+
getNewNotificationsCount: {
|
168817
|
+
summary: "Get user's unread notifications count";
|
168818
|
+
method: "GET";
|
168819
|
+
responses: {
|
168820
|
+
200: import("zod").ZodObject<{
|
168821
|
+
requestId: import("zod").ZodString;
|
168822
|
+
total: import("zod").ZodNumber;
|
168823
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168824
|
+
total: number;
|
168825
|
+
requestId: string;
|
168826
|
+
}, {
|
168827
|
+
total: number;
|
168828
|
+
requestId: string;
|
168829
|
+
}>;
|
168830
|
+
400: import("zod").ZodObject<{
|
168831
|
+
message: import("zod").ZodString;
|
168832
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168833
|
+
message: string;
|
168834
|
+
}, {
|
168835
|
+
message: string;
|
168836
|
+
}>;
|
168837
|
+
409: import("zod").ZodObject<{
|
168838
|
+
message: import("zod").ZodString;
|
168839
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168840
|
+
message: string;
|
168841
|
+
}, {
|
168842
|
+
message: string;
|
168843
|
+
}>;
|
168844
|
+
500: import("zod").ZodObject<{
|
168845
|
+
message: import("zod").ZodString;
|
168846
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168847
|
+
message: string;
|
168848
|
+
}, {
|
168849
|
+
message: string;
|
168850
|
+
}>;
|
168851
|
+
401: import("zod").ZodObject<{
|
168852
|
+
message: import("zod").ZodString;
|
168853
|
+
error: import("zod").ZodAny;
|
168854
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168855
|
+
message: string;
|
168856
|
+
error?: any;
|
168857
|
+
}, {
|
168858
|
+
message: string;
|
168859
|
+
error?: any;
|
168860
|
+
}>;
|
168861
|
+
404: import("zod").ZodObject<{
|
168862
|
+
message: import("zod").ZodString;
|
168863
|
+
error: import("zod").ZodAny;
|
168864
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168865
|
+
message: string;
|
168866
|
+
error?: any;
|
168867
|
+
}, {
|
168868
|
+
message: string;
|
168869
|
+
error?: any;
|
168870
|
+
}>;
|
168871
|
+
422: import("zod").ZodObject<{
|
168872
|
+
message: import("zod").ZodString;
|
168873
|
+
error: import("zod").ZodAny;
|
168874
|
+
}, "strip", import("zod").ZodTypeAny, {
|
168875
|
+
message: string;
|
168876
|
+
error?: any;
|
168877
|
+
}, {
|
168878
|
+
message: string;
|
168879
|
+
error?: any;
|
168880
|
+
}>;
|
168881
|
+
};
|
168882
|
+
path: "notification/new_notifications_count";
|
168883
|
+
};
|
168601
168884
|
resetNotifications: {
|
168602
|
-
body:
|
168603
|
-
userId: import("zod").ZodString;
|
168604
|
-
}, "strip", import("zod").ZodTypeAny, {
|
168605
|
-
userId: string;
|
168606
|
-
}, {
|
168607
|
-
userId: string;
|
168608
|
-
}>;
|
168885
|
+
body: null;
|
168609
168886
|
summary: "Reset notification count to zero";
|
168610
168887
|
method: "POST";
|
168611
168888
|
responses: {
|