@kl1/contracts 1.1.57 → 1.1.58
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/api-contracts/src/channel/index.d.ts +1180 -1075
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +8 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +10 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +230 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +54 -0
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +79 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +1671 -3147
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +87 -0
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +7 -0
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +83 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +75 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +9 -0
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +83 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +16 -0
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +6 -6
- package/dist/api-contracts/src/subscription/schema.d.ts +6 -6
- package/dist/api-contracts/src/telegram/index.d.ts +61 -0
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +61 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +61 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +71 -0
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +18 -0
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +34 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1553,6 +1553,7 @@ export declare const chatContract: {
|
|
|
1553
1553
|
}>>;
|
|
1554
1554
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1555
1555
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1556
|
+
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1556
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1557
1558
|
id: string;
|
|
1558
1559
|
name: string;
|
|
@@ -1578,6 +1579,7 @@ export declare const chatContract: {
|
|
|
1578
1579
|
} | undefined;
|
|
1579
1580
|
lineRichMenuId?: string | null | undefined;
|
|
1580
1581
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1582
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1581
1583
|
}, {
|
|
1582
1584
|
id: string;
|
|
1583
1585
|
name: string;
|
|
@@ -1603,6 +1605,7 @@ export declare const chatContract: {
|
|
|
1603
1605
|
} | undefined;
|
|
1604
1606
|
lineRichMenuId?: string | null | undefined;
|
|
1605
1607
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1608
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1606
1609
|
}>;
|
|
1607
1610
|
brandName: z.ZodString;
|
|
1608
1611
|
platformId: z.ZodString;
|
|
@@ -1862,6 +1865,7 @@ export declare const chatContract: {
|
|
|
1862
1865
|
} | undefined;
|
|
1863
1866
|
lineRichMenuId?: string | null | undefined;
|
|
1864
1867
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1868
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1865
1869
|
};
|
|
1866
1870
|
status: boolean;
|
|
1867
1871
|
createdAt: Date;
|
|
@@ -1952,6 +1956,7 @@ export declare const chatContract: {
|
|
|
1952
1956
|
} | undefined;
|
|
1953
1957
|
lineRichMenuId?: string | null | undefined;
|
|
1954
1958
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1959
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1955
1960
|
};
|
|
1956
1961
|
status: boolean;
|
|
1957
1962
|
createdAt: Date;
|
|
@@ -2606,6 +2611,7 @@ export declare const chatContract: {
|
|
|
2606
2611
|
} | undefined;
|
|
2607
2612
|
lineRichMenuId?: string | null | undefined;
|
|
2608
2613
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2614
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2609
2615
|
};
|
|
2610
2616
|
status: boolean;
|
|
2611
2617
|
createdAt: Date;
|
|
@@ -3029,6 +3035,7 @@ export declare const chatContract: {
|
|
|
3029
3035
|
} | undefined;
|
|
3030
3036
|
lineRichMenuId?: string | null | undefined;
|
|
3031
3037
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3038
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3032
3039
|
};
|
|
3033
3040
|
status: boolean;
|
|
3034
3041
|
createdAt: Date;
|
|
@@ -3454,6 +3461,7 @@ export declare const chatContract: {
|
|
|
3454
3461
|
} | undefined;
|
|
3455
3462
|
lineRichMenuId?: string | null | undefined;
|
|
3456
3463
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3464
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3457
3465
|
};
|
|
3458
3466
|
status: boolean;
|
|
3459
3467
|
createdAt: Date;
|
|
@@ -3880,6 +3888,7 @@ export declare const chatContract: {
|
|
|
3880
3888
|
} | undefined;
|
|
3881
3889
|
lineRichMenuId?: string | null | undefined;
|
|
3882
3890
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3891
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3883
3892
|
};
|
|
3884
3893
|
status: boolean;
|
|
3885
3894
|
createdAt: Date;
|
|
@@ -4379,6 +4388,7 @@ export declare const chatContract: {
|
|
|
4379
4388
|
}>>;
|
|
4380
4389
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4381
4390
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4391
|
+
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4382
4392
|
}, "strip", z.ZodTypeAny, {
|
|
4383
4393
|
id: string;
|
|
4384
4394
|
name: string;
|
|
@@ -4404,6 +4414,7 @@ export declare const chatContract: {
|
|
|
4404
4414
|
} | undefined;
|
|
4405
4415
|
lineRichMenuId?: string | null | undefined;
|
|
4406
4416
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4417
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4407
4418
|
}, {
|
|
4408
4419
|
id: string;
|
|
4409
4420
|
name: string;
|
|
@@ -4429,6 +4440,7 @@ export declare const chatContract: {
|
|
|
4429
4440
|
} | undefined;
|
|
4430
4441
|
lineRichMenuId?: string | null | undefined;
|
|
4431
4442
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4443
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4432
4444
|
}>;
|
|
4433
4445
|
brandName: z.ZodString;
|
|
4434
4446
|
platformId: z.ZodString;
|
|
@@ -4688,6 +4700,7 @@ export declare const chatContract: {
|
|
|
4688
4700
|
} | undefined;
|
|
4689
4701
|
lineRichMenuId?: string | null | undefined;
|
|
4690
4702
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4703
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4691
4704
|
};
|
|
4692
4705
|
status: boolean;
|
|
4693
4706
|
createdAt: Date;
|
|
@@ -4778,6 +4791,7 @@ export declare const chatContract: {
|
|
|
4778
4791
|
} | undefined;
|
|
4779
4792
|
lineRichMenuId?: string | null | undefined;
|
|
4780
4793
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4794
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4781
4795
|
};
|
|
4782
4796
|
status: boolean;
|
|
4783
4797
|
createdAt: Date;
|
|
@@ -6902,6 +6916,7 @@ export declare const chatContract: {
|
|
|
6902
6916
|
} | undefined;
|
|
6903
6917
|
lineRichMenuId?: string | null | undefined;
|
|
6904
6918
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6919
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6905
6920
|
};
|
|
6906
6921
|
status: boolean;
|
|
6907
6922
|
createdAt: Date;
|
|
@@ -7326,6 +7341,7 @@ export declare const chatContract: {
|
|
|
7326
7341
|
} | undefined;
|
|
7327
7342
|
lineRichMenuId?: string | null | undefined;
|
|
7328
7343
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7344
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7329
7345
|
};
|
|
7330
7346
|
status: boolean;
|
|
7331
7347
|
createdAt: Date;
|
|
@@ -7752,6 +7768,7 @@ export declare const chatContract: {
|
|
|
7752
7768
|
} | undefined;
|
|
7753
7769
|
lineRichMenuId?: string | null | undefined;
|
|
7754
7770
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7771
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7755
7772
|
};
|
|
7756
7773
|
status: boolean;
|
|
7757
7774
|
createdAt: Date;
|
|
@@ -8179,6 +8196,7 @@ export declare const chatContract: {
|
|
|
8179
8196
|
} | undefined;
|
|
8180
8197
|
lineRichMenuId?: string | null | undefined;
|
|
8181
8198
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8199
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8182
8200
|
};
|
|
8183
8201
|
status: boolean;
|
|
8184
8202
|
createdAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workflow-rule/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workflow-rule/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DxB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(src_exports, {
|
|
|
43
43
|
categorySettingContract: () => categorySettingContract,
|
|
44
44
|
channelBotContract: () => channelBotContract,
|
|
45
45
|
channelContract: () => channelContract,
|
|
46
|
+
channelFacebookFeedContract: () => channelFacebookFeedContract,
|
|
46
47
|
channelSMSContract: () => channelSMSContract,
|
|
47
48
|
channelSettingContract: () => channelSettingContract,
|
|
48
49
|
commentActivityContract: () => commentActivityContract,
|
|
@@ -847,7 +848,8 @@ var ChannelMetadataSchema = import_zod18.default.object({
|
|
|
847
848
|
apiSecret: import_zod18.default.string()
|
|
848
849
|
}).optional(),
|
|
849
850
|
lineRichMenuId: import_zod18.default.string().optional().nullable(),
|
|
850
|
-
messengerIntegrationType: import_zod18.default.union([import_zod18.default.literal("own"), import_zod18.default.literal("business")]).optional()
|
|
851
|
+
messengerIntegrationType: import_zod18.default.union([import_zod18.default.literal("own"), import_zod18.default.literal("business")]).optional(),
|
|
852
|
+
facebookFeedIntegrationType: import_zod18.default.union([import_zod18.default.literal("own"), import_zod18.default.literal("business")]).optional()
|
|
851
853
|
});
|
|
852
854
|
var ChannelSchema = import_zod18.default.object({
|
|
853
855
|
id: import_zod18.default.string().uuid(),
|
|
@@ -2323,36 +2325,6 @@ var messenger = (0, import_core6.initContract)().router(
|
|
|
2323
2325
|
pathPrefix: "/messenger"
|
|
2324
2326
|
}
|
|
2325
2327
|
);
|
|
2326
|
-
var facebookFeed = (0, import_core6.initContract)().router(
|
|
2327
|
-
{
|
|
2328
|
-
getPages: {
|
|
2329
|
-
method: "GET",
|
|
2330
|
-
path: "/pages",
|
|
2331
|
-
query: GetFacebookPagesQuerySchema,
|
|
2332
|
-
responses: {
|
|
2333
|
-
200: DefaultSuccessResponseSchema.extend({
|
|
2334
|
-
data: GetFacebookPagesSchema
|
|
2335
|
-
}),
|
|
2336
|
-
500: DefaultErrorResponseSchema
|
|
2337
|
-
}
|
|
2338
|
-
},
|
|
2339
|
-
connect: {
|
|
2340
|
-
method: "POST",
|
|
2341
|
-
path: "/connect",
|
|
2342
|
-
responses: {
|
|
2343
|
-
200: DefaultSuccessResponseSchema.extend({
|
|
2344
|
-
channel: ChannelSchema
|
|
2345
|
-
}),
|
|
2346
|
-
408: DefaultErrorResponseSchema
|
|
2347
|
-
},
|
|
2348
|
-
body: ConnectChannelSchema,
|
|
2349
|
-
summary: "Connect Facebook Feed channel"
|
|
2350
|
-
}
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
pathPrefix: "/facebook-feed"
|
|
2354
|
-
}
|
|
2355
|
-
);
|
|
2356
2328
|
var instagram = (0, import_core6.initContract)().router(
|
|
2357
2329
|
{
|
|
2358
2330
|
getPages: {
|
|
@@ -2592,7 +2564,6 @@ var channelContract = (0, import_core6.initContract)().router(
|
|
|
2592
2564
|
viber,
|
|
2593
2565
|
telegram,
|
|
2594
2566
|
webchat,
|
|
2595
|
-
facebookFeed,
|
|
2596
2567
|
whatsapp
|
|
2597
2568
|
},
|
|
2598
2569
|
{
|
|
@@ -2600,6 +2571,36 @@ var channelContract = (0, import_core6.initContract)().router(
|
|
|
2600
2571
|
pathPrefix: "channel"
|
|
2601
2572
|
}
|
|
2602
2573
|
);
|
|
2574
|
+
var channelFacebookFeedContract = (0, import_core6.initContract)().router(
|
|
2575
|
+
{
|
|
2576
|
+
getPages: {
|
|
2577
|
+
method: "GET",
|
|
2578
|
+
path: "/pages",
|
|
2579
|
+
query: GetFacebookPagesQuerySchema,
|
|
2580
|
+
responses: {
|
|
2581
|
+
200: DefaultSuccessResponseSchema.extend({
|
|
2582
|
+
data: GetFacebookPagesSchema
|
|
2583
|
+
}),
|
|
2584
|
+
500: DefaultErrorResponseSchema
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
connect: {
|
|
2588
|
+
method: "POST",
|
|
2589
|
+
path: "/connect",
|
|
2590
|
+
responses: {
|
|
2591
|
+
200: DefaultSuccessResponseSchema.extend({
|
|
2592
|
+
channel: ChannelSchema
|
|
2593
|
+
}),
|
|
2594
|
+
408: DefaultErrorResponseSchema
|
|
2595
|
+
},
|
|
2596
|
+
body: ConnectChannelSchema,
|
|
2597
|
+
summary: "Connect Facebook Feed channel"
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
pathPrefix: "/facebook-feed"
|
|
2602
|
+
}
|
|
2603
|
+
);
|
|
2603
2604
|
var channelBotContract = (0, import_core6.initContract)().router({
|
|
2604
2605
|
connectBot: {
|
|
2605
2606
|
method: "POST",
|
|
@@ -9853,6 +9854,7 @@ var holdLabelContract = (0, import_core51.initContract)().router(
|
|
|
9853
9854
|
categorySettingContract,
|
|
9854
9855
|
channelBotContract,
|
|
9855
9856
|
channelContract,
|
|
9857
|
+
channelFacebookFeedContract,
|
|
9856
9858
|
channelSMSContract,
|
|
9857
9859
|
channelSettingContract,
|
|
9858
9860
|
commentActivityContract,
|