-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a re usable history page GUI template (#870)
* feat(2): Refactored History page to a package * chore(2): Replaced file with actual package * chore(2): Changed Description * chore(2): Synced ended chats sql with backoffice * chore(2): Bumped Header Version * chore(2): Remove Unused components * chore(2): Removed Used component from index * chore(2): Bumped Package Version
- Loading branch information
1 parent
302019d
commit a1f9cdc
Showing
14 changed files
with
329 additions
and
1,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
declaration: | ||
call: declare | ||
version: 0.1 | ||
description: "Decription placeholder for 'POST'" | ||
method: post | ||
accepts: json | ||
returns: json | ||
namespace: backoffice | ||
allowlist: | ||
body: | ||
- field: chatId | ||
type: string | ||
description: "Body field 'chatId'" | ||
|
||
extractRequestData: | ||
assign: | ||
chatId: ${incoming.body.chatId} | ||
|
||
getChatById: | ||
call: http.post | ||
args: | ||
url: "[#TRAINING_USERS_RESQL]/get-chat-by-id" | ||
body: | ||
id: ${chatId} | ||
result: res | ||
|
||
return_result: | ||
return: ${res.response.body[0]} | ||
next: end |
Oops, something went wrong.