[deps] upgrade client-go library

This commit is contained in:
Aleksandr Soloshenko 2025-03-30 14:40:34 +07:00 committed by Aleksandr
parent e04c1b80f9
commit a3da29b56d
4 changed files with 59 additions and 11 deletions

2
go.mod
View File

@ -6,7 +6,7 @@ toolchain go1.23.2
require (
firebase.google.com/go/v4 v4.12.1
github.com/android-sms-gateway/client-go v1.5.6
github.com/android-sms-gateway/client-go v1.5.7
github.com/ansrivas/fiberprometheus/v2 v2.6.1
github.com/capcom6/go-helpers v0.2.0
github.com/capcom6/go-infra-fx v0.2.1

12
go.sum
View File

@ -26,12 +26,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
github.com/android-sms-gateway/client-go v1.5.4 h1:sFMqu+Lc+YtkasesmerckVV8KKL8Qcx/VPEUWvcfbyA=
github.com/android-sms-gateway/client-go v1.5.4/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.6-0.20250326025946-2625b20dcccd h1:VuSsDc7HeRllPmVrFCmMi0ksFDWEDoUEHFuua4ccJ0s=
github.com/android-sms-gateway/client-go v1.5.6-0.20250326025946-2625b20dcccd/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.6 h1:sCiBT1Fn7QBaTlX7Z3eBGDcG+u+3sADmp+rxb0HWuaA=
github.com/android-sms-gateway/client-go v1.5.6/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.7 h1:1L9Ot3yc+5DtGaDOCUj4/8DEECWyfo4IoPyL+oXnzyE=
github.com/android-sms-gateway/client-go v1.5.7/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/ansrivas/fiberprometheus/v2 v2.6.1 h1:wac3pXaE6BYYTF04AC6K0ktk6vCD+MnDOJZ3SK66kXM=
@ -41,10 +37,6 @@ github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT
github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/capcom6/go-helpers v0.1.1 h1:kcpK1+VUwo94MZlZX+0Gab4gf78egHTPzW9sOQXLfFE=
github.com/capcom6/go-helpers v0.1.1/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-helpers v0.1.2-0.20250326030929-5d1f34b4936b h1:grbupORuCS6EJV/IMdEijRwmW7M91bpgqqex/TRKg38=
github.com/capcom6/go-helpers v0.1.2-0.20250326030929-5d1f34b4936b/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-helpers v0.2.0 h1:OUcUnVbjBiwaTzvyaxkxqRKtrOXv1ifYalQ1NXzFBNM=
github.com/capcom6/go-helpers v0.2.0/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-infra-fx v0.2.1 h1:8rqr2ZV+YC2R07amHMdlE1XKLUhMe5yO+ffCJ/xXlNY=

View File

@ -1162,6 +1162,17 @@
"79990001234"
]
},
"priority": {
"description": "Priority, messages with values greater than `99` will bypass limits and delays",
"maximum": 127,
"minimum": -128,
"allOf": [
{
"$ref": "#/definitions/smsgateway.MessagePriority"
}
],
"example": 0
},
"simNumber": {
"description": "SIM card number (1-3), if not set - default SIM will be used",
"type": "integer",
@ -1186,6 +1197,24 @@
}
}
},
"smsgateway.MessagePriority": {
"type": "integer",
"enum": [
-128,
0,
100,
127
],
"x-enum-comments": {
"PriorityExpedited": "This and higher priority messages will bypass limits and delays"
},
"x-enum-varnames": [
"PriorityMinimum",
"PriorityDefault",
"PriorityExpedited",
"PriorityMaximum"
]
},
"smsgateway.MessageState": {
"type": "object",
"required": [
@ -1360,10 +1389,12 @@
"type": "object",
"properties": {
"code": {
"description": "One-time code",
"type": "string",
"example": "123456"
},
"validUntil": {
"description": "One-time code expiration time",
"type": "string",
"example": "2020-01-01T00:00:00Z"
}

View File

@ -154,6 +154,14 @@ definitions:
maxItems: 100
minItems: 1
type: array
priority:
allOf:
- $ref: '#/definitions/smsgateway.MessagePriority'
description: Priority, messages with values greater than `99` will bypass
limits and delays
example: 0
maximum: 127
minimum: -128
simNumber:
description: SIM card number (1-3), if not set - default SIM will be used
example: 1
@ -176,6 +184,21 @@ definitions:
- message
- phoneNumbers
type: object
smsgateway.MessagePriority:
enum:
- -128
- 0
- 100
- 127
type: integer
x-enum-comments:
PriorityExpedited: This and higher priority messages will bypass limits and
delays
x-enum-varnames:
- PriorityMinimum
- PriorityDefault
- PriorityExpedited
- PriorityMaximum
smsgateway.MessageState:
properties:
id:
@ -304,9 +327,11 @@ definitions:
smsgateway.MobileUserCodeResponse:
properties:
code:
description: One-time code
example: "123456"
type: string
validUntil:
description: One-time code expiration time
example: "2020-01-01T00:00:00Z"
type: string
type: object