From 569491ec3b286390e31c4d15cdef709b780246cb Mon Sep 17 00:00:00 2001 From: Ismael Ash Date: Mon, 30 Mar 2026 21:48:36 -0300 Subject: [PATCH] docs(swagger): add swagger models and update API annotations Add centralized swagger models in pkg/core/swagger_models.go to provide consistent API response structures. Update all handler Swagger annotations to reference these core models instead of generic gin.H responses. This improves API documentation clarity and ensures consistent response formats across all endpoints. Additionally, refactor version initialization in main.go to use a function and add WebSocket endpoint documentation. --- cmd/evolution-go/main.go | 25 +- docs/docs.go | 14607 +++++++++++++++-- docs/swagger.json | 14607 +++++++++++++++-- docs/swagger.yaml | 9595 ++++++++++- pkg/call/handler/call_handler.go | 16 +- pkg/chat/handler/chat_handler.go | 67 +- pkg/community/handler/community_handler.go | 29 +- pkg/core/swagger_models.go | 426 + pkg/group/handler/group_handler.go | 100 +- pkg/instance/handler/instance_handler.go | 140 +- pkg/label/handler/label_handler.go | 58 +- pkg/message/handler/message_handler.go | 67 +- pkg/newsletter/handler/newsletter_handler.go | 54 +- pkg/poll/handler/poll_handler.go | 14 +- pkg/sendMessage/handler/send_handler.go | 82 +- pkg/server/handler/server_handler.go | 17 +- pkg/user/handler/user_handler.go | 106 +- 17 files changed, 36636 insertions(+), 3374 deletions(-) create mode 100644 pkg/core/swagger_models.go diff --git a/cmd/evolution-go/main.go b/cmd/evolution-go/main.go index ddc760e..52e87d9 100644 --- a/cmd/evolution-go/main.go +++ b/cmd/evolution-go/main.go @@ -68,19 +68,12 @@ import ( var devMode = flag.Bool("dev", false, "Enable development mode") -var version = "0.0.0" - -func init() { - // ldflags -X main.version= sets this at compile time. - // If not set (or still default), try reading from VERSION file. - if version == "0.0.0" { - if v, err := os.ReadFile("VERSION"); err == nil { - if trimmed := strings.TrimSpace(string(v)); trimmed != "" { - version = trimmed - } - } +var version = func() string { + if v, err := os.ReadFile("VERSION"); err == nil { + return strings.TrimSpace(string(v)) } -} + return "dev" +}() func setupRouter(db *gorm.DB, authDB *sql.DB, sqliteDB *sql.DB, config *config.Config, conn *amqp.Connection, exPath string, runtimeCtx *core.RuntimeContext) *gin.Engine { killChannel := make(map[string](chan bool)) @@ -245,6 +238,14 @@ func setupRouter(db *gorm.DB, authDB *sql.DB, sqliteDB *sql.DB, config *config.C go whatsmeowService.ConnectOnStartup(config.ClientName) } + // @Summary WebSocket Connection + // @Description Connect to the WebSocket + // @Tags WebSocket + // @Param token query string true "Global API Key" + // @Param instanceId query string true "Instance ID" + // @Success 101 {string} string "Switching Protocols" + // @Failure 401 {object} gin.H "Unauthorized" + // @Router /ws [get] r.GET("/ws", func(c *gin.Context) { token := c.Query("token") instanceId := c.Query("instanceId") diff --git a/docs/docs.go b/docs/docs.go index 0843d82..b24f1db 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -15,9 +15,9 @@ const docTemplate = `{ "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { - "/chat/archive": { + "/call/reject": { "post": { - "description": "Archive a chat", + "description": "Reject Call", "consumes": [ "application/json" ], @@ -25,45 +25,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Chat" + "Call" ], - "summary": "Archive a chat", + "summary": "Reject Call", "parameters": [ { - "description": "Chat", + "description": "Call data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/mute": { + "/chat/archive": { "post": { - "description": "Mute a chat", + "description": "Archive a chat", "consumes": [ "application/json" ], @@ -73,7 +91,7 @@ const docTemplate = `{ "tags": [ "Chat" ], - "summary": "Mute a chat", + "summary": "Archive a chat", "parameters": [ { "description": "Chat", @@ -81,7 +99,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -89,27 +107,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/pin": { + "/chat/history-sync": { "post": { - "description": "Pin a chat", + "description": "HistorySyncRequest a chat", "consumes": [ "application/json" ], @@ -119,7 +155,7 @@ const docTemplate = `{ "tags": [ "Chat" ], - "summary": "Pin a chat", + "summary": "HistorySyncRequest a chat", "parameters": [ { "description": "Chat", @@ -127,7 +163,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct" } } ], @@ -135,27 +171,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/unpin": { + "/chat/mute": { "post": { - "description": "Unpin a chat", + "description": "Mute a chat", "consumes": [ "application/json" ], @@ -165,7 +219,7 @@ const docTemplate = `{ "tags": [ "Chat" ], - "summary": "Unpin a chat", + "summary": "Mute a chat", "parameters": [ { "description": "Chat", @@ -173,7 +227,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -181,27 +235,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/add": { + "/chat/pin": { "post": { - "description": "Add participant to community", + "description": "Pin a chat", "consumes": [ "application/json" ], @@ -209,17 +281,17 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Add participant to community", + "summary": "Pin a chat", "parameters": [ { - "description": "Participant data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -227,27 +299,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/create": { + "/chat/unarchive": { "post": { - "description": "Create community", + "description": "Unarchive a chat", "consumes": [ "application/json" ], @@ -255,17 +345,17 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Create community", + "summary": "Unarchive a chat", "parameters": [ { - "description": "Community data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -273,27 +363,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/remove": { + "/chat/unmute": { "post": { - "description": "Remove participant from community", + "description": "Unmute a chat", "consumes": [ "application/json" ], @@ -301,17 +409,17 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Remove participant from community", + "summary": "Unmute a chat", "parameters": [ { - "description": "Participant data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -319,27 +427,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/create": { + "/chat/unpin": { "post": { - "description": "Create group", + "description": "Unpin a chat", "consumes": [ "application/json" ], @@ -347,17 +473,17 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Group" + "Chat" ], - "summary": "Create group", + "summary": "Unpin a chat", "parameters": [ { - "description": "Group data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -365,27 +491,45 @@ const docTemplate = `{ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/info": { + "/community/add": { "post": { - "description": "Get group info", + "description": "Add participant to community", "consumes": [ "application/json" ], @@ -393,45 +537,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Get group info", + "summary": "Add participant to community", "parameters": [ { - "description": "Group data", + "description": "Participant data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/invitelink": { + "/community/create": { "post": { - "description": "Get group invite link", + "description": "Create community", "consumes": [ "application/json" ], @@ -439,45 +601,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Get group invite link", + "summary": "Create community", "parameters": [ { - "description": "Group data", + "description": "Community data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/join": { + "/community/remove": { "post": { - "description": "Join group link", + "description": "Remove participant from community", "consumes": [ "application/json" ], @@ -485,74 +665,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Join group link", + "summary": "Remove participant from community", "parameters": [ { - "description": "Group data", + "description": "Participant data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/group/list": { - "get": { - "description": "List groups", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Group" - ], - "summary": "List groups", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/myall": { - "get": { - "description": "Get my groups", + "/group/create": { + "post": { + "description": "Create group", "consumes": [ "application/json" ], @@ -562,26 +731,61 @@ const docTemplate = `{ "tags": [ "Group" ], - "summary": "Get my groups", + "summary": "Create group", + "parameters": [ + { + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct" + } + } + ], "responses": { "200": { - "description": "success", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/name": { + "/group/description": { "post": { - "description": "Set group name", + "description": "Set group description", "consumes": [ "application/json" ], @@ -591,7 +795,7 @@ const docTemplate = `{ "tags": [ "Group" ], - "summary": "Set group name", + "summary": "Set group description", "parameters": [ { "description": "Group data", @@ -599,35 +803,53 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/participant": { + "/group/info": { "post": { - "description": "Update participant", + "description": "Get group info", "consumes": [ "application/json" ], @@ -637,7 +859,7 @@ const docTemplate = `{ "tags": [ "Group" ], - "summary": "Update participant", + "summary": "Get group info", "parameters": [ { "description": "Group data", @@ -645,35 +867,53 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/photo": { + "/group/invitelink": { "post": { - "description": "Set group photo", + "description": "Get group invite link", "consumes": [ "application/json" ], @@ -683,7 +923,7 @@ const docTemplate = `{ "tags": [ "Group" ], - "summary": "Set group photo", + "summary": "Get group invite link", "parameters": [ { "description": "Group data", @@ -691,64 +931,53 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/instance/all": { - "get": { - "description": "Get all instances", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Instance" - ], - "summary": "Get all instances", - "responses": { - "200": { - "description": "All instances", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/connect": { + "/group/join": { "post": { - "description": "Connect to instance with the provided data", + "description": "Join group link", "consumes": [ "application/json" ], @@ -756,45 +985,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Connect to instance", + "summary": "Join group link", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct" } } ], "responses": { "200": { - "description": "Instance connected successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/create": { + "/group/leave": { "post": { - "description": "Creates a new instance with the provided data", + "description": "Leave group", "consumes": [ "application/json" ], @@ -802,45 +1049,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Create a new instance", + "summary": "Leave group", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct" } } ], "responses": { "200": { - "description": "Instance created successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/delete/{instanceId}": { - "delete": { - "description": "Delete instance", + "/group/list": { + "get": { + "description": "List groups", "consumes": [ "application/json" ], @@ -848,72 +1113,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" - ], - "summary": "Delete instance", - "parameters": [ - { - "type": "string", - "description": "Instance Id", - "name": "instanceId", - "in": "path", - "required": true - } + "Group" ], + "summary": "List groups", "responses": { "200": { - "description": "Instance deleted successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/instance/disconnect": { - "post": { - "description": "Disconnect from instance", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Instance" - ], - "summary": "Disconnect from instance", - "responses": { - "200": { - "description": "Instance disconnected successfully", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/logout": { - "delete": { - "description": "Logout from instance", + "/group/myall": { + "get": { + "description": "Get my groups", "consumes": [ "application/json" ], @@ -921,28 +1166,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Logout from instance", + "summary": "Get my groups", "responses": { "200": { - "description": "Instance logged out successfully", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/pair": { + "/group/name": { "post": { - "description": "Request pairing code", + "description": "Set group name", "consumes": [ "application/json" ], @@ -950,45 +1219,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Request pairing code", + "summary": "Set group name", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct" } } ], "responses": { "200": { - "description": "Pairing code", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/proxy/{instanceId}": { - "delete": { - "description": "Delete proxy", + "/group/participant": { + "post": { + "description": "Update participant", "consumes": [ "application/json" ], @@ -996,43 +1283,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Delete proxy", + "summary": "Update participant", "parameters": [ { - "type": "string", - "description": "Instance id", - "name": "instanceId", - "in": "path", - "required": true + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct" + } } ], "responses": { "200": { - "description": "Proxy deleted successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/qr": { - "get": { - "description": "Get instance QR code", + "/group/photo": { + "post": { + "description": "Set group photo", "consumes": [ "application/json" ], @@ -1040,28 +1347,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Instance" + "Group" + ], + "summary": "Set group photo", + "parameters": [ + { + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct" + } + } ], - "summary": "Get instance QR code", "responses": { "200": { - "description": "Instance QR code", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/status": { + "/instance/all": { "get": { - "description": "Get instance status", + "description": "Get all instances", "consumes": [ "application/json" ], @@ -1071,26 +1413,50 @@ const docTemplate = `{ "tags": [ "Instance" ], - "summary": "Get instance status", + "summary": "Get all instances", "responses": { "200": { - "description": "Instance status", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/chat": { + "/instance/connect": { "post": { - "description": "Add label to chat", + "description": "Connect to instance with the provided data", "consumes": [ "application/json" ], @@ -1098,45 +1464,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Add label to chat", + "summary": "Connect to instance", "parameters": [ { - "description": "Label data", - "name": "message", + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/edit": { + "/instance/create": { "post": { - "description": "Edit label", + "description": "Creates a new instance with the provided data including optional advanced settings", "consumes": [ "application/json" ], @@ -1144,45 +1528,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Edit label", + "summary": "Create a new instance", "parameters": [ { - "description": "Label data", - "name": "message", + "description": "Instance data with optional advanced settings", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/message": { - "post": { - "description": "Add label to message", + "/instance/delete/{instanceId}": { + "delete": { + "description": "Delete instance", "consumes": [ "application/json" ], @@ -1190,45 +1592,61 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Add label to message", + "summary": "Delete instance", "parameters": [ { - "description": "Label data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct" - } + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/delete": { + "/instance/disconnect": { "post": { - "description": "Delete a message for everyone", + "description": "Disconnect from instance", "consumes": [ "application/json" ], @@ -1236,45 +1654,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" - ], - "summary": "Delete a message for everyone", - "parameters": [ - { - "description": "Delete a message for everyone", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct" - } - } + "Instance" ], + "summary": "Disconnect from instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/downloadimage": { + "/instance/forcereconnect/{instanceId}": { "post": { - "description": "Download an image", + "description": "Force reconnect", "consumes": [ "application/json" ], @@ -1282,45 +1707,70 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Download an image", + "summary": "Force reconnect", "parameters": [ { - "description": "Download an image", - "name": "message", + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/edit": { - "post": { - "description": "Edit a message", + "/instance/get/{instanceId}": { + "get": { + "description": "Get instance", "consumes": [ "application/json" ], @@ -1328,45 +1778,61 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Edit a message", + "summary": "Get instance", "parameters": [ { - "description": "Edit a message", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct" - } + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/markread": { - "post": { - "description": "Mark a message as read", + "/instance/logout": { + "delete": { + "description": "Logout from instance", "consumes": [ "application/json" ], @@ -1374,45 +1840,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" - ], - "summary": "Mark a message as read", - "parameters": [ - { - "description": "Mark a message as read", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct" - } - } + "Instance" ], + "summary": "Logout from instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/presence": { + "/instance/pair": { "post": { - "description": "Set chat presence", + "description": "Request pairing code", "consumes": [ "application/json" ], @@ -1420,45 +1893,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Set chat presence", + "summary": "Request pairing code", "parameters": [ { - "description": "Set chat presence", - "name": "message", + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/react": { + "/instance/proxy/{instanceId}": { "post": { - "description": "React a message", + "description": "Set proxy configuration for an instance", "consumes": [ "application/json" ], @@ -1466,45 +1957,68 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "React a message", + "summary": "Set proxy configuration", "parameters": [ { - "description": "React a message", - "name": "message", + "type": "string", + "description": "Instance id", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Proxy configuration", + "name": "proxy", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } - } - }, - "/message/status": { - "post": { - "description": "Get message status", + }, + "delete": { + "description": "Delete proxy", "consumes": [ "application/json" ], @@ -1512,45 +2026,61 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Get message status", + "summary": "Delete proxy", "parameters": [ { - "description": "Get message status", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct" - } + "type": "string", + "description": "Instance id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/create": { - "post": { - "description": "Create newsletter", + "/instance/qr": { + "get": { + "description": "Get instance QR code", "consumes": [ "application/json" ], @@ -1558,45 +2088,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Create newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct" - } - } + "Instance" ], + "summary": "Get instance QR code", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/info": { + "/instance/reconnect": { "post": { - "description": "Get newsletter", + "description": "Reconnect to instance", "consumes": [ "application/json" ], @@ -1604,45 +2141,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Get newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct" - } - } + "Instance" ], + "summary": "Reconnect to instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/link": { - "post": { - "description": "Get newsletter invite", + "/instance/status": { + "get": { + "description": "Get instance status", "consumes": [ "application/json" ], @@ -1650,74 +2194,109 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Get newsletter invite", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct" - } - } + "Instance" ], + "summary": "Get instance status", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/list": { + "/instance/{instanceId}/advanced-settings": { "get": { - "description": "List newsletters", - "consumes": [ - "application/json" - ], + "description": "Get advanced settings for a specific instance", "produces": [ "application/json" ], "tags": [ - "Newsletter" + "Instance" + ], + "summary": "Get advanced settings", + "parameters": [ + { + "type": "string", + "description": "Instance ID", + "name": "instanceId", + "in": "path", + "required": true + } ], - "summary": "List newsletters", "responses": { "200": { - "description": "success", + "description": "Advanced settings retrieved successfully", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } - } - }, - "/newsletter/messages": { - "post": { - "description": "Get newsletter messages", + }, + "put": { + "description": "Update advanced settings for a specific instance", "consumes": [ "application/json" ], @@ -1725,45 +2304,70 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Newsletter" + "Instance" ], - "summary": "Get newsletter messages", + "summary": "Update advanced settings", "parameters": [ { - "description": "Newsletter data", - "name": "message", + "type": "string", + "description": "Instance ID", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Advanced settings data", + "name": "settings", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/subscribe": { - "post": { - "description": "Subscribe newsletter", + "/label": { + "get": { + "description": "Get all labels", "consumes": [ "application/json" ], @@ -1771,45 +2375,52 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Subscribe newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct" - } - } + "Label" ], + "summary": "Get all labels", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/contact": { + "/label/chat": { "post": { - "description": "Send a contact message", + "description": "Add label to chat", "consumes": [ "application/json" ], @@ -1817,45 +2428,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a contact message", + "summary": "Add label to chat", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/link": { + "/label/edit": { "post": { - "description": "Send a link message", + "description": "Edit label", "consumes": [ "application/json" ], @@ -1863,45 +2492,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a link message", + "summary": "Edit label", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/location": { + "/label/message": { "post": { - "description": "Send a location message", + "description": "Add label to message", "consumes": [ "application/json" ], @@ -1909,183 +2556,221 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a location message", + "summary": "Add label to message", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/media": { - "post": { - "description": "Send a media message", - "consumes": [ - "application/json" - ], + "/license/activate": { + "get": { + "description": "Activate license using the token from registration", "produces": [ "application/json" ], "tags": [ - "Send Message" - ], - "summary": "Send a media message", - "parameters": [ - { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct" - } - } + "License" ], + "summary": "Activate license", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.ActivateResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/poll": { - "post": { - "description": "Send a poll message", - "consumes": [ - "application/json" - ], + "/license/register": { + "get": { + "description": "Initiate license registration process", "produces": [ "application/json" ], "tags": [ - "Send Message" + "License" ], - "summary": "Send a poll message", + "summary": "Register a new license", "parameters": [ { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct" - } + "type": "string", + "description": "Optional URL to redirect to after successful registration", + "name": "redirect_uri", + "in": "query" } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.RegisterResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/sticker": { - "post": { - "description": "Send a sticker message", - "consumes": [ - "application/json" - ], + "/license/status": { + "get": { + "description": "Check if the license is active", "produces": [ "application/json" ], "tags": [ - "Send Message" - ], - "summary": "Send a sticker message", - "parameters": [ - { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct" - } - } + "License" ], + "summary": "Check license status", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.StatusResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/text": { + "/message/delete": { "post": { - "description": "Send a text message", + "description": "Delete a message for everyone", "consumes": [ "application/json" ], @@ -2093,45 +2778,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Send Message" + "Message" ], - "summary": "Send a text message", + "summary": "Delete a message for everyone", "parameters": [ { - "description": "Message data", + "description": "Delete a message for everyone", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/unlabel/chat": { + "/message/downloadimage": { "post": { - "description": "Remove label from chat", + "description": "Download an image", "consumes": [ "application/json" ], @@ -2139,45 +2842,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Label" + "Message" ], - "summary": "Remove label from chat", + "summary": "Download an image", "parameters": [ { - "description": "Label data", + "description": "Download an image", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/unlabel/message": { + "/message/edit": { "post": { - "description": "Remove label from message", + "description": "Edit a message", "consumes": [ "application/json" ], @@ -2185,45 +2906,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Label" + "Message" ], - "summary": "Remove label from message", + "summary": "Edit a message", "parameters": [ { - "description": "Label data", + "description": "Edit a message", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/avatar": { + "/message/markread": { "post": { - "description": "Get a user's avatar", + "description": "Mark a message as read", "consumes": [ "application/json" ], @@ -2231,45 +2970,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Get a user's avatar", + "summary": "Mark a message as read", "parameters": [ { - "description": "Avatar data", + "description": "Mark a message as read", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/block": { + "/message/presence": { "post": { - "description": "Block a contact", + "description": "Set chat presence", "consumes": [ "application/json" ], @@ -2277,74 +3034,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Block a contact", + "summary": "Set chat presence", "parameters": [ { - "description": "Block data", + "description": "Set chat presence", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/blocklist": { - "get": { - "description": "Get a user's block list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's block list", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/check": { + "/message/react": { "post": { - "description": "Check a user", + "description": "React to a message with support for fromMe field and participant field for group messages", "consumes": [ "application/json" ], @@ -2352,74 +3098,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Check a user", + "summary": "React a message", "parameters": [ { - "description": "User data", + "description": "React to a message with fromMe and participant fields", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/contacts": { - "get": { - "description": "Get a user's contacts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's contacts", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/info": { + "/message/status": { "post": { - "description": "Get a user", + "description": "Get message status", "consumes": [ "application/json" ], @@ -2427,74 +3162,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Get a user", + "summary": "Get message status", "parameters": [ { - "description": "User data", + "description": "Get message status", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/privacy": { - "get": { - "description": "Get a user's privacy settings", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's privacy settings", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/profile": { + "/newsletter/create": { "post": { - "description": "Set a user's profile picture", + "description": "Create newsletter", "consumes": [ "application/json" ], @@ -2502,45 +3226,63 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Newsletter" ], - "summary": "Set a user's profile picture", + "summary": "Create newsletter", "parameters": [ { - "description": "Profile picture data", + "description": "Newsletter data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/unblock": { + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/info": { "post": { - "description": "Unblock a contact", + "description": "Get newsletter", "consumes": [ "application/json" ], @@ -2548,285 +3290,11335 @@ const docTemplate = `{ "application/json" ], "tags": [ - "User" + "Newsletter" ], - "summary": "Unblock a contact", + "summary": "Get newsletter", "parameters": [ { - "description": "Block data", + "description": "Newsletter data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/link": { + "post": { + "description": "Get newsletter invite", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Get newsletter invite", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/list": { + "get": { + "description": "List newsletters", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "List newsletters", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/messages": { + "post": { + "description": "Get newsletter messages", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Get newsletter messages", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/subscribe": { + "post": { + "description": "Subscribe newsletter", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Subscribe newsletter", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/polls/{pollMessageId}/results": { + "get": { + "description": "Retorna todos os votos de uma enquete específica", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Polls" + ], + "summary": "Get poll results", + "parameters": [ + { + "type": "string", + "description": "ID da mensagem da enquete", + "name": "pollMessageId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } - } - }, - "definitions": { - "gin.H": { + }, + "/send/button": { + "post": { + "description": "Send a button message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a button message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/contact": { + "post": { + "description": "Send a contact message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a contact message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/link": { + "post": { + "description": "Send a link message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a link message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/list": { + "post": { + "description": "Send a list message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a list message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/location": { + "post": { + "description": "Send a location message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a location message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/media": { + "post": { + "description": "Send a media message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a media message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/poll": { + "post": { + "description": "Send a poll message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a poll message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/sticker": { + "post": { + "description": "Send a sticker message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a sticker message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/text": { + "post": { + "description": "Send a text message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a text message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/server/ok": { + "get": { + "description": "Returns the server status to verify it is running", + "produces": [ + "application/json" + ], + "tags": [ + "Server" + ], + "summary": "Check server status", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/unlabel/chat": { + "post": { + "description": "Remove label from chat", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Label" + ], + "summary": "Remove label from chat", + "parameters": [ + { + "description": "Label data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/unlabel/message": { + "post": { + "description": "Remove label from message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Label" + ], + "summary": "Remove label from message", + "parameters": [ + { + "description": "Label data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/avatar": { + "post": { + "description": "Get a user's avatar", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's avatar", + "parameters": [ + { + "description": "Avatar data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/block": { + "post": { + "description": "Block a contact", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Block a contact", + "parameters": [ + { + "description": "Block data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/blocklist": { + "get": { + "description": "Get a user's block list", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's block list", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/check": { + "post": { + "description": "Check a user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Check a user", + "parameters": [ + { + "description": "User data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/contacts": { + "get": { + "description": "Get a user's contacts", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's contacts", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/info": { + "post": { + "description": "Get a user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user", + "parameters": [ + { + "description": "User data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/privacy": { + "get": { + "description": "Get a user's privacy settings", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's privacy settings", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + }, + "post": { + "description": "Set a user's privacy settings", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's privacy settings", + "parameters": [ + { + "description": "Privacy data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profileName": { + "post": { + "description": "Set a user's profile name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile name", + "parameters": [ + { + "description": "Profile name data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profilePicture": { + "post": { + "description": "Set a user's profile picture", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile picture", + "parameters": [ + { + "description": "Profile picture data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profileStatus": { + "post": { + "description": "Set a user's profile status", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile status", + "parameters": [ + { + "description": "Profile status data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/unblock": { + "post": { + "description": "Unblock a contact", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Unblock a contact", + "parameters": [ + { + "description": "Block data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + } + }, + "definitions": { + "github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct": { + "type": "object", + "properties": { + "callCreator": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + }, + "callId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "messageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MessageInfo" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct": { + "type": "object", + "properties": { + "communityJid": { + "type": "string" + }, + "groupJid": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct": { + "type": "object", + "properties": { + "communityName": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData": { + "type": "object", + "properties": { + "url": { + "type": "string", + "example": "https://pps.whatsapp.net/v/t61.24694-24/12345678_123456789012345_1234567890123456789_n.jpg" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData": { + "type": "object", + "properties": { + "jids": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "5511999999999@s.whatsapp.net", + "5511988888888@s.whatsapp.net" + ] + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData": { + "type": "object", + "properties": { + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "1234567890@g.us" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData": { + "type": "object", + "properties": { + "eventString": { + "type": "string", + "example": "MESSAGE,GROUP_UP" + }, + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "webhookUrl": { + "type": "string", + "example": "http://localhost:8080/webhook" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "pushName": { + "type": "string", + "example": "John Doe" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error400": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "BAD_REQUEST" + }, + "message": { + "type": "string", + "example": "Invalid request data" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error401": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "UNAUTHORIZED" + }, + "message": { + "type": "string", + "example": "Invalid or missing API key" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error403": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "FORBIDDEN" + }, + "message": { + "type": "string", + "example": "Insufficient permissions" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error404": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "NOT_FOUND" + }, + "message": { + "type": "string", + "example": "Resource not found" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error500": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "INTERNAL_SERVER_ERROR" + }, + "message": { + "type": "string", + "example": "An unexpected error occurred" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta": { + "type": "object", + "properties": { + "method": { + "type": "string", + "example": "GET" + }, + "path": { + "type": "string", + "example": "/api/path" + }, + "timestamp": { + "type": "string", + "example": "2024-01-15T10:30:00Z" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo": { + "type": "object", + "properties": { + "isReadOnly": { + "type": "boolean", + "example": false + }, + "jid": { + "type": "string", + "example": "1234567890@g.us" + }, + "name": { + "type": "string", + "example": "Group Name" + }, + "owner": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse": { + "type": "object", + "properties": { + "data": { + "type": "string", + "example": "https://chat.whatsapp.com/..." + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "pictureId": { + "type": "string", + "example": "1234567890" + } + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "example": "3EB00000000000000000" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData": { + "type": "object", + "properties": { + "connected": { + "type": "boolean", + "example": true + }, + "loggedIn": { + "type": "boolean", + "example": true + }, + "myJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "name": { + "type": "string", + "example": "Instance Name" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse": { + "type": "object", + "properties": { + "exists": { + "type": "boolean", + "example": true + }, + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.LabelData": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "uuid-string" + }, + "instance_id": { + "type": "string", + "example": "uuid-string" + }, + "label_color": { + "type": "string", + "example": "#dfaef0" + }, + "label_id": { + "type": "string", + "example": "1" + }, + "label_name": { + "type": "string", + "example": "Work" + }, + "predefined_id": { + "type": "string", + "example": "1" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey": { + "type": "object", + "properties": { + "fromMe": { + "type": "boolean", + "example": true + }, + "id": { + "type": "string", + "example": "3EB00000000000000000" + }, + "remoteJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey" + }, + "messageTimestamp": { + "type": "integer", + "example": 1705314600 + }, + "status": { + "type": "string", + "example": "PENDING" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "3EB00000000000000000" + }, + "text": { + "type": "string", + "example": "Hello World" + }, + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "Updates about Evolution API" + }, + "id": { + "type": "string", + "example": "1234567890@newsletter" + }, + "inviteCode": { + "type": "string", + "example": "AbCdEfGh1234" + }, + "name": { + "type": "string", + "example": "Evolution API Channel" + }, + "subscriberCount": { + "type": "integer", + "example": 150 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "pairingCode": { + "type": "string", + "example": "ABC1DEF2" + } + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts": { + "type": "object", + "properties": { + "option_1_hash": { + "type": "integer", + "example": 5 + }, + "option_2_hash": { + "type": "integer", + "example": 3 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData": { + "type": "object", + "properties": { + "optionCounts": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts" + }, + "pollChatJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "pollMessageId": { + "type": "string", + "example": "3EB00000000000000000" + }, + "totalVotes": { + "type": "integer", + "example": 10 + }, + "voters": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData": { + "type": "object", + "properties": { + "groupadd": { + "type": "string", + "example": "all" + }, + "last": { + "type": "string", + "example": "all" + }, + "online": { + "type": "string", + "example": "all" + }, + "profile": { + "type": "string", + "example": "all" + }, + "readreceipts": { + "type": "string", + "example": "all" + }, + "status": { + "type": "string", + "example": "all" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.QRData": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "1234567890" + }, + "qrcode": { + "type": "string", + "example": "1@...|..." + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ok" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData": { + "type": "object", + "properties": { + "pictureId": { + "type": "string", + "example": "1234567890" + }, + "status": { + "type": "string", + "example": "Hey there! I am using WhatsApp." + }, + "verifiedName": { + "type": "string", + "example": "John Doe" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData": { + "type": "object", + "properties": { + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "name": { + "type": "string", + "example": "John Doe" + }, + "selectedOptions": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "option_1_hash" + ] + }, + "votedAt": { + "type": "string", + "example": "2024-01-15T10:30:00Z" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct": { + "type": "object", + "properties": { + "action": { + "$ref": "#/definitions/go_mau_fi_whatsmeow.ParticipantChange" + }, + "groupJid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + }, + "participants": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct": { + "type": "object", + "properties": { + "groupName": { + "type": "string" + }, + "participants": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "reset": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct": { + "type": "object", + "properties": { + "code": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct": { + "type": "object", + "properties": { + "groupJid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "groupJid": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "image": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings": { + "type": "object", + "properties": { + "alwaysOnline": { + "type": "boolean" + }, + "ignoreGroups": { + "type": "boolean" + }, + "ignoreStatus": { + "type": "boolean" + }, + "msgRejectCall": { + "type": "string" + }, + "readMessages": { + "type": "boolean" + }, + "rejectCall": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance": { + "type": "object", + "properties": { + "alwaysOnline": { + "description": "Advanced Settings", + "type": "boolean" + }, + "client_name": { + "type": "string" + }, + "connected": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "disconnect_reason": { + "type": "string" + }, + "events": { + "type": "string" + }, + "expiration": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "ignoreGroups": { + "type": "boolean" + }, + "ignoreStatus": { + "type": "boolean" + }, + "jid": { + "type": "string" + }, + "msgRejectCall": { + "type": "string" + }, + "name": { + "type": "string" + }, + "natsEnable": { + "type": "string" + }, + "os_name": { + "type": "string" + }, + "proxy": { + "type": "string" + }, + "qrcode": { + "type": "string" + }, + "rabbitmqEnable": { + "type": "string" + }, + "readMessages": { + "type": "boolean" + }, + "rejectCall": { + "type": "boolean" + }, + "token": { + "type": "string" + }, + "webhook": { + "type": "string" + }, + "websocketEnable": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct": { + "type": "object", + "properties": { + "immediate": { + "type": "boolean" + }, + "natsEnable": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "rabbitmqEnable": { + "type": "string" + }, + "subscribe": { + "type": "array", + "items": { + "type": "string" + } + }, + "webhookUrl": { + "type": "string" + }, + "websocketEnable": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct": { + "type": "object", + "properties": { + "advancedSettings": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + }, + "instanceId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "proxy": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig" + }, + "token": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct": { + "type": "object", + "properties": { + "phone": { + "type": "string" + }, + "subscribe": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "port": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct": { + "type": "object", + "required": [ + "host", + "port" + ], + "properties": { + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "port": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct": { + "type": "object", + "properties": { + "jid": { + "type": "string" + }, + "labelId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct": { + "type": "object", + "properties": { + "color": { + "type": "integer" + }, + "deleted": { + "type": "boolean" + }, + "labelId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct": { + "type": "object", + "properties": { + "jid": { + "type": "string" + }, + "labelId": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct": { + "type": "object", + "properties": { + "isAudio": { + "type": "boolean" + }, + "number": { + "type": "string" + }, + "state": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + }, + "message": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct": { + "type": "object", + "properties": { + "fromMe": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "number": { + "type": "string" + }, + "participant": { + "type": "string" + }, + "reaction": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct": { + "type": "object", + "properties": { + "key": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct": { + "type": "object", + "properties": { + "before_id": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "jid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct": { + "type": "object", + "properties": { + "jid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "vcard": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "imgUrl": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "text": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct": { + "type": "object", + "properties": { + "caption": { + "type": "string" + }, + "delay": { + "type": "integer" + }, + "filename": { + "type": "string" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "maxAnswer": { + "type": "integer" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "string" + } + }, + "question": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + }, + "participant": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "sticker": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "text": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct": { + "type": "object", + "properties": { + "formatJid": { + "type": "boolean" + }, + "number": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + }, + "preview": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct": { + "type": "object", + "properties": { + "callAdd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "groupAdd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "lastSeen": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "online": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "profile": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "readReceipts": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct": { + "type": "object", + "properties": { + "image": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct": { + "type": "object", + "properties": { + "fullName": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "phone": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow.ParticipantChange": { + "type": "string", + "enum": [ + "add", + "remove", + "promote", + "demote" + ], + "x-enum-varnames": [ + "ParticipantChangeAdd", + "ParticipantChangeRemove", + "ParticipantChangePromote", + "ParticipantChangeDemote" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage": { + "type": "object", + "properties": { + "collectionID": { + "type": "string" + }, + "expectedMediaCount": { + "type": "integer" + }, + "hasGlobalCaption": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata": { + "type": "object", + "properties": { + "collectionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata": { + "type": "object", + "properties": { + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "responseTimestampMS": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo": { + "type": "object", + "properties": { + "clientInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo" + }, + "serverInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIThreadInfo_AIThreadClientInfo_UNKNOWN", + "AIThreadInfo_AIThreadClientInfo_DEFAULT", + "AIThreadInfo_AIThreadClientInfo_INCOGNITO" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata": { + "type": "object", + "properties": { + "ageCollectionEligible": { + "type": "boolean" + }, + "ageCollectionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType" + }, + "shouldTriggerAgeCollectionOnClient": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotAgeCollectionMetadata_O18_BINARY", + "BotAgeCollectionMetadata_WAFFLE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata": { + "type": "object", + "properties": { + "capabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57 + ], + "x-enum-varnames": [ + "BotCapabilityMetadata_UNKNOWN", + "BotCapabilityMetadata_PROGRESS_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_HEADING", + "BotCapabilityMetadata_RICH_RESPONSE_NESTED_LIST", + "BotCapabilityMetadata_AI_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_THREAD_SURFING", + "BotCapabilityMetadata_RICH_RESPONSE_TABLE", + "BotCapabilityMetadata_RICH_RESPONSE_CODE", + "BotCapabilityMetadata_RICH_RESPONSE_STRUCTURED_RESPONSE", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_IMAGE", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_CONTROL", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_1", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_2", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_3", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_4", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_5", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_6", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_7", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_8", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_9", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_10", + "BotCapabilityMetadata_RICH_RESPONSE_SUB_HEADING", + "BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE", + "BotCapabilityMetadata_AI_STUDIO_UGC_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_LATEX", + "BotCapabilityMetadata_RICH_RESPONSE_MAPS", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_REELS", + "BotCapabilityMetadata_AGENTIC_PLANNING", + "BotCapabilityMetadata_ACCOUNT_LINKING", + "BotCapabilityMetadata_STREAMING_DISAGGREGATION", + "BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE_3P", + "BotCapabilityMetadata_RICH_RESPONSE_LATEX_INLINE", + "BotCapabilityMetadata_QUERY_PLAN", + "BotCapabilityMetadata_PROACTIVE_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_RESPONSE", + "BotCapabilityMetadata_PROMOTION_MESSAGE", + "BotCapabilityMetadata_SIMPLIFIED_PROFILE_PAGE", + "BotCapabilityMetadata_RICH_RESPONSE_SOURCES_IN_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_SIDE_BY_SIDE_SURVEY", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_TEXT_COMPONENT", + "BotCapabilityMetadata_AI_SHARED_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_SOURCES", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS", + "BotCapabilityMetadata_RICH_RESPONSE_UR_INLINE_REELS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_MEDIA_GRID_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER", + "BotCapabilityMetadata_RICH_RESPONSE_IN_APP_SURVEY", + "BotCapabilityMetadata_AI_RESPONSE_MODEL_BRANDING", + "BotCapabilityMetadata_SESSION_TRANSPARENCY_SYSTEM_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_UR_REASONING", + "BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CITATIONS", + "BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL", + "BotCapabilityMetadata_AI_IMAGINE_LOADING_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE", + "BotCapabilityMetadata_AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_UR_BLOKS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_LINKS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata": { + "type": "object", + "properties": { + "pluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotDocumentMessageMetadata_TEXT_EXTRACTION", + "BotDocumentMessageMetadata_OCR_AND_IMAGES" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage": { + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind" + }, + "kindNegative": { + "type": "integer" + }, + "kindPositive": { + "type": "integer" + }, + "kindReport": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind" + }, + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "sideBySideSurveyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14 + ], + "x-enum-varnames": [ + "BotFeedbackMessage_BOT_FEEDBACK_POSITIVE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_PERSONALIZED", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_CLARITY", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotFeedbackMessage_NONE", + "BotFeedbackMessage_GENERIC" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata": { + "type": "object", + "properties": { + "analyticsData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData" + }, + "isSelectedResponsePrimary": { + "type": "boolean" + }, + "messageIDToEdit": { + "type": "string" + }, + "metaAiAnalyticsData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData" + }, + "responseOtid": { + "type": "string" + }, + "responseTimestampMSString": { + "type": "string" + }, + "selectedRequestID": { + "type": "string" + }, + "simonSessionFbid": { + "type": "string" + }, + "surveyID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData": { + "type": "object", + "properties": { + "simonSessionFbid": { + "type": "string" + }, + "tessaEvent": { + "type": "string" + }, + "tessaSessionFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData": { + "type": "object", + "properties": { + "abandonEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData" + }, + "cardImpressionEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData" + }, + "ctaClickEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData" + }, + "ctaImpressionEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData" + }, + "primaryResponseID": { + "type": "string" + }, + "responseEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData" + }, + "surveyID": { + "type": "integer" + }, + "testArmName": { + "type": "string" + }, + "timestampMSString": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData": { + "type": "object", + "properties": { + "abandonDwellTimeMSString": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData": { + "type": "object", + "properties": { + "clickDwellTimeMSString": { + "type": "string" + }, + "isSurveyExpired": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData": { + "type": "object", + "properties": { + "isSurveyExpired": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData": { + "type": "object" + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData": { + "type": "object", + "properties": { + "responseDwellTimeMSString": { + "type": "string" + }, + "selectedResponseID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata": { + "type": "object", + "properties": { + "participantsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata": { + "type": "object", + "properties": { + "botFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata": { + "type": "object", + "properties": { + "imagineType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType" + }, + "shortPrompt": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotImagineMetadata_UNKNOWN", + "BotImagineMetadata_IMAGINE", + "BotImagineMetadata_MEMU", + "BotImagineMetadata_FLASH", + "BotImagineMetadata_EDIT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics": { + "type": "object", + "properties": { + "botBackend": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend" + }, + "isThinking": { + "type": "boolean" + }, + "toolsUsed": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotInfrastructureDiagnostics_AAPI", + "BotInfrastructureDiagnostics_CLIPPY" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "BotLinkedAccount_BOT_LINKED_ACCOUNT_TYPE_1P" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata": { + "type": "object", + "properties": { + "acAuthTokens": { + "type": "array", + "items": { + "type": "integer" + } + }, + "acErrorCode": { + "type": "integer" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "string" + }, + "fileSHA256": { + "type": "string" + }, + "mediaKey": { + "type": "string" + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "orientationType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotMediaMetadata_CENTER", + "BotMediaMetadata_LEFT", + "BotMediaMetadata_RIGHT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact": { + "type": "object", + "properties": { + "fact": { + "type": "string" + }, + "factID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata": { + "type": "object", + "properties": { + "addedFacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact" + } + }, + "disclaimer": { + "type": "string" + }, + "removedFacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata": { + "type": "object", + "properties": { + "faceImages": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata": { + "type": "object", + "properties": { + "origins": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "BotMessageOrigin_BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo": { + "type": "object", + "properties": { + "botEntryPointOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint" + }, + "forwardScore": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata": { + "type": "object", + "properties": { + "aiConversationContext": { + "type": "array", + "items": { + "type": "integer" + } + }, + "aiMediaCollectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata" + }, + "botAgeCollectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata" + }, + "botDocumentMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata" + }, + "botGroupMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata" + }, + "botInfrastructureDiagnostics": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics" + }, + "botLinkedAccountsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata" + }, + "botMessageOriginMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata" + }, + "botMetricsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata" + }, + "botModeSelectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata" + }, + "botPromotionMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata" + }, + "botQuotaMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata" + }, + "botRenderingConfigMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata" + }, + "botResponseID": { + "type": "string" + }, + "botThreadInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo" + }, + "capabilityMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata" + }, + "conversationStarterPromptID": { + "type": "string" + }, + "imagineMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata" + }, + "inThreadSurveyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata" + }, + "internalMetadata": { + "type": "array", + "items": { + "type": "integer" + } + }, + "invokerJID": { + "type": "string" + }, + "memoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata" + }, + "memuMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata" + }, + "messageDisclaimerText": { + "type": "string" + }, + "modelMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata" + }, + "personaID": { + "type": "string" + }, + "pluginMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata" + }, + "progressIndicatorMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata" + }, + "regenerateMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata" + }, + "reminderMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata" + }, + "renderingMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata" + }, + "richResponseSourcesMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata" + }, + "sessionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata" + }, + "sessionTransparencyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata" + }, + "suggestedPromptMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata" + }, + "timezone": { + "type": "string" + }, + "unifiedResponseMutation": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation" + }, + "verificationMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 45, + 46, + 47, + 54 + ], + "x-enum-varnames": [ + "BotMetricsEntryPoint_UNDEFINED_ENTRY_POINT", + "BotMetricsEntryPoint_FAVICON", + "BotMetricsEntryPoint_CHATLIST", + "BotMetricsEntryPoint_AISEARCH_NULL_STATE_PAPER_PLANE", + "BotMetricsEntryPoint_AISEARCH_NULL_STATE_SUGGESTION", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_SUGGESTION", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_PAPER_PLANE", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_CHATLIST", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_MESSAGES", + "BotMetricsEntryPoint_AIVOICE_SEARCH_BAR", + "BotMetricsEntryPoint_AIVOICE_FAVICON", + "BotMetricsEntryPoint_AISTUDIO", + "BotMetricsEntryPoint_DEEPLINK", + "BotMetricsEntryPoint_NOTIFICATION", + "BotMetricsEntryPoint_PROFILE_MESSAGE_BUTTON", + "BotMetricsEntryPoint_FORWARD", + "BotMetricsEntryPoint_APP_SHORTCUT", + "BotMetricsEntryPoint_FF_FAMILY", + "BotMetricsEntryPoint_AI_TAB", + "BotMetricsEntryPoint_AI_HOME", + "BotMetricsEntryPoint_AI_DEEPLINK_IMMERSIVE", + "BotMetricsEntryPoint_AI_DEEPLINK", + "BotMetricsEntryPoint_META_AI_CHAT_SHORTCUT_AI_STUDIO", + "BotMetricsEntryPoint_UGC_CHAT_SHORTCUT_AI_STUDIO", + "BotMetricsEntryPoint_NEW_CHAT_AI_STUDIO", + "BotMetricsEntryPoint_AIVOICE_FAVICON_CALL_HISTORY", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_1ON1", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_GROUP", + "BotMetricsEntryPoint_INVOKE_META_AI_1ON1", + "BotMetricsEntryPoint_INVOKE_META_AI_GROUP", + "BotMetricsEntryPoint_META_AI_FORWARD", + "BotMetricsEntryPoint_NEW_CHAT_AI_CONTACT", + "BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_1_ON_1_CHAT", + "BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_GROUP_CHAT", + "BotMetricsEntryPoint_ATTACHMENT_TRAY_1_ON_1_CHAT", + "BotMetricsEntryPoint_ATTACHMENT_TRAY_GROUP_CHAT", + "BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_1ON1", + "BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_GROUP", + "BotMetricsEntryPoint_MEDIA_PICKER_1_ON_1_CHAT", + "BotMetricsEntryPoint_MEDIA_PICKER_GROUP_CHAT", + "BotMetricsEntryPoint_ASK_META_AI_NO_SEARCH_RESULTS", + "BotMetricsEntryPoint_META_AI_SETTINGS", + "BotMetricsEntryPoint_WEB_INTRO_PANEL", + "BotMetricsEntryPoint_WEB_NAVIGATION_BAR", + "BotMetricsEntryPoint_GROUP_MEMBER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata": { + "type": "object", + "properties": { + "destinationEntryPoint": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint" + }, + "destinationID": { + "type": "string" + }, + "threadOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "BotMetricsThreadEntryPoint_AI_TAB_THREAD", + "BotMetricsThreadEntryPoint_AI_HOME_THREAD", + "BotMetricsThreadEntryPoint_AI_DEEPLINK_IMMERSIVE_THREAD", + "BotMetricsThreadEntryPoint_AI_DEEPLINK_THREAD", + "BotMetricsThreadEntryPoint_ASK_META_AI_CONTEXT_MENU_THREAD" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata": { + "type": "object", + "properties": { + "mode": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode" + } + }, + "overrideMode": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotModeSelectionMetadata_DEFAULT_MODE", + "BotModeSelectionMetadata_THINK_HARD_MODE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata": { + "type": "object", + "properties": { + "modelNameOverride": { + "type": "string" + }, + "modelType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType" + }, + "premiumModelStatus": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotModelMetadata_UNKNOWN_TYPE", + "BotModelMetadata_LLAMA_PROD", + "BotModelMetadata_LLAMA_PROD_PREMIUM" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotModelMetadata_UNKNOWN_STATUS", + "BotModelMetadata_AVAILABLE", + "BotModelMetadata_QUOTA_EXCEED_LIMIT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata": { + "type": "object", + "properties": { + "deprecatedField": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "expectedLinksCount": { + "type": "integer" + }, + "faviconCDNURL": { + "type": "string" + }, + "parentPluginMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "parentPluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "pluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "profilePhotoCDNURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider" + }, + "referenceIndex": { + "type": "integer" + }, + "searchProviderURL": { + "type": "string" + }, + "searchQuery": { + "type": "string" + }, + "thumbnailCDNURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotPluginMetadata_UNKNOWN_PLUGIN", + "BotPluginMetadata_REELS", + "BotPluginMetadata_SEARCH" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotPluginMetadata_UNKNOWN", + "BotPluginMetadata_BING", + "BotPluginMetadata_GOOGLE", + "BotPluginMetadata_SUPPORT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata": { + "type": "object", + "properties": { + "estimatedCompletionTime": { + "type": "integer" + }, + "progressDescription": { + "type": "string" + }, + "stepsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata": { + "type": "object", + "properties": { + "isEnhancedSearch": { + "type": "boolean" + }, + "isReasoning": { + "type": "boolean" + }, + "sections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata" + } + }, + "sourcesMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata" + } + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus" + }, + "statusBody": { + "type": "string" + }, + "statusTitle": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata": { + "type": "object", + "properties": { + "favIconURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider" + }, + "sourceURL": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata": { + "type": "object", + "properties": { + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider" + }, + "sourceTitle": { + "type": "string" + }, + "sourceURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_UNKNOWN", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_OTHER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_GOOGLE", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BING" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata": { + "type": "object", + "properties": { + "sectionBody": { + "type": "string" + }, + "sectionTitle": { + "type": "string" + }, + "sourcesMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN_PROVIDER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_OTHER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_GOOGLE", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BING" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_PLANNED", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_EXECUTING", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_FINISHED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata": { + "type": "object", + "properties": { + "buttonTitle": { + "type": "string" + }, + "promotionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotPromotionMessageMetadata_UNKNOWN_TYPE", + "BotPromotionMessageMetadata_C50", + "BotPromotionMessageMetadata_SURVEY_PLATFORM" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion": { + "type": "object", + "properties": { + "prompt": { + "type": "string" + }, + "promptID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions": { + "type": "object", + "properties": { + "suggestions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata": { + "type": "object", + "properties": { + "botFeatureQuotaMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata": { + "type": "object", + "properties": { + "expirationTimestamp": { + "type": "integer" + }, + "featureType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType" + }, + "remainingQuota": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotQuotaMetadata_BotFeatureQuotaMetadata_UNKNOWN_FEATURE", + "BotQuotaMetadata_BotFeatureQuotaMetadata_REASONING_FEATURE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata": { + "type": "object", + "properties": { + "action": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction" + }, + "frequency": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency" + }, + "name": { + "type": "string" + }, + "nextTriggerTimestamp": { + "type": "integer" + }, + "requestMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotReminderMetadata_NOTIFY", + "BotReminderMetadata_CREATE", + "BotReminderMetadata_DELETE", + "BotReminderMetadata_UPDATE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "BotReminderMetadata_ONCE", + "BotReminderMetadata_DAILY", + "BotReminderMetadata_WEEKLY", + "BotReminderMetadata_BIWEEKLY", + "BotReminderMetadata_MONTHLY" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata": { + "type": "object", + "properties": { + "bloksVersioningID": { + "type": "string" + }, + "pixelDensity": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata": { + "type": "object", + "properties": { + "keywords": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword": { + "type": "object", + "properties": { + "associatedPrompts": { + "type": "array", + "items": { + "type": "string" + } + }, + "value": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata": { + "type": "object", + "properties": { + "sessionID": { + "type": "string" + }, + "sessionSource": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "BotSessionSource_NONE", + "BotSessionSource_NULL_STATE", + "BotSessionSource_TYPEAHEAD", + "BotSessionSource_USER_INPUT", + "BotSessionSource_EMU_FLASH", + "BotSessionSource_EMU_FLASH_FOLLOWUP", + "BotSessionSource_VOICE", + "BotSessionSource_AI_HOME_SESSION" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata": { + "type": "object", + "properties": { + "proofs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof": { + "type": "object", + "properties": { + "certificateChain": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "signature": { + "type": "array", + "items": { + "type": "integer" + } + }, + "useCase": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase" + }, + "version": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotSignatureVerificationUseCaseProof_UNSPECIFIED", + "BotSignatureVerificationUseCaseProof_WA_BOT_MSG", + "BotSignatureVerificationUseCaseProof_WA_TEE_BOT_MSG" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata": { + "type": "object", + "properties": { + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem": { + "type": "object", + "properties": { + "citationNumber": { + "type": "integer" + }, + "faviconCDNURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider" + }, + "sourceProviderURL": { + "type": "string" + }, + "sourceQuery": { + "type": "string" + }, + "sourceTitle": { + "type": "string" + }, + "thumbnailCDNURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotSourcesMetadata_BotSourceItem_UNKNOWN", + "BotSourcesMetadata_BotSourceItem_BING", + "BotSourcesMetadata_BotSourceItem_GOOGLE", + "BotSourcesMetadata_BotSourceItem_SUPPORT", + "BotSourcesMetadata_BotSourceItem_OTHER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata": { + "type": "object", + "properties": { + "promptSuggestions": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions" + }, + "selectedPromptID": { + "type": "string" + }, + "selectedPromptIndex": { + "type": "integer" + }, + "suggestedPrompts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation": { + "type": "object", + "properties": { + "mediaDetailsMetadataList": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata" + } + }, + "sbsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "highResMedia": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + }, + "previewMedia": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata": { + "type": "object", + "properties": { + "primaryResponseID": { + "type": "string" + }, + "surveyCtaHasRendered": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo": { + "type": "object", + "properties": { + "botJID": { + "type": "string" + }, + "botName": { + "type": "string" + }, + "creatorName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata": { + "type": "object", + "properties": { + "feedbackToastText": { + "type": "string" + }, + "invitationBodyText": { + "type": "string" + }, + "invitationCtaText": { + "type": "string" + }, + "invitationCtaURL": { + "type": "string" + }, + "invitationHeaderText": { + "type": "string" + }, + "privacyStatementFull": { + "type": "string" + }, + "privacyStatementParts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart" + } + }, + "questions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion" + } + }, + "requestID": { + "type": "string" + }, + "simonSessionID": { + "type": "string" + }, + "simonSurveyID": { + "type": "string" + }, + "startQuestionIndex": { + "type": "integer" + }, + "surveyContinueButtonText": { + "type": "string" + }, + "surveySubmitButtonText": { + "type": "string" + }, + "surveyTitle": { + "type": "string" + }, + "tessaEvent": { + "type": "string" + }, + "tessaRootID": { + "type": "string" + }, + "tessaSessionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption": { + "type": "object", + "properties": { + "numericValue": { + "type": "integer" + }, + "stringValue": { + "type": "string" + }, + "textTranslated": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion": { + "type": "object", + "properties": { + "questionID": { + "type": "string" + }, + "questionOptions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption" + } + }, + "questionText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata": { + "type": "object", + "properties": { + "disclaimerText": { + "type": "string" + }, + "hcaID": { + "type": "string" + }, + "sessionTransparencyType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "SessionTransparencyType_UNKNOWN_TYPE", + "SessionTransparencyType_NY_AI_SAFETY_DISCLAIMER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata": { + "type": "object", + "properties": { + "codeBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock" + } + }, + "codeLanguage": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock": { + "type": "object", + "properties": { + "codeContent": { + "type": "string" + }, + "highlightType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata": { + "type": "object", + "properties": { + "contentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType" + }, + "itemsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata": { + "type": "object", + "properties": { + "airichResponseContentItem": { + "description": "Types that are valid to be assigned to AIRichResponseContentItem:\n\n\t*AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata_ReelItem" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "AIRichResponseContentItemsMetadata_DEFAULT", + "AIRichResponseContentItemsMetadata_CAROUSEL" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "loopCount": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType" + }, + "version": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN", + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE", + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata": { + "type": "object", + "properties": { + "gridImageURL": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + }, + "imageURLs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL": { + "type": "object", + "properties": { + "imageHighResURL": { + "type": "string" + }, + "imagePreviewURL": { + "type": "string" + }, + "sourceURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata": { + "type": "object", + "properties": { + "alignment": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment" + }, + "imageText": { + "type": "string" + }, + "imageURL": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + }, + "tapLinkURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED", + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED", + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata": { + "type": "object", + "properties": { + "expressions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression" + } + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "fontHeight": { + "type": "number" + }, + "height": { + "type": "number" + }, + "imageBottomPadding": { + "type": "number" + }, + "imageLeadingPadding": { + "type": "number" + }, + "imageTopPadding": { + "type": "number" + }, + "imageTrailingPadding": { + "type": "number" + }, + "latexExpression": { + "type": "string" + }, + "width": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata": { + "type": "object", + "properties": { + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation" + } + }, + "centerLatitude": { + "type": "number" + }, + "centerLongitude": { + "type": "number" + }, + "latitudeDelta": { + "type": "number" + }, + "longitudeDelta": { + "type": "number" + }, + "showInfoList": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation": { + "type": "object", + "properties": { + "annotationNumber": { + "type": "integer" + }, + "body": { + "type": "string" + }, + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_UNKNOWN", + "AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_STANDARD" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage": { + "type": "object", + "properties": { + "codeMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata" + }, + "contentItemsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata" + }, + "dynamicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata" + }, + "gridImageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata" + }, + "imageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata" + }, + "latexMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata" + }, + "mapMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata" + }, + "messageText": { + "type": "string" + }, + "messageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType" + }, + "tableMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9 + ], + "x-enum-varnames": [ + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_UNKNOWN", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_GRID_IMAGE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_TEXT", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_INLINE_IMAGE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_TABLE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_CODE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_DYNAMIC", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_MAP", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_LATEX", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_CONTENT_ITEMS" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata": { + "type": "object", + "properties": { + "rows": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow": { + "type": "object", + "properties": { + "isHeading": { + "type": "boolean" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ADVEncryptionType_E2EE", + "ADVEncryptionType_HOSTED" + ] + }, + "go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig": { + "type": "object", + "properties": { + "completeOnDemandReady": { + "type": "boolean" + }, + "fullSyncDaysLimit": { + "type": "integer" + }, + "fullSyncSizeMbLimit": { + "type": "integer" + }, + "inlineInitialPayloadInE2EeMsg": { + "type": "boolean" + }, + "onDemandReady": { + "type": "boolean" + }, + "recentSyncDaysLimit": { + "type": "integer" + }, + "storageQuotaMb": { + "type": "integer" + }, + "supportAddOnHistorySyncMigration": { + "type": "boolean" + }, + "supportBizHostedMsg": { + "type": "boolean" + }, + "supportBotUserAgentChatHistory": { + "type": "boolean" + }, + "supportCagReactionsAndPolls": { + "type": "boolean" + }, + "supportCallLogHistory": { + "type": "boolean" + }, + "supportFbidBotChatHistory": { + "type": "boolean" + }, + "supportGroupHistory": { + "type": "boolean" + }, + "supportGuestChat": { + "type": "boolean" + }, + "supportHostedGroupMsg": { + "type": "boolean" + }, + "supportMessageAssociation": { + "type": "boolean" + }, + "supportRecentSyncChunkMessageCountTuning": { + "type": "boolean" + }, + "thumbnailSyncDaysLimit": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "messageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType" + }, + "submessages": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage" + } + }, + "unifiedResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ActionLink": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "buttonTitle": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "expectedImageCount": { + "type": "integer" + }, + "expectedVideoCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification": { + "type": "object", + "properties": { + "collectionNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey": { + "type": "object", + "properties": { + "keyData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData" + }, + "keyID": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData": { + "type": "object", + "properties": { + "fingerprint": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint" + }, + "keyData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint": { + "type": "object", + "properties": { + "currentIndex": { + "type": "integer" + }, + "deviceIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "rawID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId": { + "type": "object", + "properties": { + "keyID": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest": { + "type": "object", + "properties": { + "keyIDs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AudioMessage": { + "type": "object", + "properties": { + "PTT": { + "type": "boolean" + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "backgroundArgb": { + "type": "integer" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "seconds": { + "type": "integer" + }, + "streamingSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "viewOnce": { + "type": "boolean" + }, + "waveform": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.BCallMessage": { + "type": "object", + "properties": { + "caption": { + "type": "string" + }, + "masterKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType" + }, + "sessionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BCallMessage_UNKNOWN", + "BCallMessage_AUDIO", + "BCallMessage_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage": { + "type": "object", + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button" + } + }, + "contentText": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footerText": { + "type": "string" + }, + "header": { + "description": "Types that are valid to be assigned to Header:\n\n\t*ButtonsMessage_Text\n\t*ButtonsMessage_DocumentMessage\n\t*ButtonsMessage_ImageMessage\n\t*ButtonsMessage_VideoMessage\n\t*ButtonsMessage_LocationMessage" + }, + "headerType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button": { + "type": "object", + "properties": { + "buttonID": { + "type": "string" + }, + "buttonText": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText" + }, + "nativeFlowInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText": { + "type": "object", + "properties": { + "displayText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "paramsJSON": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ButtonsMessage_Button_UNKNOWN", + "ButtonsMessage_Button_RESPONSE", + "ButtonsMessage_Button_NATIVE_FLOW" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "ButtonsMessage_UNKNOWN", + "ButtonsMessage_EMPTY", + "ButtonsMessage_TEXT", + "ButtonsMessage_DOCUMENT", + "ButtonsMessage_IMAGE", + "ButtonsMessage_VIDEO", + "ButtonsMessage_LOCATION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "response": { + "description": "Types that are valid to be assigned to Response:\n\n\t*ButtonsResponseMessage_SelectedDisplayText" + }, + "selectedButtonID": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ButtonsResponseMessage_UNKNOWN", + "ButtonsResponseMessage_DISPLAY_TEXT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.Call": { + "type": "object", + "properties": { + "callEntryPoint": { + "type": "integer" + }, + "callKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "conversionData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "conversionDelaySeconds": { + "type": "integer" + }, + "conversionSource": { + "type": "string" + }, + "ctwaPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "ctwaSignals": { + "type": "string" + }, + "deeplinkPayload": { + "type": "string" + }, + "messageContextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo" + }, + "nativeFlowCallButtonPayload": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage": { + "type": "object", + "properties": { + "callOutcome": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome" + }, + "callType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType" + }, + "durationSecs": { + "type": "integer" + }, + "isVideo": { + "type": "boolean" + }, + "participants": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "CallLogMessage_CONNECTED", + "CallLogMessage_MISSED", + "CallLogMessage_FAILED", + "CallLogMessage_REJECTED", + "CallLogMessage_ACCEPTED_ELSEWHERE", + "CallLogMessage_ONGOING", + "CallLogMessage_SILENCED_BY_DND", + "CallLogMessage_SILENCED_UNKNOWN_CALLER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant": { + "type": "object", + "properties": { + "JID": { + "type": "string" + }, + "callOutcome": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "CallLogMessage_REGULAR", + "CallLogMessage_SCHEDULED_CALL", + "CallLogMessage_VOICE_CHAT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Chat": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "displayName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification": { + "type": "object", + "properties": { + "consumerLid": { + "type": "string" + }, + "consumerPhoneNumber": { + "type": "string" + }, + "notificationContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent" + }, + "senderNotificationTimestampMS": { + "type": "integer" + }, + "shouldSuppressNotification": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "CloudAPIThreadControlNotification_UNKNOWN", + "CloudAPIThreadControlNotification_CONTROL_PASSED", + "CloudAPIThreadControlNotification_CONTROL_TAKEN" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent": { + "type": "object", + "properties": { + "extraJSON": { + "type": "string" + }, + "handoffNotificationText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CommentMessage": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage": { + "type": "object", + "properties": { + "conditionalRevealMessageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType" + }, + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "revealKeyID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ConditionalRevealMessage_UNKNOWN", + "ConditionalRevealMessage_SCHEDULED_MESSAGE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContactMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "displayName": { + "type": "string" + }, + "isSelfContact": { + "type": "boolean" + }, + "vcard": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage": { + "type": "object", + "properties": { + "contacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage" + } + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "displayName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo": { + "type": "object", + "properties": { + "actionLink": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ActionLink" + }, + "afterReadDuration": { + "type": "integer" + }, + "alwaysShowAdAttribution": { + "type": "boolean" + }, + "botMessageSharingInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo" + }, + "businessMessageForwardInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo" + }, + "conversionData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "conversionDelaySeconds": { + "type": "integer" + }, + "conversionSource": { + "type": "string" + }, + "ctwaPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "ctwaSignals": { + "type": "string" + }, + "dataSharingContext": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext" + }, + "disappearingMode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode" + }, + "entryPointConversionApp": { + "type": "string" + }, + "entryPointConversionDelaySeconds": { + "type": "integer" + }, + "entryPointConversionExternalMedium": { + "type": "string" + }, + "entryPointConversionExternalSource": { + "type": "string" + }, + "entryPointConversionSource": { + "type": "string" + }, + "ephemeralSettingTimestamp": { + "type": "integer" + }, + "ephemeralSharedSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "expiration": { + "type": "integer" + }, + "externalAdReply": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo" + }, + "featureEligibilities": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities" + }, + "forwardOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin" + }, + "forwardedAiBotMessageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo" + }, + "forwardedNewsletterMessageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo" + }, + "forwardingScore": { + "type": "integer" + }, + "groupMentions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupMention" + } + }, + "groupSubject": { + "type": "string" + }, + "isForwarded": { + "type": "boolean" + }, + "isGroupStatus": { + "type": "boolean" + }, + "isQuestion": { + "type": "boolean" + }, + "isSampled": { + "type": "boolean" + }, + "isSpoiler": { + "type": "boolean" + }, + "mediaDomainInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo" + }, + "memberLabel": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel" + }, + "mentionedJID": { + "type": "array", + "items": { + "type": "string" + } + }, + "nonJIDMentions": { + "type": "integer" + }, + "pairedMediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType" + }, + "parentGroupJID": { + "type": "string" + }, + "partiallySelectedContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent" + }, + "participant": { + "type": "string" + }, + "placeholderKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "questionReplyQuotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage" + }, + "quotedAd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo" + }, + "quotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "quotedType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType" + }, + "rankingVersion": { + "type": "integer" + }, + "remoteJID": { + "type": "string" + }, + "smbClientCampaignID": { + "type": "string" + }, + "smbServerCampaignID": { + "type": "string" + }, + "stanzaID": { + "type": "string" + }, + "statusAttributionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType" + }, + "statusAttributions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution" + } + }, + "statusAudienceMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata" + }, + "statusSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType" + }, + "trustBannerAction": { + "type": "integer" + }, + "trustBannerType": { + "type": "string" + }, + "urlTrackingMap": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap" + }, + "utm": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "advertiserName": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ContextInfo_AdReplyInfo_NONE", + "ContextInfo_AdReplyInfo_IMAGE", + "ContextInfo_AdReplyInfo_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo": { + "type": "object", + "properties": { + "businessOwnerJID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext": { + "type": "object", + "properties": { + "dataSharingFlags": { + "type": "integer" + }, + "encryptedSignalTokenConsented": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters" + } + }, + "showMmDisclosure": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters": { + "type": "object", + "properties": { + "contents": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters" + }, + "floatData": { + "type": "number" + }, + "intData": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "stringData": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo": { + "type": "object", + "properties": { + "adContextPreviewDismissed": { + "type": "boolean" + }, + "adPreviewURL": { + "type": "string" + }, + "adType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType" + }, + "automatedGreetingMessageCtaType": { + "type": "string" + }, + "automatedGreetingMessageShown": { + "type": "boolean" + }, + "body": { + "type": "string" + }, + "clickToWhatsappCall": { + "type": "boolean" + }, + "containsAutoReply": { + "type": "boolean" + }, + "ctaPayload": { + "type": "string" + }, + "ctwaClid": { + "type": "string" + }, + "disableNudge": { + "type": "boolean" + }, + "greetingMessageBody": { + "type": "string" + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType" + }, + "mediaURL": { + "type": "string" + }, + "originalImageURL": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "renderLargerThumbnail": { + "type": "boolean" + }, + "showAdAttribution": { + "type": "boolean" + }, + "sourceApp": { + "type": "string" + }, + "sourceID": { + "type": "string" + }, + "sourceType": { + "type": "string" + }, + "sourceURL": { + "type": "string" + }, + "thumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailURL": { + "type": "string" + }, + "title": { + "type": "string" + }, + "wtwaAdFormat": { + "type": "boolean" + }, + "wtwaWebsiteURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_ExternalAdReplyInfo_CTWA", + "ContextInfo_ExternalAdReplyInfo_CAWC" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ContextInfo_ExternalAdReplyInfo_NONE", + "ContextInfo_ExternalAdReplyInfo_IMAGE", + "ContextInfo_ExternalAdReplyInfo_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities": { + "type": "object", + "properties": { + "canBeReshared": { + "type": "boolean" + }, + "canReceiveMultiReact": { + "type": "boolean" + }, + "canRequestFeedback": { + "type": "boolean" + }, + "cannotBeRanked": { + "type": "boolean" + }, + "cannotBeReactedTo": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "ContextInfo_UNKNOWN", + "ContextInfo_CHAT", + "ContextInfo_STATUS", + "ContextInfo_CHANNELS", + "ContextInfo_META_AI", + "ContextInfo_UGC" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo": { + "type": "object", + "properties": { + "accessibilityText": { + "type": "string" + }, + "contentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + }, + "profileName": { + "type": "string" + }, + "serverMessageID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ContextInfo_ForwardedNewsletterMessageInfo_UPDATE", + "ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD", + "ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "ContextInfo_NOT_PAIRED_MEDIA", + "ContextInfo_SD_VIDEO_PARENT", + "ContextInfo_HD_VIDEO_CHILD", + "ContextInfo_SD_IMAGE_PARENT", + "ContextInfo_HD_IMAGE_CHILD", + "ContextInfo_MOTION_PHOTO_PARENT", + "ContextInfo_MOTION_PHOTO_CHILD", + "ContextInfo_HEVC_VIDEO_PARENT", + "ContextInfo_HEVC_VIDEO_CHILD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent": { + "type": "object", + "properties": { + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage": { + "type": "object", + "properties": { + "quotedQuestion": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "quotedResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "serverQuestionID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_EXPLICIT", + "ContextInfo_AUTO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "ContextInfo_NONE", + "ContextInfo_RESHARED_FROM_MENTION", + "ContextInfo_RESHARED_FROM_POST", + "ContextInfo_RESHARED_FROM_POST_MANY_TIMES", + "ContextInfo_FORWARDED_FROM_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata": { + "type": "object", + "properties": { + "audienceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType" + }, + "listEmoji": { + "type": "string" + }, + "listName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_StatusAudienceMetadata_UNKNOWN", + "ContextInfo_StatusAudienceMetadata_CLOSE_FRIENDS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "ContextInfo_IMAGE", + "ContextInfo_VIDEO", + "ContextInfo_GIF", + "ContextInfo_AUDIO", + "ContextInfo_TEXT", + "ContextInfo_MUSIC_STANDALONE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo": { + "type": "object", + "properties": { + "utmCampaign": { + "type": "string" + }, + "utmSource": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata": { + "type": "object", + "properties": { + "receiverAccountType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType" + }, + "recipientKeyHash": { + "type": "array", + "items": { + "type": "integer" + } + }, + "recipientKeyIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "recipientTimestamp": { + "type": "integer" + }, + "senderAccountType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType" + }, + "senderKeyHash": { + "type": "array", + "items": { + "type": "integer" + } + }, + "senderKeyIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "senderTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage": { + "type": "object", + "properties": { + "destinationJID": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "phash": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode": { + "type": "object", + "properties": { + "initiatedByMe": { + "type": "boolean" + }, + "initiator": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator" + }, + "initiatorDeviceJID": { + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "DisappearingMode_CHANGED_IN_CHAT", + "DisappearingMode_INITIATED_BY_ME", + "DisappearingMode_INITIATED_BY_OTHER", + "DisappearingMode_BIZ_UPGRADE_FB_HOSTING" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "DisappearingMode_UNKNOWN", + "DisappearingMode_CHAT_SETTING", + "DisappearingMode_ACCOUNT_SETTING", + "DisappearingMode_BULK_CHANGE", + "DisappearingMode_BIZ_SUPPORTS_FB_HOSTING", + "DisappearingMode_UNKNOWN_GROUPS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "contactVcard": { + "type": "boolean" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "pageCount": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent": { + "type": "object", + "properties": { + "content": { + "description": "Types that are valid to be assigned to Content:\n\n\t*EmbeddedContent_EmbeddedMessage\n\t*EmbeddedContent_EmbeddedMusic" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic": { + "type": "object", + "properties": { + "artistAttribution": { + "type": "string" + }, + "artworkDirectPath": { + "type": "string" + }, + "artworkEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "artworkMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "artworkSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "author": { + "type": "string" + }, + "countryBlocklist": { + "type": "array", + "items": { + "type": "integer" + } + }, + "derivedContentStartTimeInMS": { + "type": "integer" + }, + "isExplicit": { + "type": "boolean" + }, + "musicContentMediaID": { + "type": "string" + }, + "musicSongStartTimeInMS": { + "type": "integer" + }, + "overlapDurationInMS": { + "type": "integer" + }, + "songID": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "eventCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EventMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "endTime": { + "type": "integer" + }, + "extraGuestsAllowed": { + "type": "boolean" + }, + "hasReminder": { + "type": "boolean" + }, + "isCanceled": { + "type": "boolean" + }, + "isScheduleCall": { + "type": "boolean" + }, + "joinLink": { + "type": "string" + }, + "location": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage" + }, + "name": { + "type": "string" + }, + "reminderOffsetSec": { + "type": "integer" + }, + "startTime": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "backgroundArgb": { + "type": "integer" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "doNotPlayInline": { + "type": "boolean" + }, + "endCardTiles": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard" + } + }, + "faviconMMSMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata" + }, + "font": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType" + }, + "inviteLinkGroupType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType" + }, + "inviteLinkGroupTypeV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType" + }, + "inviteLinkParentGroupSubjectV2": { + "type": "string" + }, + "inviteLinkParentGroupThumbnailV2": { + "type": "array", + "items": { + "type": "integer" + } + }, + "linkPreviewMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata" + }, + "matchedText": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "musicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic" + }, + "paymentExtendedMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata" + }, + "paymentLinkMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata" + }, + "previewType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType" + }, + "text": { + "type": "string" + }, + "textArgb": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "title": { + "type": "string" + }, + "videoContentURL": { + "type": "string" + }, + "videoHeight": { + "type": "integer" + }, + "videoWidth": { + "type": "integer" + }, + "viewOnce": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 6, + 7, + 8, + 9, + 10 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_SYSTEM", + "ExtendedTextMessage_SYSTEM_TEXT", + "ExtendedTextMessage_FB_SCRIPT", + "ExtendedTextMessage_SYSTEM_BOLD", + "ExtendedTextMessage_MORNINGBREEZE_REGULAR", + "ExtendedTextMessage_CALISTOGA_REGULAR", + "ExtendedTextMessage_EXO2_EXTRABOLD", + "ExtendedTextMessage_COURIERPRIME_BOLD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_DEFAULT", + "ExtendedTextMessage_PARENT", + "ExtendedTextMessage_SUB", + "ExtendedTextMessage_DEFAULT_SUB" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_NONE", + "ExtendedTextMessage_VIDEO", + "ExtendedTextMessage_PLACEHOLDER", + "ExtendedTextMessage_IMAGE", + "ExtendedTextMessage_PAYMENT_LINKS", + "ExtendedTextMessage_PROFILE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig": { + "type": "object", + "properties": { + "historyDurationDays": { + "type": "integer" + }, + "historyFromTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata": { + "type": "object", + "properties": { + "businessProduct": { + "type": "string" + }, + "opaqueClientData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "requestID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "groupJID": { + "type": "string" + }, + "groupName": { + "type": "string" + }, + "groupType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType" + }, + "inviteCode": { + "type": "string" + }, + "inviteExpiration": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "GroupInviteMessage_DEFAULT", + "GroupInviteMessage_PARENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupMention": { + "type": "object", + "properties": { + "groupJID": { + "type": "string" + }, + "groupSubject": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage": { + "type": "object", + "properties": { + "deterministicLc": { + "type": "string" + }, + "deterministicLg": { + "type": "string" + }, + "elementName": { + "type": "string" + }, + "fallbackLc": { + "type": "string" + }, + "fallbackLg": { + "type": "string" + }, + "hydratedHsm": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage" + }, + "localizableParams": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter" + } + }, + "namespace": { + "type": "string" + }, + "params": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter": { + "type": "object", + "properties": { + "default": { + "type": "string" + }, + "paramOneof": { + "description": "Types that are valid to be assigned to ParamOneof:\n\n\t*HighlyStructuredMessage_HSMLocalizableParameter_Currency\n\t*HighlyStructuredMessage_HSMLocalizableParameter_DateTime" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus": { + "type": "object", + "properties": { + "completeAccessGranted": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification": { + "type": "object", + "properties": { + "chunkOrder": { + "type": "integer" + }, + "directPath": { + "type": "string" + }, + "encHandle": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fullHistorySyncOnDemandRequestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + }, + "initialHistBootstrapInlinePayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "messageAccessStatus": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus" + }, + "oldestMsgInChunkTimestampSec": { + "type": "integer" + }, + "originalMessageID": { + "type": "string" + }, + "peerDataRequestSessionID": { + "type": "string" + }, + "progress": { + "type": "integer" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "HistorySyncType_INITIAL_BOOTSTRAP", + "HistorySyncType_INITIAL_STATUS_V3", + "HistorySyncType_FULL", + "HistorySyncType_RECENT", + "HistorySyncType_PUSH_NAME", + "HistorySyncType_NON_BLOCKING_DATA", + "HistorySyncType_ON_DEMAND", + "HistorySyncType_NO_HISTORY", + "HistorySyncType_MESSAGE_ACCESS_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton": { + "type": "object", + "properties": { + "hydratedButton": { + "description": "Types that are valid to be assigned to HydratedButton:\n\n\t*HydratedTemplateButton_QuickReplyButton\n\t*HydratedTemplateButton_UrlButton\n\t*HydratedTemplateButton_CallButton" + }, + "index": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ImageMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "experimentGroupID": { + "type": "integer" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "firstScanLength": { + "type": "integer" + }, + "firstScanSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "imageSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType" + }, + "interactiveAnnotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "midQualityFileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "midQualityFileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mimetype": { + "type": "string" + }, + "qrURL": { + "type": "string" + }, + "scanLengths": { + "type": "array", + "items": { + "type": "integer" + } + }, + "scansSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "staticURL": { + "type": "string" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "viewOnce": { + "type": "boolean" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ImageMessage_USER_IMAGE", + "ImageMessage_AI_GENERATED", + "ImageMessage_AI_MODIFIED", + "ImageMessage_RASTERIZED_TEXT_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync": { + "type": "object", + "properties": { + "securityNotificationEnabled": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation": { + "type": "object", + "properties": { + "action": { + "description": "Types that are valid to be assigned to Action:\n\n\t*InteractiveAnnotation_Location\n\t*InteractiveAnnotation_Newsletter\n\t*InteractiveAnnotation_EmbeddedAction\n\t*InteractiveAnnotation_TapAction" + }, + "embeddedContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent" + }, + "polygonVertices": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Point" + } + }, + "shouldSkipConfirmation": { + "type": "boolean" + }, + "statusLinkType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "InteractiveAnnotation_RASTERIZED_LINK_PREVIEW", + "InteractiveAnnotation_RASTERIZED_LINK_TRUNCATED", + "InteractiveAnnotation_RASTERIZED_LINK_FULL_URL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage": { + "type": "object", + "properties": { + "bloksWidget": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget" + }, + "body": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footer": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer" + }, + "header": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header" + }, + "interactiveMessage": { + "description": "Types that are valid to be assigned to InteractiveMessage:\n\n\t*InteractiveMessage_ShopStorefrontMessage\n\t*InteractiveMessage_CollectionMessage_\n\t*InteractiveMessage_NativeFlowMessage_\n\t*InteractiveMessage_CarouselMessage_" + }, + "urlTrackingMap": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget": { + "type": "object", + "properties": { + "data": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body": { + "type": "object", + "properties": { + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer": { + "type": "object", + "properties": { + "hasMediaAttachment": { + "type": "boolean" + }, + "media": { + "description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Footer_AudioMessage" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header": { + "type": "object", + "properties": { + "bloksWidget": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget" + }, + "hasMediaAttachment": { + "type": "boolean" + }, + "media": { + "description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Header_DocumentMessage\n\t*InteractiveMessage_Header_ImageMessage\n\t*InteractiveMessage_Header_JPEGThumbnail\n\t*InteractiveMessage_Header_VideoMessage\n\t*InteractiveMessage_Header_LocationMessage\n\t*InteractiveMessage_Header_ProductMessage" + }, + "subtitle": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "interactiveResponseMessage": { + "description": "Types that are valid to be assigned to InteractiveResponseMessage:\n\n\t*InteractiveResponseMessage_NativeFlowResponseMessage_" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body": { + "type": "object", + "properties": { + "format": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "InteractiveResponseMessage_Body_DEFAULT", + "InteractiveResponseMessage_Body_EXTENSIONS_1" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage": { + "type": "object", + "properties": { + "attachmentDirectPath": { + "type": "string" + }, + "attachmentFileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentFileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentJPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentMediaKeyTimestamp": { + "type": "integer" + }, + "attachmentMimetype": { + "type": "string" + }, + "attachmentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType" + }, + "note": { + "type": "string" + }, + "token": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "InvoiceMessage_IMAGE", + "InvoiceMessage_PDF" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage": { + "type": "object", + "properties": { + "keepType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepType" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "timestampMS": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.KeepType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "KeepType_UNKNOWN_KEEP_TYPE", + "KeepType_KEEP_FOR_ALL", + "KeepType_UNDO_KEEP_FOR_ALL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage": { + "type": "object", + "properties": { + "encodedMappingPayload": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata": { + "type": "object", + "properties": { + "fbExperimentID": { + "type": "integer" + }, + "linkInlineVideoMuted": { + "type": "boolean" + }, + "linkMediaDuration": { + "type": "integer" + }, + "musicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic" + }, + "paymentLinkMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata" + }, + "socialMediaPostType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType" + }, + "urlMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.URLMetadata" + }, + "videoContentCaption": { + "type": "string" + }, + "videoContentURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "LinkPreviewMetadata_NONE", + "LinkPreviewMetadata_REEL", + "LinkPreviewMetadata_LIVE_VIDEO", + "LinkPreviewMetadata_LONG_VIDEO", + "LinkPreviewMetadata_SINGLE_IMAGE", + "LinkPreviewMetadata_CAROUSEL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage": { + "type": "object", + "properties": { + "buttonText": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "footerText": { + "type": "string" + }, + "listType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType" + }, + "productListInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo" + }, + "sections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ListMessage_UNKNOWN", + "ListMessage_SINGLE_SELECT", + "ListMessage_PRODUCT_LIST" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product": { + "type": "object", + "properties": { + "productID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "productID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo": { + "type": "object", + "properties": { + "businessOwnerJID": { + "type": "string" + }, + "headerImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage" + }, + "productSections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection": { + "type": "object", + "properties": { + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "rowID": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section": { + "type": "object", + "properties": { + "rows": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "listType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType" + }, + "singleSelectReply": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ListResponseMessage_UNKNOWN", + "ListResponseMessage_SINGLE_SELECT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply": { + "type": "object", + "properties": { + "selectedRowID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "accuracyInMeters": { + "type": "integer" + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "degreesClockwiseFromMagneticNorth": { + "type": "integer" + }, + "degreesLatitude": { + "type": "number" + }, + "degreesLongitude": { + "type": "number" + }, + "sequenceNumber": { + "type": "integer" + }, + "speedInMps": { + "type": "number" + }, + "timeOffset": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LocationMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accuracyInMeters": { + "type": "integer" + }, + "address": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "degreesClockwiseFromMagneticNorth": { + "type": "integer" + }, + "degreesLatitude": { + "type": "number" + }, + "degreesLongitude": { + "type": "number" + }, + "isLive": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "speedInMps": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata": { + "type": "object", + "properties": { + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo": { + "type": "object", + "properties": { + "e2EeMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyDomain": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "MediaKeyDomain_MEDIA_KEY_DOMAIN_UNKNOWN", + "MediaKeyDomain_MEDIA_KEY_DOMAIN_E2EE", + "MediaKeyDomain_MEDIA_KEY_DOMAIN_NON_E2EE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage": { + "type": "object", + "properties": { + "expressPathURL": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MemberLabel": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "labelTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Message": { + "type": "object", + "properties": { + "albumMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage" + }, + "associatedChildMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "audioMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AudioMessage" + }, + "bcallMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage" + }, + "botForwardedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "botInvokeMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "botTaskMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "buttonsMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage" + }, + "buttonsResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage" + }, + "call": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Call" + }, + "callLogMesssage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage" + }, + "cancelPaymentRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage" + }, + "chat": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Chat" + }, + "commentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CommentMessage" + }, + "conditionalRevealMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage" + }, + "contactMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage" + }, + "contactsArrayMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage" + }, + "conversation": { + "type": "string" + }, + "declinePaymentRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage" + }, + "deviceSentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage" + }, + "documentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage" + }, + "documentWithCaptionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "editedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "encCommentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage" + }, + "encEventResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage" + }, + "encReactionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage" + }, + "ephemeralMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "eventCoverImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "eventMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EventMessage" + }, + "extendedTextMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage" + }, + "fastRatchetKeySenderKeyDistributionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage" + }, + "groupInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage" + }, + "groupMentionedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMentionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "highlyStructuredMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage" + }, + "imageMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "interactiveMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage" + }, + "interactiveResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage" + }, + "invoiceMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage" + }, + "keepInChatMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage" + }, + "limitSharingMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "listMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage" + }, + "listResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage" + }, + "liveLocationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage" + }, + "locationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage" + }, + "lottieStickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "messageContextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo" + }, + "messageHistoryBundle": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle" + }, + "messageHistoryNotice": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice" + }, + "newsletterAdminInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage" + }, + "newsletterAdminProfileMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "newsletterAdminProfileMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "newsletterFollowerInviteMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage" + }, + "orderMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage" + }, + "paymentInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage" + }, + "pinInChatMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage" + }, + "placeholderMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage" + }, + "pollAddOptionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage" + }, + "pollCreationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV3": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV4": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "pollCreationMessageV5": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV6": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationOptionImageMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "pollResultSnapshotMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage" + }, + "pollResultSnapshotMessageV3": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage" + }, + "pollUpdateMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage" + }, + "productMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage" + }, + "protocolMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage" + }, + "ptvMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage" + }, + "questionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "questionReplyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "questionResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage" + }, + "reactionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage" + }, + "requestPaymentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage" + }, + "requestPhoneNumberMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage" + }, + "richResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage" + }, + "scheduledCallCreationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage" + }, + "scheduledCallEditMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage" + }, + "secretEncryptedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage" + }, + "sendPaymentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage" + }, + "senderKeyDistributionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage" + }, + "spoilerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusAddYours": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusMentionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusNotificationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage" + }, + "statusQuestionAnswerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage" + }, + "statusQuotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage" + }, + "statusStickerInteractionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage" + }, + "stickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage" + }, + "stickerPackMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage" + }, + "stickerSyncRmrMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage" + }, + "templateButtonReplyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage" + }, + "templateMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage" + }, + "videoMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage" + }, + "viewOnceMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "viewOnceMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "viewOnceMessageV2Extension": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation": { + "type": "object", + "properties": { + "associationType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType" + }, + "messageIndex": { + "type": "integer" + }, + "parentMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20 + ], + "x-enum-varnames": [ + "MessageAssociation_UNKNOWN", + "MessageAssociation_MEDIA_ALBUM", + "MessageAssociation_BOT_PLUGIN", + "MessageAssociation_EVENT_COVER_IMAGE", + "MessageAssociation_STATUS_POLL", + "MessageAssociation_HD_VIDEO_DUAL_UPLOAD", + "MessageAssociation_STATUS_EXTERNAL_RESHARE", + "MessageAssociation_MEDIA_POLL", + "MessageAssociation_STATUS_ADD_YOURS", + "MessageAssociation_STATUS_NOTIFICATION", + "MessageAssociation_HD_IMAGE_DUAL_UPLOAD", + "MessageAssociation_STICKER_ANNOTATION", + "MessageAssociation_MOTION_PHOTO", + "MessageAssociation_STATUS_LINK_ACTION", + "MessageAssociation_VIEW_ALL_REPLIES", + "MessageAssociation_STATUS_ADD_YOURS_AI_IMAGINE", + "MessageAssociation_STATUS_QUESTION", + "MessageAssociation_STATUS_ADD_YOURS_DIWALI", + "MessageAssociation_STATUS_REACTION", + "MessageAssociation_HEVC_VIDEO_DUAL_UPLOAD", + "MessageAssociation_POLL_ADD_OPTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo": { + "type": "object", + "properties": { + "botMessageSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "botMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata" + }, + "capiCreatedGroup": { + "type": "boolean" + }, + "deviceListMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata" + }, + "deviceListMetadataVersion": { + "type": "integer" + }, + "limitSharing": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "limitSharingV2": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "messageAddOnDurationInSecs": { + "type": "integer" + }, + "messageAddOnExpiryType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType" + }, + "messageAssociation": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation" + }, + "messageSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "paddingBytes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "reportingTokenVersion": { + "type": "integer" + }, + "supportPayload": { + "type": "string" + }, + "threadID": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID" + } + }, + "weblinkRenderConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2 + ], + "x-enum-varnames": [ + "MessageContextInfo_STATIC", + "MessageContextInfo_DEPENDENT_ON_PARENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "messageHistoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata" + }, + "mimetype": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata": { + "type": "object", + "properties": { + "historyReceivers": { + "type": "array", + "items": { + "type": "string" + } + }, + "messageCount": { + "type": "integer" + }, + "nonHistoryReceivers": { + "type": "array", + "items": { + "type": "string" + } + }, + "oldestMessageTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "messageHistoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Money": { + "type": "object", + "properties": { + "currencyCode": { + "type": "string" + }, + "offset": { + "type": "integer" + }, + "value": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "inviteExpiration": { + "type": "integer" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage": { + "type": "object", + "properties": { + "catalogType": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "itemCount": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "messageVersion": { + "type": "integer" + }, + "orderID": { + "type": "string" + }, + "orderRequestMessageID": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "orderTitle": { + "type": "string" + }, + "sellerJID": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus" + }, + "surface": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface" + }, + "thumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "token": { + "type": "string" + }, + "totalAmount1000": { + "type": "integer" + }, + "totalCurrencyCode": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "OrderMessage_INQUIRY", + "OrderMessage_ACCEPTED", + "OrderMessage_DECLINED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface": { + "type": "integer", + "format": "int32", + "enum": [ + 1 + ], + "x-enum-varnames": [ + "OrderMessage_CATALOG" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "fileLength": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "mediaData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData" + }, + "mimetype": { + "type": "string" + }, + "placeholderArgb": { + "type": "integer" + }, + "subtextArgb": { + "type": "integer" + }, + "textArgb": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PaymentBackground_UNKNOWN", + "PaymentBackground_DEFAULT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata": { + "type": "object", + "properties": { + "platform": { + "type": "string" + }, + "type": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage": { + "type": "object", + "properties": { + "expiryTimestamp": { + "type": "integer" + }, + "incentiveEligible": { + "type": "boolean" + }, + "referralID": { + "type": "string" + }, + "serviceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "PaymentInviteMessage_UNKNOWN", + "PaymentInviteMessage_FBPAY", + "PaymentInviteMessage_NOVI", + "PaymentInviteMessage_UPI" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata": { + "type": "object", + "properties": { + "button": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton" + }, + "header": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton": { + "type": "object", + "properties": { + "displayText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader": { + "type": "object", + "properties": { + "headerType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PaymentLinkMetadata_PaymentLinkHeader_LINK_PREVIEW", + "PaymentLinkMetadata_PaymentLinkHeader_ORDER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider": { + "type": "object", + "properties": { + "paramsJSON": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage": { + "type": "object", + "properties": { + "companionCanonicalUserNonceFetchRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest" + }, + "fullHistorySyncOnDemandRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest" + }, + "galaxyFlowAction": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction" + }, + "historySyncChunkRetryRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest" + }, + "historySyncOnDemandRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest" + }, + "peerDataOperationRequestType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType" + }, + "placeholderMessageResendRequest": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest" + } + }, + "requestStickerReupload": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload" + } + }, + "requestURLPreview": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview" + } + }, + "syncdCollectionFatalRecoveryRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest": { + "type": "object", + "properties": { + "registrationTraceID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest": { + "type": "object", + "properties": { + "fullHistorySyncOnDemandConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig" + }, + "historySyncConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig" + }, + "requestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction": { + "type": "object", + "properties": { + "agmID": { + "type": "string" + }, + "flowID": { + "type": "string" + }, + "galaxyFlowDownloadRequestID": { + "type": "string" + }, + "stanzaID": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestMessage_GalaxyFlowAction_NOTIFY_LAUNCH", + "PeerDataOperationRequestMessage_GalaxyFlowAction_DOWNLOAD_RESPONSES" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest": { + "type": "object", + "properties": { + "chunkNotificationID": { + "type": "string" + }, + "chunkOrder": { + "type": "integer" + }, + "regenerateChunk": { + "type": "boolean" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest": { + "type": "object", + "properties": { + "accountLid": { + "type": "string" + }, + "chatJID": { + "type": "string" + }, + "oldestMsgFromMe": { + "type": "boolean" + }, + "oldestMsgID": { + "type": "string" + }, + "oldestMsgTimestampMS": { + "type": "integer" + }, + "onDemandMsgCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest": { + "type": "object", + "properties": { + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload": { + "type": "object", + "properties": { + "fileSHA256": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "includeHqThumbnail": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest": { + "type": "object", + "properties": { + "collectionName": { + "type": "string" + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage": { + "type": "object", + "properties": { + "peerDataOperationRequestType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType" + }, + "peerDataOperationResult": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult" + } + }, + "stanzaID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult": { + "type": "object", + "properties": { + "companionCanonicalUserNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse" + }, + "companionMetaNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse" + }, + "flowResponsesCsvBundle": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle" + }, + "fullHistorySyncOnDemandRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse" + }, + "historySyncChunkRetryResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse" + }, + "linkPreviewResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse" + }, + "mediaUploadResult": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType" + }, + "placeholderMessageResendResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse" + }, + "stickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage" + }, + "syncdSnapshotFatalRecoveryResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse" + }, + "waffleNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse": { + "type": "object", + "properties": { + "forceRefresh": { + "type": "boolean" + }, + "nonce": { + "type": "string" + }, + "waFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse": { + "type": "object", + "properties": { + "nonce": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "flowID": { + "type": "string" + }, + "galaxyFlowDownloadRequestID": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse": { + "type": "object", + "properties": { + "requestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + }, + "responseCode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_SUCCESS", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_TIME_EXPIRED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DECLINED_SHARING_HISTORY", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERIC_ERROR", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_REQUEST_ON_NON_SMB_PRIMARY", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_NOT_CONNECTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse": { + "type": "object", + "properties": { + "canRecover": { + "type": "boolean" + }, + "chunkOrder": { + "type": "integer" + }, + "requestID": { + "type": "string" + }, + "responseCode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERATION_ERROR", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_CONSUMED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_TIMEOUT", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SESSION_EXHAUSTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_EXHAUSTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DUPLICATED_REQUEST" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hqThumbnail": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail" + }, + "matchText": { + "type": "string" + }, + "previewMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata" + }, + "previewType": { + "type": "string" + }, + "thumbData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "encThumbHash": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestampMS": { + "type": "integer" + }, + "thumbHash": { + "type": "string" + }, + "thumbHeight": { + "type": "integer" + }, + "thumbWidth": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "isBusinessVerified": { + "type": "boolean" + }, + "offset": { + "type": "string" + }, + "providerName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse": { + "type": "object", + "properties": { + "webMessageInfoBytes": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse": { + "type": "object", + "properties": { + "collectionSnapshot": { + "type": "array", + "items": { + "type": "integer" + } + }, + "isCompressed": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse": { + "type": "object", + "properties": { + "nonce": { + "type": "string" + }, + "waEntFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestType_UPLOAD_STICKER", + "PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP", + "PeerDataOperationRequestType_GENERATE_LINK_PREVIEW", + "PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND", + "PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND", + "PeerDataOperationRequestType_WAFFLE_LINKING_NONCE_FETCH", + "PeerDataOperationRequestType_FULL_HISTORY_SYNC_ON_DEMAND", + "PeerDataOperationRequestType_COMPANION_META_NONCE_FETCH", + "PeerDataOperationRequestType_COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY", + "PeerDataOperationRequestType_COMPANION_CANONICAL_USER_NONCE_FETCH", + "PeerDataOperationRequestType_HISTORY_SYNC_CHUNK_RETRY", + "PeerDataOperationRequestType_GALAXY_FLOW_ACTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "PinInChatMessage_UNKNOWN_TYPE", + "PinInChatMessage_PIN_FOR_ALL", + "PinInChatMessage_UNPIN_FOR_ALL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "PlaceholderMessage_MASK_LINKED_DEVICES" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.Point": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "xDeprecated": { + "type": "integer" + }, + "y": { + "type": "number" + }, + "yDeprecated": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage": { + "type": "object", + "properties": { + "addOption": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + }, + "pollCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "PollContentType_UNKNOWN_POLL_CONTENT_TYPE", + "PollContentType_TEXT", + "PollContentType_IMAGE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage": { + "type": "object", + "properties": { + "allowAddOption": { + "type": "boolean" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "correctAnswer": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + }, + "encKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "endTime": { + "type": "integer" + }, + "hideParticipantName": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + } + }, + "pollContentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollContentType" + }, + "pollType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType" + }, + "selectableOptionsCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option": { + "type": "object", + "properties": { + "optionHash": { + "type": "string" + }, + "optionName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollEncValue": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "name": { + "type": "string" + }, + "pollType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType" + }, + "pollVotes": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote": { + "type": "object", + "properties": { + "optionName": { + "type": "string" + }, + "optionVoteCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PollType_POLL", + "PollType_QUIZ" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata" + }, + "pollCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "vote": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollEncValue" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata": { + "type": "object" + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo": { + "type": "object", + "properties": { + "bitrate": { + "type": "integer" + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + } + }, + "directPath": { + "type": "string" + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "quality": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ProcessedVideo_UNDEFINED", + "ProcessedVideo_LOW", + "ProcessedVideo_MID", + "ProcessedVideo_HIGH" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage": { + "type": "object", + "properties": { + "body": { + "type": "string" + }, + "businessOwnerJID": { + "type": "string" + }, + "catalog": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footer": { + "type": "string" + }, + "product": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot": { + "type": "object", + "properties": { + "catalogImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "description": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "currencyCode": { + "type": "string" + }, + "description": { + "type": "string" + }, + "firstImageID": { + "type": "string" + }, + "priceAmount1000": { + "type": "integer" + }, + "productID": { + "type": "string" + }, + "productImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "productImageCount": { + "type": "integer" + }, + "retailerID": { + "type": "string" + }, + "salePriceAmount1000": { + "type": "integer" + }, + "signedURL": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage": { + "type": "object", + "properties": { + "afterReadDuration": { + "type": "integer" + }, + "aiMediaCollectionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage" + }, + "aiPsiMetadata": { + "type": "array", + "items": { + "type": "integer" + } + }, + "aiQueryFanout": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout" + }, + "appStateFatalExceptionNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification" + }, + "appStateSyncKeyRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest" + }, + "appStateSyncKeyShare": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare" + }, + "botFeedbackMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage" + }, + "cloudApiThreadControlNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification" + }, + "disappearingMode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode" + }, + "editedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "ephemeralExpiration": { + "type": "integer" + }, + "ephemeralSettingTimestamp": { + "type": "integer" + }, + "historySyncNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification" + }, + "initialSecurityNotificationSettingSync": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync" + }, + "invokerJID": { + "type": "string" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "lidMigrationMappingSyncMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage" + }, + "limitSharing": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "mediaNotifyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage" + }, + "memberLabel": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel" + }, + "peerDataOperationRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage" + }, + "peerDataOperationRequestResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage" + }, + "requestWelcomeMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata" + }, + "timestampMS": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 14, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "x-enum-varnames": [ + "ProtocolMessage_REVOKE", + "ProtocolMessage_EPHEMERAL_SETTING", + "ProtocolMessage_EPHEMERAL_SYNC_RESPONSE", + "ProtocolMessage_HISTORY_SYNC_NOTIFICATION", + "ProtocolMessage_APP_STATE_SYNC_KEY_SHARE", + "ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST", + "ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST", + "ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", + "ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION", + "ProtocolMessage_SHARE_PHONE_NUMBER", + "ProtocolMessage_MESSAGE_EDIT", + "ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE", + "ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", + "ProtocolMessage_REQUEST_WELCOME_MESSAGE", + "ProtocolMessage_BOT_FEEDBACK_MESSAGE", + "ProtocolMessage_MEDIA_NOTIFY_MESSAGE", + "ProtocolMessage_CLOUD_API_THREAD_CONTROL_NOTIFICATION", + "ProtocolMessage_LID_MIGRATION_MAPPING_SYNC", + "ProtocolMessage_REMINDER_MESSAGE", + "ProtocolMessage_BOT_MEMU_ONBOARDING_MESSAGE", + "ProtocolMessage_STATUS_MENTION_MESSAGE", + "ProtocolMessage_STOP_GENERATION_MESSAGE", + "ProtocolMessage_LIMIT_SHARING", + "ProtocolMessage_AI_PSI_METADATA", + "ProtocolMessage_AI_QUERY_FANOUT", + "ProtocolMessage_GROUP_MEMBER_LABEL_CHANGE", + "ProtocolMessage_AI_MEDIA_COLLECTION_MESSAGE", + "ProtocolMessage_MESSAGE_UNSCHEDULE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage": { + "type": "object", + "properties": { + "groupingKey": { + "type": "string" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage": { + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Money" + }, + "amount1000": { + "type": "integer" + }, + "background": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground" + }, + "currencyCodeIso4217": { + "type": "string" + }, + "expiryTimestamp": { + "type": "integer" + }, + "noteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "requestFrom": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata": { + "type": "object", + "properties": { + "localChatState": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState" + }, + "welcomeTrigger": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "RequestWelcomeMessageMetadata_EMPTY", + "RequestWelcomeMessageMetadata_NON_EMPTY" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "RequestWelcomeMessageMetadata_CHAT_OPEN", + "RequestWelcomeMessageMetadata_COMPANION_PAIRING" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage": { + "type": "object", + "properties": { + "callType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType" + }, + "scheduledTimestampMS": { + "type": "integer" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ScheduledCallCreationMessage_UNKNOWN", + "ScheduledCallCreationMessage_VOICE", + "ScheduledCallCreationMessage_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage": { "type": "object", - "additionalProperties": {} + "properties": { + "editType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ScheduledCallEditMessage_UNKNOWN", + "ScheduledCallEditMessage_CANCEL" + ] }, - "github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage": { "type": "object", "properties": { - "chat": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "remoteKeyID": { "type": "string" + }, + "secretEncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType" + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" } } }, - "github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "SecretEncryptedMessage_UNKNOWN", + "SecretEncryptedMessage_EVENT_EDIT", + "SecretEncryptedMessage_MESSAGE_EDIT", + "SecretEncryptedMessage_MESSAGE_SCHEDULE", + "SecretEncryptedMessage_POLL_EDIT", + "SecretEncryptedMessage_POLL_ADD_OPTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage": { "type": "object", "properties": { - "communityJid": { - "type": "string" + "background": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground" }, - "groupJid": { + "noteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "requestMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "transactionData": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage": { + "type": "object", + "properties": { + "axolotlSenderKeyDistributionMessage": { "type": "array", "items": { - "type": "string" + "type": "integer" } + }, + "groupID": { + "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage": { "type": "object", "properties": { - "communityName": { + "originalMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "responseMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "StatusNotificationMessage_UNKNOWN", + "StatusNotificationMessage_STATUS_ADD_YOURS", + "StatusNotificationMessage_STATUS_RESHARE", + "StatusNotificationMessage_STATUS_QUESTION_ANSWER_RESHARE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "text": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage": { "type": "object", "properties": { - "action": { - "$ref": "#/definitions/whatsmeow.ParticipantChange" + "originalStatusID": { + "$ref": "#/definitions/waCommon.MessageKey" }, - "groupJid": { - "$ref": "#/definitions/types.JID" + "text": { + "type": "string" }, - "participants": { + "thumbnail": { "type": "array", "items": { - "type": "string" + "type": "integer" } + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 1 + ], + "x-enum-varnames": [ + "StatusQuotedMessage_QUESTION_ANSWER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage": { "type": "object", "properties": { - "groupName": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "stickerKey": { "type": "string" }, - "participants": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "StatusStickerInteractionMessage_UNKNOWN", + "StatusStickerInteractionMessage_REACTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StickerMessage": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { "type": "array", "items": { - "type": "string" + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "firstFrameLength": { + "type": "integer" + }, + "firstFrameSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "isAiSticker": { + "type": "boolean" + }, + "isAnimated": { + "type": "boolean" + }, + "isAvatar": { + "type": "boolean" + }, + "isLottie": { + "type": "boolean" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "pngThumbnail": { + "type": "array", + "items": { + "type": "integer" } + }, + "premium": { + "type": "integer" + }, + "stickerSentTS": { + "type": "integer" + }, + "width": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage": { "type": "object", "properties": { - "groupJid": { + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "imageDataHash": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "packDescription": { + "type": "string" + }, + "publisher": { + "type": "string" + }, + "stickerPackID": { + "type": "string" + }, + "stickerPackOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin" + }, + "stickerPackSize": { + "type": "integer" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker" + } + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "trayIconFileName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker": { "type": "object", "properties": { - "groupJid": { + "accessibilityLabel": { "type": "string" }, - "reset": { + "emojis": { + "type": "array", + "items": { + "type": "string" + } + }, + "fileName": { + "type": "string" + }, + "isAnimated": { + "type": "boolean" + }, + "isLottie": { "type": "boolean" + }, + "mimetype": { + "type": "string" + }, + "premium": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "StickerPackMessage_FIRST_PARTY", + "StickerPackMessage_THIRD_PARTY", + "StickerPackMessage_USER_CREATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage": { "type": "object", "properties": { - "code": { + "filehash": { + "type": "array", + "items": { + "type": "string" + } + }, + "requestTimestamp": { + "type": "integer" + }, + "rmrSource": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage": { "type": "object", "properties": { - "groupJid": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "selectedCarouselCardIndex": { + "type": "integer" + }, + "selectedDisplayText": { "type": "string" }, - "name": { + "selectedID": { "type": "string" + }, + "selectedIndex": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage": { "type": "object", "properties": { - "groupJid": { - "type": "string" + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" }, - "image": { + "format": { + "description": "Types that are valid to be assigned to Format:\n\n\t*TemplateMessage_FourRowTemplate_\n\t*TemplateMessage_HydratedFourRowTemplate_\n\t*TemplateMessage_InteractiveMessageTemplate" + }, + "hydratedTemplate": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate" + }, + "templateID": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate": { "type": "object", "properties": { - "immediate": { - "type": "boolean" - }, - "phone": { - "type": "string" - }, - "subscribe": { + "hydratedButtons": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton" } }, - "webhookUrl": { + "hydratedContentText": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct": { - "type": "object", - "properties": { - "name": { + }, + "hydratedFooterText": { "type": "string" }, - "proxy": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig" + "maskLinkedDevices": { + "type": "boolean" }, - "token": { + "templateID": { "type": "string" + }, + "title": { + "description": "Types that are valid to be assigned to Title:\n\n\t*TemplateMessage_HydratedFourRowTemplate_DocumentMessage\n\t*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText\n\t*TemplateMessage_HydratedFourRowTemplate_ImageMessage\n\t*TemplateMessage_HydratedFourRowTemplate_VideoMessage\n\t*TemplateMessage_HydratedFourRowTemplate_LocationMessage" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.ThreadID": { "type": "object", "properties": { - "phone": { + "sourceChatJID": { "type": "string" }, - "subscribe": { - "type": "array", - "items": { - "type": "string" - } + "threadKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "threadType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig": { + "go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ThreadID_UNKNOWN", + "ThreadID_VIEW_REPLIES", + "ThreadID_AI_THREAD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.URLMetadata": { "type": "object", "properties": { - "address": { - "type": "string" - }, - "password": { - "type": "string" - }, - "port": { - "type": "string" - }, - "username": { - "type": "string" + "fbExperimentID": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap": { "type": "object", "properties": { - "jid": { - "type": "string" - }, - "labelId": { - "type": "string" + "urlTrackingMapElements": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement" + } } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement": { "type": "object", "properties": { - "color": { + "cardIndex": { "type": "integer" }, - "deleted": { - "type": "boolean" + "consentedUsersURL": { + "type": "string" }, - "labelId": { + "originalURL": { "type": "string" }, - "name": { + "unconsentedUsersURL": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard": { "type": "object", "properties": { - "jid": { + "caption": { "type": "string" }, - "labelId": { + "profilePictureURL": { "type": "string" }, - "messageId": { + "thumbnailImageURL": { + "type": "string" + }, + "username": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage": { "type": "object", "properties": { - "isAudio": { - "type": "boolean" + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } }, - "number": { + "URL": { "type": "string" }, - "state": { + "accessibilityLabel": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct": { - "type": "object", - "properties": { + }, + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, "directPath": { "type": "string" }, + "externalShareFullVideoDurationInSeconds": { + "type": "integer" + }, "fileEncSHA256": { "type": "array", "items": { @@ -2842,440 +14634,763 @@ const docTemplate = `{ "type": "integer" } }, + "gifAttribution": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution" + }, + "gifPlayback": { + "type": "boolean" + }, + "height": { + "type": "integer" + }, + "interactiveAnnotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, "mediaKey": { "type": "array", "items": { "type": "integer" } }, - "mimetype": { - "type": "string" + "mediaKeyTimestamp": { + "type": "integer" }, - "url": { - "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct": { - "type": "object", - "properties": { - "chat": { + "metadataURL": { "type": "string" }, - "message": { + "mimetype": { "type": "string" }, - "messageId": { + "motionPhotoPresentationOffsetMS": { + "type": "integer" + }, + "processedVideos": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo" + } + }, + "seconds": { + "type": "integer" + }, + "staticURL": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct": { - "type": "object", - "properties": { - "id": { + }, + "streamingSidecar": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, - "number": { + "thumbnailDirectPath": { "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "videoSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType" + }, + "viewOnce": { + "type": "boolean" + }, + "width": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "VideoMessage_NONE", + "VideoMessage_GIPHY", + "VideoMessage_TENOR", + "VideoMessage_KLIPY" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "VideoMessage_USER_VIDEO", + "VideoMessage_AI_GENERATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "WebLinkRenderConfig_WEBVIEW", + "WebLinkRenderConfig_SYSTEM" + ] + }, + "go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "MediaRetryNotification_GENERAL_ERROR", + "MediaRetryNotification_SUCCESS", + "MediaRetryNotification_NOT_FOUND", + "MediaRetryNotification_DECRYPTION_ERROR" + ] }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct": { + "go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution": { "type": "object", "properties": { - "chat": { + "actionURL": { "type": "string" }, - "messageId": { - "type": "string" + "attributionData": { + "description": "Types that are valid to be assigned to AttributionData:\n\n\t*StatusAttribution_StatusReshare_\n\t*StatusAttribution_ExternalShare_\n\t*StatusAttribution_Music_\n\t*StatusAttribution_GroupStatus_\n\t*StatusAttribution_RlAttribution\n\t*StatusAttribution_AiCreatedAttribution_" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct": { + "go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "StatusAttribution_UNKNOWN", + "StatusAttribution_RESHARE", + "StatusAttribution_EXTERNAL_SHARE", + "StatusAttribution_MUSIC", + "StatusAttribution_STATUS_MENTION", + "StatusAttribution_GROUP_STATUS", + "StatusAttribution_RL_ATTRIBUTION", + "StatusAttribution_AI_CREATED", + "StatusAttribution_LAYOUTS" + ] + }, + "go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName": { "type": "object", "properties": { - "id": { + "lc": { "type": "string" }, - "number": { + "lg": { "type": "string" }, - "reaction": { + "verifiedName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct": { + "go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate": { "type": "object", "properties": { - "description": { - "type": "string" + "details": { + "type": "array", + "items": { + "type": "integer" + } }, - "name": { - "type": "string" + "serverSignature": { + "type": "array", + "items": { + "type": "integer" + } + }, + "signature": { + "type": "array", + "items": { + "type": "integer" + } } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct": { + "go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details": { "type": "object", "properties": { - "key": { + "issueTime": { + "type": "integer" + }, + "issuer": { + "type": "string" + }, + "localizedNames": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName" + } + }, + "serial": { + "type": "integer" + }, + "verifiedName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct": { + "go_mau_fi_whatsmeow_types.AddressingMode": { + "type": "string", + "enum": [ + "pn", + "lid" + ], + "x-enum-varnames": [ + "AddressingModePN", + "AddressingModeLID" + ] + }, + "go_mau_fi_whatsmeow_types.BotEditType": { + "type": "string", + "enum": [ + "first", + "inner", + "last" + ], + "x-enum-varnames": [ + "EditTypeFirst", + "EditTypeInner", + "EditTypeLast" + ] + }, + "go_mau_fi_whatsmeow_types.BroadcastRecipient": { "type": "object", "properties": { - "before_id": { - "type": "integer" - }, - "count": { - "type": "integer" + "lid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "jid": { - "$ref": "#/definitions/types.JID" + "pn": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct": { + "go_mau_fi_whatsmeow_types.DeviceSentMeta": { "type": "object", "properties": { - "jid": { - "$ref": "#/definitions/types.JID" + "destinationJID": { + "description": "The destination user. This should match the MessageInfo.Recipient field.", + "type": "string" + }, + "phash": { + "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct": { + "go_mau_fi_whatsmeow_types.EditAttribute": { + "type": "string", + "enum": [ + "", + "1", + "2", + "3", + "7", + "8" + ], + "x-enum-comments": { + "EditAttributeAdminEdit": "only used in newsletters" + }, + "x-enum-descriptions": [ + "", + "", + "", + "only used in newsletters", + "", + "" + ], + "x-enum-varnames": [ + "EditAttributeEmpty", + "EditAttributeMessageEdit", + "EditAttributePinInChat", + "EditAttributeAdminEdit", + "EditAttributeSenderRevoke", + "EditAttributeAdminRevoke" + ] + }, + "go_mau_fi_whatsmeow_types.JID": { "type": "object", "properties": { - "delay": { - "type": "integer" + "device": { + "type": "integer", + "format": "int32" }, - "id": { - "type": "string" + "integrator": { + "type": "integer", + "format": "int32" }, - "mentionAll": { - "type": "boolean" + "rawAgent": { + "type": "integer", + "format": "int32" }, - "mentionedJid": { + "server": { "type": "string" }, - "number": { + "user": { "type": "string" - }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" - }, - "vcard": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct": { + "go_mau_fi_whatsmeow_types.MessageInfo": { "type": "object", "properties": { - "delay": { - "type": "integer" + "addressingMode": { + "description": "The addressing mode of the message (phone number or LID)", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.AddressingMode" + } + ] }, - "description": { - "type": "string" + "broadcastListOwner": { + "description": "When sending a read receipt to a broadcast list message, the Chat is the broadcast list\nand Sender is you, so this field contains the recipient of the read receipt.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "id": { - "type": "string" + "broadcastRecipients": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.BroadcastRecipient" + } }, - "imgUrl": { + "category": { "type": "string" }, - "mentionAll": { - "type": "boolean" + "chat": { + "description": "The chat where the message was sent.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionedJid": { - "type": "string" + "deviceSentMeta": { + "description": "Metadata for direct messages sent from another one of the user's own devices.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.DeviceSentMeta" + } + ] }, - "number": { + "edit": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.EditAttribute" + }, + "id": { "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "isFromMe": { + "description": "Whether the message was sent by the current user instead of someone else.", + "type": "boolean" }, - "text": { - "type": "string" + "isGroup": { + "description": "Whether the chat is a group chat or broadcast list.", + "type": "boolean" }, - "title": { + "mediaType": { "type": "string" }, - "url": { - "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct": { - "type": "object", - "properties": { - "address": { - "type": "string" + "msgBotInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MsgBotInfo" }, - "delay": { - "type": "integer" + "msgMetaInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MsgMetaInfo" }, - "id": { + "multicast": { + "type": "boolean" + }, + "pushName": { "type": "string" }, - "latitude": { - "type": "number" + "recipientAlt": { + "description": "The alternative address of the recipient of the message for DMs.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "longitude": { - "type": "number" + "sender": { + "description": "The user who sent the message.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionAll": { - "type": "boolean" + "senderAlt": { + "description": "The alternative address of the user who sent the message", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionedJid": { - "type": "string" + "serverID": { + "type": "integer" }, - "name": { + "timestamp": { "type": "string" }, - "number": { + "type": { "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "verifiedName": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.VerifiedName" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct": { + "go_mau_fi_whatsmeow_types.MsgBotInfo": { "type": "object", "properties": { - "caption": { - "type": "string" - }, - "delay": { - "type": "integer" - }, - "filename": { + "editSenderTimestampMS": { "type": "string" }, - "id": { + "editTargetID": { "type": "string" }, - "mentionAll": { + "editType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.BotEditType" + } + } + }, + "go_mau_fi_whatsmeow_types.MsgMetaInfo": { + "type": "object", + "properties": { + "deprecatedLIDSession": { "type": "boolean" }, - "mentionedJid": { - "type": "string" + "targetChat": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "number": { + "targetID": { + "description": "Bot things", "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "targetSender": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "type": { + "threadMessageID": { "type": "string" }, - "url": { - "type": "string" + "threadMessageSenderJID": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct": { + "go_mau_fi_whatsmeow_types.PrivacySetting": { + "type": "string", + "enum": [ + "", + "all", + "contacts", + "contact_allowlist", + "contact_blacklist", + "match_last_seen", + "known", + "none", + "on_standard", + "off" + ], + "x-enum-varnames": [ + "PrivacySettingUndefined", + "PrivacySettingAll", + "PrivacySettingContacts", + "PrivacySettingContactAllowlist", + "PrivacySettingContactBlacklist", + "PrivacySettingMatchLastSeen", + "PrivacySettingKnown", + "PrivacySettingNone", + "PrivacySettingOnStandard", + "PrivacySettingOff" + ] + }, + "go_mau_fi_whatsmeow_types.VerifiedName": { "type": "object", "properties": { - "delay": { - "type": "integer" - }, - "id": { - "type": "string" - }, - "maxAnswer": { - "type": "integer" - }, - "mentionAll": { - "type": "boolean" - }, - "mentionedJid": { - "type": "string" - }, - "number": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "string" - } - }, - "question": { - "type": "string" + "certificate": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "details": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct": { + "pkg_core.ActivateResponse": { "type": "object", "properties": { - "messageId": { - "type": "string" + "message": { + "type": "string", + "example": "License activated successfully!" }, - "participant": { - "type": "string" + "status": { + "type": "string", + "example": "active" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct": { + "pkg_core.Error400": { "type": "object", "properties": { - "delay": { - "type": "integer" + "error": { + "$ref": "#/definitions/pkg_core.Error400Detail" }, - "id": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "mentionAll": { - "type": "boolean" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error400Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "BAD_REQUEST" }, - "mentionedJid": { - "type": "string" + "message": { + "type": "string", + "example": "Invalid request data" + } + } + }, + "pkg_core.Error401": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/pkg_core.Error401Detail" }, - "number": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error401Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "UNAUTHORIZED" }, - "sticker": { - "type": "string" + "message": { + "type": "string", + "example": "Invalid or missing API key" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct": { + "pkg_core.Error403": { "type": "object", "properties": { - "delay": { - "type": "integer" + "error": { + "$ref": "#/definitions/pkg_core.Error403Detail" }, - "id": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "mentionAll": { - "type": "boolean" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error403Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "FORBIDDEN" }, - "mentionedJid": { - "type": "string" + "message": { + "type": "string", + "example": "Insufficient permissions" + } + } + }, + "pkg_core.Error404": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/pkg_core.Error404Detail" }, - "number": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error404Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "NOT_FOUND" }, - "text": { - "type": "string" + "message": { + "type": "string", + "example": "Resource not found" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct": { + "pkg_core.Error500": { "type": "object", "properties": { - "number": { - "type": "string" + "error": { + "$ref": "#/definitions/pkg_core.Error500Detail" + }, + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct": { + "pkg_core.Error500Detail": { "type": "object", "properties": { - "number": { - "type": "array", - "items": { - "type": "string" - } + "code": { + "type": "string", + "example": "INTERNAL_SERVER_ERROR" + }, + "message": { + "type": "string", + "example": "An unexpected error occurred" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct": { + "pkg_core.ErrorMeta": { "type": "object", "properties": { - "number": { - "type": "string" + "method": { + "type": "string", + "example": "GET" }, - "preview": { - "type": "boolean" + "path": { + "type": "string", + "example": "/api/path" + }, + "timestamp": { + "type": "string", + "example": "2024-01-15T10:30:00Z" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct": { + "pkg_core.RegisterResponse": { "type": "object", "properties": { - "image": { - "type": "string" + "message": { + "type": "string", + "example": "License is already active" + }, + "register_url": { + "type": "string", + "example": "https://app.evolution-api.com/register/12345" + }, + "status": { + "type": "string", + "example": "pending" } } }, - "github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct": { + "pkg_core.StatusResponse": { "type": "object", "properties": { - "fullName": { - "type": "string" + "api_key": { + "type": "string", + "example": "evol...xyz" }, - "organization": { - "type": "string" + "instance_id": { + "type": "string", + "example": "inst-12345" }, - "phone": { - "type": "string" + "status": { + "type": "string", + "example": "active" } } }, - "types.JID": { + "waCommon.LimitSharing": { "type": "object", "properties": { - "device": { - "type": "integer" + "initiatedByMe": { + "type": "boolean" }, - "integrator": { + "limitSharingSettingTimestamp": { "type": "integer" }, - "rawAgent": { + "sharingLimited": { + "type": "boolean" + }, + "trigger": { "type": "integer" + } + } + }, + "waCommon.MessageKey": { + "type": "object", + "properties": { + "ID": { + "type": "string" }, - "server": { + "fromMe": { + "type": "boolean" + }, + "participant": { "type": "string" }, - "user": { + "remoteJID": { "type": "string" } } - }, - "whatsmeow.ParticipantChange": { - "type": "string", - "enum": [ - "add", - "remove", - "promote", - "demote" - ], - "x-enum-varnames": [ - "ParticipantChangeAdd", - "ParticipantChangeRemove", - "ParticipantChangePromote", - "ParticipantChangeDemote" - ] } } }` diff --git a/docs/swagger.json b/docs/swagger.json index b264746..d3c8fa2 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -7,9 +7,9 @@ "version": "1.0" }, "paths": { - "/chat/archive": { + "/call/reject": { "post": { - "description": "Archive a chat", + "description": "Reject Call", "consumes": [ "application/json" ], @@ -17,45 +17,63 @@ "application/json" ], "tags": [ - "Chat" + "Call" ], - "summary": "Archive a chat", + "summary": "Reject Call", "parameters": [ { - "description": "Chat", + "description": "Call data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/mute": { + "/chat/archive": { "post": { - "description": "Mute a chat", + "description": "Archive a chat", "consumes": [ "application/json" ], @@ -65,7 +83,7 @@ "tags": [ "Chat" ], - "summary": "Mute a chat", + "summary": "Archive a chat", "parameters": [ { "description": "Chat", @@ -73,7 +91,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -81,27 +99,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/pin": { + "/chat/history-sync": { "post": { - "description": "Pin a chat", + "description": "HistorySyncRequest a chat", "consumes": [ "application/json" ], @@ -111,7 +147,7 @@ "tags": [ "Chat" ], - "summary": "Pin a chat", + "summary": "HistorySyncRequest a chat", "parameters": [ { "description": "Chat", @@ -119,7 +155,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct" } } ], @@ -127,27 +163,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/chat/unpin": { + "/chat/mute": { "post": { - "description": "Unpin a chat", + "description": "Mute a chat", "consumes": [ "application/json" ], @@ -157,7 +211,7 @@ "tags": [ "Chat" ], - "summary": "Unpin a chat", + "summary": "Mute a chat", "parameters": [ { "description": "Chat", @@ -165,7 +219,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -173,27 +227,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/add": { + "/chat/pin": { "post": { - "description": "Add participant to community", + "description": "Pin a chat", "consumes": [ "application/json" ], @@ -201,17 +273,17 @@ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Add participant to community", + "summary": "Pin a chat", "parameters": [ { - "description": "Participant data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -219,27 +291,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/create": { + "/chat/unarchive": { "post": { - "description": "Create community", + "description": "Unarchive a chat", "consumes": [ "application/json" ], @@ -247,17 +337,17 @@ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Create community", + "summary": "Unarchive a chat", "parameters": [ { - "description": "Community data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -265,27 +355,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/community/remove": { + "/chat/unmute": { "post": { - "description": "Remove participant from community", + "description": "Unmute a chat", "consumes": [ "application/json" ], @@ -293,17 +401,17 @@ "application/json" ], "tags": [ - "Community" + "Chat" ], - "summary": "Remove participant from community", + "summary": "Unmute a chat", "parameters": [ { - "description": "Participant data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -311,27 +419,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/create": { + "/chat/unpin": { "post": { - "description": "Create group", + "description": "Unpin a chat", "consumes": [ "application/json" ], @@ -339,17 +465,17 @@ "application/json" ], "tags": [ - "Group" + "Chat" ], - "summary": "Create group", + "summary": "Unpin a chat", "parameters": [ { - "description": "Group data", + "description": "Chat", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct" } } ], @@ -357,27 +483,45 @@ "200": { "description": "success", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/info": { + "/community/add": { "post": { - "description": "Get group info", + "description": "Add participant to community", "consumes": [ "application/json" ], @@ -385,45 +529,63 @@ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Get group info", + "summary": "Add participant to community", "parameters": [ { - "description": "Group data", + "description": "Participant data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/invitelink": { + "/community/create": { "post": { - "description": "Get group invite link", + "description": "Create community", "consumes": [ "application/json" ], @@ -431,45 +593,63 @@ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Get group invite link", + "summary": "Create community", "parameters": [ { - "description": "Group data", + "description": "Community data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/join": { + "/community/remove": { "post": { - "description": "Join group link", + "description": "Remove participant from community", "consumes": [ "application/json" ], @@ -477,74 +657,63 @@ "application/json" ], "tags": [ - "Group" + "Community" ], - "summary": "Join group link", + "summary": "Remove participant from community", "parameters": [ { - "description": "Group data", + "description": "Participant data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/group/list": { - "get": { - "description": "List groups", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Group" - ], - "summary": "List groups", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/myall": { - "get": { - "description": "Get my groups", + "/group/create": { + "post": { + "description": "Create group", "consumes": [ "application/json" ], @@ -554,26 +723,61 @@ "tags": [ "Group" ], - "summary": "Get my groups", + "summary": "Create group", + "parameters": [ + { + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct" + } + } + ], "responses": { "200": { - "description": "success", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/name": { + "/group/description": { "post": { - "description": "Set group name", + "description": "Set group description", "consumes": [ "application/json" ], @@ -583,7 +787,7 @@ "tags": [ "Group" ], - "summary": "Set group name", + "summary": "Set group description", "parameters": [ { "description": "Group data", @@ -591,35 +795,53 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/participant": { + "/group/info": { "post": { - "description": "Update participant", + "description": "Get group info", "consumes": [ "application/json" ], @@ -629,7 +851,7 @@ "tags": [ "Group" ], - "summary": "Update participant", + "summary": "Get group info", "parameters": [ { "description": "Group data", @@ -637,35 +859,53 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/group/photo": { + "/group/invitelink": { "post": { - "description": "Set group photo", + "description": "Get group invite link", "consumes": [ "application/json" ], @@ -675,7 +915,7 @@ "tags": [ "Group" ], - "summary": "Set group photo", + "summary": "Get group invite link", "parameters": [ { "description": "Group data", @@ -683,64 +923,53 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/instance/all": { - "get": { - "description": "Get all instances", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Instance" - ], - "summary": "Get all instances", - "responses": { - "200": { - "description": "All instances", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/connect": { + "/group/join": { "post": { - "description": "Connect to instance with the provided data", + "description": "Join group link", "consumes": [ "application/json" ], @@ -748,45 +977,63 @@ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Connect to instance", + "summary": "Join group link", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct" } } ], "responses": { "200": { - "description": "Instance connected successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/create": { + "/group/leave": { "post": { - "description": "Creates a new instance with the provided data", + "description": "Leave group", "consumes": [ "application/json" ], @@ -794,45 +1041,63 @@ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Create a new instance", + "summary": "Leave group", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct" } } ], "responses": { "200": { - "description": "Instance created successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/delete/{instanceId}": { - "delete": { - "description": "Delete instance", + "/group/list": { + "get": { + "description": "List groups", "consumes": [ "application/json" ], @@ -840,72 +1105,52 @@ "application/json" ], "tags": [ - "Instance" - ], - "summary": "Delete instance", - "parameters": [ - { - "type": "string", - "description": "Instance Id", - "name": "instanceId", - "in": "path", - "required": true - } + "Group" ], + "summary": "List groups", "responses": { "200": { - "description": "Instance deleted successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/instance/disconnect": { - "post": { - "description": "Disconnect from instance", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Instance" - ], - "summary": "Disconnect from instance", - "responses": { - "200": { - "description": "Instance disconnected successfully", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/logout": { - "delete": { - "description": "Logout from instance", + "/group/myall": { + "get": { + "description": "Get my groups", "consumes": [ "application/json" ], @@ -913,28 +1158,52 @@ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Logout from instance", + "summary": "Get my groups", "responses": { "200": { - "description": "Instance logged out successfully", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/pair": { + "/group/name": { "post": { - "description": "Request pairing code", + "description": "Set group name", "consumes": [ "application/json" ], @@ -942,45 +1211,63 @@ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Request pairing code", + "summary": "Set group name", "parameters": [ { - "description": "Instance data", - "name": "instance", + "description": "Group data", + "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct" } } ], "responses": { "200": { - "description": "Pairing code", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/proxy/{instanceId}": { - "delete": { - "description": "Delete proxy", + "/group/participant": { + "post": { + "description": "Update participant", "consumes": [ "application/json" ], @@ -988,43 +1275,63 @@ "application/json" ], "tags": [ - "Instance" + "Group" ], - "summary": "Delete proxy", + "summary": "Update participant", "parameters": [ { - "type": "string", - "description": "Instance id", - "name": "instanceId", - "in": "path", - "required": true + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct" + } } ], "responses": { "200": { - "description": "Proxy deleted successfully", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/qr": { - "get": { - "description": "Get instance QR code", + "/group/photo": { + "post": { + "description": "Set group photo", "consumes": [ "application/json" ], @@ -1032,28 +1339,63 @@ "application/json" ], "tags": [ - "Instance" + "Group" + ], + "summary": "Set group photo", + "parameters": [ + { + "description": "Group data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct" + } + } ], - "summary": "Get instance QR code", "responses": { "200": { - "description": "Instance QR code", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/instance/status": { + "/instance/all": { "get": { - "description": "Get instance status", + "description": "Get all instances", "consumes": [ "application/json" ], @@ -1063,26 +1405,50 @@ "tags": [ "Instance" ], - "summary": "Get instance status", + "summary": "Get all instances", "responses": { "200": { - "description": "Instance status", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/chat": { + "/instance/connect": { "post": { - "description": "Add label to chat", + "description": "Connect to instance with the provided data", "consumes": [ "application/json" ], @@ -1090,45 +1456,63 @@ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Add label to chat", + "summary": "Connect to instance", "parameters": [ { - "description": "Label data", - "name": "message", + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/edit": { + "/instance/create": { "post": { - "description": "Edit label", + "description": "Creates a new instance with the provided data including optional advanced settings", "consumes": [ "application/json" ], @@ -1136,45 +1520,63 @@ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Edit label", + "summary": "Create a new instance", "parameters": [ { - "description": "Label data", - "name": "message", + "description": "Instance data with optional advanced settings", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/label/message": { - "post": { - "description": "Add label to message", + "/instance/delete/{instanceId}": { + "delete": { + "description": "Delete instance", "consumes": [ "application/json" ], @@ -1182,45 +1584,61 @@ "application/json" ], "tags": [ - "Label" + "Instance" ], - "summary": "Add label to message", + "summary": "Delete instance", "parameters": [ { - "description": "Label data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct" - } + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/delete": { + "/instance/disconnect": { "post": { - "description": "Delete a message for everyone", + "description": "Disconnect from instance", "consumes": [ "application/json" ], @@ -1228,45 +1646,52 @@ "application/json" ], "tags": [ - "Message" - ], - "summary": "Delete a message for everyone", - "parameters": [ - { - "description": "Delete a message for everyone", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct" - } - } + "Instance" ], + "summary": "Disconnect from instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/downloadimage": { + "/instance/forcereconnect/{instanceId}": { "post": { - "description": "Download an image", + "description": "Force reconnect", "consumes": [ "application/json" ], @@ -1274,45 +1699,70 @@ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Download an image", + "summary": "Force reconnect", "parameters": [ { - "description": "Download an image", - "name": "message", + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/edit": { - "post": { - "description": "Edit a message", + "/instance/get/{instanceId}": { + "get": { + "description": "Get instance", "consumes": [ "application/json" ], @@ -1320,45 +1770,61 @@ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Edit a message", + "summary": "Get instance", "parameters": [ { - "description": "Edit a message", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct" - } + "type": "string", + "description": "Instance Id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/markread": { - "post": { - "description": "Mark a message as read", + "/instance/logout": { + "delete": { + "description": "Logout from instance", "consumes": [ "application/json" ], @@ -1366,45 +1832,52 @@ "application/json" ], "tags": [ - "Message" - ], - "summary": "Mark a message as read", - "parameters": [ - { - "description": "Mark a message as read", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct" - } - } + "Instance" ], + "summary": "Logout from instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/presence": { + "/instance/pair": { "post": { - "description": "Set chat presence", + "description": "Request pairing code", "consumes": [ "application/json" ], @@ -1412,45 +1885,63 @@ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Set chat presence", + "summary": "Request pairing code", "parameters": [ { - "description": "Set chat presence", - "name": "message", + "description": "Instance data", + "name": "instance", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/message/react": { + "/instance/proxy/{instanceId}": { "post": { - "description": "React a message", + "description": "Set proxy configuration for an instance", "consumes": [ "application/json" ], @@ -1458,45 +1949,68 @@ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "React a message", + "summary": "Set proxy configuration", "parameters": [ { - "description": "React a message", - "name": "message", + "type": "string", + "description": "Instance id", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Proxy configuration", + "name": "proxy", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } - } - }, - "/message/status": { - "post": { - "description": "Get message status", + }, + "delete": { + "description": "Delete proxy", "consumes": [ "application/json" ], @@ -1504,45 +2018,61 @@ "application/json" ], "tags": [ - "Message" + "Instance" ], - "summary": "Get message status", + "summary": "Delete proxy", "parameters": [ { - "description": "Get message status", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct" - } + "type": "string", + "description": "Instance id", + "name": "instanceId", + "in": "path", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/create": { - "post": { - "description": "Create newsletter", + "/instance/qr": { + "get": { + "description": "Get instance QR code", "consumes": [ "application/json" ], @@ -1550,45 +2080,52 @@ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Create newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct" - } - } + "Instance" ], + "summary": "Get instance QR code", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/info": { + "/instance/reconnect": { "post": { - "description": "Get newsletter", + "description": "Reconnect to instance", "consumes": [ "application/json" ], @@ -1596,45 +2133,52 @@ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Get newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct" - } - } + "Instance" ], + "summary": "Reconnect to instance", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/link": { - "post": { - "description": "Get newsletter invite", + "/instance/status": { + "get": { + "description": "Get instance status", "consumes": [ "application/json" ], @@ -1642,74 +2186,109 @@ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Get newsletter invite", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct" - } - } + "Instance" ], + "summary": "Get instance status", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/list": { + "/instance/{instanceId}/advanced-settings": { "get": { - "description": "List newsletters", - "consumes": [ - "application/json" - ], + "description": "Get advanced settings for a specific instance", "produces": [ "application/json" ], "tags": [ - "Newsletter" + "Instance" + ], + "summary": "Get advanced settings", + "parameters": [ + { + "type": "string", + "description": "Instance ID", + "name": "instanceId", + "in": "path", + "required": true + } ], - "summary": "List newsletters", "responses": { "200": { - "description": "success", + "description": "Advanced settings retrieved successfully", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } - } - }, - "/newsletter/messages": { - "post": { - "description": "Get newsletter messages", + }, + "put": { + "description": "Update advanced settings for a specific instance", "consumes": [ "application/json" ], @@ -1717,45 +2296,70 @@ "application/json" ], "tags": [ - "Newsletter" + "Instance" ], - "summary": "Get newsletter messages", + "summary": "Update advanced settings", "parameters": [ { - "description": "Newsletter data", - "name": "message", + "type": "string", + "description": "Instance ID", + "name": "instanceId", + "in": "path", + "required": true + }, + { + "description": "Advanced settings data", + "name": "settings", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/newsletter/subscribe": { - "post": { - "description": "Subscribe newsletter", + "/label": { + "get": { + "description": "Get all labels", "consumes": [ "application/json" ], @@ -1763,45 +2367,52 @@ "application/json" ], "tags": [ - "Newsletter" - ], - "summary": "Subscribe newsletter", - "parameters": [ - { - "description": "Newsletter data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct" - } - } + "Label" ], + "summary": "Get all labels", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/contact": { + "/label/chat": { "post": { - "description": "Send a contact message", + "description": "Add label to chat", "consumes": [ "application/json" ], @@ -1809,45 +2420,63 @@ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a contact message", + "summary": "Add label to chat", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/link": { + "/label/edit": { "post": { - "description": "Send a link message", + "description": "Edit label", "consumes": [ "application/json" ], @@ -1855,45 +2484,63 @@ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a link message", + "summary": "Edit label", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/location": { + "/label/message": { "post": { - "description": "Send a location message", + "description": "Add label to message", "consumes": [ "application/json" ], @@ -1901,183 +2548,221 @@ "application/json" ], "tags": [ - "Send Message" + "Label" ], - "summary": "Send a location message", + "summary": "Add label to message", "parameters": [ { - "description": "Message data", + "description": "Label data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/send/media": { - "post": { - "description": "Send a media message", - "consumes": [ - "application/json" - ], + "/license/activate": { + "get": { + "description": "Activate license using the token from registration", "produces": [ "application/json" ], "tags": [ - "Send Message" - ], - "summary": "Send a media message", - "parameters": [ - { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct" - } - } + "License" ], + "summary": "Activate license", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.ActivateResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/poll": { - "post": { - "description": "Send a poll message", - "consumes": [ - "application/json" - ], + "/license/register": { + "get": { + "description": "Initiate license registration process", "produces": [ "application/json" ], "tags": [ - "Send Message" + "License" ], - "summary": "Send a poll message", + "summary": "Register a new license", "parameters": [ { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct" - } + "type": "string", + "description": "Optional URL to redirect to after successful registration", + "name": "redirect_uri", + "in": "query" } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.RegisterResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/sticker": { - "post": { - "description": "Send a sticker message", - "consumes": [ - "application/json" - ], + "/license/status": { + "get": { + "description": "Check if the license is active", "produces": [ "application/json" ], "tags": [ - "Send Message" - ], - "summary": "Send a sticker message", - "parameters": [ - { - "description": "Message data", - "name": "message", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct" - } - } + "License" ], + "summary": "Check license status", "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.StatusResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/pkg_core.Error500" } } } } }, - "/send/text": { + "/message/delete": { "post": { - "description": "Send a text message", + "description": "Delete a message for everyone", "consumes": [ "application/json" ], @@ -2085,45 +2770,63 @@ "application/json" ], "tags": [ - "Send Message" + "Message" ], - "summary": "Send a text message", + "summary": "Delete a message for everyone", "parameters": [ { - "description": "Message data", + "description": "Delete a message for everyone", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/unlabel/chat": { + "/message/downloadimage": { "post": { - "description": "Remove label from chat", + "description": "Download an image", "consumes": [ "application/json" ], @@ -2131,45 +2834,63 @@ "application/json" ], "tags": [ - "Label" + "Message" ], - "summary": "Remove label from chat", + "summary": "Download an image", "parameters": [ { - "description": "Label data", + "description": "Download an image", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/unlabel/message": { + "/message/edit": { "post": { - "description": "Remove label from message", + "description": "Edit a message", "consumes": [ "application/json" ], @@ -2177,45 +2898,63 @@ "application/json" ], "tags": [ - "Label" + "Message" ], - "summary": "Remove label from message", + "summary": "Edit a message", "parameters": [ { - "description": "Label data", + "description": "Edit a message", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/avatar": { + "/message/markread": { "post": { - "description": "Get a user's avatar", + "description": "Mark a message as read", "consumes": [ "application/json" ], @@ -2223,45 +2962,63 @@ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Get a user's avatar", + "summary": "Mark a message as read", "parameters": [ { - "description": "Avatar data", + "description": "Mark a message as read", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/block": { + "/message/presence": { "post": { - "description": "Block a contact", + "description": "Set chat presence", "consumes": [ "application/json" ], @@ -2269,74 +3026,63 @@ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Block a contact", + "summary": "Set chat presence", "parameters": [ { - "description": "Block data", + "description": "Set chat presence", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/blocklist": { - "get": { - "description": "Get a user's block list", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's block list", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/check": { + "/message/react": { "post": { - "description": "Check a user", + "description": "React to a message with support for fromMe field and participant field for group messages", "consumes": [ "application/json" ], @@ -2344,74 +3090,63 @@ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Check a user", + "summary": "React a message", "parameters": [ { - "description": "User data", + "description": "React to a message with fromMe and participant fields", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/contacts": { - "get": { - "description": "Get a user's contacts", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's contacts", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/info": { + "/message/status": { "post": { - "description": "Get a user", + "description": "Get message status", "consumes": [ "application/json" ], @@ -2419,74 +3154,63 @@ "application/json" ], "tags": [ - "User" + "Message" ], - "summary": "Get a user", + "summary": "Get message status", "parameters": [ { - "description": "User data", + "description": "Get message status", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/privacy": { - "get": { - "description": "Get a user's privacy settings", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "Get a user's privacy settings", - "responses": { - "200": { - "description": "success", + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } }, - "/user/profile": { + "/newsletter/create": { "post": { - "description": "Set a user's profile picture", + "description": "Create newsletter", "consumes": [ "application/json" ], @@ -2494,45 +3218,63 @@ "application/json" ], "tags": [ - "User" + "Newsletter" ], - "summary": "Set a user's profile picture", + "summary": "Create newsletter", "parameters": [ { - "description": "Profile picture data", + "description": "Newsletter data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" } }, - "500": { - "description": "Internal server error", + "401": { + "description": "Unauthorized", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" } - } - } - } - }, - "/user/unblock": { + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/info": { "post": { - "description": "Unblock a contact", + "description": "Get newsletter", "consumes": [ "application/json" ], @@ -2540,285 +3282,11335 @@ "application/json" ], "tags": [ - "User" + "Newsletter" ], - "summary": "Unblock a contact", + "summary": "Get newsletter", "parameters": [ { - "description": "Block data", + "description": "Newsletter data", "name": "message", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct" } } ], "responses": { "200": { - "description": "success", + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/link": { + "post": { + "description": "Get newsletter invite", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Get newsletter invite", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/list": { + "get": { + "description": "List newsletters", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "List newsletters", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/messages": { + "post": { + "description": "Get newsletter messages", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Get newsletter messages", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/newsletter/subscribe": { + "post": { + "description": "Subscribe newsletter", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Newsletter" + ], + "summary": "Subscribe newsletter", + "parameters": [ + { + "description": "Newsletter data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/polls/{pollMessageId}/results": { + "get": { + "description": "Retorna todos os votos de uma enquete específica", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Polls" + ], + "summary": "Get poll results", + "parameters": [ + { + "type": "string", + "description": "ID da mensagem da enquete", + "name": "pollMessageId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse" } }, "400": { - "description": "Error on validation", + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "schema": { - "$ref": "#/definitions/gin.H" + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" } } } } - } - }, - "definitions": { - "gin.H": { + }, + "/send/button": { + "post": { + "description": "Send a button message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a button message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/contact": { + "post": { + "description": "Send a contact message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a contact message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/link": { + "post": { + "description": "Send a link message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a link message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/list": { + "post": { + "description": "Send a list message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a list message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/location": { + "post": { + "description": "Send a location message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a location message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/media": { + "post": { + "description": "Send a media message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a media message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/poll": { + "post": { + "description": "Send a poll message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a poll message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/sticker": { + "post": { + "description": "Send a sticker message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a sticker message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/send/text": { + "post": { + "description": "Send a text message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Send Message" + ], + "summary": "Send a text message", + "parameters": [ + { + "description": "Message data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/server/ok": { + "get": { + "description": "Returns the server status to verify it is running", + "produces": [ + "application/json" + ], + "tags": [ + "Server" + ], + "summary": "Check server status", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/unlabel/chat": { + "post": { + "description": "Remove label from chat", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Label" + ], + "summary": "Remove label from chat", + "parameters": [ + { + "description": "Label data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/unlabel/message": { + "post": { + "description": "Remove label from message", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Label" + ], + "summary": "Remove label from message", + "parameters": [ + { + "description": "Label data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/avatar": { + "post": { + "description": "Get a user's avatar", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's avatar", + "parameters": [ + { + "description": "Avatar data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/block": { + "post": { + "description": "Block a contact", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Block a contact", + "parameters": [ + { + "description": "Block data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/blocklist": { + "get": { + "description": "Get a user's block list", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's block list", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/check": { + "post": { + "description": "Check a user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Check a user", + "parameters": [ + { + "description": "User data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/contacts": { + "get": { + "description": "Get a user's contacts", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's contacts", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/info": { + "post": { + "description": "Get a user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user", + "parameters": [ + { + "description": "User data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/privacy": { + "get": { + "description": "Get a user's privacy settings", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Get a user's privacy settings", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + }, + "post": { + "description": "Set a user's privacy settings", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's privacy settings", + "parameters": [ + { + "description": "Privacy data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profileName": { + "post": { + "description": "Set a user's profile name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile name", + "parameters": [ + { + "description": "Profile name data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profilePicture": { + "post": { + "description": "Set a user's profile picture", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile picture", + "parameters": [ + { + "description": "Profile picture data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/profileStatus": { + "post": { + "description": "Set a user's profile status", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Set a user's profile status", + "parameters": [ + { + "description": "Profile status data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + }, + "/user/unblock": { + "post": { + "description": "Unblock a contact", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "User" + ], + "summary": "Unblock a contact", + "parameters": [ + { + "description": "Block data", + "name": "message", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401" + } + }, + "403": { + "description": "Forbidden", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500" + } + } + } + } + } + }, + "definitions": { + "github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct": { + "type": "object", + "properties": { + "callCreator": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + }, + "callId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "messageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MessageInfo" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct": { + "type": "object", + "properties": { + "communityJid": { + "type": "string" + }, + "groupJid": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct": { + "type": "object", + "properties": { + "communityName": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData": { + "type": "object", + "properties": { + "url": { + "type": "string", + "example": "https://pps.whatsapp.net/v/t61.24694-24/12345678_123456789012345_1234567890123456789_n.jpg" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData": { + "type": "object", + "properties": { + "jids": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "5511999999999@s.whatsapp.net", + "5511988888888@s.whatsapp.net" + ] + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData": { + "type": "object", + "properties": { + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "1234567890@g.us" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData": { + "type": "object", + "properties": { + "eventString": { + "type": "string", + "example": "MESSAGE,GROUP_UP" + }, + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "webhookUrl": { + "type": "string", + "example": "http://localhost:8080/webhook" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "pushName": { + "type": "string", + "example": "John Doe" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error400": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "BAD_REQUEST" + }, + "message": { + "type": "string", + "example": "Invalid request data" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error401": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "UNAUTHORIZED" + }, + "message": { + "type": "string", + "example": "Invalid or missing API key" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error403": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "FORBIDDEN" + }, + "message": { + "type": "string", + "example": "Insufficient permissions" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error404": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "NOT_FOUND" + }, + "message": { + "type": "string", + "example": "Resource not found" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error500": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail" + }, + "meta": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "INTERNAL_SERVER_ERROR" + }, + "message": { + "type": "string", + "example": "An unexpected error occurred" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta": { + "type": "object", + "properties": { + "method": { + "type": "string", + "example": "GET" + }, + "path": { + "type": "string", + "example": "/api/path" + }, + "timestamp": { + "type": "string", + "example": "2024-01-15T10:30:00Z" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo": { + "type": "object", + "properties": { + "isReadOnly": { + "type": "boolean", + "example": false + }, + "jid": { + "type": "string", + "example": "1234567890@g.us" + }, + "name": { + "type": "string", + "example": "Group Name" + }, + "owner": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse": { + "type": "object", + "properties": { + "data": { + "type": "string", + "example": "https://chat.whatsapp.com/..." + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "pictureId": { + "type": "string", + "example": "1234567890" + } + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "example": "3EB00000000000000000" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData": { + "type": "object", + "properties": { + "connected": { + "type": "boolean", + "example": true + }, + "loggedIn": { + "type": "boolean", + "example": true + }, + "myJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "name": { + "type": "string", + "example": "Instance Name" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse": { + "type": "object", + "properties": { + "exists": { + "type": "boolean", + "example": true + }, + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.LabelData": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "uuid-string" + }, + "instance_id": { + "type": "string", + "example": "uuid-string" + }, + "label_color": { + "type": "string", + "example": "#dfaef0" + }, + "label_id": { + "type": "string", + "example": "1" + }, + "label_name": { + "type": "string", + "example": "Work" + }, + "predefined_id": { + "type": "string", + "example": "1" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey": { + "type": "object", + "properties": { + "fromMe": { + "type": "boolean", + "example": true + }, + "id": { + "type": "string", + "example": "3EB00000000000000000" + }, + "remoteJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey" + }, + "messageTimestamp": { + "type": "integer", + "example": 1705314600 + }, + "status": { + "type": "string", + "example": "PENDING" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "3EB00000000000000000" + }, + "text": { + "type": "string", + "example": "Hello World" + }, + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "Updates about Evolution API" + }, + "id": { + "type": "string", + "example": "1234567890@newsletter" + }, + "inviteCode": { + "type": "string", + "example": "AbCdEfGh1234" + }, + "name": { + "type": "string", + "example": "Evolution API Channel" + }, + "subscriberCount": { + "type": "integer", + "example": 150 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "pairingCode": { + "type": "string", + "example": "ABC1DEF2" + } + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts": { + "type": "object", + "properties": { + "option_1_hash": { + "type": "integer", + "example": 5 + }, + "option_2_hash": { + "type": "integer", + "example": 3 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData": { + "type": "object", + "properties": { + "optionCounts": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts" + }, + "pollChatJid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "pollMessageId": { + "type": "string", + "example": "3EB00000000000000000" + }, + "totalVotes": { + "type": "integer", + "example": 10 + }, + "voters": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData": { + "type": "object", + "properties": { + "groupadd": { + "type": "string", + "example": "all" + }, + "last": { + "type": "string", + "example": "all" + }, + "online": { + "type": "string", + "example": "all" + }, + "profile": { + "type": "string", + "example": "all" + }, + "readreceipts": { + "type": "string", + "example": "all" + }, + "status": { + "type": "string", + "example": "all" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.QRData": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "1234567890" + }, + "qrcode": { + "type": "string", + "example": "1@...|..." + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ok" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData": { + "type": "object", + "properties": { + "pictureId": { + "type": "string", + "example": "1234567890" + }, + "status": { + "type": "string", + "example": "Hey there! I am using WhatsApp." + }, + "verifiedName": { + "type": "string", + "example": "John Doe" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData" + } + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData": { + "type": "object", + "properties": { + "timestamp": { + "type": "integer", + "example": 1705314600 + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData" + }, + "message": { + "type": "string", + "example": "success" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo": { + "type": "object", + "properties": { + "jid": { + "type": "string", + "example": "5511999999999@s.whatsapp.net" + }, + "name": { + "type": "string", + "example": "John Doe" + }, + "selectedOptions": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "option_1_hash" + ] + }, + "votedAt": { + "type": "string", + "example": "2024-01-15T10:30:00Z" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct": { + "type": "object", + "properties": { + "action": { + "$ref": "#/definitions/go_mau_fi_whatsmeow.ParticipantChange" + }, + "groupJid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + }, + "participants": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct": { + "type": "object", + "properties": { + "groupName": { + "type": "string" + }, + "participants": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "reset": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct": { + "type": "object", + "properties": { + "code": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct": { + "type": "object", + "properties": { + "groupJid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "groupJid": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct": { + "type": "object", + "properties": { + "groupJid": { + "type": "string" + }, + "image": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings": { + "type": "object", + "properties": { + "alwaysOnline": { + "type": "boolean" + }, + "ignoreGroups": { + "type": "boolean" + }, + "ignoreStatus": { + "type": "boolean" + }, + "msgRejectCall": { + "type": "string" + }, + "readMessages": { + "type": "boolean" + }, + "rejectCall": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance": { + "type": "object", + "properties": { + "alwaysOnline": { + "description": "Advanced Settings", + "type": "boolean" + }, + "client_name": { + "type": "string" + }, + "connected": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "disconnect_reason": { + "type": "string" + }, + "events": { + "type": "string" + }, + "expiration": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "ignoreGroups": { + "type": "boolean" + }, + "ignoreStatus": { + "type": "boolean" + }, + "jid": { + "type": "string" + }, + "msgRejectCall": { + "type": "string" + }, + "name": { + "type": "string" + }, + "natsEnable": { + "type": "string" + }, + "os_name": { + "type": "string" + }, + "proxy": { + "type": "string" + }, + "qrcode": { + "type": "string" + }, + "rabbitmqEnable": { + "type": "string" + }, + "readMessages": { + "type": "boolean" + }, + "rejectCall": { + "type": "boolean" + }, + "token": { + "type": "string" + }, + "webhook": { + "type": "string" + }, + "websocketEnable": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct": { + "type": "object", + "properties": { + "immediate": { + "type": "boolean" + }, + "natsEnable": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "rabbitmqEnable": { + "type": "string" + }, + "subscribe": { + "type": "array", + "items": { + "type": "string" + } + }, + "webhookUrl": { + "type": "string" + }, + "websocketEnable": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct": { + "type": "object", + "properties": { + "advancedSettings": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings" + }, + "instanceId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "proxy": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig" + }, + "token": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct": { + "type": "object", + "properties": { + "phone": { + "type": "string" + }, + "subscribe": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "port": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct": { + "type": "object", + "required": [ + "host", + "port" + ], + "properties": { + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "port": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct": { + "type": "object", + "properties": { + "jid": { + "type": "string" + }, + "labelId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct": { + "type": "object", + "properties": { + "color": { + "type": "integer" + }, + "deleted": { + "type": "boolean" + }, + "labelId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct": { + "type": "object", + "properties": { + "jid": { + "type": "string" + }, + "labelId": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct": { + "type": "object", + "properties": { + "isAudio": { + "type": "boolean" + }, + "number": { + "type": "string" + }, + "state": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + }, + "message": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct": { + "type": "object", + "properties": { + "chat": { + "type": "string" + }, + "messageId": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct": { + "type": "object", + "properties": { + "fromMe": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "number": { + "type": "string" + }, + "participant": { + "type": "string" + }, + "reaction": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct": { + "type": "object", + "properties": { + "key": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct": { + "type": "object", + "properties": { + "before_id": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "jid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct": { + "type": "object", + "properties": { + "jid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "vcard": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "imgUrl": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "text": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct": { + "type": "object", + "properties": { + "caption": { + "type": "string" + }, + "delay": { + "type": "integer" + }, + "filename": { + "type": "string" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "maxAnswer": { + "type": "integer" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "string" + } + }, + "question": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct": { + "type": "object", + "properties": { + "messageId": { + "type": "string" + }, + "participant": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "sticker": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct": { + "type": "object", + "properties": { + "delay": { + "type": "integer" + }, + "formatJid": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mentionAll": { + "type": "boolean" + }, + "mentionedJid": { + "type": "array", + "items": { + "type": "string" + } + }, + "number": { + "type": "string" + }, + "quoted": { + "$ref": "#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct" + }, + "text": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct": { + "type": "object", + "properties": { + "formatJid": { + "type": "boolean" + }, + "number": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct": { + "type": "object", + "properties": { + "number": { + "type": "string" + }, + "preview": { + "type": "boolean" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct": { + "type": "object", + "properties": { + "callAdd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "groupAdd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "lastSeen": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "online": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "profile": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "readReceipts": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct": { + "type": "object", + "properties": { + "image": { + "type": "string" + } + } + }, + "github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct": { + "type": "object", + "properties": { + "fullName": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "phone": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow.ParticipantChange": { + "type": "string", + "enum": [ + "add", + "remove", + "promote", + "demote" + ], + "x-enum-varnames": [ + "ParticipantChangeAdd", + "ParticipantChangeRemove", + "ParticipantChangePromote", + "ParticipantChangeDemote" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage": { + "type": "object", + "properties": { + "collectionID": { + "type": "string" + }, + "expectedMediaCount": { + "type": "integer" + }, + "hasGlobalCaption": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata": { + "type": "object", + "properties": { + "collectionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata": { + "type": "object", + "properties": { + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "responseTimestampMS": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo": { + "type": "object", + "properties": { + "clientInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo" + }, + "serverInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIThreadInfo_AIThreadClientInfo_UNKNOWN", + "AIThreadInfo_AIThreadClientInfo_DEFAULT", + "AIThreadInfo_AIThreadClientInfo_INCOGNITO" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata": { + "type": "object", + "properties": { + "ageCollectionEligible": { + "type": "boolean" + }, + "ageCollectionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType" + }, + "shouldTriggerAgeCollectionOnClient": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotAgeCollectionMetadata_O18_BINARY", + "BotAgeCollectionMetadata_WAFFLE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata": { + "type": "object", + "properties": { + "capabilities": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57 + ], + "x-enum-varnames": [ + "BotCapabilityMetadata_UNKNOWN", + "BotCapabilityMetadata_PROGRESS_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_HEADING", + "BotCapabilityMetadata_RICH_RESPONSE_NESTED_LIST", + "BotCapabilityMetadata_AI_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_THREAD_SURFING", + "BotCapabilityMetadata_RICH_RESPONSE_TABLE", + "BotCapabilityMetadata_RICH_RESPONSE_CODE", + "BotCapabilityMetadata_RICH_RESPONSE_STRUCTURED_RESPONSE", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_IMAGE", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_CONTROL", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_1", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_2", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_3", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_4", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_5", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_6", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_7", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_8", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_9", + "BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_10", + "BotCapabilityMetadata_RICH_RESPONSE_SUB_HEADING", + "BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE", + "BotCapabilityMetadata_AI_STUDIO_UGC_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_LATEX", + "BotCapabilityMetadata_RICH_RESPONSE_MAPS", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_REELS", + "BotCapabilityMetadata_AGENTIC_PLANNING", + "BotCapabilityMetadata_ACCOUNT_LINKING", + "BotCapabilityMetadata_STREAMING_DISAGGREGATION", + "BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE_3P", + "BotCapabilityMetadata_RICH_RESPONSE_LATEX_INLINE", + "BotCapabilityMetadata_QUERY_PLAN", + "BotCapabilityMetadata_PROACTIVE_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_RESPONSE", + "BotCapabilityMetadata_PROMOTION_MESSAGE", + "BotCapabilityMetadata_SIMPLIFIED_PROFILE_PAGE", + "BotCapabilityMetadata_RICH_RESPONSE_SOURCES_IN_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_SIDE_BY_SIDE_SURVEY", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_TEXT_COMPONENT", + "BotCapabilityMetadata_AI_SHARED_MEMORY", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_SOURCES", + "BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS", + "BotCapabilityMetadata_RICH_RESPONSE_UR_INLINE_REELS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_MEDIA_GRID_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER", + "BotCapabilityMetadata_RICH_RESPONSE_IN_APP_SURVEY", + "BotCapabilityMetadata_AI_RESPONSE_MODEL_BRANDING", + "BotCapabilityMetadata_SESSION_TRANSPARENCY_SYSTEM_MESSAGE", + "BotCapabilityMetadata_RICH_RESPONSE_UR_REASONING", + "BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CITATIONS", + "BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL", + "BotCapabilityMetadata_AI_IMAGINE_LOADING_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE", + "BotCapabilityMetadata_AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR", + "BotCapabilityMetadata_RICH_RESPONSE_UR_BLOKS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_INLINE_LINKS_ENABLED", + "BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata": { + "type": "object", + "properties": { + "pluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotDocumentMessageMetadata_TEXT_EXTRACTION", + "BotDocumentMessageMetadata_OCR_AND_IMAGES" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage": { + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind" + }, + "kindNegative": { + "type": "integer" + }, + "kindPositive": { + "type": "integer" + }, + "kindReport": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind" + }, + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "sideBySideSurveyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14 + ], + "x-enum-varnames": [ + "BotFeedbackMessage_BOT_FEEDBACK_POSITIVE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_PERSONALIZED", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_CLARITY", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY", + "BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotFeedbackMessage_NONE", + "BotFeedbackMessage_GENERIC" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata": { + "type": "object", + "properties": { + "analyticsData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData" + }, + "isSelectedResponsePrimary": { + "type": "boolean" + }, + "messageIDToEdit": { + "type": "string" + }, + "metaAiAnalyticsData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData" + }, + "responseOtid": { + "type": "string" + }, + "responseTimestampMSString": { + "type": "string" + }, + "selectedRequestID": { + "type": "string" + }, + "simonSessionFbid": { + "type": "string" + }, + "surveyID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData": { + "type": "object", + "properties": { + "simonSessionFbid": { + "type": "string" + }, + "tessaEvent": { + "type": "string" + }, + "tessaSessionFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData": { + "type": "object", + "properties": { + "abandonEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData" + }, + "cardImpressionEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData" + }, + "ctaClickEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData" + }, + "ctaImpressionEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData" + }, + "primaryResponseID": { + "type": "string" + }, + "responseEvent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData" + }, + "surveyID": { + "type": "integer" + }, + "testArmName": { + "type": "string" + }, + "timestampMSString": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData": { + "type": "object", + "properties": { + "abandonDwellTimeMSString": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData": { + "type": "object", + "properties": { + "clickDwellTimeMSString": { + "type": "string" + }, + "isSurveyExpired": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData": { + "type": "object", + "properties": { + "isSurveyExpired": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData": { + "type": "object" + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData": { + "type": "object", + "properties": { + "responseDwellTimeMSString": { + "type": "string" + }, + "selectedResponseID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata": { + "type": "object", + "properties": { + "participantsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata": { + "type": "object", + "properties": { + "botFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata": { + "type": "object", + "properties": { + "imagineType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType" + }, + "shortPrompt": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotImagineMetadata_UNKNOWN", + "BotImagineMetadata_IMAGINE", + "BotImagineMetadata_MEMU", + "BotImagineMetadata_FLASH", + "BotImagineMetadata_EDIT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics": { + "type": "object", + "properties": { + "botBackend": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend" + }, + "isThinking": { + "type": "boolean" + }, + "toolsUsed": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotInfrastructureDiagnostics_AAPI", + "BotInfrastructureDiagnostics_CLIPPY" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "BotLinkedAccount_BOT_LINKED_ACCOUNT_TYPE_1P" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata": { + "type": "object", + "properties": { + "acAuthTokens": { + "type": "array", + "items": { + "type": "integer" + } + }, + "acErrorCode": { + "type": "integer" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "string" + }, + "fileSHA256": { + "type": "string" + }, + "mediaKey": { + "type": "string" + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "orientationType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotMediaMetadata_CENTER", + "BotMediaMetadata_LEFT", + "BotMediaMetadata_RIGHT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact": { + "type": "object", + "properties": { + "fact": { + "type": "string" + }, + "factID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata": { + "type": "object", + "properties": { + "addedFacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact" + } + }, + "disclaimer": { + "type": "string" + }, + "removedFacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata": { + "type": "object", + "properties": { + "faceImages": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata": { + "type": "object", + "properties": { + "origins": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "BotMessageOrigin_BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo": { + "type": "object", + "properties": { + "botEntryPointOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint" + }, + "forwardScore": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata": { + "type": "object", + "properties": { + "aiConversationContext": { + "type": "array", + "items": { + "type": "integer" + } + }, + "aiMediaCollectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata" + }, + "botAgeCollectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata" + }, + "botDocumentMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata" + }, + "botGroupMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata" + }, + "botInfrastructureDiagnostics": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics" + }, + "botLinkedAccountsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata" + }, + "botMessageOriginMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata" + }, + "botMetricsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata" + }, + "botModeSelectionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata" + }, + "botPromotionMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata" + }, + "botQuotaMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata" + }, + "botRenderingConfigMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata" + }, + "botResponseID": { + "type": "string" + }, + "botThreadInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo" + }, + "capabilityMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata" + }, + "conversationStarterPromptID": { + "type": "string" + }, + "imagineMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata" + }, + "inThreadSurveyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata" + }, + "internalMetadata": { + "type": "array", + "items": { + "type": "integer" + } + }, + "invokerJID": { + "type": "string" + }, + "memoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata" + }, + "memuMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata" + }, + "messageDisclaimerText": { + "type": "string" + }, + "modelMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata" + }, + "personaID": { + "type": "string" + }, + "pluginMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata" + }, + "progressIndicatorMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata" + }, + "regenerateMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata" + }, + "reminderMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata" + }, + "renderingMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata" + }, + "richResponseSourcesMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata" + }, + "sessionMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata" + }, + "sessionTransparencyMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata" + }, + "suggestedPromptMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata" + }, + "timezone": { + "type": "string" + }, + "unifiedResponseMutation": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation" + }, + "verificationMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 45, + 46, + 47, + 54 + ], + "x-enum-varnames": [ + "BotMetricsEntryPoint_UNDEFINED_ENTRY_POINT", + "BotMetricsEntryPoint_FAVICON", + "BotMetricsEntryPoint_CHATLIST", + "BotMetricsEntryPoint_AISEARCH_NULL_STATE_PAPER_PLANE", + "BotMetricsEntryPoint_AISEARCH_NULL_STATE_SUGGESTION", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_SUGGESTION", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_PAPER_PLANE", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_CHATLIST", + "BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_MESSAGES", + "BotMetricsEntryPoint_AIVOICE_SEARCH_BAR", + "BotMetricsEntryPoint_AIVOICE_FAVICON", + "BotMetricsEntryPoint_AISTUDIO", + "BotMetricsEntryPoint_DEEPLINK", + "BotMetricsEntryPoint_NOTIFICATION", + "BotMetricsEntryPoint_PROFILE_MESSAGE_BUTTON", + "BotMetricsEntryPoint_FORWARD", + "BotMetricsEntryPoint_APP_SHORTCUT", + "BotMetricsEntryPoint_FF_FAMILY", + "BotMetricsEntryPoint_AI_TAB", + "BotMetricsEntryPoint_AI_HOME", + "BotMetricsEntryPoint_AI_DEEPLINK_IMMERSIVE", + "BotMetricsEntryPoint_AI_DEEPLINK", + "BotMetricsEntryPoint_META_AI_CHAT_SHORTCUT_AI_STUDIO", + "BotMetricsEntryPoint_UGC_CHAT_SHORTCUT_AI_STUDIO", + "BotMetricsEntryPoint_NEW_CHAT_AI_STUDIO", + "BotMetricsEntryPoint_AIVOICE_FAVICON_CALL_HISTORY", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_1ON1", + "BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_GROUP", + "BotMetricsEntryPoint_INVOKE_META_AI_1ON1", + "BotMetricsEntryPoint_INVOKE_META_AI_GROUP", + "BotMetricsEntryPoint_META_AI_FORWARD", + "BotMetricsEntryPoint_NEW_CHAT_AI_CONTACT", + "BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_1_ON_1_CHAT", + "BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_GROUP_CHAT", + "BotMetricsEntryPoint_ATTACHMENT_TRAY_1_ON_1_CHAT", + "BotMetricsEntryPoint_ATTACHMENT_TRAY_GROUP_CHAT", + "BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_1ON1", + "BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_GROUP", + "BotMetricsEntryPoint_MEDIA_PICKER_1_ON_1_CHAT", + "BotMetricsEntryPoint_MEDIA_PICKER_GROUP_CHAT", + "BotMetricsEntryPoint_ASK_META_AI_NO_SEARCH_RESULTS", + "BotMetricsEntryPoint_META_AI_SETTINGS", + "BotMetricsEntryPoint_WEB_INTRO_PANEL", + "BotMetricsEntryPoint_WEB_NAVIGATION_BAR", + "BotMetricsEntryPoint_GROUP_MEMBER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata": { + "type": "object", + "properties": { + "destinationEntryPoint": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint" + }, + "destinationID": { + "type": "string" + }, + "threadOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "BotMetricsThreadEntryPoint_AI_TAB_THREAD", + "BotMetricsThreadEntryPoint_AI_HOME_THREAD", + "BotMetricsThreadEntryPoint_AI_DEEPLINK_IMMERSIVE_THREAD", + "BotMetricsThreadEntryPoint_AI_DEEPLINK_THREAD", + "BotMetricsThreadEntryPoint_ASK_META_AI_CONTEXT_MENU_THREAD" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata": { + "type": "object", + "properties": { + "mode": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode" + } + }, + "overrideMode": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotModeSelectionMetadata_DEFAULT_MODE", + "BotModeSelectionMetadata_THINK_HARD_MODE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata": { + "type": "object", + "properties": { + "modelNameOverride": { + "type": "string" + }, + "modelType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType" + }, + "premiumModelStatus": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotModelMetadata_UNKNOWN_TYPE", + "BotModelMetadata_LLAMA_PROD", + "BotModelMetadata_LLAMA_PROD_PREMIUM" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotModelMetadata_UNKNOWN_STATUS", + "BotModelMetadata_AVAILABLE", + "BotModelMetadata_QUOTA_EXCEED_LIMIT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata": { + "type": "object", + "properties": { + "deprecatedField": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "expectedLinksCount": { + "type": "integer" + }, + "faviconCDNURL": { + "type": "string" + }, + "parentPluginMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "parentPluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "pluginType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType" + }, + "profilePhotoCDNURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider" + }, + "referenceIndex": { + "type": "integer" + }, + "searchProviderURL": { + "type": "string" + }, + "searchQuery": { + "type": "string" + }, + "thumbnailCDNURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotPluginMetadata_UNKNOWN_PLUGIN", + "BotPluginMetadata_REELS", + "BotPluginMetadata_SEARCH" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotPluginMetadata_UNKNOWN", + "BotPluginMetadata_BING", + "BotPluginMetadata_GOOGLE", + "BotPluginMetadata_SUPPORT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata": { + "type": "object", + "properties": { + "estimatedCompletionTime": { + "type": "integer" + }, + "progressDescription": { + "type": "string" + }, + "stepsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata": { + "type": "object", + "properties": { + "isEnhancedSearch": { + "type": "boolean" + }, + "isReasoning": { + "type": "boolean" + }, + "sections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata" + } + }, + "sourcesMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata" + } + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus" + }, + "statusBody": { + "type": "string" + }, + "statusTitle": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata": { + "type": "object", + "properties": { + "favIconURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider" + }, + "sourceURL": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata": { + "type": "object", + "properties": { + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider" + }, + "sourceTitle": { + "type": "string" + }, + "sourceURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_UNKNOWN", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_OTHER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_GOOGLE", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BING" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata": { + "type": "object", + "properties": { + "sectionBody": { + "type": "string" + }, + "sectionTitle": { + "type": "string" + }, + "sourcesMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN_PROVIDER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_OTHER", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_GOOGLE", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_BING" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_PLANNED", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_EXECUTING", + "BotProgressIndicatorMetadata_BotPlanningStepMetadata_FINISHED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata": { + "type": "object", + "properties": { + "buttonTitle": { + "type": "string" + }, + "promotionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotPromotionMessageMetadata_UNKNOWN_TYPE", + "BotPromotionMessageMetadata_C50", + "BotPromotionMessageMetadata_SURVEY_PLATFORM" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion": { + "type": "object", + "properties": { + "prompt": { + "type": "string" + }, + "promptID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions": { + "type": "object", + "properties": { + "suggestions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata": { + "type": "object", + "properties": { + "botFeatureQuotaMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata": { + "type": "object", + "properties": { + "expirationTimestamp": { + "type": "integer" + }, + "featureType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType" + }, + "remainingQuota": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "BotQuotaMetadata_BotFeatureQuotaMetadata_UNKNOWN_FEATURE", + "BotQuotaMetadata_BotFeatureQuotaMetadata_REASONING_FEATURE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata": { + "type": "object", + "properties": { + "action": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction" + }, + "frequency": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency" + }, + "name": { + "type": "string" + }, + "nextTriggerTimestamp": { + "type": "integer" + }, + "requestMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotReminderMetadata_NOTIFY", + "BotReminderMetadata_CREATE", + "BotReminderMetadata_DELETE", + "BotReminderMetadata_UPDATE" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "BotReminderMetadata_ONCE", + "BotReminderMetadata_DAILY", + "BotReminderMetadata_WEEKLY", + "BotReminderMetadata_BIWEEKLY", + "BotReminderMetadata_MONTHLY" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata": { + "type": "object", + "properties": { + "bloksVersioningID": { + "type": "string" + }, + "pixelDensity": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata": { + "type": "object", + "properties": { + "keywords": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword": { + "type": "object", + "properties": { + "associatedPrompts": { + "type": "array", + "items": { + "type": "string" + } + }, + "value": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata": { + "type": "object", + "properties": { + "sessionID": { + "type": "string" + }, + "sessionSource": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "BotSessionSource_NONE", + "BotSessionSource_NULL_STATE", + "BotSessionSource_TYPEAHEAD", + "BotSessionSource_USER_INPUT", + "BotSessionSource_EMU_FLASH", + "BotSessionSource_EMU_FLASH_FOLLOWUP", + "BotSessionSource_VOICE", + "BotSessionSource_AI_HOME_SESSION" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata": { + "type": "object", + "properties": { + "proofs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof": { + "type": "object", + "properties": { + "certificateChain": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "signature": { + "type": "array", + "items": { + "type": "integer" + } + }, + "useCase": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase" + }, + "version": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BotSignatureVerificationUseCaseProof_UNSPECIFIED", + "BotSignatureVerificationUseCaseProof_WA_BOT_MSG", + "BotSignatureVerificationUseCaseProof_WA_TEE_BOT_MSG" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata": { + "type": "object", + "properties": { + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem": { + "type": "object", + "properties": { + "citationNumber": { + "type": "integer" + }, + "faviconCDNURL": { + "type": "string" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider" + }, + "sourceProviderURL": { + "type": "string" + }, + "sourceQuery": { + "type": "string" + }, + "sourceTitle": { + "type": "string" + }, + "thumbnailCDNURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "BotSourcesMetadata_BotSourceItem_UNKNOWN", + "BotSourcesMetadata_BotSourceItem_BING", + "BotSourcesMetadata_BotSourceItem_GOOGLE", + "BotSourcesMetadata_BotSourceItem_SUPPORT", + "BotSourcesMetadata_BotSourceItem_OTHER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata": { + "type": "object", + "properties": { + "promptSuggestions": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions" + }, + "selectedPromptID": { + "type": "string" + }, + "selectedPromptIndex": { + "type": "integer" + }, + "suggestedPrompts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation": { + "type": "object", + "properties": { + "mediaDetailsMetadataList": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata" + } + }, + "sbsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "highResMedia": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + }, + "previewMedia": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata": { + "type": "object", + "properties": { + "primaryResponseID": { + "type": "string" + }, + "surveyCtaHasRendered": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo": { + "type": "object", + "properties": { + "botJID": { + "type": "string" + }, + "botName": { + "type": "string" + }, + "creatorName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata": { + "type": "object", + "properties": { + "feedbackToastText": { + "type": "string" + }, + "invitationBodyText": { + "type": "string" + }, + "invitationCtaText": { + "type": "string" + }, + "invitationCtaURL": { + "type": "string" + }, + "invitationHeaderText": { + "type": "string" + }, + "privacyStatementFull": { + "type": "string" + }, + "privacyStatementParts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart" + } + }, + "questions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion" + } + }, + "requestID": { + "type": "string" + }, + "simonSessionID": { + "type": "string" + }, + "simonSurveyID": { + "type": "string" + }, + "startQuestionIndex": { + "type": "integer" + }, + "surveyContinueButtonText": { + "type": "string" + }, + "surveySubmitButtonText": { + "type": "string" + }, + "surveyTitle": { + "type": "string" + }, + "tessaEvent": { + "type": "string" + }, + "tessaRootID": { + "type": "string" + }, + "tessaSessionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption": { + "type": "object", + "properties": { + "numericValue": { + "type": "integer" + }, + "stringValue": { + "type": "string" + }, + "textTranslated": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion": { + "type": "object", + "properties": { + "questionID": { + "type": "string" + }, + "questionOptions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption" + } + }, + "questionText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata": { + "type": "object", + "properties": { + "disclaimerText": { + "type": "string" + }, + "hcaID": { + "type": "string" + }, + "sessionTransparencyType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "SessionTransparencyType_UNKNOWN_TYPE", + "SessionTransparencyType_NY_AI_SAFETY_DISCLAIMER" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata": { + "type": "object", + "properties": { + "codeBlocks": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock" + } + }, + "codeLanguage": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock": { + "type": "object", + "properties": { + "codeContent": { + "type": "string" + }, + "highlightType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER", + "AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata": { + "type": "object", + "properties": { + "contentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType" + }, + "itemsMetadata": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata": { + "type": "object", + "properties": { + "airichResponseContentItem": { + "description": "Types that are valid to be assigned to AIRichResponseContentItem:\n\n\t*AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata_ReelItem" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "AIRichResponseContentItemsMetadata_DEFAULT", + "AIRichResponseContentItemsMetadata_CAROUSEL" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "loopCount": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType" + }, + "version": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN", + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE", + "AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata": { + "type": "object", + "properties": { + "gridImageURL": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + }, + "imageURLs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL": { + "type": "object", + "properties": { + "imageHighResURL": { + "type": "string" + }, + "imagePreviewURL": { + "type": "string" + }, + "sourceURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata": { + "type": "object", + "properties": { + "alignment": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment" + }, + "imageText": { + "type": "string" + }, + "imageURL": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL" + }, + "tapLinkURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED", + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED", + "AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata": { + "type": "object", + "properties": { + "expressions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression" + } + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "fontHeight": { + "type": "number" + }, + "height": { + "type": "number" + }, + "imageBottomPadding": { + "type": "number" + }, + "imageLeadingPadding": { + "type": "number" + }, + "imageTopPadding": { + "type": "number" + }, + "imageTrailingPadding": { + "type": "number" + }, + "latexExpression": { + "type": "string" + }, + "width": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata": { + "type": "object", + "properties": { + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation" + } + }, + "centerLatitude": { + "type": "number" + }, + "centerLongitude": { + "type": "number" + }, + "latitudeDelta": { + "type": "number" + }, + "longitudeDelta": { + "type": "number" + }, + "showInfoList": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation": { + "type": "object", + "properties": { + "annotationNumber": { + "type": "integer" + }, + "body": { + "type": "string" + }, + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_UNKNOWN", + "AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_STANDARD" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage": { + "type": "object", + "properties": { + "codeMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata" + }, + "contentItemsMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata" + }, + "dynamicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata" + }, + "gridImageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata" + }, + "imageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata" + }, + "latexMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata" + }, + "mapMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata" + }, + "messageText": { + "type": "string" + }, + "messageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType" + }, + "tableMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9 + ], + "x-enum-varnames": [ + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_UNKNOWN", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_GRID_IMAGE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_TEXT", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_INLINE_IMAGE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_TABLE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_CODE", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_DYNAMIC", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_MAP", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_LATEX", + "AIRichResponseSubMessageType_AI_RICH_RESPONSE_CONTENT_ITEMS" + ] + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata": { + "type": "object", + "properties": { + "rows": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow": { + "type": "object", + "properties": { + "isHeading": { + "type": "boolean" + }, + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ADVEncryptionType_E2EE", + "ADVEncryptionType_HOSTED" + ] + }, + "go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig": { + "type": "object", + "properties": { + "completeOnDemandReady": { + "type": "boolean" + }, + "fullSyncDaysLimit": { + "type": "integer" + }, + "fullSyncSizeMbLimit": { + "type": "integer" + }, + "inlineInitialPayloadInE2EeMsg": { + "type": "boolean" + }, + "onDemandReady": { + "type": "boolean" + }, + "recentSyncDaysLimit": { + "type": "integer" + }, + "storageQuotaMb": { + "type": "integer" + }, + "supportAddOnHistorySyncMigration": { + "type": "boolean" + }, + "supportBizHostedMsg": { + "type": "boolean" + }, + "supportBotUserAgentChatHistory": { + "type": "boolean" + }, + "supportCagReactionsAndPolls": { + "type": "boolean" + }, + "supportCallLogHistory": { + "type": "boolean" + }, + "supportFbidBotChatHistory": { + "type": "boolean" + }, + "supportGroupHistory": { + "type": "boolean" + }, + "supportGuestChat": { + "type": "boolean" + }, + "supportHostedGroupMsg": { + "type": "boolean" + }, + "supportMessageAssociation": { + "type": "boolean" + }, + "supportRecentSyncChunkMessageCountTuning": { + "type": "boolean" + }, + "thumbnailSyncDaysLimit": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "messageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType" + }, + "submessages": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage" + } + }, + "unifiedResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ActionLink": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "buttonTitle": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "expectedImageCount": { + "type": "integer" + }, + "expectedVideoCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification": { + "type": "object", + "properties": { + "collectionNames": { + "type": "array", + "items": { + "type": "string" + } + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey": { + "type": "object", + "properties": { + "keyData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData" + }, + "keyID": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData": { + "type": "object", + "properties": { + "fingerprint": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint" + }, + "keyData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint": { + "type": "object", + "properties": { + "currentIndex": { + "type": "integer" + }, + "deviceIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "rawID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId": { + "type": "object", + "properties": { + "keyID": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest": { + "type": "object", + "properties": { + "keyIDs": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.AudioMessage": { + "type": "object", + "properties": { + "PTT": { + "type": "boolean" + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "backgroundArgb": { + "type": "integer" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "seconds": { + "type": "integer" + }, + "streamingSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "viewOnce": { + "type": "boolean" + }, + "waveform": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.BCallMessage": { + "type": "object", + "properties": { + "caption": { + "type": "string" + }, + "masterKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType" + }, + "sessionID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "BCallMessage_UNKNOWN", + "BCallMessage_AUDIO", + "BCallMessage_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage": { + "type": "object", + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button" + } + }, + "contentText": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footerText": { + "type": "string" + }, + "header": { + "description": "Types that are valid to be assigned to Header:\n\n\t*ButtonsMessage_Text\n\t*ButtonsMessage_DocumentMessage\n\t*ButtonsMessage_ImageMessage\n\t*ButtonsMessage_VideoMessage\n\t*ButtonsMessage_LocationMessage" + }, + "headerType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button": { + "type": "object", + "properties": { + "buttonID": { + "type": "string" + }, + "buttonText": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText" + }, + "nativeFlowInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText": { + "type": "object", + "properties": { + "displayText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "paramsJSON": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ButtonsMessage_Button_UNKNOWN", + "ButtonsMessage_Button_RESPONSE", + "ButtonsMessage_Button_NATIVE_FLOW" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "ButtonsMessage_UNKNOWN", + "ButtonsMessage_EMPTY", + "ButtonsMessage_TEXT", + "ButtonsMessage_DOCUMENT", + "ButtonsMessage_IMAGE", + "ButtonsMessage_VIDEO", + "ButtonsMessage_LOCATION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "response": { + "description": "Types that are valid to be assigned to Response:\n\n\t*ButtonsResponseMessage_SelectedDisplayText" + }, + "selectedButtonID": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ButtonsResponseMessage_UNKNOWN", + "ButtonsResponseMessage_DISPLAY_TEXT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.Call": { + "type": "object", + "properties": { + "callEntryPoint": { + "type": "integer" + }, + "callKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "conversionData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "conversionDelaySeconds": { + "type": "integer" + }, + "conversionSource": { + "type": "string" + }, + "ctwaPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "ctwaSignals": { + "type": "string" + }, + "deeplinkPayload": { + "type": "string" + }, + "messageContextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo" + }, + "nativeFlowCallButtonPayload": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage": { + "type": "object", + "properties": { + "callOutcome": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome" + }, + "callType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType" + }, + "durationSecs": { + "type": "integer" + }, + "isVideo": { + "type": "boolean" + }, + "participants": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "CallLogMessage_CONNECTED", + "CallLogMessage_MISSED", + "CallLogMessage_FAILED", + "CallLogMessage_REJECTED", + "CallLogMessage_ACCEPTED_ELSEWHERE", + "CallLogMessage_ONGOING", + "CallLogMessage_SILENCED_BY_DND", + "CallLogMessage_SILENCED_UNKNOWN_CALLER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant": { + "type": "object", + "properties": { + "JID": { + "type": "string" + }, + "callOutcome": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "CallLogMessage_REGULAR", + "CallLogMessage_SCHEDULED_CALL", + "CallLogMessage_VOICE_CHAT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Chat": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "displayName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification": { + "type": "object", + "properties": { + "consumerLid": { + "type": "string" + }, + "consumerPhoneNumber": { + "type": "string" + }, + "notificationContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent" + }, + "senderNotificationTimestampMS": { + "type": "integer" + }, + "shouldSuppressNotification": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "CloudAPIThreadControlNotification_UNKNOWN", + "CloudAPIThreadControlNotification_CONTROL_PASSED", + "CloudAPIThreadControlNotification_CONTROL_TAKEN" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent": { + "type": "object", + "properties": { + "extraJSON": { + "type": "string" + }, + "handoffNotificationText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.CommentMessage": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage": { + "type": "object", + "properties": { + "conditionalRevealMessageType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType" + }, + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "revealKeyID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ConditionalRevealMessage_UNKNOWN", + "ConditionalRevealMessage_SCHEDULED_MESSAGE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContactMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "displayName": { + "type": "string" + }, + "isSelfContact": { + "type": "boolean" + }, + "vcard": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage": { + "type": "object", + "properties": { + "contacts": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage" + } + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "displayName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo": { + "type": "object", + "properties": { + "actionLink": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ActionLink" + }, + "afterReadDuration": { + "type": "integer" + }, + "alwaysShowAdAttribution": { + "type": "boolean" + }, + "botMessageSharingInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo" + }, + "businessMessageForwardInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo" + }, + "conversionData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "conversionDelaySeconds": { + "type": "integer" + }, + "conversionSource": { + "type": "string" + }, + "ctwaPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "ctwaSignals": { + "type": "string" + }, + "dataSharingContext": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext" + }, + "disappearingMode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode" + }, + "entryPointConversionApp": { + "type": "string" + }, + "entryPointConversionDelaySeconds": { + "type": "integer" + }, + "entryPointConversionExternalMedium": { + "type": "string" + }, + "entryPointConversionExternalSource": { + "type": "string" + }, + "entryPointConversionSource": { + "type": "string" + }, + "ephemeralSettingTimestamp": { + "type": "integer" + }, + "ephemeralSharedSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "expiration": { + "type": "integer" + }, + "externalAdReply": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo" + }, + "featureEligibilities": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities" + }, + "forwardOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin" + }, + "forwardedAiBotMessageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo" + }, + "forwardedNewsletterMessageInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo" + }, + "forwardingScore": { + "type": "integer" + }, + "groupMentions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupMention" + } + }, + "groupSubject": { + "type": "string" + }, + "isForwarded": { + "type": "boolean" + }, + "isGroupStatus": { + "type": "boolean" + }, + "isQuestion": { + "type": "boolean" + }, + "isSampled": { + "type": "boolean" + }, + "isSpoiler": { + "type": "boolean" + }, + "mediaDomainInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo" + }, + "memberLabel": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel" + }, + "mentionedJID": { + "type": "array", + "items": { + "type": "string" + } + }, + "nonJIDMentions": { + "type": "integer" + }, + "pairedMediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType" + }, + "parentGroupJID": { + "type": "string" + }, + "partiallySelectedContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent" + }, + "participant": { + "type": "string" + }, + "placeholderKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "questionReplyQuotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage" + }, + "quotedAd": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo" + }, + "quotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "quotedType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType" + }, + "rankingVersion": { + "type": "integer" + }, + "remoteJID": { + "type": "string" + }, + "smbClientCampaignID": { + "type": "string" + }, + "smbServerCampaignID": { + "type": "string" + }, + "stanzaID": { + "type": "string" + }, + "statusAttributionType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType" + }, + "statusAttributions": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution" + } + }, + "statusAudienceMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata" + }, + "statusSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType" + }, + "trustBannerAction": { + "type": "integer" + }, + "trustBannerType": { + "type": "string" + }, + "urlTrackingMap": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap" + }, + "utm": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "advertiserName": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ContextInfo_AdReplyInfo_NONE", + "ContextInfo_AdReplyInfo_IMAGE", + "ContextInfo_AdReplyInfo_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo": { + "type": "object", + "properties": { + "businessOwnerJID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext": { + "type": "object", + "properties": { + "dataSharingFlags": { + "type": "integer" + }, + "encryptedSignalTokenConsented": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters" + } + }, + "showMmDisclosure": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters": { + "type": "object", + "properties": { + "contents": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters" + }, + "floatData": { + "type": "number" + }, + "intData": { + "type": "integer" + }, + "key": { + "type": "string" + }, + "stringData": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo": { + "type": "object", + "properties": { + "adContextPreviewDismissed": { + "type": "boolean" + }, + "adPreviewURL": { + "type": "string" + }, + "adType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType" + }, + "automatedGreetingMessageCtaType": { + "type": "string" + }, + "automatedGreetingMessageShown": { + "type": "boolean" + }, + "body": { + "type": "string" + }, + "clickToWhatsappCall": { + "type": "boolean" + }, + "containsAutoReply": { + "type": "boolean" + }, + "ctaPayload": { + "type": "string" + }, + "ctwaClid": { + "type": "string" + }, + "disableNudge": { + "type": "boolean" + }, + "greetingMessageBody": { + "type": "string" + }, + "mediaType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType" + }, + "mediaURL": { + "type": "string" + }, + "originalImageURL": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "renderLargerThumbnail": { + "type": "boolean" + }, + "showAdAttribution": { + "type": "boolean" + }, + "sourceApp": { + "type": "string" + }, + "sourceID": { + "type": "string" + }, + "sourceType": { + "type": "string" + }, + "sourceURL": { + "type": "string" + }, + "thumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailURL": { + "type": "string" + }, + "title": { + "type": "string" + }, + "wtwaAdFormat": { + "type": "boolean" + }, + "wtwaWebsiteURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_ExternalAdReplyInfo_CTWA", + "ContextInfo_ExternalAdReplyInfo_CAWC" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ContextInfo_ExternalAdReplyInfo_NONE", + "ContextInfo_ExternalAdReplyInfo_IMAGE", + "ContextInfo_ExternalAdReplyInfo_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities": { + "type": "object", + "properties": { + "canBeReshared": { + "type": "boolean" + }, + "canReceiveMultiReact": { + "type": "boolean" + }, + "canRequestFeedback": { + "type": "boolean" + }, + "cannotBeRanked": { + "type": "boolean" + }, + "cannotBeReactedTo": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "ContextInfo_UNKNOWN", + "ContextInfo_CHAT", + "ContextInfo_STATUS", + "ContextInfo_CHANNELS", + "ContextInfo_META_AI", + "ContextInfo_UGC" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo": { + "type": "object", + "properties": { + "accessibilityText": { + "type": "string" + }, + "contentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + }, + "profileName": { + "type": "string" + }, + "serverMessageID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ContextInfo_ForwardedNewsletterMessageInfo_UPDATE", + "ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD", + "ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "ContextInfo_NOT_PAIRED_MEDIA", + "ContextInfo_SD_VIDEO_PARENT", + "ContextInfo_HD_VIDEO_CHILD", + "ContextInfo_SD_IMAGE_PARENT", + "ContextInfo_HD_IMAGE_CHILD", + "ContextInfo_MOTION_PHOTO_PARENT", + "ContextInfo_MOTION_PHOTO_CHILD", + "ContextInfo_HEVC_VIDEO_PARENT", + "ContextInfo_HEVC_VIDEO_CHILD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent": { + "type": "object", + "properties": { + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage": { + "type": "object", + "properties": { + "quotedQuestion": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "quotedResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "serverQuestionID": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_EXPLICIT", + "ContextInfo_AUTO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "x-enum-varnames": [ + "ContextInfo_NONE", + "ContextInfo_RESHARED_FROM_MENTION", + "ContextInfo_RESHARED_FROM_POST", + "ContextInfo_RESHARED_FROM_POST_MANY_TIMES", + "ContextInfo_FORWARDED_FROM_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata": { + "type": "object", + "properties": { + "audienceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType" + }, + "listEmoji": { + "type": "string" + }, + "listName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ContextInfo_StatusAudienceMetadata_UNKNOWN", + "ContextInfo_StatusAudienceMetadata_CLOSE_FRIENDS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "ContextInfo_IMAGE", + "ContextInfo_VIDEO", + "ContextInfo_GIF", + "ContextInfo_AUDIO", + "ContextInfo_TEXT", + "ContextInfo_MUSIC_STANDALONE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo": { + "type": "object", + "properties": { + "utmCampaign": { + "type": "string" + }, + "utmSource": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata": { + "type": "object", + "properties": { + "receiverAccountType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType" + }, + "recipientKeyHash": { + "type": "array", + "items": { + "type": "integer" + } + }, + "recipientKeyIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "recipientTimestamp": { + "type": "integer" + }, + "senderAccountType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType" + }, + "senderKeyHash": { + "type": "array", + "items": { + "type": "integer" + } + }, + "senderKeyIndexes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "senderTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage": { + "type": "object", + "properties": { + "destinationJID": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "phash": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode": { + "type": "object", + "properties": { + "initiatedByMe": { + "type": "boolean" + }, + "initiator": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator" + }, + "initiatorDeviceJID": { + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "DisappearingMode_CHANGED_IN_CHAT", + "DisappearingMode_INITIATED_BY_ME", + "DisappearingMode_INITIATED_BY_OTHER", + "DisappearingMode_BIZ_UPGRADE_FB_HOSTING" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "DisappearingMode_UNKNOWN", + "DisappearingMode_CHAT_SETTING", + "DisappearingMode_ACCOUNT_SETTING", + "DisappearingMode_BULK_CHANGE", + "DisappearingMode_BIZ_SUPPORTS_FB_HOSTING", + "DisappearingMode_UNKNOWN_GROUPS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "caption": { + "type": "string" + }, + "contactVcard": { + "type": "boolean" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "pageCount": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent": { + "type": "object", + "properties": { + "content": { + "description": "Types that are valid to be assigned to Content:\n\n\t*EmbeddedContent_EmbeddedMessage\n\t*EmbeddedContent_EmbeddedMusic" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic": { + "type": "object", + "properties": { + "artistAttribution": { + "type": "string" + }, + "artworkDirectPath": { + "type": "string" + }, + "artworkEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "artworkMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "artworkSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "author": { + "type": "string" + }, + "countryBlocklist": { + "type": "array", + "items": { + "type": "integer" + } + }, + "derivedContentStartTimeInMS": { + "type": "integer" + }, + "isExplicit": { + "type": "boolean" + }, + "musicContentMediaID": { + "type": "string" + }, + "musicSongStartTimeInMS": { + "type": "integer" + }, + "overlapDurationInMS": { + "type": "integer" + }, + "songID": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "eventCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.EventMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "endTime": { + "type": "integer" + }, + "extraGuestsAllowed": { + "type": "boolean" + }, + "hasReminder": { + "type": "boolean" + }, + "isCanceled": { + "type": "boolean" + }, + "isScheduleCall": { + "type": "boolean" + }, + "joinLink": { + "type": "string" + }, + "location": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage" + }, + "name": { + "type": "string" + }, + "reminderOffsetSec": { + "type": "integer" + }, + "startTime": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "backgroundArgb": { + "type": "integer" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "doNotPlayInline": { + "type": "boolean" + }, + "endCardTiles": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard" + } + }, + "faviconMMSMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata" + }, + "font": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType" + }, + "inviteLinkGroupType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType" + }, + "inviteLinkGroupTypeV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType" + }, + "inviteLinkParentGroupSubjectV2": { + "type": "string" + }, + "inviteLinkParentGroupThumbnailV2": { + "type": "array", + "items": { + "type": "integer" + } + }, + "linkPreviewMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata" + }, + "matchedText": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "musicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic" + }, + "paymentExtendedMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata" + }, + "paymentLinkMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata" + }, + "previewType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType" + }, + "text": { + "type": "string" + }, + "textArgb": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "title": { + "type": "string" + }, + "videoContentURL": { + "type": "string" + }, + "videoHeight": { + "type": "integer" + }, + "videoWidth": { + "type": "integer" + }, + "viewOnce": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 6, + 7, + 8, + 9, + 10 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_SYSTEM", + "ExtendedTextMessage_SYSTEM_TEXT", + "ExtendedTextMessage_FB_SCRIPT", + "ExtendedTextMessage_SYSTEM_BOLD", + "ExtendedTextMessage_MORNINGBREEZE_REGULAR", + "ExtendedTextMessage_CALISTOGA_REGULAR", + "ExtendedTextMessage_EXO2_EXTRABOLD", + "ExtendedTextMessage_COURIERPRIME_BOLD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_DEFAULT", + "ExtendedTextMessage_PARENT", + "ExtendedTextMessage_SUB", + "ExtendedTextMessage_DEFAULT_SUB" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 4, + 5, + 6, + 7 + ], + "x-enum-varnames": [ + "ExtendedTextMessage_NONE", + "ExtendedTextMessage_VIDEO", + "ExtendedTextMessage_PLACEHOLDER", + "ExtendedTextMessage_IMAGE", + "ExtendedTextMessage_PAYMENT_LINKS", + "ExtendedTextMessage_PROFILE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig": { + "type": "object", + "properties": { + "historyDurationDays": { + "type": "integer" + }, + "historyFromTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata": { + "type": "object", + "properties": { + "businessProduct": { + "type": "string" + }, + "opaqueClientData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "requestID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage": { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "groupJID": { + "type": "string" + }, + "groupName": { + "type": "string" + }, + "groupType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType" + }, + "inviteCode": { + "type": "string" + }, + "inviteExpiration": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "GroupInviteMessage_DEFAULT", + "GroupInviteMessage_PARENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.GroupMention": { + "type": "object", + "properties": { + "groupJID": { + "type": "string" + }, + "groupSubject": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage": { + "type": "object", + "properties": { + "deterministicLc": { + "type": "string" + }, + "deterministicLg": { + "type": "string" + }, + "elementName": { + "type": "string" + }, + "fallbackLc": { + "type": "string" + }, + "fallbackLg": { + "type": "string" + }, + "hydratedHsm": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage" + }, + "localizableParams": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter" + } + }, + "namespace": { + "type": "string" + }, + "params": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter": { + "type": "object", + "properties": { + "default": { + "type": "string" + }, + "paramOneof": { + "description": "Types that are valid to be assigned to ParamOneof:\n\n\t*HighlyStructuredMessage_HSMLocalizableParameter_Currency\n\t*HighlyStructuredMessage_HSMLocalizableParameter_DateTime" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus": { + "type": "object", + "properties": { + "completeAccessGranted": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification": { + "type": "object", + "properties": { + "chunkOrder": { + "type": "integer" + }, + "directPath": { + "type": "string" + }, + "encHandle": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fullHistorySyncOnDemandRequestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + }, + "initialHistBootstrapInlinePayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "messageAccessStatus": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus" + }, + "oldestMsgInChunkTimestampSec": { + "type": "integer" + }, + "originalMessageID": { + "type": "string" + }, + "peerDataRequestSessionID": { + "type": "string" + }, + "progress": { + "type": "integer" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "HistorySyncType_INITIAL_BOOTSTRAP", + "HistorySyncType_INITIAL_STATUS_V3", + "HistorySyncType_FULL", + "HistorySyncType_RECENT", + "HistorySyncType_PUSH_NAME", + "HistorySyncType_NON_BLOCKING_DATA", + "HistorySyncType_ON_DEMAND", + "HistorySyncType_NO_HISTORY", + "HistorySyncType_MESSAGE_ACCESS_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton": { + "type": "object", + "properties": { + "hydratedButton": { + "description": "Types that are valid to be assigned to HydratedButton:\n\n\t*HydratedTemplateButton_QuickReplyButton\n\t*HydratedTemplateButton_UrlButton\n\t*HydratedTemplateButton_CallButton" + }, + "index": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ImageMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "experimentGroupID": { + "type": "integer" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "firstScanLength": { + "type": "integer" + }, + "firstScanSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "imageSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType" + }, + "interactiveAnnotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "midQualityFileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "midQualityFileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mimetype": { + "type": "string" + }, + "qrURL": { + "type": "string" + }, + "scanLengths": { + "type": "array", + "items": { + "type": "integer" + } + }, + "scansSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "staticURL": { + "type": "string" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "viewOnce": { + "type": "boolean" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ImageMessage_USER_IMAGE", + "ImageMessage_AI_GENERATED", + "ImageMessage_AI_MODIFIED", + "ImageMessage_RASTERIZED_TEXT_STATUS" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync": { + "type": "object", + "properties": { + "securityNotificationEnabled": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation": { + "type": "object", + "properties": { + "action": { + "description": "Types that are valid to be assigned to Action:\n\n\t*InteractiveAnnotation_Location\n\t*InteractiveAnnotation_Newsletter\n\t*InteractiveAnnotation_EmbeddedAction\n\t*InteractiveAnnotation_TapAction" + }, + "embeddedContent": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent" + }, + "polygonVertices": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Point" + } + }, + "shouldSkipConfirmation": { + "type": "boolean" + }, + "statusLinkType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "InteractiveAnnotation_RASTERIZED_LINK_PREVIEW", + "InteractiveAnnotation_RASTERIZED_LINK_TRUNCATED", + "InteractiveAnnotation_RASTERIZED_LINK_FULL_URL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage": { + "type": "object", + "properties": { + "bloksWidget": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget" + }, + "body": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footer": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer" + }, + "header": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header" + }, + "interactiveMessage": { + "description": "Types that are valid to be assigned to InteractiveMessage:\n\n\t*InteractiveMessage_ShopStorefrontMessage\n\t*InteractiveMessage_CollectionMessage_\n\t*InteractiveMessage_NativeFlowMessage_\n\t*InteractiveMessage_CarouselMessage_" + }, + "urlTrackingMap": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget": { + "type": "object", + "properties": { + "data": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body": { + "type": "object", + "properties": { + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer": { + "type": "object", + "properties": { + "hasMediaAttachment": { + "type": "boolean" + }, + "media": { + "description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Footer_AudioMessage" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header": { + "type": "object", + "properties": { + "bloksWidget": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget" + }, + "hasMediaAttachment": { + "type": "boolean" + }, + "media": { + "description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Header_DocumentMessage\n\t*InteractiveMessage_Header_ImageMessage\n\t*InteractiveMessage_Header_JPEGThumbnail\n\t*InteractiveMessage_Header_VideoMessage\n\t*InteractiveMessage_Header_LocationMessage\n\t*InteractiveMessage_Header_ProductMessage" + }, + "subtitle": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "interactiveResponseMessage": { + "description": "Types that are valid to be assigned to InteractiveResponseMessage:\n\n\t*InteractiveResponseMessage_NativeFlowResponseMessage_" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body": { + "type": "object", + "properties": { + "format": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "InteractiveResponseMessage_Body_DEFAULT", + "InteractiveResponseMessage_Body_EXTENSIONS_1" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage": { + "type": "object", + "properties": { + "attachmentDirectPath": { + "type": "string" + }, + "attachmentFileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentFileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentJPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentMediaKeyTimestamp": { + "type": "integer" + }, + "attachmentMimetype": { + "type": "string" + }, + "attachmentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType" + }, + "note": { + "type": "string" + }, + "token": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "InvoiceMessage_IMAGE", + "InvoiceMessage_PDF" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage": { + "type": "object", + "properties": { + "keepType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepType" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "timestampMS": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.KeepType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "KeepType_UNKNOWN_KEEP_TYPE", + "KeepType_KEEP_FOR_ALL", + "KeepType_UNDO_KEEP_FOR_ALL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage": { + "type": "object", + "properties": { + "encodedMappingPayload": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata": { + "type": "object", + "properties": { + "fbExperimentID": { + "type": "integer" + }, + "linkInlineVideoMuted": { + "type": "boolean" + }, + "linkMediaDuration": { + "type": "integer" + }, + "musicMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic" + }, + "paymentLinkMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata" + }, + "socialMediaPostType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType" + }, + "urlMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.URLMetadata" + }, + "videoContentCaption": { + "type": "string" + }, + "videoContentURL": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "LinkPreviewMetadata_NONE", + "LinkPreviewMetadata_REEL", + "LinkPreviewMetadata_LIVE_VIDEO", + "LinkPreviewMetadata_LONG_VIDEO", + "LinkPreviewMetadata_SINGLE_IMAGE", + "LinkPreviewMetadata_CAROUSEL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage": { + "type": "object", + "properties": { + "buttonText": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "footerText": { + "type": "string" + }, + "listType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType" + }, + "productListInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo" + }, + "sections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ListMessage_UNKNOWN", + "ListMessage_SINGLE_SELECT", + "ListMessage_PRODUCT_LIST" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product": { + "type": "object", + "properties": { + "productID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "productID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo": { + "type": "object", + "properties": { + "businessOwnerJID": { + "type": "string" + }, + "headerImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage" + }, + "productSections": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection": { + "type": "object", + "properties": { + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "rowID": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section": { + "type": "object", + "properties": { + "rows": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "description": { + "type": "string" + }, + "listType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType" + }, + "singleSelectReply": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ListResponseMessage_UNKNOWN", + "ListResponseMessage_SINGLE_SELECT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply": { + "type": "object", + "properties": { + "selectedRowID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "accuracyInMeters": { + "type": "integer" + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "degreesClockwiseFromMagneticNorth": { + "type": "integer" + }, + "degreesLatitude": { + "type": "number" + }, + "degreesLongitude": { + "type": "number" + }, + "sequenceNumber": { + "type": "integer" + }, + "speedInMps": { + "type": "number" + }, + "timeOffset": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.LocationMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "URL": { + "type": "string" + }, + "accuracyInMeters": { + "type": "integer" + }, + "address": { + "type": "string" + }, + "comment": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "degreesClockwiseFromMagneticNorth": { + "type": "integer" + }, + "degreesLatitude": { + "type": "number" + }, + "degreesLongitude": { + "type": "number" + }, + "isLive": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "speedInMps": { + "type": "number" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata": { + "type": "object", + "properties": { + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo": { + "type": "object", + "properties": { + "e2EeMediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyDomain": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "MediaKeyDomain_MEDIA_KEY_DOMAIN_UNKNOWN", + "MediaKeyDomain_MEDIA_KEY_DOMAIN_E2EE", + "MediaKeyDomain_MEDIA_KEY_DOMAIN_NON_E2EE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage": { + "type": "object", + "properties": { + "expressPathURL": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MemberLabel": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "labelTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Message": { + "type": "object", + "properties": { + "albumMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage" + }, + "associatedChildMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "audioMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AudioMessage" + }, + "bcallMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage" + }, + "botForwardedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "botInvokeMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "botTaskMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "buttonsMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage" + }, + "buttonsResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage" + }, + "call": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Call" + }, + "callLogMesssage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage" + }, + "cancelPaymentRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage" + }, + "chat": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Chat" + }, + "commentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CommentMessage" + }, + "conditionalRevealMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage" + }, + "contactMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage" + }, + "contactsArrayMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage" + }, + "conversation": { + "type": "string" + }, + "declinePaymentRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage" + }, + "deviceSentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage" + }, + "documentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage" + }, + "documentWithCaptionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "editedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "encCommentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage" + }, + "encEventResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage" + }, + "encReactionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage" + }, + "ephemeralMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "eventCoverImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "eventMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EventMessage" + }, + "extendedTextMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage" + }, + "fastRatchetKeySenderKeyDistributionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage" + }, + "groupInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage" + }, + "groupMentionedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMentionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "groupStatusMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "highlyStructuredMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage" + }, + "imageMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "interactiveMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage" + }, + "interactiveResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage" + }, + "invoiceMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage" + }, + "keepInChatMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage" + }, + "limitSharingMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "listMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage" + }, + "listResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage" + }, + "liveLocationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage" + }, + "locationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage" + }, + "lottieStickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "messageContextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo" + }, + "messageHistoryBundle": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle" + }, + "messageHistoryNotice": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice" + }, + "newsletterAdminInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage" + }, + "newsletterAdminProfileMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "newsletterAdminProfileMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "newsletterFollowerInviteMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage" + }, + "orderMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage" + }, + "paymentInviteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage" + }, + "pinInChatMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage" + }, + "placeholderMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage" + }, + "pollAddOptionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage" + }, + "pollCreationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV3": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV4": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "pollCreationMessageV5": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationMessageV6": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage" + }, + "pollCreationOptionImageMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "pollResultSnapshotMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage" + }, + "pollResultSnapshotMessageV3": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage" + }, + "pollUpdateMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage" + }, + "productMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage" + }, + "protocolMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage" + }, + "ptvMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage" + }, + "questionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "questionReplyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "questionResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage" + }, + "reactionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage" + }, + "requestPaymentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage" + }, + "requestPhoneNumberMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage" + }, + "richResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage" + }, + "scheduledCallCreationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage" + }, + "scheduledCallEditMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage" + }, + "secretEncryptedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage" + }, + "sendPaymentMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage" + }, + "senderKeyDistributionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage" + }, + "spoilerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusAddYours": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusMentionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "statusNotificationMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage" + }, + "statusQuestionAnswerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage" + }, + "statusQuotedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage" + }, + "statusStickerInteractionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage" + }, + "stickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage" + }, + "stickerPackMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage" + }, + "stickerSyncRmrMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage" + }, + "templateButtonReplyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage" + }, + "templateMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage" + }, + "videoMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage" + }, + "viewOnceMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "viewOnceMessageV2": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + }, + "viewOnceMessageV2Extension": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation": { + "type": "object", + "properties": { + "associationType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType" + }, + "messageIndex": { + "type": "integer" + }, + "parentMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20 + ], + "x-enum-varnames": [ + "MessageAssociation_UNKNOWN", + "MessageAssociation_MEDIA_ALBUM", + "MessageAssociation_BOT_PLUGIN", + "MessageAssociation_EVENT_COVER_IMAGE", + "MessageAssociation_STATUS_POLL", + "MessageAssociation_HD_VIDEO_DUAL_UPLOAD", + "MessageAssociation_STATUS_EXTERNAL_RESHARE", + "MessageAssociation_MEDIA_POLL", + "MessageAssociation_STATUS_ADD_YOURS", + "MessageAssociation_STATUS_NOTIFICATION", + "MessageAssociation_HD_IMAGE_DUAL_UPLOAD", + "MessageAssociation_STICKER_ANNOTATION", + "MessageAssociation_MOTION_PHOTO", + "MessageAssociation_STATUS_LINK_ACTION", + "MessageAssociation_VIEW_ALL_REPLIES", + "MessageAssociation_STATUS_ADD_YOURS_AI_IMAGINE", + "MessageAssociation_STATUS_QUESTION", + "MessageAssociation_STATUS_ADD_YOURS_DIWALI", + "MessageAssociation_STATUS_REACTION", + "MessageAssociation_HEVC_VIDEO_DUAL_UPLOAD", + "MessageAssociation_POLL_ADD_OPTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo": { + "type": "object", + "properties": { + "botMessageSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "botMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata" + }, + "capiCreatedGroup": { + "type": "boolean" + }, + "deviceListMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata" + }, + "deviceListMetadataVersion": { + "type": "integer" + }, + "limitSharing": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "limitSharingV2": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "messageAddOnDurationInSecs": { + "type": "integer" + }, + "messageAddOnExpiryType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType" + }, + "messageAssociation": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation" + }, + "messageSecret": { + "type": "array", + "items": { + "type": "integer" + } + }, + "paddingBytes": { + "type": "array", + "items": { + "type": "integer" + } + }, + "reportingTokenVersion": { + "type": "integer" + }, + "supportPayload": { + "type": "string" + }, + "threadID": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID" + } + }, + "weblinkRenderConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2 + ], + "x-enum-varnames": [ + "MessageContextInfo_STATIC", + "MessageContextInfo_DEPENDENT_ON_PARENT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "messageHistoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata" + }, + "mimetype": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata": { + "type": "object", + "properties": { + "historyReceivers": { + "type": "array", + "items": { + "type": "string" + } + }, + "messageCount": { + "type": "integer" + }, + "nonHistoryReceivers": { + "type": "array", + "items": { + "type": "string" + } + }, + "oldestMessageTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "messageHistoryMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.Money": { + "type": "object", + "properties": { + "currencyCode": { + "type": "string" + }, + "offset": { + "type": "integer" + }, + "value": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "inviteExpiration": { + "type": "integer" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage": { + "type": "object", + "properties": { + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "newsletterJID": { + "type": "string" + }, + "newsletterName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage": { + "type": "object", + "properties": { + "catalogType": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "itemCount": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "messageVersion": { + "type": "integer" + }, + "orderID": { + "type": "string" + }, + "orderRequestMessageID": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "orderTitle": { + "type": "string" + }, + "sellerJID": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus" + }, + "surface": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface" + }, + "thumbnail": { + "type": "array", + "items": { + "type": "integer" + } + }, + "token": { + "type": "string" + }, + "totalAmount1000": { + "type": "integer" + }, + "totalCurrencyCode": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "OrderMessage_INQUIRY", + "OrderMessage_ACCEPTED", + "OrderMessage_DECLINED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface": { + "type": "integer", + "format": "int32", + "enum": [ + 1 + ], + "x-enum-varnames": [ + "OrderMessage_CATALOG" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "fileLength": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "mediaData": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData" + }, + "mimetype": { + "type": "string" + }, + "placeholderArgb": { + "type": "integer" + }, + "subtextArgb": { + "type": "integer" + }, + "textArgb": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PaymentBackground_UNKNOWN", + "PaymentBackground_DEFAULT" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata": { + "type": "object", + "properties": { + "platform": { + "type": "string" + }, + "type": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage": { + "type": "object", + "properties": { + "expiryTimestamp": { + "type": "integer" + }, + "incentiveEligible": { + "type": "boolean" + }, + "referralID": { + "type": "string" + }, + "serviceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "PaymentInviteMessage_UNKNOWN", + "PaymentInviteMessage_FBPAY", + "PaymentInviteMessage_NOVI", + "PaymentInviteMessage_UPI" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata": { + "type": "object", + "properties": { + "button": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton" + }, + "header": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader" + }, + "provider": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton": { + "type": "object", + "properties": { + "displayText": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader": { + "type": "object", + "properties": { + "headerType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PaymentLinkMetadata_PaymentLinkHeader_LINK_PREVIEW", + "PaymentLinkMetadata_PaymentLinkHeader_ORDER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider": { + "type": "object", + "properties": { + "paramsJSON": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage": { + "type": "object", + "properties": { + "companionCanonicalUserNonceFetchRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest" + }, + "fullHistorySyncOnDemandRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest" + }, + "galaxyFlowAction": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction" + }, + "historySyncChunkRetryRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest" + }, + "historySyncOnDemandRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest" + }, + "peerDataOperationRequestType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType" + }, + "placeholderMessageResendRequest": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest" + } + }, + "requestStickerReupload": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload" + } + }, + "requestURLPreview": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview" + } + }, + "syncdCollectionFatalRecoveryRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest": { + "type": "object", + "properties": { + "registrationTraceID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest": { + "type": "object", + "properties": { + "fullHistorySyncOnDemandConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig" + }, + "historySyncConfig": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig" + }, + "requestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction": { + "type": "object", + "properties": { + "agmID": { + "type": "string" + }, + "flowID": { + "type": "string" + }, + "galaxyFlowDownloadRequestID": { + "type": "string" + }, + "stanzaID": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestMessage_GalaxyFlowAction_NOTIFY_LAUNCH", + "PeerDataOperationRequestMessage_GalaxyFlowAction_DOWNLOAD_RESPONSES" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest": { + "type": "object", + "properties": { + "chunkNotificationID": { + "type": "string" + }, + "chunkOrder": { + "type": "integer" + }, + "regenerateChunk": { + "type": "boolean" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest": { + "type": "object", + "properties": { + "accountLid": { + "type": "string" + }, + "chatJID": { + "type": "string" + }, + "oldestMsgFromMe": { + "type": "boolean" + }, + "oldestMsgID": { + "type": "string" + }, + "oldestMsgTimestampMS": { + "type": "integer" + }, + "onDemandMsgCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest": { + "type": "object", + "properties": { + "messageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload": { + "type": "object", + "properties": { + "fileSHA256": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "includeHqThumbnail": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest": { + "type": "object", + "properties": { + "collectionName": { + "type": "string" + }, + "timestamp": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage": { + "type": "object", + "properties": { + "peerDataOperationRequestType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType" + }, + "peerDataOperationResult": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult" + } + }, + "stanzaID": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult": { + "type": "object", + "properties": { + "companionCanonicalUserNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse" + }, + "companionMetaNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse" + }, + "flowResponsesCsvBundle": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle" + }, + "fullHistorySyncOnDemandRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse" + }, + "historySyncChunkRetryResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse" + }, + "linkPreviewResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse" + }, + "mediaUploadResult": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType" + }, + "placeholderMessageResendResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse" + }, + "stickerMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage" + }, + "syncdSnapshotFatalRecoveryResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse" + }, + "waffleNonceFetchRequestResponse": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse": { + "type": "object", + "properties": { + "forceRefresh": { + "type": "boolean" + }, + "nonce": { + "type": "string" + }, + "waFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse": { + "type": "object", + "properties": { + "nonce": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "flowID": { + "type": "string" + }, + "galaxyFlowDownloadRequestID": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse": { + "type": "object", + "properties": { + "requestMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata" + }, + "responseCode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_SUCCESS", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_TIME_EXPIRED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DECLINED_SHARING_HISTORY", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERIC_ERROR", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_REQUEST_ON_NON_SMB_PRIMARY", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_NOT_CONNECTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse": { + "type": "object", + "properties": { + "canRecover": { + "type": "boolean" + }, + "chunkOrder": { + "type": "integer" + }, + "requestID": { + "type": "string" + }, + "responseCode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode" + }, + "syncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode": { + "type": "integer", + "format": "int32", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERATION_ERROR", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_CONSUMED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_TIMEOUT", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SESSION_EXHAUSTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_EXHAUSTED", + "PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DUPLICATED_REQUEST" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hqThumbnail": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail" + }, + "matchText": { + "type": "string" + }, + "previewMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata" + }, + "previewType": { + "type": "string" + }, + "thumbData": { + "type": "array", + "items": { + "type": "integer" + } + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail": { + "type": "object", + "properties": { + "directPath": { + "type": "string" + }, + "encThumbHash": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestampMS": { + "type": "integer" + }, + "thumbHash": { + "type": "string" + }, + "thumbHeight": { + "type": "integer" + }, + "thumbWidth": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "isBusinessVerified": { + "type": "boolean" + }, + "offset": { + "type": "string" + }, + "providerName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse": { + "type": "object", + "properties": { + "webMessageInfoBytes": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse": { + "type": "object", + "properties": { + "collectionSnapshot": { + "type": "array", + "items": { + "type": "integer" + } + }, + "isCompressed": { + "type": "boolean" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse": { + "type": "object", + "properties": { + "nonce": { + "type": "string" + }, + "waEntFbid": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "x-enum-varnames": [ + "PeerDataOperationRequestType_UPLOAD_STICKER", + "PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP", + "PeerDataOperationRequestType_GENERATE_LINK_PREVIEW", + "PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND", + "PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND", + "PeerDataOperationRequestType_WAFFLE_LINKING_NONCE_FETCH", + "PeerDataOperationRequestType_FULL_HISTORY_SYNC_ON_DEMAND", + "PeerDataOperationRequestType_COMPANION_META_NONCE_FETCH", + "PeerDataOperationRequestType_COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY", + "PeerDataOperationRequestType_COMPANION_CANONICAL_USER_NONCE_FETCH", + "PeerDataOperationRequestType_HISTORY_SYNC_CHUNK_RETRY", + "PeerDataOperationRequestType_GALAXY_FLOW_ACTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "PinInChatMessage_UNKNOWN_TYPE", + "PinInChatMessage_PIN_FOR_ALL", + "PinInChatMessage_UNPIN_FOR_ALL" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType": { + "type": "integer", + "format": "int32", + "enum": [ + 0 + ], + "x-enum-varnames": [ + "PlaceholderMessage_MASK_LINKED_DEVICES" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.Point": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "xDeprecated": { + "type": "integer" + }, + "y": { + "type": "number" + }, + "yDeprecated": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage": { + "type": "object", + "properties": { + "addOption": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + }, + "pollCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollContentType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "PollContentType_UNKNOWN_POLL_CONTENT_TYPE", + "PollContentType_TEXT", + "PollContentType_IMAGE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage": { + "type": "object", + "properties": { + "allowAddOption": { + "type": "boolean" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "correctAnswer": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + }, + "encKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "endTime": { + "type": "integer" + }, + "hideParticipantName": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option" + } + }, + "pollContentType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollContentType" + }, + "pollType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType" + }, + "selectableOptionsCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option": { + "type": "object", + "properties": { + "optionHash": { + "type": "string" + }, + "optionName": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollEncValue": { + "type": "object", + "properties": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "name": { + "type": "string" + }, + "pollType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType" + }, + "pollVotes": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote" + } + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote": { + "type": "object", + "properties": { + "optionName": { + "type": "string" + }, + "optionVoteCount": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "PollType_POLL", + "PollType_QUIZ" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata" + }, + "pollCreationMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "vote": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollEncValue" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata": { + "type": "object" + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo": { + "type": "object", + "properties": { + "bitrate": { + "type": "integer" + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + } + }, + "directPath": { + "type": "string" + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "quality": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality" + }, + "width": { + "type": "integer" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "ProcessedVideo_UNDEFINED", + "ProcessedVideo_LOW", + "ProcessedVideo_MID", + "ProcessedVideo_HIGH" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage": { + "type": "object", + "properties": { + "body": { + "type": "string" + }, + "businessOwnerJID": { + "type": "string" + }, + "catalog": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "footer": { + "type": "string" + }, + "product": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot": { + "type": "object", + "properties": { + "catalogImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "description": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "currencyCode": { + "type": "string" + }, + "description": { + "type": "string" + }, + "firstImageID": { + "type": "string" + }, + "priceAmount1000": { + "type": "integer" + }, + "productID": { + "type": "string" + }, + "productImage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage" + }, + "productImageCount": { + "type": "integer" + }, + "retailerID": { + "type": "string" + }, + "salePriceAmount1000": { + "type": "integer" + }, + "signedURL": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage": { + "type": "object", + "properties": { + "afterReadDuration": { + "type": "integer" + }, + "aiMediaCollectionMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage" + }, + "aiPsiMetadata": { + "type": "array", + "items": { + "type": "integer" + } + }, + "aiQueryFanout": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout" + }, + "appStateFatalExceptionNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification" + }, + "appStateSyncKeyRequest": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest" + }, + "appStateSyncKeyShare": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare" + }, + "botFeedbackMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage" + }, + "cloudApiThreadControlNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification" + }, + "disappearingMode": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode" + }, + "editedMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "ephemeralExpiration": { + "type": "integer" + }, + "ephemeralSettingTimestamp": { + "type": "integer" + }, + "historySyncNotification": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification" + }, + "initialSecurityNotificationSettingSync": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync" + }, + "invokerJID": { + "type": "string" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "lidMigrationMappingSyncMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage" + }, + "limitSharing": { + "$ref": "#/definitions/waCommon.LimitSharing" + }, + "mediaNotifyMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage" + }, + "memberLabel": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel" + }, + "peerDataOperationRequestMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage" + }, + "peerDataOperationRequestResponseMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage" + }, + "requestWelcomeMessageMetadata": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata" + }, + "timestampMS": { + "type": "integer" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 14, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "x-enum-varnames": [ + "ProtocolMessage_REVOKE", + "ProtocolMessage_EPHEMERAL_SETTING", + "ProtocolMessage_EPHEMERAL_SYNC_RESPONSE", + "ProtocolMessage_HISTORY_SYNC_NOTIFICATION", + "ProtocolMessage_APP_STATE_SYNC_KEY_SHARE", + "ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST", + "ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST", + "ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", + "ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION", + "ProtocolMessage_SHARE_PHONE_NUMBER", + "ProtocolMessage_MESSAGE_EDIT", + "ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE", + "ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", + "ProtocolMessage_REQUEST_WELCOME_MESSAGE", + "ProtocolMessage_BOT_FEEDBACK_MESSAGE", + "ProtocolMessage_MEDIA_NOTIFY_MESSAGE", + "ProtocolMessage_CLOUD_API_THREAD_CONTROL_NOTIFICATION", + "ProtocolMessage_LID_MIGRATION_MAPPING_SYNC", + "ProtocolMessage_REMINDER_MESSAGE", + "ProtocolMessage_BOT_MEMU_ONBOARDING_MESSAGE", + "ProtocolMessage_STATUS_MENTION_MESSAGE", + "ProtocolMessage_STOP_GENERATION_MESSAGE", + "ProtocolMessage_LIMIT_SHARING", + "ProtocolMessage_AI_PSI_METADATA", + "ProtocolMessage_AI_QUERY_FANOUT", + "ProtocolMessage_GROUP_MEMBER_LABEL_CHANGE", + "ProtocolMessage_AI_MEDIA_COLLECTION_MESSAGE", + "ProtocolMessage_MESSAGE_UNSCHEDULE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage": { + "type": "object", + "properties": { + "groupingKey": { + "type": "string" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "senderTimestampMS": { + "type": "integer" + }, + "text": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage": { + "type": "object", + "properties": { + "amount": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Money" + }, + "amount1000": { + "type": "integer" + }, + "background": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground" + }, + "currencyCodeIso4217": { + "type": "string" + }, + "expiryTimestamp": { + "type": "integer" + }, + "noteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "requestFrom": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage": { + "type": "object", + "properties": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata": { + "type": "object", + "properties": { + "localChatState": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState" + }, + "welcomeTrigger": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "RequestWelcomeMessageMetadata_EMPTY", + "RequestWelcomeMessageMetadata_NON_EMPTY" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "RequestWelcomeMessageMetadata_CHAT_OPEN", + "RequestWelcomeMessageMetadata_COMPANION_PAIRING" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage": { + "type": "object", + "properties": { + "callType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType" + }, + "scheduledTimestampMS": { + "type": "integer" + }, + "title": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ScheduledCallCreationMessage_UNKNOWN", + "ScheduledCallCreationMessage_VOICE", + "ScheduledCallCreationMessage_VIDEO" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage": { "type": "object", - "additionalProperties": {} + "properties": { + "editType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType" + }, + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "ScheduledCallEditMessage_UNKNOWN", + "ScheduledCallEditMessage_CANCEL" + ] }, - "github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage": { "type": "object", "properties": { - "chat": { + "encIV": { + "type": "array", + "items": { + "type": "integer" + } + }, + "encPayload": { + "type": "array", + "items": { + "type": "integer" + } + }, + "remoteKeyID": { "type": "string" + }, + "secretEncType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType" + }, + "targetMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" } } }, - "github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-enum-varnames": [ + "SecretEncryptedMessage_UNKNOWN", + "SecretEncryptedMessage_EVENT_EDIT", + "SecretEncryptedMessage_MESSAGE_EDIT", + "SecretEncryptedMessage_MESSAGE_SCHEDULE", + "SecretEncryptedMessage_POLL_EDIT", + "SecretEncryptedMessage_POLL_ADD_OPTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage": { "type": "object", "properties": { - "communityJid": { - "type": "string" + "background": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground" }, - "groupJid": { + "noteMessage": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message" + }, + "requestMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "transactionData": { + "type": "string" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage": { + "type": "object", + "properties": { + "axolotlSenderKeyDistributionMessage": { "type": "array", "items": { - "type": "string" + "type": "integer" } + }, + "groupID": { + "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage": { "type": "object", "properties": { - "communityName": { + "originalMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "responseMessageKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "StatusNotificationMessage_UNKNOWN", + "StatusNotificationMessage_STATUS_ADD_YOURS", + "StatusNotificationMessage_STATUS_RESHARE", + "StatusNotificationMessage_STATUS_QUESTION_ANSWER_RESHARE" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage": { + "type": "object", + "properties": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "text": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage": { "type": "object", "properties": { - "action": { - "$ref": "#/definitions/whatsmeow.ParticipantChange" + "originalStatusID": { + "$ref": "#/definitions/waCommon.MessageKey" }, - "groupJid": { - "$ref": "#/definitions/types.JID" + "text": { + "type": "string" }, - "participants": { + "thumbnail": { "type": "array", "items": { - "type": "string" + "type": "integer" } + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType": { + "type": "integer", + "format": "int32", + "enum": [ + 1 + ], + "x-enum-varnames": [ + "StatusQuotedMessage_QUESTION_ANSWER" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage": { "type": "object", "properties": { - "groupName": { + "key": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "stickerKey": { "type": "string" }, - "participants": { + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType" + } + } + }, + "go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "StatusStickerInteractionMessage_UNKNOWN", + "StatusStickerInteractionMessage_REACTION" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StickerMessage": { + "type": "object", + "properties": { + "URL": { + "type": "string" + }, + "accessibilityLabel": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { "type": "array", "items": { - "type": "string" + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "firstFrameLength": { + "type": "integer" + }, + "firstFrameSidecar": { + "type": "array", + "items": { + "type": "integer" + } + }, + "height": { + "type": "integer" + }, + "isAiSticker": { + "type": "boolean" + }, + "isAnimated": { + "type": "boolean" + }, + "isAvatar": { + "type": "boolean" + }, + "isLottie": { + "type": "boolean" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "mimetype": { + "type": "string" + }, + "pngThumbnail": { + "type": "array", + "items": { + "type": "integer" } + }, + "premium": { + "type": "integer" + }, + "stickerSentTS": { + "type": "integer" + }, + "width": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage": { "type": "object", "properties": { - "groupJid": { + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "directPath": { + "type": "string" + }, + "fileEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "fileLength": { + "type": "integer" + }, + "fileSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "imageDataHash": { + "type": "string" + }, + "mediaKey": { + "type": "array", + "items": { + "type": "integer" + } + }, + "mediaKeyTimestamp": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "packDescription": { + "type": "string" + }, + "publisher": { + "type": "string" + }, + "stickerPackID": { + "type": "string" + }, + "stickerPackOrigin": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin" + }, + "stickerPackSize": { + "type": "integer" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker" + } + }, + "thumbnailDirectPath": { + "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailHeight": { + "type": "integer" + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailWidth": { + "type": "integer" + }, + "trayIconFileName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker": { "type": "object", "properties": { - "groupJid": { + "accessibilityLabel": { "type": "string" }, - "reset": { + "emojis": { + "type": "array", + "items": { + "type": "string" + } + }, + "fileName": { + "type": "string" + }, + "isAnimated": { + "type": "boolean" + }, + "isLottie": { "type": "boolean" + }, + "mimetype": { + "type": "string" + }, + "premium": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "StickerPackMessage_FIRST_PARTY", + "StickerPackMessage_THIRD_PARTY", + "StickerPackMessage_USER_CREATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage": { "type": "object", "properties": { - "code": { + "filehash": { + "type": "array", + "items": { + "type": "string" + } + }, + "requestTimestamp": { + "type": "integer" + }, + "rmrSource": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage": { "type": "object", "properties": { - "groupJid": { + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, + "selectedCarouselCardIndex": { + "type": "integer" + }, + "selectedDisplayText": { "type": "string" }, - "name": { + "selectedID": { "type": "string" + }, + "selectedIndex": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage": { "type": "object", "properties": { - "groupJid": { - "type": "string" + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" }, - "image": { + "format": { + "description": "Types that are valid to be assigned to Format:\n\n\t*TemplateMessage_FourRowTemplate_\n\t*TemplateMessage_HydratedFourRowTemplate_\n\t*TemplateMessage_InteractiveMessageTemplate" + }, + "hydratedTemplate": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate" + }, + "templateID": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate": { "type": "object", "properties": { - "immediate": { - "type": "boolean" - }, - "phone": { - "type": "string" - }, - "subscribe": { + "hydratedButtons": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton" } }, - "webhookUrl": { + "hydratedContentText": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct": { - "type": "object", - "properties": { - "name": { + }, + "hydratedFooterText": { "type": "string" }, - "proxy": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig" + "maskLinkedDevices": { + "type": "boolean" }, - "token": { + "templateID": { "type": "string" + }, + "title": { + "description": "Types that are valid to be assigned to Title:\n\n\t*TemplateMessage_HydratedFourRowTemplate_DocumentMessage\n\t*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText\n\t*TemplateMessage_HydratedFourRowTemplate_ImageMessage\n\t*TemplateMessage_HydratedFourRowTemplate_VideoMessage\n\t*TemplateMessage_HydratedFourRowTemplate_LocationMessage" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.ThreadID": { "type": "object", "properties": { - "phone": { + "sourceChatJID": { "type": "string" }, - "subscribe": { - "type": "array", - "items": { - "type": "string" - } + "threadKey": { + "$ref": "#/definitions/waCommon.MessageKey" + }, + "threadType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType" } } }, - "github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig": { + "go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2 + ], + "x-enum-varnames": [ + "ThreadID_UNKNOWN", + "ThreadID_VIEW_REPLIES", + "ThreadID_AI_THREAD" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.URLMetadata": { "type": "object", "properties": { - "address": { - "type": "string" - }, - "password": { - "type": "string" - }, - "port": { - "type": "string" - }, - "username": { - "type": "string" + "fbExperimentID": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap": { "type": "object", "properties": { - "jid": { - "type": "string" - }, - "labelId": { - "type": "string" + "urlTrackingMapElements": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement" + } } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement": { "type": "object", "properties": { - "color": { + "cardIndex": { "type": "integer" }, - "deleted": { - "type": "boolean" + "consentedUsersURL": { + "type": "string" }, - "labelId": { + "originalURL": { "type": "string" }, - "name": { + "unconsentedUsersURL": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard": { "type": "object", "properties": { - "jid": { + "caption": { "type": "string" }, - "labelId": { + "profilePictureURL": { "type": "string" }, - "messageId": { + "thumbnailImageURL": { + "type": "string" + }, + "username": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct": { + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage": { "type": "object", "properties": { - "isAudio": { - "type": "boolean" + "JPEGThumbnail": { + "type": "array", + "items": { + "type": "integer" + } }, - "number": { + "URL": { "type": "string" }, - "state": { + "accessibilityLabel": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct": { - "type": "object", - "properties": { + }, + "annotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, + "caption": { + "type": "string" + }, + "contextInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo" + }, "directPath": { "type": "string" }, + "externalShareFullVideoDurationInSeconds": { + "type": "integer" + }, "fileEncSHA256": { "type": "array", "items": { @@ -2834,440 +14626,763 @@ "type": "integer" } }, + "gifAttribution": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution" + }, + "gifPlayback": { + "type": "boolean" + }, + "height": { + "type": "integer" + }, + "interactiveAnnotations": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation" + } + }, "mediaKey": { "type": "array", "items": { "type": "integer" } }, - "mimetype": { - "type": "string" + "mediaKeyTimestamp": { + "type": "integer" }, - "url": { - "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct": { - "type": "object", - "properties": { - "chat": { + "metadataURL": { "type": "string" }, - "message": { + "mimetype": { "type": "string" }, - "messageId": { + "motionPhotoPresentationOffsetMS": { + "type": "integer" + }, + "processedVideos": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo" + } + }, + "seconds": { + "type": "integer" + }, + "staticURL": { "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct": { - "type": "object", - "properties": { - "id": { + }, + "streamingSidecar": { "type": "array", "items": { - "type": "string" + "type": "integer" } }, - "number": { + "thumbnailDirectPath": { "type": "string" + }, + "thumbnailEncSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "thumbnailSHA256": { + "type": "array", + "items": { + "type": "integer" + } + }, + "videoSourceType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType" + }, + "viewOnce": { + "type": "boolean" + }, + "width": { + "type": "integer" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "VideoMessage_NONE", + "VideoMessage_GIPHY", + "VideoMessage_TENOR", + "VideoMessage_KLIPY" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "VideoMessage_USER_VIDEO", + "VideoMessage_AI_GENERATED" + ] + }, + "go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1 + ], + "x-enum-varnames": [ + "WebLinkRenderConfig_WEBVIEW", + "WebLinkRenderConfig_SYSTEM" + ] + }, + "go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "MediaRetryNotification_GENERAL_ERROR", + "MediaRetryNotification_SUCCESS", + "MediaRetryNotification_NOT_FOUND", + "MediaRetryNotification_DECRYPTION_ERROR" + ] }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct": { + "go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution": { "type": "object", "properties": { - "chat": { + "actionURL": { "type": "string" }, - "messageId": { - "type": "string" + "attributionData": { + "description": "Types that are valid to be assigned to AttributionData:\n\n\t*StatusAttribution_StatusReshare_\n\t*StatusAttribution_ExternalShare_\n\t*StatusAttribution_Music_\n\t*StatusAttribution_GroupStatus_\n\t*StatusAttribution_RlAttribution\n\t*StatusAttribution_AiCreatedAttribution_" + }, + "type": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type" } } }, - "github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct": { + "go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type": { + "type": "integer", + "format": "int32", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "x-enum-varnames": [ + "StatusAttribution_UNKNOWN", + "StatusAttribution_RESHARE", + "StatusAttribution_EXTERNAL_SHARE", + "StatusAttribution_MUSIC", + "StatusAttribution_STATUS_MENTION", + "StatusAttribution_GROUP_STATUS", + "StatusAttribution_RL_ATTRIBUTION", + "StatusAttribution_AI_CREATED", + "StatusAttribution_LAYOUTS" + ] + }, + "go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName": { "type": "object", "properties": { - "id": { + "lc": { "type": "string" }, - "number": { + "lg": { "type": "string" }, - "reaction": { + "verifiedName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct": { + "go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate": { "type": "object", "properties": { - "description": { - "type": "string" + "details": { + "type": "array", + "items": { + "type": "integer" + } }, - "name": { - "type": "string" + "serverSignature": { + "type": "array", + "items": { + "type": "integer" + } + }, + "signature": { + "type": "array", + "items": { + "type": "integer" + } } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct": { + "go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details": { "type": "object", "properties": { - "key": { + "issueTime": { + "type": "integer" + }, + "issuer": { + "type": "string" + }, + "localizedNames": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName" + } + }, + "serial": { + "type": "integer" + }, + "verifiedName": { "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct": { + "go_mau_fi_whatsmeow_types.AddressingMode": { + "type": "string", + "enum": [ + "pn", + "lid" + ], + "x-enum-varnames": [ + "AddressingModePN", + "AddressingModeLID" + ] + }, + "go_mau_fi_whatsmeow_types.BotEditType": { + "type": "string", + "enum": [ + "first", + "inner", + "last" + ], + "x-enum-varnames": [ + "EditTypeFirst", + "EditTypeInner", + "EditTypeLast" + ] + }, + "go_mau_fi_whatsmeow_types.BroadcastRecipient": { "type": "object", "properties": { - "before_id": { - "type": "integer" - }, - "count": { - "type": "integer" + "lid": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "jid": { - "$ref": "#/definitions/types.JID" + "pn": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" } } }, - "github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct": { + "go_mau_fi_whatsmeow_types.DeviceSentMeta": { "type": "object", "properties": { - "jid": { - "$ref": "#/definitions/types.JID" + "destinationJID": { + "description": "The destination user. This should match the MessageInfo.Recipient field.", + "type": "string" + }, + "phash": { + "type": "string" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct": { + "go_mau_fi_whatsmeow_types.EditAttribute": { + "type": "string", + "enum": [ + "", + "1", + "2", + "3", + "7", + "8" + ], + "x-enum-comments": { + "EditAttributeAdminEdit": "only used in newsletters" + }, + "x-enum-descriptions": [ + "", + "", + "", + "only used in newsletters", + "", + "" + ], + "x-enum-varnames": [ + "EditAttributeEmpty", + "EditAttributeMessageEdit", + "EditAttributePinInChat", + "EditAttributeAdminEdit", + "EditAttributeSenderRevoke", + "EditAttributeAdminRevoke" + ] + }, + "go_mau_fi_whatsmeow_types.JID": { "type": "object", "properties": { - "delay": { - "type": "integer" + "device": { + "type": "integer", + "format": "int32" }, - "id": { - "type": "string" + "integrator": { + "type": "integer", + "format": "int32" }, - "mentionAll": { - "type": "boolean" + "rawAgent": { + "type": "integer", + "format": "int32" }, - "mentionedJid": { + "server": { "type": "string" }, - "number": { + "user": { "type": "string" - }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" - }, - "vcard": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct": { + "go_mau_fi_whatsmeow_types.MessageInfo": { "type": "object", "properties": { - "delay": { - "type": "integer" + "addressingMode": { + "description": "The addressing mode of the message (phone number or LID)", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.AddressingMode" + } + ] }, - "description": { - "type": "string" + "broadcastListOwner": { + "description": "When sending a read receipt to a broadcast list message, the Chat is the broadcast list\nand Sender is you, so this field contains the recipient of the read receipt.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "id": { - "type": "string" + "broadcastRecipients": { + "type": "array", + "items": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.BroadcastRecipient" + } }, - "imgUrl": { + "category": { "type": "string" }, - "mentionAll": { - "type": "boolean" + "chat": { + "description": "The chat where the message was sent.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionedJid": { - "type": "string" + "deviceSentMeta": { + "description": "Metadata for direct messages sent from another one of the user's own devices.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.DeviceSentMeta" + } + ] }, - "number": { + "edit": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.EditAttribute" + }, + "id": { "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "isFromMe": { + "description": "Whether the message was sent by the current user instead of someone else.", + "type": "boolean" }, - "text": { - "type": "string" + "isGroup": { + "description": "Whether the chat is a group chat or broadcast list.", + "type": "boolean" }, - "title": { + "mediaType": { "type": "string" }, - "url": { - "type": "string" - } - } - }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct": { - "type": "object", - "properties": { - "address": { - "type": "string" + "msgBotInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MsgBotInfo" }, - "delay": { - "type": "integer" + "msgMetaInfo": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.MsgMetaInfo" }, - "id": { + "multicast": { + "type": "boolean" + }, + "pushName": { "type": "string" }, - "latitude": { - "type": "number" + "recipientAlt": { + "description": "The alternative address of the recipient of the message for DMs.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "longitude": { - "type": "number" + "sender": { + "description": "The user who sent the message.", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionAll": { - "type": "boolean" + "senderAlt": { + "description": "The alternative address of the user who sent the message", + "allOf": [ + { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" + } + ] }, - "mentionedJid": { - "type": "string" + "serverID": { + "type": "integer" }, - "name": { + "timestamp": { "type": "string" }, - "number": { + "type": { "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "verifiedName": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.VerifiedName" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct": { + "go_mau_fi_whatsmeow_types.MsgBotInfo": { "type": "object", "properties": { - "caption": { - "type": "string" - }, - "delay": { - "type": "integer" - }, - "filename": { + "editSenderTimestampMS": { "type": "string" }, - "id": { + "editTargetID": { "type": "string" }, - "mentionAll": { + "editType": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.BotEditType" + } + } + }, + "go_mau_fi_whatsmeow_types.MsgMetaInfo": { + "type": "object", + "properties": { + "deprecatedLIDSession": { "type": "boolean" }, - "mentionedJid": { - "type": "string" + "targetChat": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "number": { + "targetID": { + "description": "Bot things", "type": "string" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "targetSender": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" }, - "type": { + "threadMessageID": { "type": "string" }, - "url": { - "type": "string" + "threadMessageSenderJID": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_types.JID" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct": { + "go_mau_fi_whatsmeow_types.PrivacySetting": { + "type": "string", + "enum": [ + "", + "all", + "contacts", + "contact_allowlist", + "contact_blacklist", + "match_last_seen", + "known", + "none", + "on_standard", + "off" + ], + "x-enum-varnames": [ + "PrivacySettingUndefined", + "PrivacySettingAll", + "PrivacySettingContacts", + "PrivacySettingContactAllowlist", + "PrivacySettingContactBlacklist", + "PrivacySettingMatchLastSeen", + "PrivacySettingKnown", + "PrivacySettingNone", + "PrivacySettingOnStandard", + "PrivacySettingOff" + ] + }, + "go_mau_fi_whatsmeow_types.VerifiedName": { "type": "object", "properties": { - "delay": { - "type": "integer" - }, - "id": { - "type": "string" - }, - "maxAnswer": { - "type": "integer" - }, - "mentionAll": { - "type": "boolean" - }, - "mentionedJid": { - "type": "string" - }, - "number": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "string" - } - }, - "question": { - "type": "string" + "certificate": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "details": { + "$ref": "#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct": { + "pkg_core.ActivateResponse": { "type": "object", "properties": { - "messageId": { - "type": "string" + "message": { + "type": "string", + "example": "License activated successfully!" }, - "participant": { - "type": "string" + "status": { + "type": "string", + "example": "active" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct": { + "pkg_core.Error400": { "type": "object", "properties": { - "delay": { - "type": "integer" + "error": { + "$ref": "#/definitions/pkg_core.Error400Detail" }, - "id": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "mentionAll": { - "type": "boolean" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error400Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "BAD_REQUEST" }, - "mentionedJid": { - "type": "string" + "message": { + "type": "string", + "example": "Invalid request data" + } + } + }, + "pkg_core.Error401": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/pkg_core.Error401Detail" }, - "number": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error401Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "UNAUTHORIZED" }, - "sticker": { - "type": "string" + "message": { + "type": "string", + "example": "Invalid or missing API key" } } }, - "github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct": { + "pkg_core.Error403": { "type": "object", "properties": { - "delay": { - "type": "integer" + "error": { + "$ref": "#/definitions/pkg_core.Error403Detail" }, - "id": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "mentionAll": { - "type": "boolean" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error403Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "FORBIDDEN" }, - "mentionedJid": { - "type": "string" + "message": { + "type": "string", + "example": "Insufficient permissions" + } + } + }, + "pkg_core.Error404": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/pkg_core.Error404Detail" }, - "number": { - "type": "string" + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" }, - "quoted": { - "$ref": "#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct" + "success": { + "type": "boolean", + "example": false + } + } + }, + "pkg_core.Error404Detail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "NOT_FOUND" }, - "text": { - "type": "string" + "message": { + "type": "string", + "example": "Resource not found" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct": { + "pkg_core.Error500": { "type": "object", "properties": { - "number": { - "type": "string" + "error": { + "$ref": "#/definitions/pkg_core.Error500Detail" + }, + "meta": { + "$ref": "#/definitions/pkg_core.ErrorMeta" + }, + "success": { + "type": "boolean", + "example": false } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct": { + "pkg_core.Error500Detail": { "type": "object", "properties": { - "number": { - "type": "array", - "items": { - "type": "string" - } + "code": { + "type": "string", + "example": "INTERNAL_SERVER_ERROR" + }, + "message": { + "type": "string", + "example": "An unexpected error occurred" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct": { + "pkg_core.ErrorMeta": { "type": "object", "properties": { - "number": { - "type": "string" + "method": { + "type": "string", + "example": "GET" }, - "preview": { - "type": "boolean" + "path": { + "type": "string", + "example": "/api/path" + }, + "timestamp": { + "type": "string", + "example": "2024-01-15T10:30:00Z" } } }, - "github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct": { + "pkg_core.RegisterResponse": { "type": "object", "properties": { - "image": { - "type": "string" + "message": { + "type": "string", + "example": "License is already active" + }, + "register_url": { + "type": "string", + "example": "https://app.evolution-api.com/register/12345" + }, + "status": { + "type": "string", + "example": "pending" } } }, - "github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct": { + "pkg_core.StatusResponse": { "type": "object", "properties": { - "fullName": { - "type": "string" + "api_key": { + "type": "string", + "example": "evol...xyz" }, - "organization": { - "type": "string" + "instance_id": { + "type": "string", + "example": "inst-12345" }, - "phone": { - "type": "string" + "status": { + "type": "string", + "example": "active" } } }, - "types.JID": { + "waCommon.LimitSharing": { "type": "object", "properties": { - "device": { - "type": "integer" + "initiatedByMe": { + "type": "boolean" }, - "integrator": { + "limitSharingSettingTimestamp": { "type": "integer" }, - "rawAgent": { + "sharingLimited": { + "type": "boolean" + }, + "trigger": { "type": "integer" + } + } + }, + "waCommon.MessageKey": { + "type": "object", + "properties": { + "ID": { + "type": "string" }, - "server": { + "fromMe": { + "type": "boolean" + }, + "participant": { "type": "string" }, - "user": { + "remoteJID": { "type": "string" } } - }, - "whatsmeow.ParticipantChange": { - "type": "string", - "enum": [ - "add", - "remove", - "promote", - "demote" - ], - "x-enum-varnames": [ - "ParticipantChangeAdd", - "ParticipantChangeRemove", - "ParticipantChangePromote", - "ParticipantChangeDemote" - ] } } } \ No newline at end of file diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ed07f1f..1b809f9 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1,13 +1,24 @@ definitions: - gin.H: - additionalProperties: {} + github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct: + properties: + callCreator: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + callId: + type: string type: object - github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct: + github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct: properties: chat: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct: + github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct: + properties: + count: + type: integer + messageInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.MessageInfo' + type: object + github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct: properties: communityJid: type: string @@ -16,444 +27,7102 @@ definitions: type: string type: array type: object - github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct: + github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct: properties: communityName: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse: properties: - action: - $ref: '#/definitions/whatsmeow.ParticipantChange' - groupJid: - $ref: '#/definitions/types.JID' - participants: - items: - type: string - type: array + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings' + message: + example: success + type: string type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData: properties: - groupName: + url: + example: https://pps.whatsapp.net/v/t61.24694-24/12345678_123456789012345_1234567890123456789_n.jpg type: string - participants: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarData' + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData: + properties: + jids: + example: + - 5511999999999@s.whatsapp.net + - 5511988888888@s.whatsapp.net items: type: string type: array type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse: properties: - groupJid: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistData' + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse: properties: - groupJid: + message: + example: success type: string - reset: - type: boolean type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData: properties: - code: + timestamp: + example: 1705314600 + type: integer + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionData' + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse: properties: - groupJid: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse' + message: + example: success type: string - name: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.CommunityResponse: + properties: + jid: + example: 1234567890@g.us type: string type: object - github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData: properties: - groupJid: + eventString: + example: MESSAGE,GROUP_UP type: string - image: + jid: + example: 5511999999999@s.whatsapp.net + type: string + webhookUrl: + example: http://localhost:8080/webhook type: string type: object - github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse: properties: - immediate: - type: boolean - phone: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectData' + message: + example: success type: string - subscribe: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData: + properties: + jid: + example: 5511999999999@s.whatsapp.net + type: string + pushName: + example: John Doe + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse: + properties: + data: items: - type: string + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactInfoData' type: array - webhookUrl: + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.Error400: properties: - name: + error: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail' + meta: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.Error400Detail: + properties: + code: + example: BAD_REQUEST type: string - proxy: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig' - token: + message: + example: Invalid request data type: string type: object - github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.Error401: properties: - phone: - type: string - subscribe: - items: - type: string - type: array + error: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail' + meta: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta' + success: + example: false + type: boolean type: object - github_com_Zapbox-API_evolution-go_pkg_instance_service.ProxyConfig: + github_com_EvolutionAPI_evolution-go_pkg_core.Error401Detail: properties: - address: + code: + example: UNAUTHORIZED type: string - password: + message: + example: Invalid or missing API key type: string - port: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.Error403: + properties: + error: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail' + meta: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.Error403Detail: + properties: + code: + example: FORBIDDEN type: string - username: + message: + example: Insufficient permissions type: string type: object - github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.Error404: properties: - jid: + error: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail' + meta: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.Error404Detail: + properties: + code: + example: NOT_FOUND type: string - labelId: + message: + example: Resource not found type: string type: object - github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.Error500: properties: - color: - type: integer - deleted: + error: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail' + meta: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta' + success: + example: false type: boolean - labelId: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.Error500Detail: + properties: + code: + example: INTERNAL_SERVER_ERROR type: string - name: + message: + example: An unexpected error occurred type: string type: object - github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.ErrorMeta: properties: - jid: + method: + example: GET type: string - labelId: + path: + example: /api/path type: string - messageId: + timestamp: + example: "2024-01-15T10:30:00Z" type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo: properties: - isAudio: + isReadOnly: + example: false type: boolean - number: + jid: + example: 1234567890@g.us type: string - state: + name: + example: Group Name + type: string + owner: + example: 5511999999999@s.whatsapp.net type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse: properties: - directPath: - type: string - fileEncSHA256: - items: - type: integer - type: array - fileLength: - type: integer - fileSHA256: - items: - type: integer - type: array - mediaKey: - items: - type: integer - type: array - mimetype: - type: string - url: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo' + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse: properties: - chat: + data: + example: https://chat.whatsapp.com/... type: string message: - type: string - messageId: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse: properties: - id: + data: items: - type: string + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfo' type: array - number: + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse: properties: - id: + data: + properties: + pictureId: + example: "1234567890" + type: string + type: object + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData: properties: - chat: - type: string messageId: + example: 3EB00000000000000000 type: string type: object - github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse: properties: - id: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncData' + message: + example: success type: string - number: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse: + properties: + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance' + type: array + message: + example: success type: string - reaction: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance' + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData: properties: - description: + connected: + example: true + type: boolean + loggedIn: + example: true + type: boolean + myJid: + example: 5511999999999@s.whatsapp.net type: string name: + example: Instance Name type: string type: object - github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse: properties: - key: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusData' + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse: properties: - before_id: - type: integer - count: - type: integer - jid: - $ref: '#/definitions/types.JID' + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse' + type: array + message: + example: success + type: string type: object - github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppResponse: properties: + exists: + example: true + type: boolean jid: - $ref: '#/definitions/types.JID' + example: 5511999999999@s.whatsapp.net + type: string type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.LabelData: properties: - delay: - type: integer id: + example: uuid-string type: string - mentionAll: - type: boolean - mentionedJid: + instance_id: + example: uuid-string type: string - number: + label_color: + example: '#dfaef0' + type: string + label_id: + example: "1" + type: string + label_name: + example: Work + type: string + predefined_id: + example: "1" type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' - vcard: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct' type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse: properties: - delay: - type: integer - description: + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelData' + type: array + message: + example: success type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey: + properties: + fromMe: + example: true + type: boolean id: + example: 3EB00000000000000000 type: string - imgUrl: + remoteJid: + example: 5511999999999@s.whatsapp.net type: string - mentionAll: - type: boolean - mentionedJid: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData: + properties: + key: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageKey' + messageTimestamp: + example: 1705314600 + type: integer + status: + example: PENDING type: string - number: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse: + properties: + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata' + type: array + message: + example: success type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' - text: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage: + properties: + id: + example: 3EB00000000000000000 type: string - title: + text: + example: Hello World type: string - url: + timestamp: + example: 1705314600 + type: integer + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse: + properties: + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessage' + type: array + message: + example: success type: string type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata: properties: - address: + description: + example: Updates about Evolution API type: string - delay: - type: integer id: + example: 1234567890@newsletter type: string - latitude: - type: number - longitude: - type: number - mentionAll: - type: boolean - mentionedJid: + inviteCode: + example: AbCdEfGh1234 type: string name: + example: Evolution API Channel type: string - number: + subscriberCount: + example: 150 + type: integer + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMetadata' + message: + example: success type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse: properties: - caption: + data: + properties: + pairingCode: + example: ABC1DEF2 + type: string + type: object + message: + example: success type: string - delay: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts: + properties: + option_1_hash: + example: 5 type: integer - filename: + option_2_hash: + example: 3 + type: integer + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData: + properties: + optionCounts: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollOptionCounts' + pollChatJid: + example: 5511999999999@s.whatsapp.net type: string - id: + pollMessageId: + example: 3EB00000000000000000 type: string - mentionAll: - type: boolean - mentionedJid: + totalVotes: + example: 10 + type: integer + voters: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo' + type: array + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsData' + message: + example: success type: string - number: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData: + properties: + groupadd: + example: all type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' - type: + last: + example: all type: string - url: + online: + example: all + type: string + profile: + example: all + type: string + readreceipts: + example: all + type: string + status: + example: all type: string type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct: + github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse: properties: - delay: - type: integer - id: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsData' + message: + example: success type: string - maxAnswer: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.QRData: + properties: + code: + example: "1234567890" + type: string + qrcode: + example: 1@...|... + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRData' + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.MessageSendData' + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse: + properties: + status: + example: ok + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse: + properties: + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData: + properties: + jid: + example: 5511999999999@s.whatsapp.net + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockData' + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData: + properties: + pictureId: + example: "1234567890" + type: string + status: + example: Hey there! I am using WhatsApp. + type: string + verifiedName: + example: John Doe + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse: + properties: + data: + items: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoData' + type: array + message: + example: success + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData: + properties: + timestamp: + example: 1705314600 type: integer - mentionAll: - type: boolean - mentionedJid: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse: + properties: + data: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileData' + message: + example: success type: string - number: + type: object + github_com_EvolutionAPI_evolution-go_pkg_core.VoterInfo: + properties: + jid: + example: 5511999999999@s.whatsapp.net type: string - options: + name: + example: John Doe + type: string + selectedOptions: + example: + - option_1_hash items: type: string type: array - question: + votedAt: + example: "2024-01-15T10:30:00Z" type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct: + github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct: properties: - messageId: + action: + $ref: '#/definitions/go_mau_fi_whatsmeow.ParticipantChange' + groupJid: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + participants: + items: + type: string + type: array + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct: + properties: + groupName: type: string - participant: + participants: + items: + type: string + type: array + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct: + properties: + groupJid: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct: + github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct: properties: - delay: - type: integer - id: + groupJid: type: string - mentionAll: + reset: type: boolean - mentionedJid: + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct: + properties: + code: type: string - number: + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct: + properties: + groupJid: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct: + properties: + description: type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' - sticker: + groupJid: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct: + github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct: properties: - delay: + groupJid: + type: string + name: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct: + properties: + groupJid: + type: string + image: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings: + properties: + alwaysOnline: + type: boolean + ignoreGroups: + type: boolean + ignoreStatus: + type: boolean + msgRejectCall: + type: string + readMessages: + type: boolean + rejectCall: + type: boolean + type: object + github_com_EvolutionAPI_evolution-go_pkg_instance_model.Instance: + properties: + alwaysOnline: + description: Advanced Settings + type: boolean + client_name: + type: string + connected: + type: boolean + createdAt: + type: string + disconnect_reason: + type: string + events: + type: string + expiration: type: integer id: type: string - mentionAll: + ignoreGroups: type: boolean - mentionedJid: + ignoreStatus: + type: boolean + jid: type: string - number: + msgRejectCall: type: string - quoted: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.QuotedStruct' - text: + name: + type: string + natsEnable: + type: string + os_name: + type: string + proxy: + type: string + qrcode: + type: string + rabbitmqEnable: + type: string + readMessages: + type: boolean + rejectCall: + type: boolean + token: + type: string + webhook: + type: string + websocketEnable: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct: + github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct: properties: - number: + immediate: + type: boolean + natsEnable: + type: string + phone: + type: string + rabbitmqEnable: + type: string + subscribe: + items: + type: string + type: array + webhookUrl: + type: string + websocketEnable: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct: + properties: + advancedSettings: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings' + instanceId: + type: string + name: + type: string + proxy: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig' + token: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct: + github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct: properties: number: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct: + properties: + phone: + type: string + subscribe: items: type: string type: array type: object - github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct: + github_com_EvolutionAPI_evolution-go_pkg_instance_service.ProxyConfig: properties: - number: + host: type: string - preview: + password: + type: string + port: + type: string + username: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct: + properties: + host: + type: string + password: + type: string + port: + type: string + username: + type: string + required: + - host + - port + type: object + github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct: + properties: + jid: + type: string + labelId: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct: + properties: + color: + type: integer + deleted: type: boolean + labelId: + type: string + name: + type: string type: object - github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct: + github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct: properties: - image: + jid: + type: string + labelId: + type: string + messageId: type: string type: object - github_com_Zapbox-API_evolution-go_pkg_utils.VCardStruct: + github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct: properties: - fullName: + isAudio: + type: boolean + number: type: string - organization: + state: type: string - phone: + type: object + github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct: + properties: + message: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + type: object + github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct: + properties: + chat: + type: string + message: + type: string + messageId: type: string type: object - types.JID: + github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct: properties: - device: - type: integer - integrator: - type: integer - rawAgent: - type: integer - server: + id: + items: + type: string + type: array + number: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct: + properties: + id: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct: + properties: + chat: + type: string + messageId: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct: + properties: + fromMe: + type: boolean + id: + type: string + number: + type: string + participant: + type: string + reaction: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct: + properties: + description: + type: string + name: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct: + properties: + key: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct: + properties: + before_id: + type: integer + count: + type: integer + jid: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + type: object + github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct: + properties: + jid: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct: + properties: + delay: + type: integer + formatJid: + type: boolean + id: + type: string + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + vcard: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct' + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct: + properties: + delay: + type: integer + description: + type: string + formatJid: + type: boolean + id: + type: string + imgUrl: + type: string + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + text: + type: string + title: + type: string + url: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct: + properties: + address: + type: string + delay: + type: integer + formatJid: + type: boolean + id: + type: string + latitude: + type: number + longitude: + type: number + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + name: + type: string + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct: + properties: + caption: + type: string + delay: + type: integer + filename: + type: string + formatJid: + type: boolean + id: + type: string + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + type: + type: string + url: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct: + properties: + delay: + type: integer + formatJid: + type: boolean + id: + type: string + maxAnswer: + type: integer + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + options: + items: + type: string + type: array + question: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct: + properties: + messageId: + type: string + participant: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct: + properties: + delay: + type: integer + formatJid: + type: boolean + id: + type: string + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + sticker: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct: + properties: + delay: + type: integer + formatJid: + type: boolean + id: + type: string + mentionAll: + type: boolean + mentionedJid: + items: + type: string + type: array + number: + type: string + quoted: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.QuotedStruct' + text: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct: + properties: + number: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct: + properties: + formatJid: + type: boolean + number: + items: + type: string + type: array + type: object + github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct: + properties: + number: + type: string + preview: + type: boolean + type: object + github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct: + properties: + callAdd: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + groupAdd: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + lastSeen: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + online: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + profile: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + readReceipts: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + status: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.PrivacySetting' + type: object + github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct: + properties: + image: + type: string + type: object + github_com_EvolutionAPI_evolution-go_pkg_utils.VCardStruct: + properties: + fullName: + type: string + organization: + type: string + phone: + type: string + type: object + go_mau_fi_whatsmeow.ParticipantChange: + enum: + - add + - remove + - promote + - demote + type: string + x-enum-varnames: + - ParticipantChangeAdd + - ParticipantChangeRemove + - ParticipantChangePromote + - ParticipantChangeDemote + go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage: + properties: + collectionID: + type: string + expectedMediaCount: + type: integer + hasGlobalCaption: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata: + properties: + collectionID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata: + properties: + messageKey: + $ref: '#/definitions/waCommon.MessageKey' + responseTimestampMS: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse: + properties: + data: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo: + properties: + clientInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo' + serverInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo: + properties: + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - AIThreadInfo_AIThreadClientInfo_UNKNOWN + - AIThreadInfo_AIThreadClientInfo_DEFAULT + - AIThreadInfo_AIThreadClientInfo_INCOGNITO + go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo_AIThreadServerInfo: + properties: + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata: + properties: + ageCollectionEligible: + type: boolean + ageCollectionType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType' + shouldTriggerAgeCollectionOnClient: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata_AgeCollectionType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotAgeCollectionMetadata_O18_BINARY + - BotAgeCollectionMetadata_WAFFLE + go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata: + properties: + capabilities: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata_BotCapabilityType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 42 + - 43 + - 44 + - 45 + - 46 + - 47 + - 48 + - 49 + - 50 + - 51 + - 52 + - 53 + - 54 + - 55 + - 56 + - 57 + format: int32 + type: integer + x-enum-varnames: + - BotCapabilityMetadata_UNKNOWN + - BotCapabilityMetadata_PROGRESS_INDICATOR + - BotCapabilityMetadata_RICH_RESPONSE_HEADING + - BotCapabilityMetadata_RICH_RESPONSE_NESTED_LIST + - BotCapabilityMetadata_AI_MEMORY + - BotCapabilityMetadata_RICH_RESPONSE_THREAD_SURFING + - BotCapabilityMetadata_RICH_RESPONSE_TABLE + - BotCapabilityMetadata_RICH_RESPONSE_CODE + - BotCapabilityMetadata_RICH_RESPONSE_STRUCTURED_RESPONSE + - BotCapabilityMetadata_RICH_RESPONSE_INLINE_IMAGE + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_CONTROL + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_1 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_2 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_3 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_4 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_5 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_6 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_7 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_8 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_9 + - BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_10 + - BotCapabilityMetadata_RICH_RESPONSE_SUB_HEADING + - BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE + - BotCapabilityMetadata_AI_STUDIO_UGC_MEMORY + - BotCapabilityMetadata_RICH_RESPONSE_LATEX + - BotCapabilityMetadata_RICH_RESPONSE_MAPS + - BotCapabilityMetadata_RICH_RESPONSE_INLINE_REELS + - BotCapabilityMetadata_AGENTIC_PLANNING + - BotCapabilityMetadata_ACCOUNT_LINKING + - BotCapabilityMetadata_STREAMING_DISAGGREGATION + - BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE_3P + - BotCapabilityMetadata_RICH_RESPONSE_LATEX_INLINE + - BotCapabilityMetadata_QUERY_PLAN + - BotCapabilityMetadata_PROACTIVE_MESSAGE + - BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_RESPONSE + - BotCapabilityMetadata_PROMOTION_MESSAGE + - BotCapabilityMetadata_SIMPLIFIED_PROFILE_PAGE + - BotCapabilityMetadata_RICH_RESPONSE_SOURCES_IN_MESSAGE + - BotCapabilityMetadata_RICH_RESPONSE_SIDE_BY_SIDE_SURVEY + - BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_TEXT_COMPONENT + - BotCapabilityMetadata_AI_SHARED_MEMORY + - BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_SOURCES + - BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS + - BotCapabilityMetadata_RICH_RESPONSE_UR_INLINE_REELS_ENABLED + - BotCapabilityMetadata_RICH_RESPONSE_UR_MEDIA_GRID_ENABLED + - BotCapabilityMetadata_RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER + - BotCapabilityMetadata_RICH_RESPONSE_IN_APP_SURVEY + - BotCapabilityMetadata_AI_RESPONSE_MODEL_BRANDING + - BotCapabilityMetadata_SESSION_TRANSPARENCY_SYSTEM_MESSAGE + - BotCapabilityMetadata_RICH_RESPONSE_UR_REASONING + - BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CITATIONS + - BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL + - BotCapabilityMetadata_AI_IMAGINE_LOADING_INDICATOR + - BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE + - BotCapabilityMetadata_AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR + - BotCapabilityMetadata_RICH_RESPONSE_UR_BLOKS_ENABLED + - BotCapabilityMetadata_RICH_RESPONSE_INLINE_LINKS_ENABLED + - BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE_VIDEO + go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata: + properties: + pluginType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata_DocumentPluginType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotDocumentMessageMetadata_TEXT_EXTRACTION + - BotDocumentMessageMetadata_OCR_AND_IMAGES + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage: + properties: + kind: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind' + kindNegative: + type: integer + kindPositive: + type: integer + kindReport: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind' + messageKey: + $ref: '#/definitions/waCommon.MessageKey' + sideBySideSurveyMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata' + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_BotFeedbackKind: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + format: int32 + type: integer + x-enum-varnames: + - BotFeedbackMessage_BOT_FEEDBACK_POSITIVE + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_PERSONALIZED + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_CLARITY + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY + - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_ReportKind: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotFeedbackMessage_NONE + - BotFeedbackMessage_GENERIC + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata: + properties: + analyticsData: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData' + isSelectedResponsePrimary: + type: boolean + messageIDToEdit: + type: string + metaAiAnalyticsData: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData' + responseOtid: + type: string + responseTimestampMSString: + type: string + selectedRequestID: + type: string + simonSessionFbid: + type: string + surveyID: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData: + properties: + simonSessionFbid: + type: string + tessaEvent: + type: string + tessaSessionFbid: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData: + properties: + abandonEvent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData' + cardImpressionEvent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData' + ctaClickEvent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData' + ctaImpressionEvent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData' + primaryResponseID: + type: string + responseEvent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData' + surveyID: + type: integer + testArmName: + type: string + timestampMSString: + type: string + type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData + : properties: + abandonDwellTimeMSString: + type: string + type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData + : properties: + clickDwellTimeMSString: + type: string + isSurveyExpired: + type: boolean + type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData + : properties: + isSurveyExpired: + type: boolean + type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData + : type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData + : properties: + responseDwellTimeMSString: + type: string + selectedResponseID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata: + properties: + participantsMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotGroupParticipantMetadata: + properties: + botFbid: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata: + properties: + imagineType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType' + shortPrompt: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata_ImagineType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + format: int32 + type: integer + x-enum-varnames: + - BotImagineMetadata_UNKNOWN + - BotImagineMetadata_IMAGINE + - BotImagineMetadata_MEMU + - BotImagineMetadata_FLASH + - BotImagineMetadata_EDIT + go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics: + properties: + botBackend: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend' + isThinking: + type: boolean + toolsUsed: + items: + type: string + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics_BotBackend: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotInfrastructureDiagnostics_AAPI + - BotInfrastructureDiagnostics_CLIPPY + go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount: + properties: + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount_BotLinkedAccountType: + enum: + - 0 + format: int32 + type: integer + x-enum-varnames: + - BotLinkedAccount_BOT_LINKED_ACCOUNT_TYPE_1P + go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata: + properties: + acAuthTokens: + items: + type: integer + type: array + acErrorCode: + type: integer + accounts: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccount' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata: + properties: + directPath: + type: string + fileEncSHA256: + type: string + fileSHA256: + type: string + mediaKey: + type: string + mediaKeyTimestamp: + type: integer + mimetype: + type: string + orientationType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata_OrientationType: + enum: + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - BotMediaMetadata_CENTER + - BotMediaMetadata_LEFT + - BotMediaMetadata_RIGHT + go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact: + properties: + fact: + type: string + factID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata: + properties: + addedFacts: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact' + type: array + disclaimer: + type: string + removedFacts: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryFact' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata: + properties: + faceImages: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin: + properties: + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin_BotMessageOriginType: + enum: + - 0 + format: int32 + type: integer + x-enum-varnames: + - BotMessageOrigin_BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED + go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata: + properties: + origins: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOrigin' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo: + properties: + botEntryPointOrigin: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint' + forwardScore: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata: + properties: + aiConversationContext: + items: + type: integer + type: array + aiMediaCollectionMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMetadata' + botAgeCollectionMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotAgeCollectionMetadata' + botDocumentMessageMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotDocumentMessageMetadata' + botGroupMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotGroupMetadata' + botInfrastructureDiagnostics: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotInfrastructureDiagnostics' + botLinkedAccountsMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotLinkedAccountsMetadata' + botMessageOriginMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageOriginMetadata' + botMetricsMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata' + botModeSelectionMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata' + botPromotionMessageMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata' + botQuotaMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata' + botRenderingConfigMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata' + botResponseID: + type: string + botThreadInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIThreadInfo' + capabilityMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotCapabilityMetadata' + conversationStarterPromptID: + type: string + imagineMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotImagineMetadata' + inThreadSurveyMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata' + internalMetadata: + items: + type: integer + type: array + invokerJID: + type: string + memoryMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemoryMetadata' + memuMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMemuMetadata' + messageDisclaimerText: + type: string + modelMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata' + personaID: + type: string + pluginMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata' + progressIndicatorMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata' + regenerateMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRegenerateMetadata' + reminderMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata' + renderingMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata' + richResponseSourcesMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata' + sessionMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata' + sessionTransparencyMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata' + suggestedPromptMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata' + timezone: + type: string + unifiedResponseMutation: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation' + verificationMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 + - 35 + - 36 + - 37 + - 38 + - 39 + - 40 + - 41 + - 45 + - 46 + - 47 + - 54 + format: int32 + type: integer + x-enum-varnames: + - BotMetricsEntryPoint_UNDEFINED_ENTRY_POINT + - BotMetricsEntryPoint_FAVICON + - BotMetricsEntryPoint_CHATLIST + - BotMetricsEntryPoint_AISEARCH_NULL_STATE_PAPER_PLANE + - BotMetricsEntryPoint_AISEARCH_NULL_STATE_SUGGESTION + - BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_SUGGESTION + - BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_PAPER_PLANE + - BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_CHATLIST + - BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_MESSAGES + - BotMetricsEntryPoint_AIVOICE_SEARCH_BAR + - BotMetricsEntryPoint_AIVOICE_FAVICON + - BotMetricsEntryPoint_AISTUDIO + - BotMetricsEntryPoint_DEEPLINK + - BotMetricsEntryPoint_NOTIFICATION + - BotMetricsEntryPoint_PROFILE_MESSAGE_BUTTON + - BotMetricsEntryPoint_FORWARD + - BotMetricsEntryPoint_APP_SHORTCUT + - BotMetricsEntryPoint_FF_FAMILY + - BotMetricsEntryPoint_AI_TAB + - BotMetricsEntryPoint_AI_HOME + - BotMetricsEntryPoint_AI_DEEPLINK_IMMERSIVE + - BotMetricsEntryPoint_AI_DEEPLINK + - BotMetricsEntryPoint_META_AI_CHAT_SHORTCUT_AI_STUDIO + - BotMetricsEntryPoint_UGC_CHAT_SHORTCUT_AI_STUDIO + - BotMetricsEntryPoint_NEW_CHAT_AI_STUDIO + - BotMetricsEntryPoint_AIVOICE_FAVICON_CALL_HISTORY + - BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU + - BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_1ON1 + - BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_GROUP + - BotMetricsEntryPoint_INVOKE_META_AI_1ON1 + - BotMetricsEntryPoint_INVOKE_META_AI_GROUP + - BotMetricsEntryPoint_META_AI_FORWARD + - BotMetricsEntryPoint_NEW_CHAT_AI_CONTACT + - BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_1_ON_1_CHAT + - BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_GROUP_CHAT + - BotMetricsEntryPoint_ATTACHMENT_TRAY_1_ON_1_CHAT + - BotMetricsEntryPoint_ATTACHMENT_TRAY_GROUP_CHAT + - BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_1ON1 + - BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_GROUP + - BotMetricsEntryPoint_MEDIA_PICKER_1_ON_1_CHAT + - BotMetricsEntryPoint_MEDIA_PICKER_GROUP_CHAT + - BotMetricsEntryPoint_ASK_META_AI_NO_SEARCH_RESULTS + - BotMetricsEntryPoint_META_AI_SETTINGS + - BotMetricsEntryPoint_WEB_INTRO_PANEL + - BotMetricsEntryPoint_WEB_NAVIGATION_BAR + - BotMetricsEntryPoint_GROUP_MEMBER + go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsMetadata: + properties: + destinationEntryPoint: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsEntryPoint' + destinationID: + type: string + threadOrigin: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotMetricsThreadEntryPoint: + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - BotMetricsThreadEntryPoint_AI_TAB_THREAD + - BotMetricsThreadEntryPoint_AI_HOME_THREAD + - BotMetricsThreadEntryPoint_AI_DEEPLINK_IMMERSIVE_THREAD + - BotMetricsThreadEntryPoint_AI_DEEPLINK_THREAD + - BotMetricsThreadEntryPoint_ASK_META_AI_CONTEXT_MENU_THREAD + go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata: + properties: + mode: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode' + type: array + overrideMode: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotModeSelectionMetadata_BotUserSelectionMode: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotModeSelectionMetadata_DEFAULT_MODE + - BotModeSelectionMetadata_THINK_HARD_MODE + go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata: + properties: + modelNameOverride: + type: string + modelType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType' + premiumModelStatus: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_ModelType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BotModelMetadata_UNKNOWN_TYPE + - BotModelMetadata_LLAMA_PROD + - BotModelMetadata_LLAMA_PROD_PREMIUM + go_mau_fi_whatsmeow_proto_waAICommon.BotModelMetadata_PremiumModelStatus: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BotModelMetadata_UNKNOWN_STATUS + - BotModelMetadata_AVAILABLE + - BotModelMetadata_QUOTA_EXCEED_LIMIT + go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata: + properties: + deprecatedField: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType' + expectedLinksCount: + type: integer + faviconCDNURL: + type: string + parentPluginMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + parentPluginType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType' + pluginType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType' + profilePhotoCDNURL: + type: string + provider: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider' + referenceIndex: + type: integer + searchProviderURL: + type: string + searchQuery: + type: string + thumbnailCDNURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_PluginType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BotPluginMetadata_UNKNOWN_PLUGIN + - BotPluginMetadata_REELS + - BotPluginMetadata_SEARCH + go_mau_fi_whatsmeow_proto_waAICommon.BotPluginMetadata_SearchProvider: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - BotPluginMetadata_UNKNOWN + - BotPluginMetadata_BING + - BotPluginMetadata_GOOGLE + - BotPluginMetadata_SUPPORT + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata: + properties: + estimatedCompletionTime: + type: integer + progressDescription: + type: string + stepsMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata: + properties: + isEnhancedSearch: + type: boolean + isReasoning: + type: boolean + sections: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata' + type: array + sourcesMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata' + type: array + status: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus' + statusBody: + type: string + statusTitle: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata: + properties: + favIconURL: + type: string + provider: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider' + sourceURL: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata: + properties: + provider: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider' + sourceTitle: + type: string + sourceURL: + type: string + type: object + ? go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider + : enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_UNKNOWN + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_OTHER + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_GOOGLE + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BING + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata: + properties: + sectionBody: + type: string + sectionTitle: + type: string + sourcesMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN_PROVIDER + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_OTHER + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_GOOGLE + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_BING + go_mau_fi_whatsmeow_proto_waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_PLANNED + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_EXECUTING + - BotProgressIndicatorMetadata_BotPlanningStepMetadata_FINISHED + go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata: + properties: + buttonTitle: + type: string + promotionType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotPromotionMessageMetadata_BotPromotionType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BotPromotionMessageMetadata_UNKNOWN_TYPE + - BotPromotionMessageMetadata_C50 + - BotPromotionMessageMetadata_SURVEY_PLATFORM + go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion: + properties: + prompt: + type: string + promptID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions: + properties: + suggestions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestion' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata: + properties: + botFeatureQuotaMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata: + properties: + expirationTimestamp: + type: integer + featureType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType' + remainingQuota: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - BotQuotaMetadata_BotFeatureQuotaMetadata_UNKNOWN_FEATURE + - BotQuotaMetadata_BotFeatureQuotaMetadata_REASONING_FEATURE + go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata: + properties: + action: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction' + frequency: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency' + name: + type: string + nextTriggerTimestamp: + type: integer + requestMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderAction: + enum: + - 1 + - 2 + - 3 + - 4 + format: int32 + type: integer + x-enum-varnames: + - BotReminderMetadata_NOTIFY + - BotReminderMetadata_CREATE + - BotReminderMetadata_DELETE + - BotReminderMetadata_UPDATE + go_mau_fi_whatsmeow_proto_waAICommon.BotReminderMetadata_ReminderFrequency: + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - BotReminderMetadata_ONCE + - BotReminderMetadata_DAILY + - BotReminderMetadata_WEEKLY + - BotReminderMetadata_BIWEEKLY + - BotReminderMetadata_MONTHLY + go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingConfigMetadata: + properties: + bloksVersioningID: + type: string + pixelDensity: + type: number + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata: + properties: + keywords: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotRenderingMetadata_Keyword: + properties: + associatedPrompts: + items: + type: string + type: array + value: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSessionMetadata: + properties: + sessionID: + type: string + sessionSource: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSessionSource: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + format: int32 + type: integer + x-enum-varnames: + - BotSessionSource_NONE + - BotSessionSource_NULL_STATE + - BotSessionSource_TYPEAHEAD + - BotSessionSource_USER_INPUT + - BotSessionSource_EMU_FLASH + - BotSessionSource_EMU_FLASH_FOLLOWUP + - BotSessionSource_VOICE + - BotSessionSource_AI_HOME_SESSION + go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationMetadata: + properties: + proofs: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof: + properties: + certificateChain: + items: + items: + format: int32 + type: integer + type: array + type: array + signature: + items: + type: integer + type: array + useCase: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase' + version: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BotSignatureVerificationUseCaseProof_UNSPECIFIED + - BotSignatureVerificationUseCaseProof_WA_BOT_MSG + - BotSignatureVerificationUseCaseProof_WA_TEE_BOT_MSG + go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata: + properties: + sources: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem: + properties: + citationNumber: + type: integer + faviconCDNURL: + type: string + provider: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider' + sourceProviderURL: + type: string + sourceQuery: + type: string + sourceTitle: + type: string + thumbnailCDNURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + format: int32 + type: integer + x-enum-varnames: + - BotSourcesMetadata_BotSourceItem_UNKNOWN + - BotSourcesMetadata_BotSourceItem_BING + - BotSourcesMetadata_BotSourceItem_GOOGLE + - BotSourcesMetadata_BotSourceItem_SUPPORT + - BotSourcesMetadata_BotSourceItem_OTHER + go_mau_fi_whatsmeow_proto_waAICommon.BotSuggestedPromptMetadata: + properties: + promptSuggestions: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotPromptSuggestions' + selectedPromptID: + type: string + selectedPromptIndex: + type: integer + suggestedPrompts: + items: + type: string + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation: + properties: + mediaDetailsMetadataList: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata' + type: array + sbsMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata: + properties: + ID: + type: string + highResMedia: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata' + previewMedia: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMediaMetadata' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.BotUnifiedResponseMutation_SideBySideMetadata: + properties: + primaryResponseID: + type: string + surveyCtaHasRendered: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo: + properties: + botJID: + type: string + botName: + type: string + creatorName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata: + properties: + feedbackToastText: + type: string + invitationBodyText: + type: string + invitationCtaText: + type: string + invitationCtaURL: + type: string + invitationHeaderText: + type: string + privacyStatementFull: + type: string + privacyStatementParts: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart' + type: array + questions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion' + type: array + requestID: + type: string + simonSessionID: + type: string + simonSurveyID: + type: string + startQuestionIndex: + type: integer + surveyContinueButtonText: + type: string + surveySubmitButtonText: + type: string + surveyTitle: + type: string + tessaEvent: + type: string + tessaRootID: + type: string + tessaSessionID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption: + properties: + numericValue: + type: integer + stringValue: + type: string + textTranslated: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart: + properties: + URL: + type: string + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion: + properties: + questionID: + type: string + questionOptions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.InThreadSurveyMetadata_InThreadSurveyOption' + type: array + questionText: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyMetadata: + properties: + disclaimerText: + type: string + hcaID: + type: string + sessionTransparencyType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType' + type: object + go_mau_fi_whatsmeow_proto_waAICommon.SessionTransparencyType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - SessionTransparencyType_UNKNOWN_TYPE + - SessionTransparencyType_NY_AI_SAFETY_DISCLAIMER + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata: + properties: + codeBlocks: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock' + type: array + codeLanguage: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock: + properties: + codeContent: + type: string + highlightType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType' + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER + - AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata: + properties: + contentType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType' + itemsMetadata: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata: + properties: + airichResponseContentItem: + description: "Types that are valid to be assigned to AIRichResponseContentItem:\n\n\t*AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata_ReelItem" + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseContentItemsMetadata_DEFAULT + - AIRichResponseContentItemsMetadata_CAROUSEL + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata: + properties: + URL: + type: string + loopCount: + type: integer + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType' + version: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN + - AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE + - AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata: + properties: + gridImageURL: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL' + imageURLs: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL' + type: array + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL: + properties: + imageHighResURL: + type: string + imagePreviewURL: + type: string + sourceURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata: + properties: + alignment: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment' + imageText: + type: string + imageURL: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseImageURL' + tapLinkURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED + - AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED + - AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata: + properties: + expressions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression' + type: array + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression: + properties: + URL: + type: string + fontHeight: + type: number + height: + type: number + imageBottomPadding: + type: number + imageLeadingPadding: + type: number + imageTopPadding: + type: number + imageTrailingPadding: + type: number + latexExpression: + type: string + width: + type: number + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata: + properties: + annotations: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation' + type: array + centerLatitude: + type: number + centerLongitude: + type: number + latitudeDelta: + type: number + longitudeDelta: + type: number + showInfoList: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation: + properties: + annotationNumber: + type: integer + body: + type: string + latitude: + type: number + longitude: + type: number + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_UNKNOWN + - AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_STANDARD + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage: + properties: + codeMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseCodeMetadata' + contentItemsMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseContentItemsMetadata' + dynamicMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseDynamicMetadata' + gridImageMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseGridImageMetadata' + imageMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseInlineImageMetadata' + latexMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseLatexMetadata' + mapMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMapMetadata' + messageText: + type: string + messageType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType' + tableMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata' + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessageType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + format: int32 + type: integer + x-enum-varnames: + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_UNKNOWN + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_GRID_IMAGE + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_TEXT + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_INLINE_IMAGE + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_TABLE + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_CODE + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_DYNAMIC + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_MAP + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_LATEX + - AIRichResponseSubMessageType_AI_RICH_RESPONSE_CONTENT_ITEMS + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata: + properties: + rows: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow' + type: array + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow: + properties: + isHeading: + type: boolean + items: + items: + type: string + type: array + type: object + go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ADVEncryptionType_E2EE + - ADVEncryptionType_HOSTED + go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig: + properties: + completeOnDemandReady: + type: boolean + fullSyncDaysLimit: + type: integer + fullSyncSizeMbLimit: + type: integer + inlineInitialPayloadInE2EeMsg: + type: boolean + onDemandReady: + type: boolean + recentSyncDaysLimit: + type: integer + storageQuotaMb: + type: integer + supportAddOnHistorySyncMigration: + type: boolean + supportBizHostedMsg: + type: boolean + supportBotUserAgentChatHistory: + type: boolean + supportCagReactionsAndPolls: + type: boolean + supportCallLogHistory: + type: boolean + supportFbidBotChatHistory: + type: boolean + supportGroupHistory: + type: boolean + supportGuestChat: + type: boolean + supportHostedGroupMsg: + type: boolean + supportMessageAssociation: + type: boolean + supportRecentSyncChunkMessageCountTuning: + type: boolean + thumbnailSyncDaysLimit: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout: + properties: + message: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + messageKey: + $ref: '#/definitions/waCommon.MessageKey' + timestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + messageType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseMessageType' + submessages: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommonDeprecated.AIRichResponseSubMessage' + type: array + unifiedResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIRichResponseUnifiedResponse' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ActionLink: + properties: + URL: + type: string + buttonTitle: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + expectedImageCount: + type: integer + expectedVideoCount: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification: + properties: + collectionNames: + items: + type: string + type: array + timestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey: + properties: + keyData: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData' + keyID: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId' + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyData: + properties: + fingerprint: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint' + keyData: + items: + type: integer + type: array + timestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyFingerprint: + properties: + currentIndex: + type: integer + deviceIndexes: + items: + type: integer + type: array + rawID: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId: + properties: + keyID: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest: + properties: + keyIDs: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyId' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare: + properties: + keys: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKey' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.AudioMessage: + properties: + PTT: + type: boolean + URL: + type: string + accessibilityLabel: + type: string + backgroundArgb: + type: integer + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + mimetype: + type: string + seconds: + type: integer + streamingSidecar: + items: + type: integer + type: array + viewOnce: + type: boolean + waveform: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.BCallMessage: + properties: + caption: + type: string + masterKey: + items: + type: integer + type: array + mediaType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType' + sessionID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.BCallMessage_MediaType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - BCallMessage_UNKNOWN + - BCallMessage_AUDIO + - BCallMessage_VIDEO + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage: + properties: + buttons: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button' + type: array + contentText: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + footerText: + type: string + header: + description: "Types that are valid to be assigned to Header:\n\n\t*ButtonsMessage_Text\n\t*ButtonsMessage_DocumentMessage\n\t*ButtonsMessage_ImageMessage\n\t*ButtonsMessage_VideoMessage\n\t*ButtonsMessage_LocationMessage" + headerType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button: + properties: + buttonID: + type: string + buttonText: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText' + nativeFlowInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo' + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_ButtonText: + properties: + displayText: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_NativeFlowInfo: + properties: + name: + type: string + paramsJSON: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_Button_Type: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ButtonsMessage_Button_UNKNOWN + - ButtonsMessage_Button_RESPONSE + - ButtonsMessage_Button_NATIVE_FLOW + go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage_HeaderType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + format: int32 + type: integer + x-enum-varnames: + - ButtonsMessage_UNKNOWN + - ButtonsMessage_EMPTY + - ButtonsMessage_TEXT + - ButtonsMessage_DOCUMENT + - ButtonsMessage_IMAGE + - ButtonsMessage_VIDEO + - ButtonsMessage_LOCATION + go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + response: + description: "Types that are valid to be assigned to Response:\n\n\t*ButtonsResponseMessage_SelectedDisplayText" + selectedButtonID: + type: string + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage_Type: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ButtonsResponseMessage_UNKNOWN + - ButtonsResponseMessage_DISPLAY_TEXT + go_mau_fi_whatsmeow_proto_waE2E.Call: + properties: + callEntryPoint: + type: integer + callKey: + items: + type: integer + type: array + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + conversionData: + items: + type: integer + type: array + conversionDelaySeconds: + type: integer + conversionSource: + type: string + ctwaPayload: + items: + type: integer + type: array + ctwaSignals: + type: string + deeplinkPayload: + type: string + messageContextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo' + nativeFlowCallButtonPayload: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage: + properties: + callOutcome: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome' + callType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType' + durationSecs: + type: integer + isVideo: + type: boolean + participants: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + format: int32 + type: integer + x-enum-varnames: + - CallLogMessage_CONNECTED + - CallLogMessage_MISSED + - CallLogMessage_FAILED + - CallLogMessage_REJECTED + - CallLogMessage_ACCEPTED_ELSEWHERE + - CallLogMessage_ONGOING + - CallLogMessage_SILENCED_BY_DND + - CallLogMessage_SILENCED_UNKNOWN_CALLER + go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallParticipant: + properties: + JID: + type: string + callOutcome: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallOutcome' + type: object + go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage_CallType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - CallLogMessage_REGULAR + - CallLogMessage_SCHEDULED_CALL + - CallLogMessage_VOICE_CHAT + go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.Chat: + properties: + ID: + type: string + displayName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification: + properties: + consumerLid: + type: string + consumerPhoneNumber: + type: string + notificationContent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent' + senderNotificationTimestampMS: + type: integer + shouldSuppressNotification: + type: boolean + status: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl' + type: object + go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - CloudAPIThreadControlNotification_UNKNOWN + - CloudAPIThreadControlNotification_CONTROL_PASSED + - CloudAPIThreadControlNotification_CONTROL_TAKEN + go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent: + properties: + extraJSON: + type: string + handoffNotificationText: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.CommentMessage: + properties: + message: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + targetMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage: + properties: + conditionalRevealMessageType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType' + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + revealKeyID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage_ConditionalRevealMessageType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ConditionalRevealMessage_UNKNOWN + - ConditionalRevealMessage_SCHEDULED_MESSAGE + go_mau_fi_whatsmeow_proto_waE2E.ContactMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + displayName: + type: string + isSelfContact: + type: boolean + vcard: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage: + properties: + contacts: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage' + type: array + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + displayName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo: + properties: + actionLink: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ActionLink' + afterReadDuration: + type: integer + alwaysShowAdAttribution: + type: boolean + botMessageSharingInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMessageSharingInfo' + businessMessageForwardInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo' + conversionData: + items: + type: integer + type: array + conversionDelaySeconds: + type: integer + conversionSource: + type: string + ctwaPayload: + items: + type: integer + type: array + ctwaSignals: + type: string + dataSharingContext: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext' + disappearingMode: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode' + entryPointConversionApp: + type: string + entryPointConversionDelaySeconds: + type: integer + entryPointConversionExternalMedium: + type: string + entryPointConversionExternalSource: + type: string + entryPointConversionSource: + type: string + ephemeralSettingTimestamp: + type: integer + ephemeralSharedSecret: + items: + type: integer + type: array + expiration: + type: integer + externalAdReply: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo' + featureEligibilities: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities' + forwardOrigin: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin' + forwardedAiBotMessageInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.ForwardedAIBotMessageInfo' + forwardedNewsletterMessageInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo' + forwardingScore: + type: integer + groupMentions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupMention' + type: array + groupSubject: + type: string + isForwarded: + type: boolean + isGroupStatus: + type: boolean + isQuestion: + type: boolean + isSampled: + type: boolean + isSpoiler: + type: boolean + mediaDomainInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo' + memberLabel: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel' + mentionedJID: + items: + type: string + type: array + nonJIDMentions: + type: integer + pairedMediaType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType' + parentGroupJID: + type: string + partiallySelectedContent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent' + participant: + type: string + placeholderKey: + $ref: '#/definitions/waCommon.MessageKey' + questionReplyQuotedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage' + quotedAd: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo' + quotedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + quotedType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType' + rankingVersion: + type: integer + remoteJID: + type: string + smbClientCampaignID: + type: string + smbServerCampaignID: + type: string + stanzaID: + type: string + statusAttributionType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType' + statusAttributions: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution' + type: array + statusAudienceMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata' + statusSourceType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType' + trustBannerAction: + type: integer + trustBannerType: + type: string + urlTrackingMap: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap' + utm: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo: + properties: + JPEGThumbnail: + items: + type: integer + type: array + advertiserName: + type: string + caption: + type: string + mediaType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_AdReplyInfo_MediaType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_AdReplyInfo_NONE + - ContextInfo_AdReplyInfo_IMAGE + - ContextInfo_AdReplyInfo_VIDEO + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_BusinessMessageForwardInfo: + properties: + businessOwnerJID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext: + properties: + dataSharingFlags: + type: integer + encryptedSignalTokenConsented: + type: string + parameters: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters' + type: array + showMmDisclosure: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters: + properties: + contents: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_DataSharingContext_Parameters' + floatData: + type: number + intData: + type: integer + key: + type: string + stringData: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo: + properties: + adContextPreviewDismissed: + type: boolean + adPreviewURL: + type: string + adType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType' + automatedGreetingMessageCtaType: + type: string + automatedGreetingMessageShown: + type: boolean + body: + type: string + clickToWhatsappCall: + type: boolean + containsAutoReply: + type: boolean + ctaPayload: + type: string + ctwaClid: + type: string + disableNudge: + type: boolean + greetingMessageBody: + type: string + mediaType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType' + mediaURL: + type: string + originalImageURL: + type: string + ref: + type: string + renderLargerThumbnail: + type: boolean + showAdAttribution: + type: boolean + sourceApp: + type: string + sourceID: + type: string + sourceType: + type: string + sourceURL: + type: string + thumbnail: + items: + type: integer + type: array + thumbnailURL: + type: string + title: + type: string + wtwaAdFormat: + type: boolean + wtwaWebsiteURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_AdType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_ExternalAdReplyInfo_CTWA + - ContextInfo_ExternalAdReplyInfo_CAWC + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ExternalAdReplyInfo_MediaType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_ExternalAdReplyInfo_NONE + - ContextInfo_ExternalAdReplyInfo_IMAGE + - ContextInfo_ExternalAdReplyInfo_VIDEO + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_FeatureEligibilities: + properties: + canBeReshared: + type: boolean + canReceiveMultiReact: + type: boolean + canRequestFeedback: + type: boolean + cannotBeRanked: + type: boolean + cannotBeReactedTo: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardOrigin: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_UNKNOWN + - ContextInfo_CHAT + - ContextInfo_STATUS + - ContextInfo_CHANNELS + - ContextInfo_META_AI + - ContextInfo_UGC + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo: + properties: + accessibilityText: + type: string + contentType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType' + newsletterJID: + type: string + newsletterName: + type: string + profileName: + type: string + serverMessageID: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType: + enum: + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_ForwardedNewsletterMessageInfo_UPDATE + - ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD + - ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PairedMediaType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_NOT_PAIRED_MEDIA + - ContextInfo_SD_VIDEO_PARENT + - ContextInfo_HD_VIDEO_CHILD + - ContextInfo_SD_IMAGE_PARENT + - ContextInfo_HD_IMAGE_CHILD + - ContextInfo_MOTION_PHOTO_PARENT + - ContextInfo_MOTION_PHOTO_CHILD + - ContextInfo_HEVC_VIDEO_PARENT + - ContextInfo_HEVC_VIDEO_CHILD + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_PartiallySelectedContent: + properties: + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuestionReplyQuotedMessage: + properties: + quotedQuestion: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + quotedResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + serverQuestionID: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_QuotedType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_EXPLICIT + - ContextInfo_AUTO + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAttributionType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_NONE + - ContextInfo_RESHARED_FROM_MENTION + - ContextInfo_RESHARED_FROM_POST + - ContextInfo_RESHARED_FROM_POST_MANY_TIMES + - ContextInfo_FORWARDED_FROM_STATUS + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata: + properties: + audienceType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType' + listEmoji: + type: string + listName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusAudienceMetadata_AudienceType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_StatusAudienceMetadata_UNKNOWN + - ContextInfo_StatusAudienceMetadata_CLOSE_FRIENDS + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_StatusSourceType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - ContextInfo_IMAGE + - ContextInfo_VIDEO + - ContextInfo_GIF + - ContextInfo_AUDIO + - ContextInfo_TEXT + - ContextInfo_MUSIC_STANDALONE + go_mau_fi_whatsmeow_proto_waE2E.ContextInfo_UTMInfo: + properties: + utmCampaign: + type: string + utmSource: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata: + properties: + receiverAccountType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType' + recipientKeyHash: + items: + type: integer + type: array + recipientKeyIndexes: + items: + type: integer + type: array + recipientTimestamp: + type: integer + senderAccountType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAdv.ADVEncryptionType' + senderKeyHash: + items: + type: integer + type: array + senderKeyIndexes: + items: + type: integer + type: array + senderTimestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage: + properties: + destinationJID: + type: string + message: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + phash: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode: + properties: + initiatedByMe: + type: boolean + initiator: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator' + initiatorDeviceJID: + type: string + trigger: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger' + type: object + go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Initiator: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - DisappearingMode_CHANGED_IN_CHAT + - DisappearingMode_INITIATED_BY_ME + - DisappearingMode_INITIATED_BY_OTHER + - DisappearingMode_BIZ_UPGRADE_FB_HOSTING + go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode_Trigger: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - DisappearingMode_UNKNOWN + - DisappearingMode_CHAT_SETTING + - DisappearingMode_ACCOUNT_SETTING + - DisappearingMode_BULK_CHANGE + - DisappearingMode_BIZ_SUPPORTS_FB_HOSTING + - DisappearingMode_UNKNOWN_GROUPS + go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + URL: + type: string + accessibilityLabel: + type: string + caption: + type: string + contactVcard: + type: boolean + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileName: + type: string + fileSHA256: + items: + type: integer + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + mimetype: + type: string + pageCount: + type: integer + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailHeight: + type: integer + thumbnailSHA256: + items: + type: integer + type: array + thumbnailWidth: + type: integer + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent: + properties: + content: + description: "Types that are valid to be assigned to Content:\n\n\t*EmbeddedContent_EmbeddedMessage\n\t*EmbeddedContent_EmbeddedMusic" + type: object + go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic: + properties: + artistAttribution: + type: string + artworkDirectPath: + type: string + artworkEncSHA256: + items: + type: integer + type: array + artworkMediaKey: + items: + type: integer + type: array + artworkSHA256: + items: + type: integer + type: array + author: + type: string + countryBlocklist: + items: + type: integer + type: array + derivedContentStartTimeInMS: + type: integer + isExplicit: + type: boolean + musicContentMediaID: + type: string + musicSongStartTimeInMS: + type: integer + overlapDurationInMS: + type: integer + songID: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage: + properties: + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + targetMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage: + properties: + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + eventCreationMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage: + properties: + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + targetMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.EventMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + description: + type: string + endTime: + type: integer + extraGuestsAllowed: + type: boolean + hasReminder: + type: boolean + isCanceled: + type: boolean + isScheduleCall: + type: boolean + joinLink: + type: string + location: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage' + name: + type: string + reminderOffsetSec: + type: integer + startTime: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + backgroundArgb: + type: integer + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + description: + type: string + doNotPlayInline: + type: boolean + endCardTiles: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard' + type: array + faviconMMSMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata' + font: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType' + inviteLinkGroupType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType' + inviteLinkGroupTypeV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType' + inviteLinkParentGroupSubjectV2: + type: string + inviteLinkParentGroupThumbnailV2: + items: + type: integer + type: array + linkPreviewMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata' + matchedText: + type: string + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + musicMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic' + paymentExtendedMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata' + paymentLinkMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata' + previewType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType' + text: + type: string + textArgb: + type: integer + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailHeight: + type: integer + thumbnailSHA256: + items: + type: integer + type: array + thumbnailWidth: + type: integer + title: + type: string + videoContentURL: + type: string + videoHeight: + type: integer + videoWidth: + type: integer + viewOnce: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_FontType: + enum: + - 0 + - 1 + - 2 + - 6 + - 7 + - 8 + - 9 + - 10 + format: int32 + type: integer + x-enum-varnames: + - ExtendedTextMessage_SYSTEM + - ExtendedTextMessage_SYSTEM_TEXT + - ExtendedTextMessage_FB_SCRIPT + - ExtendedTextMessage_SYSTEM_BOLD + - ExtendedTextMessage_MORNINGBREEZE_REGULAR + - ExtendedTextMessage_CALISTOGA_REGULAR + - ExtendedTextMessage_EXO2_EXTRABOLD + - ExtendedTextMessage_COURIERPRIME_BOLD + go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_InviteLinkGroupType: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - ExtendedTextMessage_DEFAULT + - ExtendedTextMessage_PARENT + - ExtendedTextMessage_SUB + - ExtendedTextMessage_DEFAULT_SUB + go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage_PreviewType: + enum: + - 0 + - 1 + - 4 + - 5 + - 6 + - 7 + format: int32 + type: integer + x-enum-varnames: + - ExtendedTextMessage_NONE + - ExtendedTextMessage_VIDEO + - ExtendedTextMessage_PLACEHOLDER + - ExtendedTextMessage_IMAGE + - ExtendedTextMessage_PAYMENT_LINKS + - ExtendedTextMessage_PROFILE + go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig: + properties: + historyDurationDays: + type: integer + historyFromTimestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata: + properties: + businessProduct: + type: string + opaqueClientData: + items: + type: integer + type: array + requestID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage: + properties: + message: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + type: object + go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + groupJID: + type: string + groupName: + type: string + groupType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType' + inviteCode: + type: string + inviteExpiration: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage_GroupType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - GroupInviteMessage_DEFAULT + - GroupInviteMessage_PARENT + go_mau_fi_whatsmeow_proto_waE2E.GroupMention: + properties: + groupJID: + type: string + groupSubject: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage: + properties: + deterministicLc: + type: string + deterministicLg: + type: string + elementName: + type: string + fallbackLc: + type: string + fallbackLg: + type: string + hydratedHsm: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage' + localizableParams: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter' + type: array + namespace: + type: string + params: + items: + type: string + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage_HSMLocalizableParameter: + properties: + default: + type: string + paramOneof: + description: "Types that are valid to be assigned to ParamOneof:\n\n\t*HighlyStructuredMessage_HSMLocalizableParameter_Currency\n\t*HighlyStructuredMessage_HSMLocalizableParameter_DateTime" + type: object + go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus: + properties: + completeAccessGranted: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification: + properties: + chunkOrder: + type: integer + directPath: + type: string + encHandle: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + fullHistorySyncOnDemandRequestMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata' + initialHistBootstrapInlinePayload: + items: + type: integer + type: array + mediaKey: + items: + type: integer + type: array + messageAccessStatus: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncMessageAccessStatus' + oldestMsgInChunkTimestampSec: + type: integer + originalMessageID: + type: string + peerDataRequestSessionID: + type: string + progress: + type: integer + syncType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + format: int32 + type: integer + x-enum-varnames: + - HistorySyncType_INITIAL_BOOTSTRAP + - HistorySyncType_INITIAL_STATUS_V3 + - HistorySyncType_FULL + - HistorySyncType_RECENT + - HistorySyncType_PUSH_NAME + - HistorySyncType_NON_BLOCKING_DATA + - HistorySyncType_ON_DEMAND + - HistorySyncType_NO_HISTORY + - HistorySyncType_MESSAGE_ACCESS_STATUS + go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton: + properties: + hydratedButton: + description: "Types that are valid to be assigned to HydratedButton:\n\n\t*HydratedTemplateButton_QuickReplyButton\n\t*HydratedTemplateButton_UrlButton\n\t*HydratedTemplateButton_CallButton" + index: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ImageMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + URL: + type: string + accessibilityLabel: + type: string + annotations: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation' + type: array + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + experimentGroupID: + type: integer + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + firstScanLength: + type: integer + firstScanSidecar: + items: + type: integer + type: array + height: + type: integer + imageSourceType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType' + interactiveAnnotations: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation' + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + midQualityFileEncSHA256: + items: + type: integer + type: array + midQualityFileSHA256: + items: + type: integer + type: array + mimetype: + type: string + qrURL: + type: string + scanLengths: + items: + type: integer + type: array + scansSidecar: + items: + type: integer + type: array + staticURL: + type: string + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailSHA256: + items: + type: integer + type: array + viewOnce: + type: boolean + width: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ImageMessage_ImageSourceType: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - ImageMessage_USER_IMAGE + - ImageMessage_AI_GENERATED + - ImageMessage_AI_MODIFIED + - ImageMessage_RASTERIZED_TEXT_STATUS + go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync: + properties: + securityNotificationEnabled: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation: + properties: + action: + description: "Types that are valid to be assigned to Action:\n\n\t*InteractiveAnnotation_Location\n\t*InteractiveAnnotation_Newsletter\n\t*InteractiveAnnotation_EmbeddedAction\n\t*InteractiveAnnotation_TapAction" + embeddedContent: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedContent' + polygonVertices: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Point' + type: array + shouldSkipConfirmation: + type: boolean + statusLinkType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation_StatusLinkType: + enum: + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - InteractiveAnnotation_RASTERIZED_LINK_PREVIEW + - InteractiveAnnotation_RASTERIZED_LINK_TRUNCATED + - InteractiveAnnotation_RASTERIZED_LINK_FULL_URL + go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage: + properties: + bloksWidget: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget' + body: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body' + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + footer: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer' + header: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header' + interactiveMessage: + description: "Types that are valid to be assigned to InteractiveMessage:\n\n\t*InteractiveMessage_ShopStorefrontMessage\n\t*InteractiveMessage_CollectionMessage_\n\t*InteractiveMessage_NativeFlowMessage_\n\t*InteractiveMessage_CarouselMessage_" + urlTrackingMap: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap' + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget: + properties: + data: + type: string + type: + type: string + uuid: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Body: + properties: + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Footer: + properties: + hasMediaAttachment: + type: boolean + media: + description: "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Footer_AudioMessage" + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_Header: + properties: + bloksWidget: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage_BloksWidget' + hasMediaAttachment: + type: boolean + media: + description: "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Header_DocumentMessage\n\t*InteractiveMessage_Header_ImageMessage\n\t*InteractiveMessage_Header_JPEGThumbnail\n\t*InteractiveMessage_Header_VideoMessage\n\t*InteractiveMessage_Header_LocationMessage\n\t*InteractiveMessage_Header_ProductMessage" + subtitle: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage: + properties: + body: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body' + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + interactiveResponseMessage: + description: "Types that are valid to be assigned to InteractiveResponseMessage:\n\n\t*InteractiveResponseMessage_NativeFlowResponseMessage_" + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body: + properties: + format: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format' + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage_Body_Format: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - InteractiveResponseMessage_Body_DEFAULT + - InteractiveResponseMessage_Body_EXTENSIONS_1 + go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage: + properties: + attachmentDirectPath: + type: string + attachmentFileEncSHA256: + items: + type: integer + type: array + attachmentFileSHA256: + items: + type: integer + type: array + attachmentJPEGThumbnail: + items: + type: integer + type: array + attachmentMediaKey: + items: + type: integer + type: array + attachmentMediaKeyTimestamp: + type: integer + attachmentMimetype: + type: string + attachmentType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType' + note: + type: string + token: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage_AttachmentType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - InvoiceMessage_IMAGE + - InvoiceMessage_PDF + go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage: + properties: + keepType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepType' + key: + $ref: '#/definitions/waCommon.MessageKey' + timestampMS: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.KeepType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - KeepType_UNKNOWN_KEEP_TYPE + - KeepType_KEEP_FOR_ALL + - KeepType_UNDO_KEEP_FOR_ALL + go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage: + properties: + encodedMappingPayload: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata: + properties: + fbExperimentID: + type: integer + linkInlineVideoMuted: + type: boolean + linkMediaDuration: + type: integer + musicMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EmbeddedMusic' + paymentLinkMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata' + socialMediaPostType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType' + urlMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.URLMetadata' + videoContentCaption: + type: string + videoContentURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.LinkPreviewMetadata_SocialMediaPostType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - LinkPreviewMetadata_NONE + - LinkPreviewMetadata_REEL + - LinkPreviewMetadata_LIVE_VIDEO + - LinkPreviewMetadata_LONG_VIDEO + - LinkPreviewMetadata_SINGLE_IMAGE + - LinkPreviewMetadata_CAROUSEL + go_mau_fi_whatsmeow_proto_waE2E.ListMessage: + properties: + buttonText: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + description: + type: string + footerText: + type: string + listType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType' + productListInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo' + sections: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section' + type: array + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ListType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ListMessage_UNKNOWN + - ListMessage_SINGLE_SELECT + - ListMessage_PRODUCT_LIST + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product: + properties: + productID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + productID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListInfo: + properties: + businessOwnerJID: + type: string + headerImage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductListHeaderImage' + productSections: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_ProductSection: + properties: + products: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Product' + type: array + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row: + properties: + description: + type: string + rowID: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Section: + properties: + rows: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage_Row' + type: array + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + description: + type: string + listType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType' + singleSelectReply: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply' + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_ListType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ListResponseMessage_UNKNOWN + - ListResponseMessage_SINGLE_SELECT + go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage_SingleSelectReply: + properties: + selectedRowID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + accuracyInMeters: + type: integer + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + degreesClockwiseFromMagneticNorth: + type: integer + degreesLatitude: + type: number + degreesLongitude: + type: number + sequenceNumber: + type: integer + speedInMps: + type: number + timeOffset: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.LocationMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + URL: + type: string + accuracyInMeters: + type: integer + address: + type: string + comment: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + degreesClockwiseFromMagneticNorth: + type: integer + degreesLatitude: + type: number + degreesLongitude: + type: number + isLive: + type: boolean + name: + type: string + speedInMps: + type: number + type: object + go_mau_fi_whatsmeow_proto_waE2E.MMSThumbnailMetadata: + properties: + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailHeight: + type: integer + thumbnailSHA256: + items: + type: integer + type: array + thumbnailWidth: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.MediaDomainInfo: + properties: + e2EeMediaKey: + items: + type: integer + type: array + mediaKeyDomain: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain' + type: object + go_mau_fi_whatsmeow_proto_waE2E.MediaKeyDomain: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - MediaKeyDomain_MEDIA_KEY_DOMAIN_UNKNOWN + - MediaKeyDomain_MEDIA_KEY_DOMAIN_E2EE + - MediaKeyDomain_MEDIA_KEY_DOMAIN_NON_E2EE + go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage: + properties: + expressPathURL: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.MemberLabel: + properties: + label: + type: string + labelTimestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.Message: + properties: + albumMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AlbumMessage' + associatedChildMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + audioMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AudioMessage' + bcallMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.BCallMessage' + botForwardedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + botInvokeMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + botTaskMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + buttonsMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsMessage' + buttonsResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ButtonsResponseMessage' + call: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Call' + callLogMesssage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CallLogMessage' + cancelPaymentRequestMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CancelPaymentRequestMessage' + chat: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Chat' + commentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CommentMessage' + conditionalRevealMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ConditionalRevealMessage' + contactMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactMessage' + contactsArrayMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContactsArrayMessage' + conversation: + type: string + declinePaymentRequestMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeclinePaymentRequestMessage' + deviceSentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceSentMessage' + documentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DocumentMessage' + documentWithCaptionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + editedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + encCommentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncCommentMessage' + encEventResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncEventResponseMessage' + encReactionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EncReactionMessage' + ephemeralMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + eventCoverImage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + eventMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.EventMessage' + extendedTextMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ExtendedTextMessage' + fastRatchetKeySenderKeyDistributionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage' + groupInviteMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.GroupInviteMessage' + groupMentionedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + groupStatusMentionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + groupStatusMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + groupStatusMessageV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + highlyStructuredMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HighlyStructuredMessage' + imageMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage' + interactiveMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveMessage' + interactiveResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveResponseMessage' + invoiceMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InvoiceMessage' + keepInChatMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.KeepInChatMessage' + limitSharingMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + listMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListMessage' + listResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ListResponseMessage' + liveLocationMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LiveLocationMessage' + locationMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LocationMessage' + lottieStickerMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + messageContextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo' + messageHistoryBundle: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle' + messageHistoryNotice: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice' + newsletterAdminInviteMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage' + newsletterAdminProfileMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + newsletterAdminProfileMessageV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + newsletterFollowerInviteMessageV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage' + orderMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage' + paymentInviteMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage' + pinInChatMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage' + placeholderMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage' + pollAddOptionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage' + pollCreationMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage' + pollCreationMessageV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage' + pollCreationMessageV3: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage' + pollCreationMessageV4: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + pollCreationMessageV5: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage' + pollCreationMessageV6: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage' + pollCreationOptionImageMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + pollResultSnapshotMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage' + pollResultSnapshotMessageV3: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage' + pollUpdateMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage' + productMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage' + protocolMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage' + ptvMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage' + questionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + questionReplyMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + questionResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage' + reactionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage' + requestPaymentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage' + requestPhoneNumberMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage' + richResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIRichResponseMessage' + scheduledCallCreationMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage' + scheduledCallEditMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage' + secretEncryptedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage' + sendPaymentMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage' + senderKeyDistributionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage' + spoilerMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + statusAddYours: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + statusMentionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + statusNotificationMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage' + statusQuestionAnswerMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage' + statusQuotedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage' + statusStickerInteractionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage' + stickerMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage' + stickerPackMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage' + stickerSyncRmrMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage' + templateButtonReplyMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage' + templateMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage' + videoMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage' + viewOnceMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + viewOnceMessageV2: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + viewOnceMessageV2Extension: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FutureProofMessage' + type: object + go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation: + properties: + associationType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType' + messageIndex: + type: integer + parentMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation_AssociationType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + format: int32 + type: integer + x-enum-varnames: + - MessageAssociation_UNKNOWN + - MessageAssociation_MEDIA_ALBUM + - MessageAssociation_BOT_PLUGIN + - MessageAssociation_EVENT_COVER_IMAGE + - MessageAssociation_STATUS_POLL + - MessageAssociation_HD_VIDEO_DUAL_UPLOAD + - MessageAssociation_STATUS_EXTERNAL_RESHARE + - MessageAssociation_MEDIA_POLL + - MessageAssociation_STATUS_ADD_YOURS + - MessageAssociation_STATUS_NOTIFICATION + - MessageAssociation_HD_IMAGE_DUAL_UPLOAD + - MessageAssociation_STICKER_ANNOTATION + - MessageAssociation_MOTION_PHOTO + - MessageAssociation_STATUS_LINK_ACTION + - MessageAssociation_VIEW_ALL_REPLIES + - MessageAssociation_STATUS_ADD_YOURS_AI_IMAGINE + - MessageAssociation_STATUS_QUESTION + - MessageAssociation_STATUS_ADD_YOURS_DIWALI + - MessageAssociation_STATUS_REACTION + - MessageAssociation_HEVC_VIDEO_DUAL_UPLOAD + - MessageAssociation_POLL_ADD_OPTION + go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo: + properties: + botMessageSecret: + items: + type: integer + type: array + botMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotMetadata' + capiCreatedGroup: + type: boolean + deviceListMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DeviceListMetadata' + deviceListMetadataVersion: + type: integer + limitSharing: + $ref: '#/definitions/waCommon.LimitSharing' + limitSharingV2: + $ref: '#/definitions/waCommon.LimitSharing' + messageAddOnDurationInSecs: + type: integer + messageAddOnExpiryType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType' + messageAssociation: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageAssociation' + messageSecret: + items: + type: integer + type: array + paddingBytes: + items: + type: integer + type: array + reportingTokenVersion: + type: integer + supportPayload: + type: string + threadID: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID' + type: array + weblinkRenderConfig: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig' + type: object + go_mau_fi_whatsmeow_proto_waE2E.MessageContextInfo_MessageAddonExpiryType: + enum: + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - MessageContextInfo_STATIC + - MessageContextInfo_DEPENDENT_ON_PARENT + go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryBundle: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileSHA256: + items: + type: integer + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + messageHistoryMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata' + mimetype: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata: + properties: + historyReceivers: + items: + type: string + type: array + messageCount: + type: integer + nonHistoryReceivers: + items: + type: string + type: array + oldestMessageTimestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryNotice: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + messageHistoryMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MessageHistoryMetadata' + type: object + go_mau_fi_whatsmeow_proto_waE2E.Money: + properties: + currencyCode: + type: string + offset: + type: integer + value: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.NewsletterAdminInviteMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + inviteExpiration: + type: integer + newsletterJID: + type: string + newsletterName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.NewsletterFollowerInviteMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + newsletterJID: + type: string + newsletterName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.OrderMessage: + properties: + catalogType: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + itemCount: + type: integer + message: + type: string + messageVersion: + type: integer + orderID: + type: string + orderRequestMessageID: + $ref: '#/definitions/waCommon.MessageKey' + orderTitle: + type: string + sellerJID: + type: string + status: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus' + surface: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface' + thumbnail: + items: + type: integer + type: array + token: + type: string + totalAmount1000: + type: integer + totalCurrencyCode: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderStatus: + enum: + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - OrderMessage_INQUIRY + - OrderMessage_ACCEPTED + - OrderMessage_DECLINED + go_mau_fi_whatsmeow_proto_waE2E.OrderMessage_OrderSurface: + enum: + - 1 + format: int32 + type: integer + x-enum-varnames: + - OrderMessage_CATALOG + go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground: + properties: + ID: + type: string + fileLength: + type: integer + height: + type: integer + mediaData: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData' + mimetype: + type: string + placeholderArgb: + type: integer + subtextArgb: + type: integer + textArgb: + type: integer + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type' + width: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_MediaData: + properties: + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileSHA256: + items: + type: integer + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground_Type: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - PaymentBackground_UNKNOWN + - PaymentBackground_DEFAULT + go_mau_fi_whatsmeow_proto_waE2E.PaymentExtendedMetadata: + properties: + platform: + type: string + type: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage: + properties: + expiryTimestamp: + type: integer + incentiveEligible: + type: boolean + referralID: + type: string + serviceType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentInviteMessage_ServiceType: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - PaymentInviteMessage_UNKNOWN + - PaymentInviteMessage_FBPAY + - PaymentInviteMessage_NOVI + - PaymentInviteMessage_UPI + go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata: + properties: + button: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton' + header: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader' + provider: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkButton: + properties: + displayText: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader: + properties: + headerType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - PaymentLinkMetadata_PaymentLinkHeader_LINK_PREVIEW + - PaymentLinkMetadata_PaymentLinkHeader_ORDER + go_mau_fi_whatsmeow_proto_waE2E.PaymentLinkMetadata_PaymentLinkProvider: + properties: + paramsJSON: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage: + properties: + companionCanonicalUserNonceFetchRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest' + fullHistorySyncOnDemandRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest' + galaxyFlowAction: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction' + historySyncChunkRetryRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest' + historySyncOnDemandRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest' + peerDataOperationRequestType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType' + placeholderMessageResendRequest: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest' + type: array + requestStickerReupload: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload' + type: array + requestURLPreview: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview' + type: array + syncdCollectionFatalRecoveryRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest: + properties: + registrationTraceID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest: + properties: + fullHistorySyncOnDemandConfig: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandConfig' + historySyncConfig: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waCompanionReg.DeviceProps_HistorySyncConfig' + requestMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction: + properties: + agmID: + type: string + flowID: + type: string + galaxyFlowDownloadRequestID: + type: string + stanzaID: + type: string + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType: + enum: + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - PeerDataOperationRequestMessage_GalaxyFlowAction_NOTIFY_LAUNCH + - PeerDataOperationRequestMessage_GalaxyFlowAction_DOWNLOAD_RESPONSES + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest: + properties: + chunkNotificationID: + type: string + chunkOrder: + type: integer + regenerateChunk: + type: boolean + syncType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest: + properties: + accountLid: + type: string + chatJID: + type: string + oldestMsgFromMe: + type: boolean + oldestMsgID: + type: string + oldestMsgTimestampMS: + type: integer + onDemandMsgCount: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest: + properties: + messageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestStickerReupload: + properties: + fileSHA256: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_RequestUrlPreview: + properties: + URL: + type: string + includeHqThumbnail: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest: + properties: + collectionName: + type: string + timestamp: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage: + properties: + peerDataOperationRequestType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType' + peerDataOperationResult: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult' + type: array + stanzaID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult: + properties: + companionCanonicalUserNonceFetchRequestResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse' + companionMetaNonceFetchRequestResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse' + flowResponsesCsvBundle: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle' + fullHistorySyncOnDemandRequestResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse' + historySyncChunkRetryResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse' + linkPreviewResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse' + mediaUploadResult: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType' + placeholderMessageResendResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse' + stickerMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerMessage' + syncdSnapshotFatalRecoveryResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse' + waffleNonceFetchRequestResponse: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse' + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse + : properties: + forceRefresh: + type: boolean + nonce: + type: string + waFbid: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse: + properties: + nonce: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle: + properties: + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileName: + type: string + fileSHA256: + items: + type: integer + type: array + flowID: + type: string + galaxyFlowDownloadRequestID: + type: string + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + mimetype: + type: string + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse + : properties: + requestMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.FullHistorySyncOnDemandRequestMetadata' + responseCode: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode' + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode + : enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + format: int32 + type: integer + x-enum-varnames: + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_SUCCESS + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_TIME_EXPIRED + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DECLINED_SHARING_HISTORY + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERIC_ERROR + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_REQUEST_ON_NON_SMB_PRIMARY + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_NOT_CONNECTED + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse: + properties: + canRecover: + type: boolean + chunkOrder: + type: integer + requestID: + type: string + responseCode: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode' + syncType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncType' + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode + : enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + format: int32 + type: integer + x-enum-varnames: + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERATION_ERROR + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_CONSUMED + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_TIMEOUT + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SESSION_EXHAUSTED + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_EXHAUSTED + - PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DUPLICATED_REQUEST + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse: + properties: + URL: + type: string + description: + type: string + hqThumbnail: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail' + matchText: + type: string + previewMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata' + previewType: + type: string + thumbData: + items: + type: integer + type: array + title: + type: string + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail + : properties: + directPath: + type: string + encThumbHash: + type: string + mediaKey: + items: + type: integer + type: array + mediaKeyTimestampMS: + type: integer + thumbHash: + type: string + thumbHeight: + type: integer + thumbWidth: + type: integer + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata + : properties: + amount: + type: string + currency: + type: string + isBusinessVerified: + type: boolean + offset: + type: string + providerName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse: + properties: + webMessageInfoBytes: + items: + type: integer + type: array + type: object + ? go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse + : properties: + collectionSnapshot: + items: + type: integer + type: array + isCompressed: + type: boolean + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse: + properties: + nonce: + type: string + waEntFbid: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + format: int32 + type: integer + x-enum-varnames: + - PeerDataOperationRequestType_UPLOAD_STICKER + - PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP + - PeerDataOperationRequestType_GENERATE_LINK_PREVIEW + - PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND + - PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND + - PeerDataOperationRequestType_WAFFLE_LINKING_NONCE_FETCH + - PeerDataOperationRequestType_FULL_HISTORY_SYNC_ON_DEMAND + - PeerDataOperationRequestType_COMPANION_META_NONCE_FETCH + - PeerDataOperationRequestType_COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY + - PeerDataOperationRequestType_COMPANION_CANONICAL_USER_NONCE_FETCH + - PeerDataOperationRequestType_HISTORY_SYNC_CHUNK_RETRY + - PeerDataOperationRequestType_GALAXY_FLOW_ACTION + go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + senderTimestampMS: + type: integer + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PinInChatMessage_Type: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - PinInChatMessage_UNKNOWN_TYPE + - PinInChatMessage_PIN_FOR_ALL + - PinInChatMessage_UNPIN_FOR_ALL + go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage: + properties: + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PlaceholderMessage_PlaceholderType: + enum: + - 0 + format: int32 + type: integer + x-enum-varnames: + - PlaceholderMessage_MASK_LINKED_DEVICES + go_mau_fi_whatsmeow_proto_waE2E.Point: + properties: + x: + type: number + xDeprecated: + type: integer + "y": + type: number + yDeprecated: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollAddOptionMessage: + properties: + addOption: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option' + pollCreationMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollContentType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - PollContentType_UNKNOWN_POLL_CONTENT_TYPE + - PollContentType_TEXT + - PollContentType_IMAGE + go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage: + properties: + allowAddOption: + type: boolean + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + correctAnswer: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option' + encKey: + items: + type: integer + type: array + endTime: + type: integer + hideParticipantName: + type: boolean + name: + type: string + options: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option' + type: array + pollContentType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollContentType' + pollType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType' + selectableOptionsCount: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollCreationMessage_Option: + properties: + optionHash: + type: string + optionName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollEncValue: + properties: + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + name: + type: string + pollType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollType' + pollVotes: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollResultSnapshotMessage_PollVote: + properties: + optionName: + type: string + optionVoteCount: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - PollType_POLL + - PollType_QUIZ + go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessage: + properties: + metadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata' + pollCreationMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + senderTimestampMS: + type: integer + vote: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PollEncValue' + type: object + go_mau_fi_whatsmeow_proto_waE2E.PollUpdateMessageMetadata: + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo: + properties: + bitrate: + type: integer + capabilities: + items: + type: string + type: array + directPath: + type: string + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + height: + type: integer + quality: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality' + width: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo_VideoQuality: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - ProcessedVideo_UNDEFINED + - ProcessedVideo_LOW + - ProcessedVideo_MID + - ProcessedVideo_HIGH + go_mau_fi_whatsmeow_proto_waE2E.ProductMessage: + properties: + body: + type: string + businessOwnerJID: + type: string + catalog: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot' + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + footer: + type: string + product: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_CatalogSnapshot: + properties: + catalogImage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage' + description: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProductMessage_ProductSnapshot: + properties: + URL: + type: string + currencyCode: + type: string + description: + type: string + firstImageID: + type: string + priceAmount1000: + type: integer + productID: + type: string + productImage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ImageMessage' + productImageCount: + type: integer + retailerID: + type: string + salePriceAmount1000: + type: integer + signedURL: + type: string + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage: + properties: + afterReadDuration: + type: integer + aiMediaCollectionMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.AIMediaCollectionMessage' + aiPsiMetadata: + items: + type: integer + type: array + aiQueryFanout: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AIQueryFanout' + appStateFatalExceptionNotification: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateFatalExceptionNotification' + appStateSyncKeyRequest: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyRequest' + appStateSyncKeyShare: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.AppStateSyncKeyShare' + botFeedbackMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waAICommon.BotFeedbackMessage' + cloudApiThreadControlNotification: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.CloudAPIThreadControlNotification' + disappearingMode: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.DisappearingMode' + editedMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + ephemeralExpiration: + type: integer + ephemeralSettingTimestamp: + type: integer + historySyncNotification: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HistorySyncNotification' + initialSecurityNotificationSettingSync: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InitialSecurityNotificationSettingSync' + invokerJID: + type: string + key: + $ref: '#/definitions/waCommon.MessageKey' + lidMigrationMappingSyncMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.LIDMigrationMappingSyncMessage' + limitSharing: + $ref: '#/definitions/waCommon.LimitSharing' + mediaNotifyMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MediaNotifyMessage' + memberLabel: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.MemberLabel' + peerDataOperationRequestMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestMessage' + peerDataOperationRequestResponseMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PeerDataOperationRequestResponseMessage' + requestWelcomeMessageMetadata: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata' + timestampMS: + type: integer + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ProtocolMessage_Type: + enum: + - 0 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 14 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24 + - 25 + - 26 + - 27 + - 28 + - 29 + - 30 + - 31 + - 32 + format: int32 + type: integer + x-enum-varnames: + - ProtocolMessage_REVOKE + - ProtocolMessage_EPHEMERAL_SETTING + - ProtocolMessage_EPHEMERAL_SYNC_RESPONSE + - ProtocolMessage_HISTORY_SYNC_NOTIFICATION + - ProtocolMessage_APP_STATE_SYNC_KEY_SHARE + - ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST + - ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST + - ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC + - ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION + - ProtocolMessage_SHARE_PHONE_NUMBER + - ProtocolMessage_MESSAGE_EDIT + - ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE + - ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE + - ProtocolMessage_REQUEST_WELCOME_MESSAGE + - ProtocolMessage_BOT_FEEDBACK_MESSAGE + - ProtocolMessage_MEDIA_NOTIFY_MESSAGE + - ProtocolMessage_CLOUD_API_THREAD_CONTROL_NOTIFICATION + - ProtocolMessage_LID_MIGRATION_MAPPING_SYNC + - ProtocolMessage_REMINDER_MESSAGE + - ProtocolMessage_BOT_MEMU_ONBOARDING_MESSAGE + - ProtocolMessage_STATUS_MENTION_MESSAGE + - ProtocolMessage_STOP_GENERATION_MESSAGE + - ProtocolMessage_LIMIT_SHARING + - ProtocolMessage_AI_PSI_METADATA + - ProtocolMessage_AI_QUERY_FANOUT + - ProtocolMessage_GROUP_MEMBER_LABEL_CHANGE + - ProtocolMessage_AI_MEDIA_COLLECTION_MESSAGE + - ProtocolMessage_MESSAGE_UNSCHEDULE + go_mau_fi_whatsmeow_proto_waE2E.QuestionResponseMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ReactionMessage: + properties: + groupingKey: + type: string + key: + $ref: '#/definitions/waCommon.MessageKey' + senderTimestampMS: + type: integer + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.RequestPaymentMessage: + properties: + amount: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Money' + amount1000: + type: integer + background: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground' + currencyCodeIso4217: + type: string + expiryTimestamp: + type: integer + noteMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + requestFrom: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.RequestPhoneNumberMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + type: object + go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata: + properties: + localChatState: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState' + welcomeTrigger: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger' + type: object + go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_LocalChatState: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - RequestWelcomeMessageMetadata_EMPTY + - RequestWelcomeMessageMetadata_NON_EMPTY + go_mau_fi_whatsmeow_proto_waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - RequestWelcomeMessageMetadata_CHAT_OPEN + - RequestWelcomeMessageMetadata_COMPANION_PAIRING + go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage: + properties: + callType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType' + scheduledTimestampMS: + type: integer + title: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallCreationMessage_CallType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ScheduledCallCreationMessage_UNKNOWN + - ScheduledCallCreationMessage_VOICE + - ScheduledCallCreationMessage_VIDEO + go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage: + properties: + editType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType' + key: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ScheduledCallEditMessage_EditType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - ScheduledCallEditMessage_UNKNOWN + - ScheduledCallEditMessage_CANCEL + go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage: + properties: + encIV: + items: + type: integer + type: array + encPayload: + items: + type: integer + type: array + remoteKeyID: + type: string + secretEncType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType' + targetMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: object + go_mau_fi_whatsmeow_proto_waE2E.SecretEncryptedMessage_SecretEncType: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + format: int32 + type: integer + x-enum-varnames: + - SecretEncryptedMessage_UNKNOWN + - SecretEncryptedMessage_EVENT_EDIT + - SecretEncryptedMessage_MESSAGE_EDIT + - SecretEncryptedMessage_MESSAGE_SCHEDULE + - SecretEncryptedMessage_POLL_EDIT + - SecretEncryptedMessage_POLL_ADD_OPTION + go_mau_fi_whatsmeow_proto_waE2E.SendPaymentMessage: + properties: + background: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.PaymentBackground' + noteMessage: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.Message' + requestMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + transactionData: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.SenderKeyDistributionMessage: + properties: + axolotlSenderKeyDistributionMessage: + items: + type: integer + type: array + groupID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage: + properties: + originalMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + responseMessageKey: + $ref: '#/definitions/waCommon.MessageKey' + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.StatusNotificationMessage_StatusNotificationType: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - StatusNotificationMessage_UNKNOWN + - StatusNotificationMessage_STATUS_ADD_YOURS + - StatusNotificationMessage_STATUS_RESHARE + - StatusNotificationMessage_STATUS_QUESTION_ANSWER_RESHARE + go_mau_fi_whatsmeow_proto_waE2E.StatusQuestionAnswerMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + text: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage: + properties: + originalStatusID: + $ref: '#/definitions/waCommon.MessageKey' + text: + type: string + thumbnail: + items: + type: integer + type: array + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.StatusQuotedMessage_StatusQuotedMessageType: + enum: + - 1 + format: int32 + type: integer + x-enum-varnames: + - StatusQuotedMessage_QUESTION_ANSWER + go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage: + properties: + key: + $ref: '#/definitions/waCommon.MessageKey' + stickerKey: + type: string + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.StatusStickerInteractionMessage_StatusStickerType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - StatusStickerInteractionMessage_UNKNOWN + - StatusStickerInteractionMessage_REACTION + go_mau_fi_whatsmeow_proto_waE2E.StickerMessage: + properties: + URL: + type: string + accessibilityLabel: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + firstFrameLength: + type: integer + firstFrameSidecar: + items: + type: integer + type: array + height: + type: integer + isAiSticker: + type: boolean + isAnimated: + type: boolean + isAvatar: + type: boolean + isLottie: + type: boolean + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + mimetype: + type: string + pngThumbnail: + items: + type: integer + type: array + premium: + type: integer + stickerSentTS: + type: integer + width: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage: + properties: + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + imageDataHash: + type: string + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + name: + type: string + packDescription: + type: string + publisher: + type: string + stickerPackID: + type: string + stickerPackOrigin: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin' + stickerPackSize: + type: integer + stickers: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker' + type: array + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailHeight: + type: integer + thumbnailSHA256: + items: + type: integer + type: array + thumbnailWidth: + type: integer + trayIconFileName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_Sticker: + properties: + accessibilityLabel: + type: string + emojis: + items: + type: string + type: array + fileName: + type: string + isAnimated: + type: boolean + isLottie: + type: boolean + mimetype: + type: string + premium: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.StickerPackMessage_StickerPackOrigin: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - StickerPackMessage_FIRST_PARTY + - StickerPackMessage_THIRD_PARTY + - StickerPackMessage_USER_CREATED + go_mau_fi_whatsmeow_proto_waE2E.StickerSyncRMRMessage: + properties: + filehash: + items: + type: string + type: array + requestTimestamp: + type: integer + rmrSource: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.TemplateButtonReplyMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + selectedCarouselCardIndex: + type: integer + selectedDisplayText: + type: string + selectedID: + type: string + selectedIndex: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage: + properties: + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + format: + description: "Types that are valid to be assigned to Format:\n\n\t*TemplateMessage_FourRowTemplate_\n\t*TemplateMessage_HydratedFourRowTemplate_\n\t*TemplateMessage_InteractiveMessageTemplate" + hydratedTemplate: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate' + templateID: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.TemplateMessage_HydratedFourRowTemplate: + properties: + hydratedButtons: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.HydratedTemplateButton' + type: array + hydratedContentText: + type: string + hydratedFooterText: + type: string + maskLinkedDevices: + type: boolean + templateID: + type: string + title: + description: "Types that are valid to be assigned to Title:\n\n\t*TemplateMessage_HydratedFourRowTemplate_DocumentMessage\n\t*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText\n\t*TemplateMessage_HydratedFourRowTemplate_ImageMessage\n\t*TemplateMessage_HydratedFourRowTemplate_VideoMessage\n\t*TemplateMessage_HydratedFourRowTemplate_LocationMessage" + type: object + go_mau_fi_whatsmeow_proto_waE2E.ThreadID: + properties: + sourceChatJID: + type: string + threadKey: + $ref: '#/definitions/waCommon.MessageKey' + threadType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType' + type: object + go_mau_fi_whatsmeow_proto_waE2E.ThreadID_ThreadType: + enum: + - 0 + - 1 + - 2 + format: int32 + type: integer + x-enum-varnames: + - ThreadID_UNKNOWN + - ThreadID_VIEW_REPLIES + - ThreadID_AI_THREAD + go_mau_fi_whatsmeow_proto_waE2E.URLMetadata: + properties: + fbExperimentID: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap: + properties: + urlTrackingMapElements: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement' + type: array + type: object + go_mau_fi_whatsmeow_proto_waE2E.UrlTrackingMap_UrlTrackingMapElement: + properties: + cardIndex: + type: integer + consentedUsersURL: + type: string + originalURL: + type: string + unconsentedUsersURL: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.VideoEndCard: + properties: + caption: + type: string + profilePictureURL: + type: string + thumbnailImageURL: + type: string + username: + type: string + type: object + go_mau_fi_whatsmeow_proto_waE2E.VideoMessage: + properties: + JPEGThumbnail: + items: + type: integer + type: array + URL: + type: string + accessibilityLabel: + type: string + annotations: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation' + type: array + caption: + type: string + contextInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ContextInfo' + directPath: + type: string + externalShareFullVideoDurationInSeconds: + type: integer + fileEncSHA256: + items: + type: integer + type: array + fileLength: + type: integer + fileSHA256: + items: + type: integer + type: array + gifAttribution: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution' + gifPlayback: + type: boolean + height: + type: integer + interactiveAnnotations: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.InteractiveAnnotation' + type: array + mediaKey: + items: + type: integer + type: array + mediaKeyTimestamp: + type: integer + metadataURL: + type: string + mimetype: + type: string + motionPhotoPresentationOffsetMS: + type: integer + processedVideos: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.ProcessedVideo' + type: array + seconds: + type: integer + staticURL: + type: string + streamingSidecar: + items: + type: integer + type: array + thumbnailDirectPath: + type: string + thumbnailEncSHA256: + items: + type: integer + type: array + thumbnailSHA256: + items: + type: integer + type: array + videoSourceType: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType' + viewOnce: + type: boolean + width: + type: integer + type: object + go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_Attribution: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - VideoMessage_NONE + - VideoMessage_GIPHY + - VideoMessage_TENOR + - VideoMessage_KLIPY + go_mau_fi_whatsmeow_proto_waE2E.VideoMessage_VideoSourceType: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - VideoMessage_USER_VIDEO + - VideoMessage_AI_GENERATED + go_mau_fi_whatsmeow_proto_waE2E.WebLinkRenderConfig: + enum: + - 0 + - 1 + format: int32 + type: integer + x-enum-varnames: + - WebLinkRenderConfig_WEBVIEW + - WebLinkRenderConfig_SYSTEM + go_mau_fi_whatsmeow_proto_waMmsRetry.MediaRetryNotification_ResultType: + enum: + - 0 + - 1 + - 2 + - 3 + format: int32 + type: integer + x-enum-varnames: + - MediaRetryNotification_GENERAL_ERROR + - MediaRetryNotification_SUCCESS + - MediaRetryNotification_NOT_FOUND + - MediaRetryNotification_DECRYPTION_ERROR + go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution: + properties: + actionURL: + type: string + attributionData: + description: "Types that are valid to be assigned to AttributionData:\n\n\t*StatusAttribution_StatusReshare_\n\t*StatusAttribution_ExternalShare_\n\t*StatusAttribution_Music_\n\t*StatusAttribution_GroupStatus_\n\t*StatusAttribution_RlAttribution\n\t*StatusAttribution_AiCreatedAttribution_" + type: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type' + type: object + go_mau_fi_whatsmeow_proto_waStatusAttributions.StatusAttribution_Type: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + format: int32 + type: integer + x-enum-varnames: + - StatusAttribution_UNKNOWN + - StatusAttribution_RESHARE + - StatusAttribution_EXTERNAL_SHARE + - StatusAttribution_MUSIC + - StatusAttribution_STATUS_MENTION + - StatusAttribution_GROUP_STATUS + - StatusAttribution_RL_ATTRIBUTION + - StatusAttribution_AI_CREATED + - StatusAttribution_LAYOUTS + go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName: + properties: + lc: + type: string + lg: + type: string + verifiedName: + type: string + type: object + go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate: + properties: + details: + items: + type: integer + type: array + serverSignature: + items: + type: integer + type: array + signature: + items: + type: integer + type: array + type: object + go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details: + properties: + issueTime: + type: integer + issuer: + type: string + localizedNames: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.LocalizedName' + type: array + serial: + type: integer + verifiedName: + type: string + type: object + go_mau_fi_whatsmeow_types.AddressingMode: + enum: + - pn + - lid + type: string + x-enum-varnames: + - AddressingModePN + - AddressingModeLID + go_mau_fi_whatsmeow_types.BotEditType: + enum: + - first + - inner + - last + type: string + x-enum-varnames: + - EditTypeFirst + - EditTypeInner + - EditTypeLast + go_mau_fi_whatsmeow_types.BroadcastRecipient: + properties: + lid: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + pn: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + type: object + go_mau_fi_whatsmeow_types.DeviceSentMeta: + properties: + destinationJID: + description: The destination user. This should match the MessageInfo.Recipient + field. + type: string + phash: + type: string + type: object + go_mau_fi_whatsmeow_types.EditAttribute: + enum: + - "" + - "1" + - "2" + - "3" + - "7" + - "8" + type: string + x-enum-comments: + EditAttributeAdminEdit: only used in newsletters + x-enum-descriptions: + - "" + - "" + - "" + - only used in newsletters + - "" + - "" + x-enum-varnames: + - EditAttributeEmpty + - EditAttributeMessageEdit + - EditAttributePinInChat + - EditAttributeAdminEdit + - EditAttributeSenderRevoke + - EditAttributeAdminRevoke + go_mau_fi_whatsmeow_types.JID: + properties: + device: + format: int32 + type: integer + integrator: + format: int32 + type: integer + rawAgent: + format: int32 + type: integer + server: + type: string + user: + type: string + type: object + go_mau_fi_whatsmeow_types.MessageInfo: + properties: + addressingMode: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.AddressingMode' + description: The addressing mode of the message (phone number or LID) + broadcastListOwner: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + description: |- + When sending a read receipt to a broadcast list message, the Chat is the broadcast list + and Sender is you, so this field contains the recipient of the read receipt. + broadcastRecipients: + items: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.BroadcastRecipient' + type: array + category: + type: string + chat: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + description: The chat where the message was sent. + deviceSentMeta: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.DeviceSentMeta' + description: Metadata for direct messages sent from another one of the user's + own devices. + edit: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.EditAttribute' + id: + type: string + isFromMe: + description: Whether the message was sent by the current user instead of someone + else. + type: boolean + isGroup: + description: Whether the chat is a group chat or broadcast list. + type: boolean + mediaType: + type: string + msgBotInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.MsgBotInfo' + msgMetaInfo: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.MsgMetaInfo' + multicast: + type: boolean + pushName: + type: string + recipientAlt: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + description: The alternative address of the recipient of the message for DMs. + sender: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + description: The user who sent the message. + senderAlt: + allOf: + - $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + description: The alternative address of the user who sent the message + serverID: + type: integer + timestamp: + type: string + type: + type: string + verifiedName: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.VerifiedName' + type: object + go_mau_fi_whatsmeow_types.MsgBotInfo: + properties: + editSenderTimestampMS: + type: string + editTargetID: + type: string + editType: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.BotEditType' + type: object + go_mau_fi_whatsmeow_types.MsgMetaInfo: + properties: + deprecatedLIDSession: + type: boolean + targetChat: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + targetID: + description: Bot things + type: string + targetSender: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + threadMessageID: + type: string + threadMessageSenderJID: + $ref: '#/definitions/go_mau_fi_whatsmeow_types.JID' + type: object + go_mau_fi_whatsmeow_types.PrivacySetting: + enum: + - "" + - all + - contacts + - contact_allowlist + - contact_blacklist + - match_last_seen + - known + - none + - on_standard + - "off" + type: string + x-enum-varnames: + - PrivacySettingUndefined + - PrivacySettingAll + - PrivacySettingContacts + - PrivacySettingContactAllowlist + - PrivacySettingContactBlacklist + - PrivacySettingMatchLastSeen + - PrivacySettingKnown + - PrivacySettingNone + - PrivacySettingOnStandard + - PrivacySettingOff + go_mau_fi_whatsmeow_types.VerifiedName: + properties: + certificate: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate' + details: + $ref: '#/definitions/go_mau_fi_whatsmeow_proto_waVnameCert.VerifiedNameCertificate_Details' + type: object + pkg_core.ActivateResponse: + properties: + message: + example: License activated successfully! + type: string + status: + example: active + type: string + type: object + pkg_core.Error400: + properties: + error: + $ref: '#/definitions/pkg_core.Error400Detail' + meta: + $ref: '#/definitions/pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + pkg_core.Error400Detail: + properties: + code: + example: BAD_REQUEST + type: string + message: + example: Invalid request data + type: string + type: object + pkg_core.Error401: + properties: + error: + $ref: '#/definitions/pkg_core.Error401Detail' + meta: + $ref: '#/definitions/pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + pkg_core.Error401Detail: + properties: + code: + example: UNAUTHORIZED + type: string + message: + example: Invalid or missing API key + type: string + type: object + pkg_core.Error403: + properties: + error: + $ref: '#/definitions/pkg_core.Error403Detail' + meta: + $ref: '#/definitions/pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + pkg_core.Error403Detail: + properties: + code: + example: FORBIDDEN + type: string + message: + example: Insufficient permissions + type: string + type: object + pkg_core.Error404: + properties: + error: + $ref: '#/definitions/pkg_core.Error404Detail' + meta: + $ref: '#/definitions/pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + pkg_core.Error404Detail: + properties: + code: + example: NOT_FOUND + type: string + message: + example: Resource not found + type: string + type: object + pkg_core.Error500: + properties: + error: + $ref: '#/definitions/pkg_core.Error500Detail' + meta: + $ref: '#/definitions/pkg_core.ErrorMeta' + success: + example: false + type: boolean + type: object + pkg_core.Error500Detail: + properties: + code: + example: INTERNAL_SERVER_ERROR + type: string + message: + example: An unexpected error occurred + type: string + type: object + pkg_core.ErrorMeta: + properties: + method: + example: GET + type: string + path: + example: /api/path + type: string + timestamp: + example: "2024-01-15T10:30:00Z" + type: string + type: object + pkg_core.RegisterResponse: + properties: + message: + example: License is already active + type: string + register_url: + example: https://app.evolution-api.com/register/12345 + type: string + status: + example: pending + type: string + type: object + pkg_core.StatusResponse: + properties: + api_key: + example: evol...xyz + type: string + instance_id: + example: inst-12345 + type: string + status: + example: active + type: string + type: object + waCommon.LimitSharing: + properties: + initiatedByMe: + type: boolean + limitSharingSettingTimestamp: + type: integer + sharingLimited: + type: boolean + trigger: + type: integer + type: object + waCommon.MessageKey: + properties: + ID: type: string - user: + fromMe: + type: boolean + participant: + type: string + remoteJID: type: string type: object - whatsmeow.ParticipantChange: - enum: - - add - - remove - - promote - - demote - type: string - x-enum-varnames: - - ParticipantChangeAdd - - ParticipantChangeRemove - - ParticipantChangePromote - - ParticipantChangeDemote info: contact: {} description: Evolution GO - whatsmeow title: Evolution GO version: "1.0" paths: + /call/reject: + post: + consumes: + - application/json + description: Reject Call + parameters: + - description: Call data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_call_service.RejectCallStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CallRejectResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Reject Call + tags: + - Call /chat/archive: post: consumes: @@ -465,25 +7134,79 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' produces: - application/json responses: "200": description: success schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Archive a chat tags: - Chat + /chat/history-sync: + post: + consumes: + - application/json + description: HistorySyncRequest a chat + parameters: + - description: Chat + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.HistorySyncRequestStruct' + produces: + - application/json + responses: + "200": + description: success + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.HistorySyncResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: HistorySyncRequest a chat + tags: + - Chat /chat/mute: post: consumes: @@ -495,22 +7218,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' produces: - application/json responses: "200": description: success schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Mute a chat tags: - Chat @@ -525,25 +7260,121 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' produces: - application/json responses: "200": description: success schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Pin a chat tags: - Chat + /chat/unarchive: + post: + consumes: + - application/json + description: Unarchive a chat + parameters: + - description: Chat + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' + produces: + - application/json + responses: + "200": + description: success + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Unarchive a chat + tags: + - Chat + /chat/unmute: + post: + consumes: + - application/json + description: Unmute a chat + parameters: + - description: Chat + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' + produces: + - application/json + responses: + "200": + description: success + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Unmute a chat + tags: + - Chat /chat/unpin: post: consumes: @@ -555,22 +7386,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_chat_service.BodyStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_chat_service.BodyStruct' produces: - application/json responses: "200": description: success schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ChatActionResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Unpin a chat tags: - Chat @@ -585,22 +7428,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Add participant to community tags: - Community @@ -615,22 +7470,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.CreateCommunityStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.CreateCommunityStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Create community tags: - Community @@ -645,22 +7512,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_community_service.AddParticipantStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_community_service.AddParticipantStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.CommunityFullResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Remove participant from community tags: - Community @@ -675,25 +7554,79 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.CreateGroupStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.CreateGroupStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Create group tags: - Group + /group/description: + post: + consumes: + - application/json + description: Set group description + parameters: + - description: Group data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupDescriptionStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set group description + tags: + - Group /group/info: post: consumes: @@ -705,22 +7638,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInfoStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInfoStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInfoResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get group info tags: - Group @@ -735,22 +7680,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.GetGroupInviteLinkStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.GetGroupInviteLinkStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupInviteResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get group invite link tags: - Group @@ -765,25 +7722,79 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.JoinGroupStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.JoinGroupStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Join group link tags: - Group + /group/leave: + post: + consumes: + - application/json + description: Leave group + parameters: + - description: Group data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.LeaveGroupStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Leave group + tags: + - Group /group/list: get: consumes: @@ -793,13 +7804,29 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: List groups tags: - Group @@ -812,13 +7839,29 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get my groups tags: - Group @@ -833,22 +7876,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupNameStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupNameStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Set group name tags: - Group @@ -863,55 +7918,164 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.AddParticipantStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.AddParticipantStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Update participant + tags: + - Group + /group/photo: + post: + consumes: + - application/json + description: Set group photo + parameters: + - description: Group data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_group_service.SetGroupPhotoStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.GroupPhotoResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set group photo + tags: + - Group + /instance/{instanceId}/advanced-settings: + get: + description: Get advanced settings for a specific instance + parameters: + - description: Instance ID + in: path + name: instanceId + required: true + type: string produces: - application/json responses: "200": - description: success + description: Advanced settings retrieved successfully schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' - summary: Update participant + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Get advanced settings tags: - - Group - /group/photo: - post: + - Instance + put: consumes: - application/json - description: Set group photo + description: Update advanced settings for a specific instance parameters: - - description: Group data + - description: Instance ID + in: path + name: instanceId + required: true + type: string + - description: Advanced settings data in: body - name: message + name: settings required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_group_service.SetGroupPhotoStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_model.AdvancedSettings' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AdvancedSettingsResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' - summary: Set group photo + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Update advanced settings tags: - - Group + - Instance /instance/all: get: consumes: @@ -921,13 +8085,29 @@ paths: - application/json responses: "200": - description: All instances + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get all instances tags: - Instance @@ -942,22 +8122,34 @@ paths: name: instance required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.ConnectStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ConnectStruct' produces: - application/json responses: "200": - description: Instance connected successfully + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ConnectFullResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Connect to instance tags: - Instance @@ -965,29 +8157,42 @@ paths: post: consumes: - application/json - description: Creates a new instance with the provided data + description: Creates a new instance with the provided data including optional + advanced settings parameters: - - description: Instance data + - description: Instance data with optional advanced settings in: body name: instance required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.CreateStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.CreateStruct' produces: - application/json responses: "200": - description: Instance created successfully + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Create a new instance tags: - Instance @@ -1006,17 +8211,29 @@ paths: - application/json responses: "200": - description: Instance deleted successfully + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Delete instance tags: - Instance @@ -1029,16 +8246,120 @@ paths: - application/json responses: "200": - description: Instance disconnected successfully + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Disconnect from instance tags: - Instance + /instance/forcereconnect/{instanceId}: + post: + consumes: + - application/json + description: Force reconnect + parameters: + - description: Instance Id + in: path + name: instanceId + required: true + type: string + - description: Instance data + in: body + name: instance + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.ForceReconnectStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Force reconnect + tags: + - Instance + /instance/get/{instanceId}: + get: + consumes: + - application/json + description: Get instance + parameters: + - description: Instance Id + in: path + name: instanceId + required: true + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Get instance + tags: + - Instance /instance/logout: delete: consumes: @@ -1048,13 +8369,29 @@ paths: - application/json responses: "200": - description: Instance logged out successfully + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Logout from instance tags: - Instance @@ -1069,22 +8406,34 @@ paths: name: instance required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_instance_service.PairStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.PairStruct' produces: - application/json responses: "200": - description: Pairing code + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PairResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Request pairing code tags: - Instance @@ -1103,20 +8452,78 @@ paths: - application/json responses: "200": - description: Proxy deleted successfully + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Delete proxy tags: - Instance + post: + consumes: + - application/json + description: Set proxy configuration for an instance + parameters: + - description: Instance id + in: path + name: instanceId + required: true + type: string + - description: Proxy configuration + in: body + name: proxy + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_instance_service.SetProxyStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set proxy configuration + tags: + - Instance /instance/qr: get: consumes: @@ -1126,16 +8533,67 @@ paths: - application/json responses: "200": - description: Instance QR code + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.QRFullResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get instance QR code tags: - Instance + /instance/reconnect: + post: + consumes: + - application/json + description: Reconnect to instance + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Reconnect to instance + tags: + - Instance /instance/status: get: consumes: @@ -1145,16 +8603,67 @@ paths: - application/json responses: "200": - description: Instance status + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.InstanceStatusResponse' + "400": + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get instance status tags: - Instance + /label: + get: + consumes: + - application/json + description: Get all labels + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.LabelListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Get all labels + tags: + - Label /label/chat: post: consumes: @@ -1166,22 +8675,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Add label to chat tags: - Label @@ -1196,22 +8717,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.EditLabelStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.EditLabelStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Edit label tags: - Label @@ -1226,25 +8759,141 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Add label to message tags: - Label + /license/activate: + get: + description: Activate license using the token from registration + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/pkg_core.ActivateResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/pkg_core.Error500' + summary: Activate license + tags: + - License + /license/register: + get: + description: Initiate license registration process + parameters: + - description: Optional URL to redirect to after successful registration + in: query + name: redirect_uri + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/pkg_core.RegisterResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/pkg_core.Error500' + summary: Register a new license + tags: + - License + /license/status: + get: + description: Check if the license is active + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/pkg_core.StatusResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/pkg_core.Error500' + summary: Check license status + tags: + - License /message/delete: post: consumes: @@ -1256,22 +8905,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Delete a message for everyone tags: - Message @@ -1286,22 +8947,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.DownloadImageStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.DownloadMediaStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Download an image tags: - Message @@ -1316,22 +8989,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.EditMessageStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.EditMessageStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Edit a message tags: - Message @@ -1346,22 +9031,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MarkReadStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MarkReadStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Mark a message as read tags: - Message @@ -1376,22 +9073,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ChatPresenceStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ChatPresenceStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Set chat presence tags: - Message @@ -1399,29 +9108,42 @@ paths: post: consumes: - application/json - description: React a message + description: React to a message with support for fromMe field and participant + field for group messages parameters: - - description: React a message + - description: React to a message with fromMe and participant fields in: body name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.ReactStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.ReactStruct' produces: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' - "400": - description: Error on validation + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: React a message tags: - Message @@ -1436,22 +9158,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_message_service.MessageStatusStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_message_service.MessageStatusStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get message status tags: - Message @@ -1466,22 +9200,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.CreateNewsletterStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.CreateNewsletterStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Create newsletter tags: - Newsletter @@ -1496,22 +9242,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get newsletter tags: - Newsletter @@ -1526,22 +9284,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterInviteStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get newsletter invite tags: - Newsletter @@ -1554,13 +9324,29 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: List newsletters tags: - Newsletter @@ -1575,22 +9361,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterMessagesStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.NewsletterMessagesResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get newsletter messages tags: - Newsletter @@ -1605,25 +9403,120 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_newsletter_service.GetNewsletterStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_newsletter_service.GetNewsletterStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Subscribe newsletter tags: - Newsletter + /polls/{pollMessageId}/results: + get: + consumes: + - application/json + description: Retorna todos os votos de uma enquete específica + parameters: + - description: ID da mensagem da enquete + in: path + name: pollMessageId + required: true + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PollResultsResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Get poll results + tags: + - Polls + /send/button: + post: + consumes: + - application/json + description: Send a button message + parameters: + - description: Message data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Send a button message + tags: + - Send Message /send/contact: post: consumes: @@ -1635,22 +9528,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.ContactStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a contact message tags: - Send Message @@ -1665,25 +9570,79 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LinkStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LinkStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a link message tags: - Send Message + /send/list: + post: + consumes: + - application/json + description: Send a list message + parameters: + - description: Message data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.ContactStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Send a list message + tags: + - Send Message /send/location: post: consumes: @@ -1695,22 +9654,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.LocationStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.LocationStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a location message tags: - Send Message @@ -1725,22 +9696,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.MediaStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.MediaStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a media message tags: - Send Message @@ -1755,22 +9738,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.PollStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.PollStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a poll message tags: - Send Message @@ -1785,22 +9780,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.StickerStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.StickerStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a sticker message tags: - Send Message @@ -1815,25 +9822,70 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_sendMessage_service.TextStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_sendMessage_service.TextStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SendMessageResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Send a text message tags: - Send Message + /server/ok: + get: + description: Returns the server status to verify it is running + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ServerOkResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Check server status + tags: + - Server /unlabel/chat: post: consumes: @@ -1845,22 +9897,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.ChatLabelStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.ChatLabelStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Remove label from chat tags: - Label @@ -1875,22 +9939,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_label_service.MessageLabelStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_label_service.MessageLabelStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.SuccessResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Remove label from message tags: - Label @@ -1905,22 +9981,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.GetAvatarStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.GetAvatarStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.AvatarResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get a user's avatar tags: - User @@ -1935,22 +10023,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Block a contact tags: - User @@ -1963,13 +10063,29 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.BlocklistResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get a user's block list tags: - User @@ -1984,22 +10100,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.IsOnWhatsAppListResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Check a user tags: - User @@ -2012,13 +10140,29 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.ContactListResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get a user's contacts tags: - User @@ -2033,22 +10177,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.CheckUserStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.CheckUserStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserInfoResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get a user tags: - User @@ -2061,17 +10217,116 @@ paths: - application/json responses: "200": - description: success + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Get a user's privacy settings tags: - User - /user/profile: + post: + consumes: + - application/json + description: Set a user's privacy settings + parameters: + - description: Privacy data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.PrivacyStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.PrivacySettingsResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set a user's privacy settings + tags: + - User + /user/profileName: + post: + consumes: + - application/json + description: Set a user's profile name + parameters: + - description: Profile name data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set a user's profile name + tags: + - User + /user/profilePicture: post: consumes: - application/json @@ -2082,25 +10337,79 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.SetProfilePictureStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Set a user's profile picture tags: - User + /user/profileStatus: + post: + consumes: + - application/json + description: Set a user's profile status + parameters: + - description: Profile status data + in: body + name: message + required: true + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.SetProfilePictureStruct' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserProfileResponse' + "400": + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' + "500": + description: Internal Server Error + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' + summary: Set a user's profile status + tags: + - User /user/unblock: post: consumes: @@ -2112,22 +10421,34 @@ paths: name: message required: true schema: - $ref: '#/definitions/github_com_Zapbox-API_evolution-go_pkg_user_service.BlockStruct' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_user_service.BlockStruct' produces: - application/json responses: "200": - description: success + description: OK schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.UserBlockResponse' "400": - description: Error on validation + description: Bad Request + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error400' + "401": + description: Unauthorized + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error401' + "403": + description: Forbidden + schema: + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error403' + "404": + description: Not Found schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error404' "500": - description: Internal server error + description: Internal Server Error schema: - $ref: '#/definitions/gin.H' + $ref: '#/definitions/github_com_EvolutionAPI_evolution-go_pkg_core.Error500' summary: Unblock a contact tags: - User diff --git a/pkg/call/handler/call_handler.go b/pkg/call/handler/call_handler.go index 81ec10a..229bc0e 100644 --- a/pkg/call/handler/call_handler.go +++ b/pkg/call/handler/call_handler.go @@ -3,6 +3,8 @@ package call_handler import ( "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + call_service "github.com/EvolutionAPI/evolution-go/pkg/call/service" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" "github.com/gin-gonic/gin" @@ -16,15 +18,19 @@ type callHandler struct { callService call_service.CallService } -// Reject call -// @Summary Reject call -// @Description Reject call +// Reject Call +// @Summary Reject Call +// @Description Reject Call // @Tags Call // @Accept json // @Produce json // @Param message body call_service.RejectCallStruct true "Call data" -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.CallRejectResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /call/reject [post] func (g *callHandler) RejectCall(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/chat/handler/chat_handler.go b/pkg/chat/handler/chat_handler.go index 8240bc7..e7817cd 100644 --- a/pkg/chat/handler/chat_handler.go +++ b/pkg/chat/handler/chat_handler.go @@ -3,6 +3,8 @@ package chat_handler import ( "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + chat_service "github.com/EvolutionAPI/evolution-go/pkg/chat/service" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" "github.com/gin-gonic/gin" @@ -29,9 +31,12 @@ type chatHandler struct { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/pin [post] func (c *chatHandler) ChatPin(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -74,9 +79,12 @@ func (c *chatHandler) ChatPin(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/unpin [post] func (c *chatHandler) ChatUnpin(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -119,9 +127,12 @@ func (c *chatHandler) ChatUnpin(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/archive [post] func (c *chatHandler) ChatArchive(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -164,9 +175,12 @@ func (c *chatHandler) ChatArchive(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/unarchive [post] func (c *chatHandler) ChatUnarchive(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -209,9 +223,12 @@ func (c *chatHandler) ChatUnarchive(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/mute [post] func (c *chatHandler) ChatMute(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -254,9 +271,12 @@ func (c *chatHandler) ChatMute(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.BodyStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ChatActionResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /chat/unmute [post] func (c *chatHandler) ChatUnmute(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -299,10 +319,13 @@ func (c *chatHandler) ChatUnmute(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body chat_service.HistorySyncRequestStruct true "Chat" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" -// @Router /chat/history-sync-request [post] +// @Success 200 {object} core.HistorySyncResponse "success" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 +// @Router /chat/history-sync [post] func (c *chatHandler) HistorySyncRequest(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/community/handler/community_handler.go b/pkg/community/handler/community_handler.go index a60a8b1..97824d1 100644 --- a/pkg/community/handler/community_handler.go +++ b/pkg/community/handler/community_handler.go @@ -1,11 +1,13 @@ package community_handler import ( + _ "github.com/EvolutionAPI/evolution-go/pkg/core" "net/http" community_service "github.com/EvolutionAPI/evolution-go/pkg/community/service" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" "github.com/gin-gonic/gin" + _ "go.mau.fi/whatsmeow/types" ) type CommunityHandler interface { @@ -25,9 +27,12 @@ type communityHandler struct { // @Accept json // @Produce json // @Param message body community_service.CreateCommunityStruct true "Community data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.CommunityFullResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /community/create [post] func (c *communityHandler) CreateCommunity(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -66,9 +71,12 @@ func (c *communityHandler) CreateCommunity(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body community_service.AddParticipantStruct true "Participant data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.CommunityFullResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /community/add [post] func (c *communityHandler) CommunityAdd(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -112,9 +120,12 @@ func (c *communityHandler) CommunityAdd(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body community_service.AddParticipantStruct true "Participant data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.CommunityFullResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /community/remove [post] func (c *communityHandler) CommunityRemove(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/core/swagger_models.go b/pkg/core/swagger_models.go new file mode 100644 index 0000000..95c076e --- /dev/null +++ b/pkg/core/swagger_models.go @@ -0,0 +1,426 @@ +package core + +import instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" + +// --- Generic Responses --- + +// SuccessResponse represents a standard success response without data +type SuccessResponse struct { + Message string `json:"message" example:"success"` +} + +// GenericResponse is kept for reference but explicit structs are preferred for better Swagger UI rendering +type GenericResponse[T any] struct { + Message string `json:"message" example:"success"` + Data T `json:"data,omitempty"` +} + +// --- Error Responses --- + +// ErrorMeta represents the metadata of the error response +type ErrorMeta struct { + Timestamp string `json:"timestamp" example:"2024-01-15T10:30:00Z"` + Path string `json:"path" example:"/api/path"` + Method string `json:"method" example:"GET"` +} + +// 400 Bad Request +type Error400Detail struct { + Code string `json:"code" example:"BAD_REQUEST"` + Message string `json:"message" example:"Invalid request data"` +} +type Error400 struct { + Success bool `json:"success" example:"false"` + Error Error400Detail `json:"error"` + Meta ErrorMeta `json:"meta"` +} + +// 401 Unauthorized +type Error401Detail struct { + Code string `json:"code" example:"UNAUTHORIZED"` + Message string `json:"message" example:"Invalid or missing API key"` +} +type Error401 struct { + Success bool `json:"success" example:"false"` + Error Error401Detail `json:"error"` + Meta ErrorMeta `json:"meta"` +} + +// 403 Forbidden +type Error403Detail struct { + Code string `json:"code" example:"FORBIDDEN"` + Message string `json:"message" example:"Insufficient permissions"` +} +type Error403 struct { + Success bool `json:"success" example:"false"` + Error Error403Detail `json:"error"` + Meta ErrorMeta `json:"meta"` +} + +// 404 Not Found +type Error404Detail struct { + Code string `json:"code" example:"NOT_FOUND"` + Message string `json:"message" example:"Resource not found"` +} +type Error404 struct { + Success bool `json:"success" example:"false"` + Error Error404Detail `json:"error"` + Meta ErrorMeta `json:"meta"` +} + +// 500 Internal Server Error +type Error500Detail struct { + Code string `json:"code" example:"INTERNAL_SERVER_ERROR"` + Message string `json:"message" example:"An unexpected error occurred"` +} +type Error500 struct { + Success bool `json:"success" example:"false"` + Error Error500Detail `json:"error"` + Meta ErrorMeta `json:"meta"` +} + +// --- Module Specific Responses --- + +// License +type StatusResponse struct { + Status string `json:"status" example:"active"` + InstanceID string `json:"instance_id" example:"inst-12345"` + APIKey string `json:"api_key,omitempty" example:"evol...xyz"` +} + +type RegisterResponse struct { + Status string `json:"status" example:"pending"` + RegisterURL string `json:"register_url,omitempty" example:"https://app.evolution-api.com/register/12345"` + Message string `json:"message,omitempty" example:"License is already active"` +} + +type ActivateResponse struct { + Status string `json:"status" example:"active"` + Message string `json:"message" example:"License activated successfully!"` +} + +// Call +type CallRejectResponse struct { + Message string `json:"message" example:"success"` +} + +// Chat +type ChatActionData struct { + Timestamp int64 `json:"timestamp" example:"1705314600"` +} + +type ChatActionResponse struct { + Message string `json:"message" example:"success"` + Data ChatActionData `json:"data"` +} + +type HistorySyncData struct { + MessageID string `json:"messageId" example:"3EB00000000000000000"` +} + +type HistorySyncResponse struct { + Message string `json:"message" example:"success"` + Data HistorySyncData `json:"data"` +} + +// Message / Send Message +type MessageKey struct { + RemoteJid string `json:"remoteJid" example:"5511999999999@s.whatsapp.net"` + FromMe bool `json:"fromMe" example:"true"` + ID string `json:"id" example:"3EB00000000000000000"` +} + +type MessageSendData struct { + Key MessageKey `json:"key"` + MessageTimestamp int64 `json:"messageTimestamp" example:"1705314600"` + Status string `json:"status" example:"PENDING"` +} + +type SendMessageResponse struct { + Message string `json:"message" example:"success"` + Data MessageSendData `json:"data"` +} + +// Community +type CommunityResponse struct { + JID string `json:"jid" example:"1234567890@g.us"` +} + +// CommunityFullResponse +type CommunityFullResponse struct { + Message string `json:"message" example:"success"` + Data CommunityResponse `json:"data"` +} + +// Newsletter +type NewsletterMetadata struct { + ID string `json:"id" example:"1234567890@newsletter"` + Name string `json:"name" example:"Evolution API Channel"` + Description string `json:"description" example:"Updates about Evolution API"` + SubscriberCount int `json:"subscriberCount" example:"150"` + InviteCode string `json:"inviteCode" example:"AbCdEfGh1234"` +} + +type NewsletterResponse struct { + Message string `json:"message" example:"success"` + Data NewsletterMetadata `json:"data"` +} + +type NewsletterListResponse struct { + Message string `json:"message" example:"success"` + Data []NewsletterMetadata `json:"data"` +} + +type NewsletterMessage struct { + ID string `json:"id" example:"3EB00000000000000000"` + Text string `json:"text" example:"Hello World"` + Timestamp int64 `json:"timestamp" example:"1705314600"` +} + +type NewsletterMessagesResponse struct { + Message string `json:"message" example:"success"` + Data []NewsletterMessage `json:"data"` +} + +// Polls +type PollOptionCounts struct { + Option1Hash int `json:"option_1_hash" example:"5"` + Option2Hash int `json:"option_2_hash" example:"3"` +} + +// PollResultsData represents the detailed results of a poll +type PollResultsData struct { + PollMessageID string `json:"pollMessageId" example:"3EB00000000000000000"` + PollChatJid string `json:"pollChatJid" example:"5511999999999@s.whatsapp.net"` + TotalVotes int `json:"totalVotes" example:"10"` + OptionCounts PollOptionCounts `json:"optionCounts"` + Voters []VoterInfo `json:"voters"` +} + +type PollResultsResponse struct { + Message string `json:"message" example:"success"` + Data PollResultsData `json:"data"` +} + +type VoterInfo struct { + Jid string `json:"jid" example:"5511999999999@s.whatsapp.net"` + Name string `json:"name" example:"John Doe"` + SelectedOptions []string `json:"selectedOptions" example:"option_1_hash"` + VotedAt string `json:"votedAt" example:"2024-01-15T10:30:00Z"` +} + +// User +type PrivacySettingsData struct { + ReadReceipts string `json:"readreceipts" example:"all"` + Profile string `json:"profile" example:"all"` + Status string `json:"status" example:"all"` + Online string `json:"online" example:"all"` + LastSeen string `json:"last" example:"all"` + GroupAdd string `json:"groupadd" example:"all"` +} + +type PrivacySettingsResponse struct { + Message string `json:"message" example:"success"` + Data PrivacySettingsData `json:"data"` +} + +type UserBlockData struct { + JID string `json:"jid" example:"5511999999999@s.whatsapp.net"` +} + +type UserBlockResponse struct { + Message string `json:"message" example:"success"` + Data UserBlockData `json:"data"` +} + +type BlocklistData struct { + JIDs []string `json:"jids" example:"5511999999999@s.whatsapp.net,5511988888888@s.whatsapp.net"` +} + +type BlocklistResponse struct { + Message string `json:"message" example:"success"` + Data BlocklistData `json:"data"` +} + +type UserProfileData struct { + Timestamp int64 `json:"timestamp" example:"1705314600"` +} + +type UserProfileResponse struct { + Message string `json:"message" example:"success"` + Data UserProfileData `json:"data"` +} + +type AvatarData struct { + URL string `json:"url" example:"https://pps.whatsapp.net/v/t61.24694-24/12345678_123456789012345_1234567890123456789_n.jpg"` +} + +type AvatarResponse struct { + Message string `json:"message" example:"success"` + Data AvatarData `json:"data"` +} + +type UserInfoData struct { + VerifiedName string `json:"verifiedName,omitempty" example:"John Doe"` + Status string `json:"status" example:"Hey there! I am using WhatsApp."` + PictureId string `json:"pictureId,omitempty" example:"1234567890"` +} + +type UserInfoResponse struct { + Message string `json:"message" example:"success"` + Data []UserInfoData `json:"data"` +} + +type ContactInfoData struct { + PushName string `json:"pushName" example:"John Doe"` + Jid string `json:"jid" example:"5511999999999@s.whatsapp.net"` +} + +type ContactListResponse struct { + Message string `json:"message" example:"success"` + Data []ContactInfoData `json:"data"` +} + +type IsOnWhatsAppResponse struct { + Exists bool `json:"exists" example:"true"` + Jid string `json:"jid" example:"5511999999999@s.whatsapp.net"` +} + +type IsOnWhatsAppListResponse struct { + Message string `json:"message" example:"success"` + Data []IsOnWhatsAppResponse `json:"data"` +} + +// InstanceResponse +type InstanceResponse struct { + Message string `json:"message" example:"success"` + Data instance_model.Instance `json:"data"` +} + +// InstanceListResponse +type InstanceListResponse struct { + Message string `json:"message" example:"success"` + Data []instance_model.Instance `json:"data"` +} + +// AdvancedSettingsResponse +type AdvancedSettingsResponse struct { + Message string `json:"message" example:"success"` + Data instance_model.AdvancedSettings `json:"data"` +} + +// Server +type ServerOkResponse struct { + Status string `json:"status" example:"ok"` +} + +// Instance +type ConnectResponseData struct { + Qrcode string `json:"qrcode,omitempty" example:"1@...|..."` + PairingCode string `json:"pairingCode,omitempty" example:"ABC1DEF2"` +} + +type ConnectResponse struct { + Message string `json:"message" example:"success"` + Data ConnectResponseData `json:"data"` +} + +type QRResponse struct { + Message string `json:"message" example:"success"` + Data struct { + Qrcode string `json:"qrcode" example:"1@...|..."` + } `json:"data"` +} + +type PairResponse struct { + Message string `json:"message" example:"success"` + Data struct { + PairingCode string `json:"pairingCode" example:"ABC1DEF2"` + } `json:"data"` +} + +// Group + +// GroupInviteResponse +type GroupInviteResponse struct { + Message string `json:"message" example:"success"` + Data string `json:"data" example:"https://chat.whatsapp.com/..."` +} + +// GroupPhotoResponse +type GroupPhotoResponse struct { + Message string `json:"message" example:"success"` + Data struct { + PictureID string `json:"pictureId" example:"1234567890"` + } `json:"data"` +} + +// GroupInfoResponse +type GroupInfoResponse struct { + Message string `json:"message" example:"success"` + Data GroupInfo `json:"data"` +} + +type GroupInfo struct { + JID string `json:"jid" example:"1234567890@g.us"` + Name string `json:"name" example:"Group Name"` + Owner string `json:"owner" example:"5511999999999@s.whatsapp.net"` + ReadOnly bool `json:"isReadOnly" example:"false"` +} + +type GroupListResponse struct { + Message string `json:"message" example:"success"` + Data []GroupInfo `json:"data"` +} + +// Instance +type InstanceStatusData struct { + Connected bool `json:"connected" example:"true"` + LoggedIn bool `json:"loggedIn" example:"true"` + MyJid string `json:"myJid" example:"5511999999999@s.whatsapp.net"` + Name string `json:"name" example:"Instance Name"` +} + +type InstanceStatusResponse struct { + Message string `json:"message" example:"success"` + Data InstanceStatusData `json:"data"` +} + +type QRData struct { + Qrcode string `json:"qrcode" example:"1@...|..."` + Code string `json:"code" example:"1234567890"` +} + +type QRFullResponse struct { + Message string `json:"message" example:"success"` + Data QRData `json:"data"` +} + +type ConnectData struct { + JID string `json:"jid" example:"5511999999999@s.whatsapp.net"` + WebhookURL string `json:"webhookUrl" example:"http://localhost:8080/webhook"` + EventString string `json:"eventString" example:"MESSAGE,GROUP_UP"` +} + +type ConnectFullResponse struct { + Message string `json:"message" example:"success"` + Data ConnectData `json:"data"` +} + +// Label +type LabelData struct { + ID string `json:"id" example:"uuid-string"` + InstanceID string `json:"instance_id" example:"uuid-string"` + LabelID string `json:"label_id" example:"1"` + LabelName string `json:"label_name" example:"Work"` + LabelColor string `json:"label_color" example:"#dfaef0"` + PredefinedID string `json:"predefined_id" example:"1"` +} + +type LabelListResponse struct { + Message string `json:"message" example:"success"` + Data []LabelData `json:"data"` +} + +// MapData is a fallback for generic JSON objects +type MapData map[string]interface{} diff --git a/pkg/group/handler/group_handler.go b/pkg/group/handler/group_handler.go index 4136266..07352f8 100644 --- a/pkg/group/handler/group_handler.go +++ b/pkg/group/handler/group_handler.go @@ -3,6 +3,9 @@ package group_handler import ( "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + _ "go.mau.fi/whatsmeow/types" + group_service "github.com/EvolutionAPI/evolution-go/pkg/group/service" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" "github.com/gin-gonic/gin" @@ -32,8 +35,12 @@ type groupHandler struct { // @Tags Group // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/list [get] func (g *groupHandler) ListGroups(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -60,9 +67,12 @@ func (g *groupHandler) ListGroups(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.GetGroupInfoStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupInfoResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/info [post] func (g *groupHandler) GetGroupInfo(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -101,9 +111,12 @@ func (g *groupHandler) GetGroupInfo(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.GetGroupInviteLinkStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupInviteResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/invitelink [post] func (g *groupHandler) GetGroupInviteLink(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -142,9 +155,12 @@ func (g *groupHandler) GetGroupInviteLink(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.SetGroupPhotoStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupPhotoResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/photo [post] func (g *groupHandler) SetGroupPhoto(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -188,9 +204,12 @@ func (g *groupHandler) SetGroupPhoto(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.SetGroupNameStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/name [post] func (g *groupHandler) SetGroupName(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -234,9 +253,12 @@ func (g *groupHandler) SetGroupName(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.SetGroupDescriptionStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/description [post] func (g *groupHandler) SetGroupDescription(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -278,9 +300,12 @@ func (g *groupHandler) SetGroupDescription(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.CreateGroupStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupInfoResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/create [post] func (g *groupHandler) CreateGroup(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -324,9 +349,12 @@ func (g *groupHandler) CreateGroup(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.AddParticipantStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/participant [post] func (g *groupHandler) UpdateParticipant(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -374,8 +402,12 @@ func (g *groupHandler) UpdateParticipant(ctx *gin.Context) { // @Tags Group // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.GroupListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/myall [get] func (g *groupHandler) GetMyGroups(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -402,9 +434,12 @@ func (g *groupHandler) GetMyGroups(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.JoinGroupStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/join [post] func (g *groupHandler) JoinGroupLink(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -443,9 +478,12 @@ func (g *groupHandler) JoinGroupLink(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body group_service.LeaveGroupStruct true "Group data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /group/leave [post] func (g *groupHandler) LeaveGroup(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/instance/handler/instance_handler.go b/pkg/instance/handler/instance_handler.go index ebf8406..ecf84f1 100644 --- a/pkg/instance/handler/instance_handler.go +++ b/pkg/instance/handler/instance_handler.go @@ -4,6 +4,8 @@ import ( "net/http" "time" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + "github.com/gin-gonic/gin" config "github.com/EvolutionAPI/evolution-go/pkg/config" @@ -43,9 +45,12 @@ type instanceHandler struct { // @Accept json // @Produce json // @Param instance body instance_service.CreateStruct true "Instance data with optional advanced settings" -// @Success 200 {object} gin.H "Instance created successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.InstanceResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/create [post] func (i *instanceHandler) Create(ctx *gin.Context) { var data *instance_service.CreateStruct @@ -112,9 +117,12 @@ func (i *instanceHandler) Create(ctx *gin.Context) { // @Accept json // @Produce json // @Param instance body instance_service.ConnectStruct true "Instance data" -// @Success 200 {object} gin.H "Instance connected successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ConnectFullResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/connect [post] func (i *instanceHandler) Connect(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -155,8 +163,12 @@ func (i *instanceHandler) Connect(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "Instance reconnected successfully" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/reconnect [post] func (i *instanceHandler) Reconnect(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -182,8 +194,12 @@ func (i *instanceHandler) Reconnect(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "Instance disconnected successfully" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/disconnect [post] func (i *instanceHandler) Disconnect(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -211,8 +227,12 @@ func (i *instanceHandler) Disconnect(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "Instance logged out successfully" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/logout [delete] func (i *instanceHandler) Logout(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -240,8 +260,12 @@ func (i *instanceHandler) Logout(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "Instance status" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.InstanceStatusResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/status [get] func (i *instanceHandler) Status(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -267,8 +291,12 @@ func (i *instanceHandler) Status(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "Instance QR code" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.QRFullResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/qr [get] func (i *instanceHandler) Qr(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -295,9 +323,12 @@ func (i *instanceHandler) Qr(ctx *gin.Context) { // @Accept json // @Produce json // @Param instance body instance_service.PairStruct true "Instance data" -// @Success 200 {object} gin.H "Pairing code" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.PairResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/pair [post] func (i *instanceHandler) Pair(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -335,8 +366,12 @@ func (i *instanceHandler) Pair(ctx *gin.Context) { // @Tags Instance // @Accept json // @Produce json -// @Success 200 {object} gin.H "All instances" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.InstanceListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/all [get] func (i *instanceHandler) All(ctx *gin.Context) { instances, err := i.instanceService.GetAll() @@ -355,9 +390,12 @@ func (i *instanceHandler) All(ctx *gin.Context) { // @Accept json // @Produce json // @Param instanceId path string true "Instance Id" -// @Success 200 {object} gin.H "Instance" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.InstanceResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/get/{instanceId} [get] func (i *instanceHandler) Info(ctx *gin.Context) { instanceId := ctx.Param("instanceId") @@ -383,9 +421,12 @@ func (i *instanceHandler) Info(ctx *gin.Context) { // @Accept json // @Produce json // @Param instanceId path string true "Instance Id" -// @Success 200 {object} gin.H "Instance deleted successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/delete/{instanceId} [delete] func (i *instanceHandler) Delete(ctx *gin.Context) { instanceId := ctx.Param("instanceId") @@ -412,9 +453,12 @@ func (i *instanceHandler) Delete(ctx *gin.Context) { // @Produce json // @Param instanceId path string true "Instance id" // @Param proxy body instance_service.SetProxyStruct true "Proxy configuration" -// @Success 200 {object} gin.H "Proxy set successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/proxy/{instanceId} [post] func (i *instanceHandler) SetProxy(ctx *gin.Context) { instanceId := ctx.Param("instanceId") @@ -464,9 +508,12 @@ func (i *instanceHandler) SetProxy(ctx *gin.Context) { // @Accept json // @Produce json // @Param instanceId path string true "Instance id" -// @Success 200 {object} gin.H "Proxy deleted successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/proxy/{instanceId} [delete] func (i *instanceHandler) DeleteProxy(ctx *gin.Context) { instanceId := ctx.Param("instanceId") @@ -493,9 +540,12 @@ func (i *instanceHandler) DeleteProxy(ctx *gin.Context) { // @Produce json // @Param instanceId path string true "Instance Id" // @Param instance body instance_service.ForceReconnectStruct true "Instance data" -// @Success 200 {object} gin.H "Instance force reconnected successfully" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/forcereconnect/{instanceId} [post] func (i *instanceHandler) ForceReconnect(ctx *gin.Context) { instanceId := ctx.Param("instanceId") @@ -579,9 +629,11 @@ func (h *instanceHandler) GetLogs(c *gin.Context) { // @Produce json // @Param instanceId path string true "Instance ID" // @Success 200 {object} instance_model.AdvancedSettings "Advanced settings retrieved successfully" -// @Failure 400 {object} gin.H "Invalid instance ID" -// @Failure 404 {object} gin.H "Instance not found" -// @Failure 500 {object} gin.H "Internal server error" +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/{instanceId}/advanced-settings [get] func (h *instanceHandler) GetAdvancedSettings(c *gin.Context) { instanceId := c.Param("instanceId") @@ -608,10 +660,12 @@ func (h *instanceHandler) GetAdvancedSettings(c *gin.Context) { // @Produce json // @Param instanceId path string true "Instance ID" // @Param settings body instance_model.AdvancedSettings true "Advanced settings data" -// @Success 200 {object} gin.H "Advanced settings updated successfully" -// @Failure 400 {object} gin.H "Invalid request data" -// @Failure 404 {object} gin.H "Instance not found" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.AdvancedSettingsResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /instance/{instanceId}/advanced-settings [put] func (h *instanceHandler) UpdateAdvancedSettings(c *gin.Context) { instanceId := c.Param("instanceId") diff --git a/pkg/label/handler/label_handler.go b/pkg/label/handler/label_handler.go index 009d3a3..3fed4f1 100644 --- a/pkg/label/handler/label_handler.go +++ b/pkg/label/handler/label_handler.go @@ -3,7 +3,10 @@ package label_handler import ( "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" + _ "github.com/EvolutionAPI/evolution-go/pkg/label/model" label_service "github.com/EvolutionAPI/evolution-go/pkg/label/service" "github.com/gin-gonic/gin" ) @@ -28,9 +31,12 @@ type labelHandler struct { // @Accept json // @Produce json // @Param message body label_service.ChatLabelStruct true "Label data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /label/chat [post] func (l *labelHandler) ChatLabel(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -74,9 +80,12 @@ func (l *labelHandler) ChatLabel(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body label_service.MessageLabelStruct true "Label data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /label/message [post] func (l *labelHandler) MessageLabel(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -125,9 +134,12 @@ func (l *labelHandler) MessageLabel(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body label_service.EditLabelStruct true "Label data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /label/edit [post] func (l *labelHandler) EditLabel(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -171,9 +183,12 @@ func (l *labelHandler) EditLabel(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body label_service.ChatLabelStruct true "Label data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /unlabel/chat [post] func (l *labelHandler) ChatUnlabel(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -217,9 +232,12 @@ func (l *labelHandler) ChatUnlabel(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body label_service.MessageLabelStruct true "Label data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /unlabel/message [post] func (l *labelHandler) MessageUnlabel(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -267,8 +285,12 @@ func (l *labelHandler) MessageUnlabel(ctx *gin.Context) { // @Tags Label // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.LabelListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /label [get] func (l *labelHandler) GetLabels(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -285,7 +307,7 @@ func (l *labelHandler) GetLabels(ctx *gin.Context) { return } - ctx.JSON(http.StatusOK, labels) + ctx.JSON(http.StatusOK, gin.H{"message": "success", "data": labels}) } func NewLabelHandler( diff --git a/pkg/message/handler/message_handler.go b/pkg/message/handler/message_handler.go index 38fcdff..438bbf5 100644 --- a/pkg/message/handler/message_handler.go +++ b/pkg/message/handler/message_handler.go @@ -3,6 +3,8 @@ package message_handler import ( "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" message_service "github.com/EvolutionAPI/evolution-go/pkg/message/service" "github.com/gin-gonic/gin" @@ -29,9 +31,12 @@ type messageHandler struct { // @Accept json // @Produce json // @Param message body message_service.ReactStruct true "React to a message with fromMe and participant fields" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/react [post] func (m *messageHandler) React(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -75,9 +80,12 @@ func (m *messageHandler) React(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body message_service.ChatPresenceStruct true "Set chat presence" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/presence [post] func (m *messageHandler) ChatPresence(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -125,9 +133,12 @@ func (m *messageHandler) ChatPresence(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body message_service.MarkReadStruct true "Mark a message as read" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/markread [post] func (m *messageHandler) MarkRead(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -174,10 +185,13 @@ func (m *messageHandler) MarkRead(ctx *gin.Context) { // @Tags Message // @Accept json // @Produce json -// @Param message body message_service.DownloadImageStruct true "Download an image" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Param message body message_service.DownloadMediaStruct true "Download an image" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/downloadimage [post] func (m *messageHandler) DownloadMedia(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -216,9 +230,12 @@ func (m *messageHandler) DownloadMedia(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body message_service.MessageStatusStruct true "Get message status" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/status [post] func (m *messageHandler) GetMessageStatus(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -262,9 +279,12 @@ func (m *messageHandler) GetMessageStatus(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body message_service.MessageStruct true "Delete a message for everyone" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/delete [post] func (m *messageHandler) DeleteMessageEveryone(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -313,9 +333,12 @@ func (m *messageHandler) DeleteMessageEveryone(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body message_service.EditMessageStruct true "Edit a message" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /message/edit [post] func (m *messageHandler) EditMessage(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/newsletter/handler/newsletter_handler.go b/pkg/newsletter/handler/newsletter_handler.go index 39b241a..f479225 100644 --- a/pkg/newsletter/handler/newsletter_handler.go +++ b/pkg/newsletter/handler/newsletter_handler.go @@ -1,6 +1,7 @@ package newsletter_handler import ( +_ "github.com/EvolutionAPI/evolution-go/pkg/core" "net/http" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" @@ -28,9 +29,12 @@ type newsletterHandler struct { // @Accept json // @Produce json // @Param message body newsletter_service.CreateNewsletterStruct true "Newsletter data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.NewsletterResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/create [post] func (n *newsletterHandler) CreateNewsletter(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -68,8 +72,12 @@ func (n *newsletterHandler) CreateNewsletter(ctx *gin.Context) { // @Tags Newsletter // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.NewsletterListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/list [get] func (n *newsletterHandler) ListNewsletter(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -96,9 +104,12 @@ func (n *newsletterHandler) ListNewsletter(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body newsletter_service.GetNewsletterStruct true "Newsletter data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.NewsletterResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/info [post] func (n *newsletterHandler) GetNewsletter(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -137,9 +148,12 @@ func (n *newsletterHandler) GetNewsletter(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body newsletter_service.GetNewsletterInviteStruct true "Newsletter data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.NewsletterResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/link [post] func (n *newsletterHandler) GetNewsletterInvite(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -178,9 +192,12 @@ func (n *newsletterHandler) GetNewsletterInvite(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body newsletter_service.GetNewsletterStruct true "Newsletter data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SuccessResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/subscribe [post] func (n *newsletterHandler) SubscribeNewsletter(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -219,9 +236,12 @@ func (n *newsletterHandler) SubscribeNewsletter(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body newsletter_service.GetNewsletterMessagesStruct true "Newsletter data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.NewsletterMessagesResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /newsletter/messages [post] func (n *newsletterHandler) GetNewsletterMessages(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/poll/handler/poll_handler.go b/pkg/poll/handler/poll_handler.go index d33e6b0..3809892 100644 --- a/pkg/poll/handler/poll_handler.go +++ b/pkg/poll/handler/poll_handler.go @@ -4,6 +4,8 @@ import ( "encoding/json" "net/http" + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + logger_wrapper "github.com/EvolutionAPI/evolution-go/pkg/logger" poll_service "github.com/EvolutionAPI/evolution-go/pkg/poll/service" "github.com/gin-gonic/gin" @@ -29,10 +31,12 @@ func NewPollHandler(pollService poll_service.PollService, loggerWrapper *logger_ // @Accept json // @Produce json // @Param pollMessageId path string true "ID da mensagem da enquete" -// @Success 200 {object} model.PollResults -// @Failure 400 {object} gin.H -// @Failure 404 {object} gin.H -// @Failure 500 {object} gin.H +// @Success 200 {object} core.PollResultsResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /polls/{pollMessageId}/results [get] func (h *PollHandler) GetPollResults(c *gin.Context) { pollMessageID := c.Param("pollMessageId") @@ -94,5 +98,5 @@ func (h *PollHandler) GetPollResults(c *gin.Context) { } h.loggerWrapper.GetLogger("poll-handler").LogInfo("[POLL] Returning %d votes for poll %s", results.TotalVotes, pollMessageID) - c.JSON(http.StatusOK, results) + c.JSON(http.StatusOK, gin.H{"message": "success", "data": results}) } diff --git a/pkg/sendMessage/handler/send_handler.go b/pkg/sendMessage/handler/send_handler.go index 7e4e43f..cbe818d 100644 --- a/pkg/sendMessage/handler/send_handler.go +++ b/pkg/sendMessage/handler/send_handler.go @@ -1,6 +1,7 @@ package send_handler import ( +_ "github.com/EvolutionAPI/evolution-go/pkg/core" "io" "net/http" "strconv" @@ -34,9 +35,12 @@ type sendHandler struct { // @Accept json // @Produce json // @Param message body send_service.TextStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/text [post] func (s *sendHandler) SendText(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -80,9 +84,12 @@ func (s *sendHandler) SendText(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.LinkStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/link [post] func (s *sendHandler) SendLink(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -126,9 +133,12 @@ func (s *sendHandler) SendLink(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.MediaStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/media [post] func (s *sendHandler) SendMedia(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -251,9 +261,12 @@ func (s *sendHandler) SendMedia(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.PollStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/poll [post] func (s *sendHandler) SendPoll(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -302,9 +315,12 @@ func (s *sendHandler) SendPoll(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.StickerStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/sticker [post] func (s *sendHandler) SendSticker(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -348,9 +364,12 @@ func (s *sendHandler) SendSticker(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.LocationStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/location [post] func (s *sendHandler) SendLocation(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -409,9 +428,12 @@ func (s *sendHandler) SendLocation(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.ContactStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/contact [post] func (s *sendHandler) SendContact(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -460,9 +482,12 @@ func (s *sendHandler) SendContact(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.ContactStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/button [post] func (s *sendHandler) SendButton(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -516,9 +541,12 @@ func (s *sendHandler) SendButton(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body send_service.ContactStruct true "Message data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.SendMessageResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /send/list [post] func (s *sendHandler) SendList(ctx *gin.Context) { getInstance := ctx.MustGet("instance") diff --git a/pkg/server/handler/server_handler.go b/pkg/server/handler/server_handler.go index d20bd73..f8c5f41 100644 --- a/pkg/server/handler/server_handler.go +++ b/pkg/server/handler/server_handler.go @@ -1,6 +1,9 @@ package server_handler -import "github.com/gin-gonic/gin" +import ( + _ "github.com/EvolutionAPI/evolution-go/pkg/core" + "github.com/gin-gonic/gin" +) type ServerHandler interface { ServerOk(ctx *gin.Context) @@ -9,7 +12,17 @@ type ServerHandler interface { type serverHandler struct { } -// ServerOk implements ServerHandler. +// @Summary Check server status +// @Description Returns the server status to verify it is running +// @Tags Server +// @Produce json +// @Success 200 {object} core.ServerOkResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 +// @Router /server/ok [get] func (s *serverHandler) ServerOk(ctx *gin.Context) { ctx.JSON(200, gin.H{ "status": "ok", diff --git a/pkg/user/handler/user_handler.go b/pkg/user/handler/user_handler.go index 1350c7e..7e3ea0d 100644 --- a/pkg/user/handler/user_handler.go +++ b/pkg/user/handler/user_handler.go @@ -1,6 +1,8 @@ package user_handler import ( +_ "github.com/EvolutionAPI/evolution-go/pkg/core" +_ "github.com/EvolutionAPI/evolution-go/pkg/core" "net/http" instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model" @@ -34,9 +36,12 @@ type userHandler struct { // @Accept json // @Produce json // @Param message body user_service.CheckUserStruct true "User data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserInfoResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/info [post] func (u *userHandler) GetUser(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -75,9 +80,12 @@ func (u *userHandler) GetUser(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.CheckUserStruct true "User data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.IsOnWhatsAppListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/check [post] func (u *userHandler) CheckUser(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -116,9 +124,12 @@ func (u *userHandler) CheckUser(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.GetAvatarStruct true "Avatar data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.AvatarResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/avatar [post] func (u *userHandler) GetAvatar(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -161,8 +172,12 @@ func (u *userHandler) GetAvatar(ctx *gin.Context) { // @Tags User // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.ContactListResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/contacts [get] func (u *userHandler) GetContacts(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -188,8 +203,12 @@ func (u *userHandler) GetContacts(ctx *gin.Context) { // @Tags User // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.PrivacySettingsResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/privacy [get] func (u *userHandler) GetPrivacy(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -216,8 +235,12 @@ func (u *userHandler) GetPrivacy(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.PrivacyStruct true "Privacy data" -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.PrivacySettingsResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/privacy [post] func (u *userHandler) SetPrivacy(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -286,9 +309,12 @@ func (u *userHandler) SetPrivacy(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.BlockStruct true "Block data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserBlockResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/block [post] func (u *userHandler) BlockContact(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -332,9 +358,12 @@ func (u *userHandler) BlockContact(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.BlockStruct true "Block data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserBlockResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/unblock [post] func (u *userHandler) UnblockContact(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -377,8 +406,12 @@ func (u *userHandler) UnblockContact(ctx *gin.Context) { // @Tags User // @Accept json // @Produce json -// @Success 200 {object} gin.H "success" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.BlocklistResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/blocklist [get] func (u *userHandler) GetBlockList(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -405,9 +438,12 @@ func (u *userHandler) GetBlockList(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.SetProfilePictureStruct true "Profile picture data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserProfileResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/profilePicture [post] func (u *userHandler) SetProfilePicture(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -453,9 +489,12 @@ func (u *userHandler) SetProfilePicture(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.SetProfilePictureStruct true "Profile name data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserProfileResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/profileName [post] func (u *userHandler) SetProfileName(ctx *gin.Context) { getInstance := ctx.MustGet("instance") @@ -501,9 +540,12 @@ func (u *userHandler) SetProfileName(ctx *gin.Context) { // @Accept json // @Produce json // @Param message body user_service.SetProfilePictureStruct true "Profile status data" -// @Success 200 {object} gin.H "success" -// @Failure 400 {object} gin.H "Error on validation" -// @Failure 500 {object} gin.H "Internal server error" +// @Success 200 {object} core.UserProfileResponse +// @Failure 400 {object} core.Error400 +// @Failure 401 {object} core.Error401 +// @Failure 403 {object} core.Error403 +// @Failure 404 {object} core.Error404 +// @Failure 500 {object} core.Error500 // @Router /user/profileStatus [post] func (u *userHandler) SetProfileStatus(ctx *gin.Context) { getInstance := ctx.MustGet("instance")