@kl1/contracts 1.4.21 → 1.4.22
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.mjs
CHANGED
@@ -2875,7 +2875,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2875
2875
|
{
|
2876
2876
|
getRooms: {
|
2877
2877
|
method: "GET",
|
2878
|
-
path: "/rooms",
|
2878
|
+
path: "chs/api/v1/chat/rooms",
|
2879
2879
|
responses: {
|
2880
2880
|
200: DefaultSuccessResponseSchema.extend({
|
2881
2881
|
total: z42.number(),
|
@@ -2892,7 +2892,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2892
2892
|
},
|
2893
2893
|
getRoom: {
|
2894
2894
|
method: "GET",
|
2895
|
-
path: "/room/:roomId",
|
2895
|
+
path: "ms/chat/room/:roomId",
|
2896
2896
|
pathParams: z42.object({
|
2897
2897
|
roomId: z42.string().uuid()
|
2898
2898
|
}),
|
@@ -2939,7 +2939,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2939
2939
|
},
|
2940
2940
|
solveRoom: {
|
2941
2941
|
method: "POST",
|
2942
|
-
path: "/room/solve",
|
2942
|
+
path: "ms/chat/room/solve",
|
2943
2943
|
body: SolveRoomSchema,
|
2944
2944
|
responses: {
|
2945
2945
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -2953,7 +2953,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2953
2953
|
},
|
2954
2954
|
createRoom: {
|
2955
2955
|
method: "POST",
|
2956
|
-
path: "/room/create/:platformContactId",
|
2956
|
+
path: "ms/chat/room/create/:platformContactId",
|
2957
2957
|
pathParams: z42.object({
|
2958
2958
|
platformContactId: z42.string().uuid()
|
2959
2959
|
}),
|
@@ -2970,7 +2970,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2970
2970
|
},
|
2971
2971
|
readRoom: {
|
2972
2972
|
method: "POST",
|
2973
|
-
path: "/room/read/:roomId",
|
2973
|
+
path: "ms/chat/room/read/:roomId",
|
2974
2974
|
pathParams: z42.object({
|
2975
2975
|
roomId: z42.string().uuid()
|
2976
2976
|
}),
|
@@ -2986,7 +2986,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2986
2986
|
},
|
2987
2987
|
searchRooms: {
|
2988
2988
|
method: "GET",
|
2989
|
-
path: "/search",
|
2989
|
+
path: "ms/chat/search",
|
2990
2990
|
responses: {
|
2991
2991
|
200: DefaultSuccessResponseSchema.extend({
|
2992
2992
|
total: z42.number(),
|
@@ -3004,7 +3004,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3004
3004
|
},
|
3005
3005
|
getAllRoomCount: {
|
3006
3006
|
method: "GET",
|
3007
|
-
path: "/all-rooms-count",
|
3007
|
+
path: "ms/chat/all-rooms-count",
|
3008
3008
|
responses: {
|
3009
3009
|
200: DefaultSuccessResponseSchema.extend({
|
3010
3010
|
data: AllOpenCloseRoomCountSchema
|
@@ -3014,7 +3014,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3014
3014
|
},
|
3015
3015
|
getAllQueueAndHoldCount: {
|
3016
3016
|
method: "GET",
|
3017
|
-
path: "/all-queue-and-hold-count",
|
3017
|
+
path: "ms/chat/all-queue-and-hold-count",
|
3018
3018
|
responses: {
|
3019
3019
|
200: DefaultSuccessResponseSchema.extend({
|
3020
3020
|
data: AllHoldAndQueueRoomCountSchema
|
@@ -3024,7 +3024,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3024
3024
|
},
|
3025
3025
|
getAllBotRoomCount: {
|
3026
3026
|
method: "GET",
|
3027
|
-
path: "/all-bot-rooms-count",
|
3027
|
+
path: "ms/chat/all-bot-rooms-count",
|
3028
3028
|
responses: {
|
3029
3029
|
200: DefaultSuccessResponseSchema.extend({
|
3030
3030
|
data: AllOpenCloseBotRoomCountSchema
|
@@ -3034,7 +3034,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3034
3034
|
},
|
3035
3035
|
botRoomTakeOver: {
|
3036
3036
|
method: "POST",
|
3037
|
-
path: "/bot-room/take-over/:roomId",
|
3037
|
+
path: "ms/chat/bot-room/take-over/:roomId",
|
3038
3038
|
pathParams: z42.object({
|
3039
3039
|
roomId: z42.string().uuid()
|
3040
3040
|
}),
|
@@ -3053,8 +3053,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3053
3053
|
}
|
3054
3054
|
},
|
3055
3055
|
{
|
3056
|
-
baseHeaders: DefaultHeaderSchema
|
3057
|
-
pathPrefix: "ms/chat"
|
3056
|
+
baseHeaders: DefaultHeaderSchema
|
3058
3057
|
}
|
3059
3058
|
);
|
3060
3059
|
var mainChatContract = initContract8().router(
|