twilio-ruby 7.4.5 → 7.6.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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +1 -1
  3. data/.github/workflows/test-and-deploy.yml +2 -2
  4. data/CHANGES.md +88 -0
  5. data/Dockerfile +2 -1
  6. data/README.md +2 -2
  7. data/lib/twilio-ruby/http/client_token_manager.rb +2 -2
  8. data/lib/twilio-ruby/http/org_token_manager.rb +2 -2
  9. data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +1 -1
  10. data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -4
  11. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +5 -5
  12. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +9 -3
  13. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +1 -1
  14. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +1 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +4 -4
  16. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +1 -1
  17. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +3 -0
  18. data/lib/twilio-ruby/rest/client.rb +5 -0
  19. data/lib/twilio-ruby/rest/content/v1/content.rb +11 -2
  20. data/lib/twilio-ruby/rest/events/v1/subscription.rb +3 -19
  21. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +50 -1
  22. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +0 -39
  23. data/lib/twilio-ruby/rest/iam/v1/{key.rb → new_api_key.rb} +20 -20
  24. data/lib/twilio-ruby/rest/iam/v1/token.rb +186 -0
  25. data/lib/twilio-ruby/rest/iam/v1.rb +10 -4
  26. data/lib/twilio-ruby/rest/knowledge/v1/knowledge/chunk.rb +232 -0
  27. data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +213 -0
  28. data/lib/twilio-ruby/rest/knowledge/v1/knowledge.rb +617 -0
  29. data/lib/twilio-ruby/rest/knowledge/v1.rb +49 -0
  30. data/lib/twilio-ruby/rest/knowledge.rb +6 -0
  31. data/lib/twilio-ruby/rest/knowledge_base.rb +38 -0
  32. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +2 -2
  33. data/lib/twilio-ruby/rest/{preview/sync/service.rb → messaging/v2/channels_sender.rb} +189 -226
  34. data/lib/twilio-ruby/rest/{preview/sync.rb → messaging/v2.rb} +13 -13
  35. data/lib/twilio-ruby/rest/messaging_base.rb +6 -1
  36. data/lib/twilio-ruby/rest/monitor/v1/event.rb +1 -1
  37. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +3 -3
  38. data/lib/twilio-ruby/rest/preview_base.rb +0 -5
  39. data/lib/twilio-ruby/rest/studio/v1/flow/engagement/step.rb +7 -0
  40. data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +7 -0
  41. data/lib/twilio-ruby/rest/studio/v2/flow/execution/execution_step.rb +7 -0
  42. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +2 -2
  43. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +2 -2
  44. data/lib/twilio-ruby/rest/verify/v2/service.rb +1 -1
  45. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +1 -1
  46. data/lib/twilio-ruby/rest/video/v1/room.rb +6 -0
  47. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -1
  48. data/lib/twilio-ruby/twiml/voice_response.rb +24 -14
  49. data/lib/twilio-ruby/version.rb +1 -1
  50. data/twilio-ruby.gemspec +0 -2
  51. metadata +12 -41
  52. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -407
  53. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -472
  54. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -467
  55. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -407
  56. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -444
  57. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -470
  58. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -407
  59. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -444
@@ -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