bandwidth-sdk 17.1.0 → 17.1.1

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.
@@ -16,6 +16,8 @@
16
16
  | **end_time** | **Time** | The end time of the event. | |
17
17
  | **description** | **String** | The description of the event. | [optional] |
18
18
  | **url** | **String** | The URL to open in browser. | |
19
+ | **application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] |
20
+ | **webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] |
19
21
 
20
22
  ## Example
21
23
 
@@ -34,7 +36,9 @@ instance = Bandwidth::MultiChannelAction.new(
34
36
  start_time: 2022-09-14T18:20:16Z,
35
37
  end_time: 2022-09-14T18:20:16Z,
36
38
  description: Discuss the new project,
37
- url: https://dev.bandwidth.com
39
+ url: https://dev.bandwidth.com,
40
+ application: null,
41
+ webview_view_mode: null
38
42
  )
39
43
  ```
40
44
 
@@ -16,7 +16,7 @@ require 'bandwidth-sdk'
16
16
  instance = Bandwidth::RbmActionBase.new(
17
17
  type: null,
18
18
  text: Hello world,
19
- postback_data: [B@7d5d77a6
19
+ postback_data: [B@13866865
20
20
  )
21
21
  ```
22
22
 
@@ -8,6 +8,8 @@
8
8
  | **text** | **String** | Displayed text for user to click | |
9
9
  | **postback_data** | **String** | Base64 payload the customer receives when the reply is clicked. | |
10
10
  | **url** | **String** | The URL to open in browser. | |
11
+ | **application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] |
12
+ | **webview_view_mode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] |
11
13
 
12
14
  ## Example
13
15
 
@@ -18,7 +20,9 @@ instance = Bandwidth::RbmActionOpenUrl.new(
18
20
  type: null,
19
21
  text: Hello world,
20
22
  postback_data: U0dWc2JHOGdkMjl5YkdRPQ==,
21
- url: https://dev.bandwidth.com
23
+ url: https://dev.bandwidth.com,
24
+ application: null,
25
+ webview_view_mode: null
22
26
  )
23
27
  ```
24
28
 
@@ -0,0 +1,15 @@
1
+ # Bandwidth::RbmOpenUrlEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::RbmOpenUrlEnum.new()
14
+ ```
15
+
@@ -14,7 +14,7 @@ require 'bandwidth-sdk'
14
14
 
15
15
  instance = Bandwidth::RbmSuggestionResponse.new(
16
16
  text: Yes, I would like to proceed,
17
- postback_data: [B@7d5d77a6
17
+ postback_data: [B@13866865
18
18
  )
19
19
  ```
20
20
 
@@ -0,0 +1,15 @@
1
+ # Bandwidth::RbmWebViewEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::RbmWebViewEnum.new()
14
+ ```
15
+
@@ -26,6 +26,10 @@ module Bandwidth
26
26
  # The URL to open in browser.
27
27
  attr_accessor :url
28
28
 
29
+ attr_accessor :application
30
+
31
+ attr_accessor :webview_view_mode
32
+
29
33
  class EnumAttributeValidator
30
34
  attr_reader :datatype
31
35
  attr_reader :allowable_values
@@ -54,7 +58,9 @@ module Bandwidth
54
58
  :'type' => :'type',
55
59
  :'text' => :'text',
56
60
  :'postback_data' => :'postbackData',
57
- :'url' => :'url'
61
+ :'url' => :'url',
62
+ :'application' => :'application',
63
+ :'webview_view_mode' => :'webviewViewMode'
58
64
  }
59
65
  end
60
66
 
@@ -74,7 +80,9 @@ module Bandwidth
74
80
  :'type' => :'RbmActionTypeEnum',
75
81
  :'text' => :'String',
76
82
  :'postback_data' => :'String',
77
- :'url' => :'String'
83
+ :'url' => :'String',
84
+ :'application' => :'RbmOpenUrlEnum',
85
+ :'webview_view_mode' => :'RbmWebViewEnum'
78
86
  }
79
87
  end
80
88
 
@@ -130,6 +138,14 @@ module Bandwidth
130
138
  else
131
139
  self.url = nil
132
140
  end
141
+
142
+ if attributes.key?(:'application')
143
+ self.application = attributes[:'application']
144
+ end
145
+
146
+ if attributes.key?(:'webview_view_mode')
147
+ self.webview_view_mode = attributes[:'webview_view_mode']
148
+ end
133
149
  end
134
150
 
135
151
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -242,7 +258,9 @@ module Bandwidth
242
258
  type == o.type &&
243
259
  text == o.text &&
244
260
  postback_data == o.postback_data &&
245
- url == o.url
261
+ url == o.url &&
262
+ application == o.application &&
263
+ webview_view_mode == o.webview_view_mode
246
264
  end
247
265
 
248
266
  # @see the `==` method
@@ -254,7 +272,7 @@ module Bandwidth
254
272
  # Calculates hash code according to all attributes.
255
273
  # @return [Integer] Hash code
256
274
  def hash
257
- [type, text, postback_data, url].hash
275
+ [type, text, postback_data, url, application, webview_view_mode].hash
258
276
  end
259
277
 
260
278
  # Builds the object from hash
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Bandwidth
3
+
4
+ #Bandwidth's Communication APIs
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: letstalk@bandwidth.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Bandwidth
17
+ class RbmOpenUrlEnum
18
+ BROWSER = 'BROWSER'.freeze
19
+ WEBVIEW = 'WEBVIEW'.freeze
20
+
21
+ def self.all_vars
22
+ @all_vars ||= [BROWSER, WEBVIEW].freeze
23
+ end
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def self.build_from_hash(value)
29
+ new.build_from_hash(value)
30
+ end
31
+
32
+ # Builds the enum from string
33
+ # @param [String] The enum value in the form of the string
34
+ # @return [String] The enum value
35
+ def build_from_hash(value)
36
+ return value if RbmOpenUrlEnum.all_vars.include?(value)
37
+ raise "Invalid ENUM value #{value} for class #RbmOpenUrlEnum"
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Bandwidth
3
+
4
+ #Bandwidth's Communication APIs
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: letstalk@bandwidth.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Bandwidth
17
+ class RbmWebViewEnum
18
+ FULL = 'FULL'.freeze
19
+ HALF = 'HALF'.freeze
20
+ TALL = 'TALL'.freeze
21
+
22
+ def self.all_vars
23
+ @all_vars ||= [FULL, HALF, TALL].freeze
24
+ end
25
+
26
+ # Builds the enum from string
27
+ # @param [String] The enum value in the form of the string
28
+ # @return [String] The enum value
29
+ def self.build_from_hash(value)
30
+ new.build_from_hash(value)
31
+ end
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def build_from_hash(value)
37
+ return value if RbmWebViewEnum.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #RbmWebViewEnum"
39
+ end
40
+ end
41
+ end
@@ -11,5 +11,5 @@ Generator version: 7.17.0
11
11
  =end
12
12
 
13
13
  module Bandwidth
14
- VERSION = '17.1.0'
14
+ VERSION = '17.1.1'
15
15
  end
data/lib/bandwidth-sdk.rb CHANGED
@@ -144,8 +144,10 @@ require 'bandwidth-sdk/models/rbm_message_content_file'
144
144
  require 'bandwidth-sdk/models/rbm_message_content_rich_card'
145
145
  require 'bandwidth-sdk/models/rbm_message_content_text'
146
146
  require 'bandwidth-sdk/models/rbm_message_media'
147
+ require 'bandwidth-sdk/models/rbm_open_url_enum'
147
148
  require 'bandwidth-sdk/models/rbm_standalone_card'
148
149
  require 'bandwidth-sdk/models/rbm_suggestion_response'
150
+ require 'bandwidth-sdk/models/rbm_web_view_enum'
149
151
  require 'bandwidth-sdk/models/recording_available_callback'
150
152
  require 'bandwidth-sdk/models/recording_complete_callback'
151
153
  require 'bandwidth-sdk/models/recording_state_enum'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bandwidth-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.1.0
4
+ version: 17.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-09 00:00:00.000000000 Z
11
+ date: 2026-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -278,8 +278,10 @@ files:
278
278
  - docs/RbmMessageContentRichCard.md
279
279
  - docs/RbmMessageContentText.md
280
280
  - docs/RbmMessageMedia.md
281
+ - docs/RbmOpenUrlEnum.md
281
282
  - docs/RbmStandaloneCard.md
282
283
  - docs/RbmSuggestionResponse.md
284
+ - docs/RbmWebViewEnum.md
283
285
  - docs/RecordingAvailableCallback.md
284
286
  - docs/RecordingCompleteCallback.md
285
287
  - docs/RecordingStateEnum.md
@@ -506,8 +508,10 @@ files:
506
508
  - lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb
507
509
  - lib/bandwidth-sdk/models/rbm_message_content_text.rb
508
510
  - lib/bandwidth-sdk/models/rbm_message_media.rb
511
+ - lib/bandwidth-sdk/models/rbm_open_url_enum.rb
509
512
  - lib/bandwidth-sdk/models/rbm_standalone_card.rb
510
513
  - lib/bandwidth-sdk/models/rbm_suggestion_response.rb
514
+ - lib/bandwidth-sdk/models/rbm_web_view_enum.rb
511
515
  - lib/bandwidth-sdk/models/recording_available_callback.rb
512
516
  - lib/bandwidth-sdk/models/recording_complete_callback.rb
513
517
  - lib/bandwidth-sdk/models/recording_state_enum.rb