diff --git a/Dockerfile b/Dockerfile index 9a961de..de5414e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG SIGNAL_CLI_VERSION=0.14.8 -ARG LIBSIGNAL_CLIENT_VERSION=0.102.1 +ARG SIGNAL_CLI_VERSION=0.14.9 +ARG LIBSIGNAL_CLIENT_VERSION=0.103.0 ARG SWAG_VERSION=1.16.4 diff --git a/src/docs/docs.go b/src/docs/docs.go index 6c68370..9480b39 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -1172,9 +1172,13 @@ const docTemplate = `{ }, "targetSentTimestamp": { "type": "integer" + }, + "targetTimestamp": { + "type": "integer" } }, "required": [ + "targetTimestamp", "targetSentTimestamp" ], "type": "object" @@ -1196,6 +1200,9 @@ const docTemplate = `{ "id": { "type": "string" }, + "isVoiceNote": { + "type": "boolean" + }, "size": { "type": "integer" }, @@ -1206,6 +1213,9 @@ const docTemplate = `{ "type": "integer" } }, + "required": [ + "isVoiceNote" + ], "type": "object" }, "receive.AttachmentData": { @@ -1472,12 +1482,24 @@ const docTemplate = `{ "expiresInSeconds": { "type": "integer" }, + "groupCallUpdate": { + "$ref": "#/definitions/receive.GroupCallUpdate" + }, "groupInfo": { "$ref": "#/definitions/receive.GroupInfo" }, + "hasProfileKey": { + "type": "boolean" + }, + "isEndSession": { + "type": "boolean" + }, "isExpirationUpdate": { "type": "boolean" }, + "isProfileKeyUpdate": { + "type": "boolean" + }, "mentions": { "items": { "$ref": "#/definitions/receive.Mention" @@ -1569,6 +1591,14 @@ const docTemplate = `{ }, "type": "object" }, + "receive.GroupCallUpdate": { + "properties": { + "eraId": { + "type": "string" + } + }, + "type": "object" + }, "receive.GroupInfo": { "properties": { "groupId": { @@ -1961,11 +1991,15 @@ const docTemplate = `{ }, "receive.RemoteDelete": { "properties": { + "targetTimestamp": { + "type": "integer" + }, "timestamp": { "type": "integer" } }, "required": [ + "targetTimestamp", "timestamp" ], "type": "object" @@ -2159,12 +2193,24 @@ const docTemplate = `{ "expiresInSeconds": { "type": "integer" }, + "groupCallUpdate": { + "$ref": "#/definitions/receive.GroupCallUpdate" + }, "groupInfo": { "$ref": "#/definitions/receive.GroupInfo" }, + "hasProfileKey": { + "type": "boolean" + }, + "isEndSession": { + "type": "boolean" + }, "isExpirationUpdate": { "type": "boolean" }, + "isProfileKeyUpdate": { + "type": "boolean" + }, "mentions": { "items": { "$ref": "#/definitions/receive.Mention" diff --git a/src/docs/swagger.json b/src/docs/swagger.json index e92f5b7..dd7f93e 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -1167,9 +1167,13 @@ }, "targetSentTimestamp": { "type": "integer" + }, + "targetTimestamp": { + "type": "integer" } }, "required": [ + "targetTimestamp", "targetSentTimestamp" ], "type": "object" @@ -1191,6 +1195,9 @@ "id": { "type": "string" }, + "isVoiceNote": { + "type": "boolean" + }, "size": { "type": "integer" }, @@ -1201,6 +1208,9 @@ "type": "integer" } }, + "required": [ + "isVoiceNote" + ], "type": "object" }, "receive.AttachmentData": { @@ -1467,12 +1477,24 @@ "expiresInSeconds": { "type": "integer" }, + "groupCallUpdate": { + "$ref": "#/definitions/receive.GroupCallUpdate" + }, "groupInfo": { "$ref": "#/definitions/receive.GroupInfo" }, + "hasProfileKey": { + "type": "boolean" + }, + "isEndSession": { + "type": "boolean" + }, "isExpirationUpdate": { "type": "boolean" }, + "isProfileKeyUpdate": { + "type": "boolean" + }, "mentions": { "items": { "$ref": "#/definitions/receive.Mention" @@ -1564,6 +1586,14 @@ }, "type": "object" }, + "receive.GroupCallUpdate": { + "properties": { + "eraId": { + "type": "string" + } + }, + "type": "object" + }, "receive.GroupInfo": { "properties": { "groupId": { @@ -1956,11 +1986,15 @@ }, "receive.RemoteDelete": { "properties": { + "targetTimestamp": { + "type": "integer" + }, "timestamp": { "type": "integer" } }, "required": [ + "targetTimestamp", "timestamp" ], "type": "object" @@ -2154,12 +2188,24 @@ "expiresInSeconds": { "type": "integer" }, + "groupCallUpdate": { + "$ref": "#/definitions/receive.GroupCallUpdate" + }, "groupInfo": { "$ref": "#/definitions/receive.GroupInfo" }, + "hasProfileKey": { + "type": "boolean" + }, + "isEndSession": { + "type": "boolean" + }, "isExpirationUpdate": { "type": "boolean" }, + "isProfileKeyUpdate": { + "type": "boolean" + }, "mentions": { "items": { "$ref": "#/definitions/receive.Mention"