signalhouse-sms 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49c7cc8a5cb7d092342e6a4413c0a1c1abc9a654c6b377bb84d0d262b3e00dd5
4
- data.tar.gz: 53af5bddceb9acf5e11b441a6bdecc48c5507c6276bea7509b1162c9713f676e
3
+ metadata.gz: cdb1cf8992e034a8ad470be9932d2d6a3cc6b7d3654278405df398692b6a48c3
4
+ data.tar.gz: 45a638d4055d288209b798dfeaeac266384a87c7e3880fee96b9b58f92ece24e
5
5
  SHA512:
6
- metadata.gz: 9a156ea0f9e70505923b7342867d884c528a4d5021440201294c75f81393facd3f21ac768469c2a4b425b3d4c0207f3e8ca923b76b27c6d2821ff9ed26232b5d
7
- data.tar.gz: 5795a0906ce0e1b42efb1100de212f4272a2ad9717f276871ed9153ba9e03367b31f0e52970309248a6ff72a85ddd676c644690d9c76ddcc0cc7a7e29db2c9a0
6
+ metadata.gz: fdef2ed80b4228205ad085b3cd6303f5382ff22ed49dbc04b409ca1c1b11b4de7a884edb2020529a949048383301973f90e35ca6effda7205373a7d65e026cc9
7
+ data.tar.gz: 645ba54d4b91f05830ce607eb91c2c518713f7f592d60b004772fcfdeafc39e3c68080355292950afc3185e32bc7ce45bdac58c042138b1d5ed27d84fa5ab1a0
@@ -194,7 +194,12 @@ module SignalHouseSms
194
194
  # enabled (Boolean), channelPrompt (String), greeting (String|nil), llmProvider
195
195
  # ("bedrock"|"openai"|"anthropic"|"groq"), llmModel (String|nil), temperature (0-2),
196
196
  # voiceId (String|nil). Model settings are per-channel because each channel is
197
- # served by a different runtime. Spoken channels also accept: speed (0.7-1.2),
197
+ # served by a different runtime. The sms channel also accepts allowedCommitments: an
198
+ # Array of {kind:, detail:} naming the "a person will..." promises the agent may send
199
+ # on autopilot. kind is one of "confirm_booking", "call_back", "text_back",
200
+ # "follow_up", "hold_slot" or "send_reminder", each at most once; detail (up to 200
201
+ # characters, or nil) is shown to staff. Any other promise is held for review. A
202
+ # non-empty list on webchat or voice is rejected. Spoken channels also accept: speed (0.7-1.2),
198
203
  # stability (0-1), similarityBoost (0-1), speechModel (String — how the agent is
199
204
  # voiced, chosen independently of llmModel), turnEagerness
200
205
  # ("patient"|"normal"|"eager"), turnTimeoutSeconds and initialWaitSeconds (1-300,
@@ -30,11 +30,13 @@ module SignalHouseSms
30
30
  # registration_id filters to numbers provisioned under this registration.
31
31
  # current_toll_free_carrier: true, with group_id or subgroup_id, returns only toll-free numbers from the group's
32
32
  # current toll-free carrier, the ones a new toll-free campaign in that group can use.
33
- def get_phone_numbers(phone_number: nil, campaign_id: nil, registration_id: nil, brand_id: nil, subgroup_id: nil, group_id: nil, page: nil, limit: nil, current_toll_free_carrier: nil, **opts)
33
+ # released: true, with subgroup_id or group_id, returns only its released numbers (status RELEASED) instead of
34
+ # its active ones.
35
+ def get_phone_numbers(phone_number: nil, campaign_id: nil, registration_id: nil, brand_id: nil, subgroup_id: nil, group_id: nil, page: nil, limit: nil, current_toll_free_carrier: nil, released: nil, **opts)
34
36
  token = opts[:token]
35
37
  headers = HttpClient.headers_for(opts)
36
38
  qs = @client.get_query_string(phoneNumber: phone_number, campaignId: campaign_id, registrationId: registration_id, brandId: brand_id, subgroupId: subgroup_id, groupId: group_id, page: page, limit: limit,
37
- currentTollFreeCarrier: current_toll_free_carrier)
39
+ currentTollFreeCarrier: current_toll_free_carrier, released: released)
38
40
  @client.request("/number#{qs}", method: :get, token: token, headers: headers)
39
41
  end
40
42
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SignalHouseSms
4
- VERSION = "1.10.0"
4
+ VERSION = "1.11.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signalhouse-sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SignalHouse LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-06 00:00:00.000000000 Z
11
+ date: 2026-11-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Official Ruby SDK for the SignalHouse API. Provides a simple interface
14
14
  for sending SMS/MMS messages, managing phone numbers, 10DLC brand/campaign registration,