* TP-42310| created api service to get list of slackbots (#215) * TP-42310| created api service to get list of slackbots * minor bug fix in GetAllHoustonUserBots function * Synch users to db (#213) * TP-43103| added event listeners to user detail changes and saving to db * TP-43103| refactored the upsert users scheduler * TP-43103| fixed updating users when deactivated in scheduler * TP-43103| Made the requested changes * added info loggers to user change events * made changes to process only navi workspace user changes * made addressed changes in pr and returning Real name in GetAllHoustonUserBots api * resolved merge conflicts
18 lines
398 B
Go
18 lines
398 B
Go
package service
|
|
|
|
type UserChangeEventRequest struct {
|
|
User struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Deleted bool `json:"deleted"`
|
|
IsBot bool `json:"is_bot"`
|
|
|
|
Profile struct {
|
|
Email string `json:"email"`
|
|
Image string `json:"image_32"`
|
|
RealName string `json:"real_name"`
|
|
TeamName string `json:"team"`
|
|
} `json:"profile"`
|
|
} `json:"user"`
|
|
}
|