@kl1/contracts 1.4.69 → 1.4.72
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/chat/index.d.ts +7 -7
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +2 -2
- package/dist/index.js +14 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2914,7 +2914,7 @@ var mainFeedContract = initContract8().router(
|
|
2914
2914
|
{
|
2915
2915
|
getFeedPostById: {
|
2916
2916
|
method: "GET",
|
2917
|
-
path: "/:id",
|
2917
|
+
path: "chs/api/v1/chat/feed-post/:id",
|
2918
2918
|
pathParams: z43.object({
|
2919
2919
|
id: z43.string().uuid()
|
2920
2920
|
}),
|
@@ -2944,8 +2944,7 @@ var mainFeedContract = initContract8().router(
|
|
2944
2944
|
}
|
2945
2945
|
},
|
2946
2946
|
{
|
2947
|
-
baseHeaders: DefaultHeaderSchema
|
2948
|
-
pathPrefix: "ms/feed-post"
|
2947
|
+
baseHeaders: DefaultHeaderSchema
|
2949
2948
|
}
|
2950
2949
|
);
|
2951
2950
|
var mainChatRoomContract = initContract8().router(
|
@@ -2969,7 +2968,7 @@ var mainChatRoomContract = initContract8().router(
|
|
2969
2968
|
},
|
2970
2969
|
getRoom: {
|
2971
2970
|
method: "GET",
|
2972
|
-
path: "
|
2971
|
+
path: "chs/api/v1/chat/rooms/:roomId",
|
2973
2972
|
pathParams: z43.object({
|
2974
2973
|
roomId: z43.string().uuid()
|
2975
2974
|
}),
|
@@ -3081,7 +3080,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3081
3080
|
},
|
3082
3081
|
getAllRoomCount: {
|
3083
3082
|
method: "GET",
|
3084
|
-
path: "
|
3083
|
+
path: "chs/api/v1/chat/opened-and-closed-room-counts",
|
3085
3084
|
responses: {
|
3086
3085
|
200: DefaultSuccessResponseSchema.extend({
|
3087
3086
|
data: AllOpenCloseRoomCountSchema
|
@@ -3091,7 +3090,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3091
3090
|
},
|
3092
3091
|
getAllQueueAndHoldCount: {
|
3093
3092
|
method: "GET",
|
3094
|
-
path: "
|
3093
|
+
path: "chs/api/v1/chat/queue-and-hold-room-counts",
|
3095
3094
|
responses: {
|
3096
3095
|
200: DefaultSuccessResponseSchema.extend({
|
3097
3096
|
data: AllHoldAndQueueRoomCountSchema
|
@@ -3101,7 +3100,7 @@ var mainChatRoomContract = initContract8().router(
|
|
3101
3100
|
},
|
3102
3101
|
getAllBotRoomCount: {
|
3103
3102
|
method: "GET",
|
3104
|
-
path: "
|
3103
|
+
path: "chs/api/v1/chat/bot-room-count",
|
3105
3104
|
responses: {
|
3106
3105
|
200: DefaultSuccessResponseSchema.extend({
|
3107
3106
|
data: AllOpenCloseBotRoomCountSchema
|
@@ -3137,7 +3136,7 @@ var mainChatContract = initContract8().router(
|
|
3137
3136
|
{
|
3138
3137
|
sendMessage: {
|
3139
3138
|
method: "POST",
|
3140
|
-
path: "/message",
|
3139
|
+
path: "ms/chat/message",
|
3141
3140
|
body: SendMessageSchema,
|
3142
3141
|
responses: {
|
3143
3142
|
200: SendMessageResponseSchema,
|
@@ -3161,7 +3160,7 @@ var mainChatContract = initContract8().router(
|
|
3161
3160
|
// },
|
3162
3161
|
getUnreadCounts: {
|
3163
3162
|
method: "GET",
|
3164
|
-
path: "/rooms/unread-count",
|
3163
|
+
path: "ms/chat/rooms/unread-count",
|
3165
3164
|
responses: {
|
3166
3165
|
200: DefaultSuccessResponseSchema.extend({
|
3167
3166
|
unreadCountsByAssignee: z43.array(UnreadCountsByAssigneeSchema)
|
@@ -3170,7 +3169,7 @@ var mainChatContract = initContract8().router(
|
|
3170
3169
|
},
|
3171
3170
|
getRoomsByPlatformContactId: {
|
3172
3171
|
method: "GET",
|
3173
|
-
path: "/rooms/:platformContactId",
|
3172
|
+
path: "ms/chat/rooms/:platformContactId",
|
3174
3173
|
pathParams: z43.object({
|
3175
3174
|
platformContactId: z43.string()
|
3176
3175
|
}),
|
@@ -3204,7 +3203,7 @@ var mainChatContract = initContract8().router(
|
|
3204
3203
|
},
|
3205
3204
|
updateUnassignRoomsToAssignee: {
|
3206
3205
|
method: "POST",
|
3207
|
-
path: "/rooms/assignee/update_rooms",
|
3206
|
+
path: "ms/chat/rooms/assignee/update_rooms",
|
3208
3207
|
body: UpdateUnAssignRoomsSchema,
|
3209
3208
|
responses: {
|
3210
3209
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -3216,7 +3215,7 @@ var mainChatContract = initContract8().router(
|
|
3216
3215
|
},
|
3217
3216
|
updateAssignee: {
|
3218
3217
|
method: "POST",
|
3219
|
-
path: "/room/assignee/update",
|
3218
|
+
path: "ms/chat/room/assignee/update",
|
3220
3219
|
body: UpdateAssigneeSchema,
|
3221
3220
|
responses: {
|
3222
3221
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -3228,7 +3227,7 @@ var mainChatContract = initContract8().router(
|
|
3228
3227
|
},
|
3229
3228
|
getRoomContact: {
|
3230
3229
|
method: "GET",
|
3231
|
-
path: "/contact/:contactId",
|
3230
|
+
path: "ms/chat/contact/:contactId",
|
3232
3231
|
pathParams: z43.object({
|
3233
3232
|
contactId: z43.string().uuid()
|
3234
3233
|
}),
|
@@ -3241,7 +3240,7 @@ var mainChatContract = initContract8().router(
|
|
3241
3240
|
},
|
3242
3241
|
updateRoomAttributes: {
|
3243
3242
|
method: "PUT",
|
3244
|
-
path: "/room",
|
3243
|
+
path: "ms/chat/room",
|
3245
3244
|
body: UpdateRoomAttributesSchema,
|
3246
3245
|
responses: {
|
3247
3246
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -3252,8 +3251,7 @@ var mainChatContract = initContract8().router(
|
|
3252
3251
|
}
|
3253
3252
|
},
|
3254
3253
|
{
|
3255
|
-
baseHeaders: DefaultHeaderSchema
|
3256
|
-
pathPrefix: "ms/chat"
|
3254
|
+
baseHeaders: DefaultHeaderSchema
|
3257
3255
|
}
|
3258
3256
|
);
|
3259
3257
|
var initiateMessageContract = initContract8().router(
|