twilio-ruby 7.5.1 → 7.5.2

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.
@@ -0,0 +1,38 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # NOTE: This class is auto generated by OpenAPI Generator.
8
+ # https://openapi-generator.tech
9
+ # Do not edit the class manually.
10
+ # frozen_string_literal: true
11
+ module Twilio
12
+ module REST
13
+ class KnowledgeBase < Domain
14
+ ##
15
+ # Initialize knowledge domain
16
+ #
17
+ # @param twilio - The twilio client
18
+ #
19
+ def initialize(twilio)
20
+ super(twilio)
21
+ @base_url = "https://knowledge.twilio.com"
22
+ @host = "knowledge.twilio.com"
23
+ @port = 443
24
+ @v1 = nil
25
+ end
26
+
27
+ def v1
28
+ @v1 ||= Knowledge::V1.new self
29
+ end
30
+
31
+ ##
32
+ # Provide a user friendly representation
33
+ def to_s
34
+ '<Twilio::REST::Knowledge::V1>';
35
+ end
36
+ end
37
+ end
38
+ end
@@ -58,7 +58,7 @@ module Twilio
58
58
  ##
59
59
  # Fetch the PhoneNumberInstance
60
60
  # @param [String] country_code The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the phone number to fetch. This is used to specify the country when the phone number is provided in a national format.
61
- # @param [Array[String]] type The type of information to return. Can be: `carrier` or `caller-name`. The default is null. Carrier information costs $0.005 per phone number looked up. Caller Name information is currently available only in the US and costs $0.01 per phone number looked up. To retrieve both types on information, specify this parameter twice; once with `carrier` and once with `caller-name` as the value.
61
+ # @param [Array[String]] type The type of information to return. Can be: `carrier` or `caller-name`. The default is null. To retrieve both types of information, specify this parameter twice; once with `carrier` and once with `caller-name` as the value.
62
62
  # @param [Array[String]] add_ons The `unique_name` of an Add-on you would like to invoke. Can be the `unique_name` of an Add-on that is installed on your account. You can specify multiple instances of this parameter to invoke multiple Add-ons. For more information about Add-ons, see the [Add-ons documentation](https://www.twilio.com/docs/add-ons).
63
63
  # @param [Hash] add_ons_data Data specific to the add-on you would like to invoke. The content and format of this value depends on the add-on.
64
64
  # @return [PhoneNumberInstance] Fetched PhoneNumberInstance
@@ -218,7 +218,7 @@ module Twilio
218
218
  ##
219
219
  # Fetch the PhoneNumberInstance
220
220
  # @param [String] country_code The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the phone number to fetch. This is used to specify the country when the phone number is provided in a national format.
221
- # @param [Array[String]] type The type of information to return. Can be: `carrier` or `caller-name`. The default is null. Carrier information costs $0.005 per phone number looked up. Caller Name information is currently available only in the US and costs $0.01 per phone number looked up. To retrieve both types on information, specify this parameter twice; once with `carrier` and once with `caller-name` as the value.
221
+ # @param [Array[String]] type The type of information to return. Can be: `carrier` or `caller-name`. The default is null. To retrieve both types of information, specify this parameter twice; once with `carrier` and once with `caller-name` as the value.
222
222
  # @param [Array[String]] add_ons The `unique_name` of an Add-on you would like to invoke. Can be the `unique_name` of an Add-on that is installed on your account. You can specify multiple instances of this parameter to invoke multiple Add-ons. For more information about Add-ons, see the [Add-ons documentation](https://www.twilio.com/docs/add-ons).
223
223
  # @param [Hash] add_ons_data Data specific to the add-on you would like to invoke. The content and format of this value depends on the add-on.
224
224
  # @return [PhoneNumberInstance] Fetched PhoneNumberInstance
@@ -295,7 +295,7 @@ module Twilio
295
295
  end
296
296
 
297
297
  ##
298
- # @return [String] The SID of the actor that caused the event, if available. Can be `null`.
298
+ # @return [String] The SID of the actor that caused the event, if available. This can be either a User ID (matching the pattern `^US[0-9a-fA-F]{32}$`) or an Account SID (matching the pattern `^AC[0-9a-fA-F]{32}$`). If the actor's SID isn't available, this field will be `null`.
299
299
  def actor_sid
300
300
  @properties['actor_sid']
301
301
  end
@@ -246,6 +246,7 @@ module Twilio
246
246
  'engagement_sid' => payload['engagement_sid'],
247
247
  'name' => payload['name'],
248
248
  'context' => payload['context'],
249
+ 'parent_step_sid' => payload['parent_step_sid'],
249
250
  'transitioned_from' => payload['transitioned_from'],
250
251
  'transitioned_to' => payload['transitioned_to'],
251
252
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
@@ -306,6 +307,12 @@ module Twilio
306
307
  @properties['context']
307
308
  end
308
309
 
310
+ ##
311
+ # @return [String] The SID of the parent Step.
312
+ def parent_step_sid
313
+ @properties['parent_step_sid']
314
+ end
315
+
309
316
  ##
310
317
  # @return [String] The Widget that preceded the Widget for the Step.
311
318
  def transitioned_from
@@ -244,6 +244,7 @@ module Twilio
244
244
  'account_sid' => payload['account_sid'],
245
245
  'flow_sid' => payload['flow_sid'],
246
246
  'execution_sid' => payload['execution_sid'],
247
+ 'parent_step_sid' => payload['parent_step_sid'],
247
248
  'name' => payload['name'],
248
249
  'context' => payload['context'],
249
250
  'transitioned_from' => payload['transitioned_from'],
@@ -294,6 +295,12 @@ module Twilio
294
295
  @properties['execution_sid']
295
296
  end
296
297
 
298
+ ##
299
+ # @return [String] This field shows the Step SID of the Widget in the parent Flow that started the Subflow. If this Step is not part of a Subflow execution, the value is null.
300
+ def parent_step_sid
301
+ @properties['parent_step_sid']
302
+ end
303
+
297
304
  ##
298
305
  # @return [String] The event that caused the Flow to transition to the Step.
299
306
  def name
@@ -244,6 +244,7 @@ module Twilio
244
244
  'account_sid' => payload['account_sid'],
245
245
  'flow_sid' => payload['flow_sid'],
246
246
  'execution_sid' => payload['execution_sid'],
247
+ 'parent_step_sid' => payload['parent_step_sid'],
247
248
  'name' => payload['name'],
248
249
  'context' => payload['context'],
249
250
  'transitioned_from' => payload['transitioned_from'],
@@ -294,6 +295,12 @@ module Twilio
294
295
  @properties['execution_sid']
295
296
  end
296
297
 
298
+ ##
299
+ # @return [String] The SID of the parent Step.
300
+ def parent_step_sid
301
+ @properties['parent_step_sid']
302
+ end
303
+
297
304
  ##
298
305
  # @return [String] The event that caused the Flow to transition to the Step.
299
306
  def name
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.5.1'
2
+ VERSION = '7.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.1
4
+ version: 7.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-20 00:00:00.000000000 Z
11
+ date: 2025-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -581,6 +581,12 @@ files:
581
581
  - lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb
582
582
  - lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb
583
583
  - lib/twilio-ruby/rest/ip_messaging_base.rb
584
+ - lib/twilio-ruby/rest/knowledge.rb
585
+ - lib/twilio-ruby/rest/knowledge/v1.rb
586
+ - lib/twilio-ruby/rest/knowledge/v1/knowledge.rb
587
+ - lib/twilio-ruby/rest/knowledge/v1/knowledge/chunk.rb
588
+ - lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb
589
+ - lib/twilio-ruby/rest/knowledge_base.rb
584
590
  - lib/twilio-ruby/rest/lookups.rb
585
591
  - lib/twilio-ruby/rest/lookups/v1.rb
586
592
  - lib/twilio-ruby/rest/lookups/v1/phone_number.rb