Skip to content

Commit

Permalink
chore(message-client): update client with new spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Lapuskin committed Nov 6, 2024
1 parent 2825173 commit e44f205
Show file tree
Hide file tree
Showing 4 changed files with 484 additions and 45 deletions.
2 changes: 1 addition & 1 deletion clients/message-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/message-client",
"version": "1.15.1",
"version": "1.15.2",
"description": "API Client for epilot Message API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
76 changes: 76 additions & 0 deletions clients/message-client/src/openapi-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,25 @@
"responses": {}
}
},
"/v2/message/messages/{id}/read": {
"post": {
"operationId": "markReadMessageV2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {}
}
},
"responses": {}
}
},
"/v1/message/messages/{id}/unread": {
"post": {
"operationId": "markUnreadMessage",
Expand All @@ -102,6 +121,25 @@
"responses": {}
}
},
"/v2/message/messages/{id}/unread": {
"post": {
"operationId": "markUnreadMessageV2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {}
}
},
"responses": {}
}
},
"/v1/message/threads:search": {
"post": {
"operationId": "searchThreads",
Expand Down Expand Up @@ -171,6 +209,25 @@
"responses": {}
}
},
"/v2/message/threads/{id}/read": {
"post": {
"operationId": "markReadThreadV2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {}
}
},
"responses": {}
}
},
"/v1/message/threads/{id}/unread": {
"post": {
"operationId": "markUnreadThread",
Expand All @@ -184,6 +241,25 @@
"responses": {}
}
},
"/v2/message/threads/{id}/unread": {
"post": {
"operationId": "markUnreadThreadV2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {}
}
},
"responses": {}
}
},
"/v1/message/threads/{id}/assign": {
"post": {
"operationId": "assignThread",
Expand Down
Loading

0 comments on commit e44f205

Please sign in to comment.