freeclimb 4.4.2 → 4.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +4 -4
  5. data/docs/DefaultApi.md +10 -1
  6. data/docs/MessageResult.md +7 -1
  7. data/docs/MessageResultAllOf.md +7 -1
  8. data/docs/SMSTenDLCCampaign.md +1 -1
  9. data/lib/freeclimb/api/default_api.rb +9 -0
  10. data/lib/freeclimb/models/account_request.rb +8 -1
  11. data/lib/freeclimb/models/account_result.rb +12 -1
  12. data/lib/freeclimb/models/account_result_all_of.rb +6 -1
  13. data/lib/freeclimb/models/add_to_conference.rb +24 -2
  14. data/lib/freeclimb/models/add_to_conference_all_of.rb +24 -2
  15. data/lib/freeclimb/models/application_list.rb +6 -1
  16. data/lib/freeclimb/models/application_list_all_of.rb +6 -1
  17. data/lib/freeclimb/models/application_request.rb +6 -1
  18. data/lib/freeclimb/models/application_result.rb +12 -1
  19. data/lib/freeclimb/models/application_result_all_of.rb +6 -1
  20. data/lib/freeclimb/models/available_number.rb +6 -1
  21. data/lib/freeclimb/models/available_number_list.rb +6 -1
  22. data/lib/freeclimb/models/available_number_list_all_of.rb +6 -1
  23. data/lib/freeclimb/models/buy_incoming_number_request.rb +10 -2
  24. data/lib/freeclimb/models/call_list.rb +6 -1
  25. data/lib/freeclimb/models/call_list_all_of.rb +6 -1
  26. data/lib/freeclimb/models/call_result.rb +12 -1
  27. data/lib/freeclimb/models/call_result_all_of.rb +6 -1
  28. data/lib/freeclimb/models/capabilities.rb +6 -1
  29. data/lib/freeclimb/models/conference_list.rb +6 -1
  30. data/lib/freeclimb/models/conference_list_all_of.rb +6 -1
  31. data/lib/freeclimb/models/conference_participant_list.rb +6 -1
  32. data/lib/freeclimb/models/conference_participant_list_all_of.rb +6 -1
  33. data/lib/freeclimb/models/conference_participant_result.rb +12 -1
  34. data/lib/freeclimb/models/conference_participant_result_all_of.rb +6 -1
  35. data/lib/freeclimb/models/conference_result.rb +12 -1
  36. data/lib/freeclimb/models/conference_result_all_of.rb +6 -1
  37. data/lib/freeclimb/models/create_conference.rb +14 -2
  38. data/lib/freeclimb/models/create_conference_all_of.rb +14 -2
  39. data/lib/freeclimb/models/create_conference_request.rb +12 -1
  40. data/lib/freeclimb/models/dequeue.rb +1 -1
  41. data/lib/freeclimb/models/enqueue.rb +12 -4
  42. data/lib/freeclimb/models/enqueue_all_of.rb +12 -4
  43. data/lib/freeclimb/models/filter_logs_request.rb +6 -2
  44. data/lib/freeclimb/models/get_digits.rb +22 -2
  45. data/lib/freeclimb/models/get_digits_all_of.rb +22 -2
  46. data/lib/freeclimb/models/get_speech.rb +28 -3
  47. data/lib/freeclimb/models/get_speech_all_of.rb +28 -3
  48. data/lib/freeclimb/models/hangup.rb +6 -1
  49. data/lib/freeclimb/models/hangup_all_of.rb +6 -1
  50. data/lib/freeclimb/models/incoming_number_list.rb +6 -1
  51. data/lib/freeclimb/models/incoming_number_list_all_of.rb +6 -1
  52. data/lib/freeclimb/models/incoming_number_request.rb +8 -1
  53. data/lib/freeclimb/models/incoming_number_result.rb +14 -1
  54. data/lib/freeclimb/models/incoming_number_result_all_of.rb +6 -1
  55. data/lib/freeclimb/models/log_list.rb +6 -1
  56. data/lib/freeclimb/models/log_list_all_of.rb +6 -1
  57. data/lib/freeclimb/models/log_result.rb +6 -1
  58. data/lib/freeclimb/models/make_call_request.rb +24 -3
  59. data/lib/freeclimb/models/message_request.rb +22 -4
  60. data/lib/freeclimb/models/message_request_all_of.rb +14 -4
  61. data/lib/freeclimb/models/message_result.rb +50 -6
  62. data/lib/freeclimb/models/message_result_all_of.rb +44 -6
  63. data/lib/freeclimb/models/messages_list.rb +6 -1
  64. data/lib/freeclimb/models/messages_list_all_of.rb +6 -1
  65. data/lib/freeclimb/models/mutable_resource_model.rb +12 -1
  66. data/lib/freeclimb/models/out_dial.rb +24 -5
  67. data/lib/freeclimb/models/out_dial_all_of.rb +24 -5
  68. data/lib/freeclimb/models/pagination_model.rb +6 -1
  69. data/lib/freeclimb/models/park.rb +10 -3
  70. data/lib/freeclimb/models/park_all_of.rb +10 -3
  71. data/lib/freeclimb/models/pause.rb +6 -2
  72. data/lib/freeclimb/models/pause_all_of.rb +6 -2
  73. data/lib/freeclimb/models/percl_command.rb +6 -1
  74. data/lib/freeclimb/models/percl_script.rb +6 -1
  75. data/lib/freeclimb/models/play.rb +12 -2
  76. data/lib/freeclimb/models/play_all_of.rb +12 -2
  77. data/lib/freeclimb/models/play_early_media.rb +6 -2
  78. data/lib/freeclimb/models/play_early_media_all_of.rb +6 -2
  79. data/lib/freeclimb/models/queue_list.rb +6 -1
  80. data/lib/freeclimb/models/queue_list_all_of.rb +6 -1
  81. data/lib/freeclimb/models/queue_member.rb +6 -1
  82. data/lib/freeclimb/models/queue_member_list.rb +6 -1
  83. data/lib/freeclimb/models/queue_member_list_all_of.rb +6 -1
  84. data/lib/freeclimb/models/queue_request.rb +8 -1
  85. data/lib/freeclimb/models/queue_result.rb +12 -1
  86. data/lib/freeclimb/models/queue_result_all_of.rb +6 -1
  87. data/lib/freeclimb/models/record_utterance.rb +18 -2
  88. data/lib/freeclimb/models/record_utterance_all_of.rb +18 -2
  89. data/lib/freeclimb/models/recording_list.rb +6 -1
  90. data/lib/freeclimb/models/recording_list_all_of.rb +6 -1
  91. data/lib/freeclimb/models/recording_result.rb +12 -1
  92. data/lib/freeclimb/models/recording_result_all_of.rb +6 -1
  93. data/lib/freeclimb/models/redirect.rb +6 -2
  94. data/lib/freeclimb/models/redirect_all_of.rb +6 -2
  95. data/lib/freeclimb/models/reject.rb +6 -1
  96. data/lib/freeclimb/models/reject_all_of.rb +6 -1
  97. data/lib/freeclimb/models/remove_from_conference.rb +6 -2
  98. data/lib/freeclimb/models/remove_from_conference_all_of.rb +6 -2
  99. data/lib/freeclimb/models/say.rb +14 -2
  100. data/lib/freeclimb/models/say_all_of.rb +14 -2
  101. data/lib/freeclimb/models/send_digits.rb +10 -2
  102. data/lib/freeclimb/models/send_digits_all_of.rb +10 -2
  103. data/lib/freeclimb/models/set_listen.rb +8 -2
  104. data/lib/freeclimb/models/set_listen_all_of.rb +8 -2
  105. data/lib/freeclimb/models/set_talk.rb +8 -2
  106. data/lib/freeclimb/models/set_talk_all_of.rb +8 -2
  107. data/lib/freeclimb/models/sms.rb +12 -4
  108. data/lib/freeclimb/models/sms_all_of.rb +12 -4
  109. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +66 -40
  110. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +6 -1
  111. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +6 -1
  112. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +46 -22
  113. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +6 -1
  114. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +6 -1
  115. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +50 -22
  116. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +26 -10
  117. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +6 -1
  118. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +6 -1
  119. data/lib/freeclimb/models/start_record_call.rb +1 -1
  120. data/lib/freeclimb/models/terminate_conference.rb +6 -2
  121. data/lib/freeclimb/models/terminate_conference_all_of.rb +6 -2
  122. data/lib/freeclimb/models/unpark.rb +1 -1
  123. data/lib/freeclimb/models/update_call_request.rb +6 -2
  124. data/lib/freeclimb/models/update_conference_participant_request.rb +8 -1
  125. data/lib/freeclimb/models/update_conference_request.rb +8 -1
  126. data/lib/freeclimb/version.rb +1 -1
  127. data/openapi.json +77 -25
  128. data/spec/models/account_request_spec.rb +10 -0
  129. data/spec/models/account_result_spec.rb +12 -0
  130. data/spec/models/account_status_spec.rb +1 -0
  131. data/spec/models/account_type_spec.rb +1 -0
  132. data/spec/models/add_to_conference_spec.rb +11 -0
  133. data/spec/models/answered_by_spec.rb +1 -0
  134. data/spec/models/application_list_spec.rb +10 -0
  135. data/spec/models/application_request_spec.rb +10 -0
  136. data/spec/models/application_result_spec.rb +10 -0
  137. data/spec/models/available_number_list_spec.rb +10 -0
  138. data/spec/models/available_number_spec.rb +10 -0
  139. data/spec/models/buy_incoming_number_request_spec.rb +11 -0
  140. data/spec/models/call_direction_spec.rb +1 -0
  141. data/spec/models/call_list_spec.rb +10 -0
  142. data/spec/models/call_result_spec.rb +13 -0
  143. data/spec/models/call_status_spec.rb +1 -0
  144. data/spec/models/capabilities_spec.rb +15 -0
  145. data/spec/models/conference_list_spec.rb +10 -0
  146. data/spec/models/conference_participant_list_spec.rb +10 -0
  147. data/spec/models/conference_participant_result_spec.rb +10 -0
  148. data/spec/models/conference_result_spec.rb +12 -0
  149. data/spec/models/conference_status_spec.rb +1 -0
  150. data/spec/models/create_conference_request_spec.rb +11 -0
  151. data/spec/models/create_conference_spec.rb +12 -0
  152. data/spec/models/dequeue_spec.rb +1 -0
  153. data/spec/models/enqueue_spec.rb +13 -0
  154. data/spec/models/filter_logs_request_spec.rb +11 -0
  155. data/spec/models/get_digits_spec.rb +11 -0
  156. data/spec/models/get_speech_reason_spec.rb +1 -0
  157. data/spec/models/get_speech_spec.rb +15 -0
  158. data/spec/models/grammar_file_built_in_spec.rb +1 -0
  159. data/spec/models/grammar_type_spec.rb +1 -0
  160. data/spec/models/hangup_spec.rb +10 -0
  161. data/spec/models/if_machine_spec.rb +1 -0
  162. data/spec/models/incoming_number_list_spec.rb +10 -0
  163. data/spec/models/incoming_number_request_spec.rb +10 -0
  164. data/spec/models/incoming_number_result_spec.rb +10 -0
  165. data/spec/models/language_spec.rb +1 -0
  166. data/spec/models/log_level_spec.rb +1 -0
  167. data/spec/models/log_list_spec.rb +10 -0
  168. data/spec/models/log_result_spec.rb +11 -0
  169. data/spec/models/machine_type_spec.rb +1 -0
  170. data/spec/models/make_call_request_spec.rb +12 -0
  171. data/spec/models/message_direction_spec.rb +1 -0
  172. data/spec/models/message_request_spec.rb +13 -0
  173. data/spec/models/message_result_spec.rb +86 -0
  174. data/spec/models/message_status_spec.rb +1 -0
  175. data/spec/models/messages_list_spec.rb +10 -0
  176. data/spec/models/mutable_resource_model_spec.rb +10 -0
  177. data/spec/models/out_dial_spec.rb +15 -0
  178. data/spec/models/pagination_model_spec.rb +10 -0
  179. data/spec/models/park_spec.rb +12 -0
  180. data/spec/models/pause_spec.rb +11 -0
  181. data/spec/models/percl_command_spec.rb +10 -0
  182. data/spec/models/percl_script_spec.rb +10 -0
  183. data/spec/models/play_beep_spec.rb +1 -0
  184. data/spec/models/play_early_media_spec.rb +11 -0
  185. data/spec/models/play_spec.rb +11 -0
  186. data/spec/models/queue_list_spec.rb +10 -0
  187. data/spec/models/queue_member_list_spec.rb +10 -0
  188. data/spec/models/queue_member_spec.rb +10 -0
  189. data/spec/models/queue_request_spec.rb +10 -0
  190. data/spec/models/queue_result_spec.rb +10 -0
  191. data/spec/models/queue_result_status_spec.rb +1 -0
  192. data/spec/models/record_utterance_spec.rb +11 -0
  193. data/spec/models/record_utterance_term_reason_spec.rb +1 -0
  194. data/spec/models/recording_list_spec.rb +10 -0
  195. data/spec/models/recording_result_spec.rb +10 -0
  196. data/spec/models/redirect_spec.rb +11 -0
  197. data/spec/models/reject_spec.rb +10 -0
  198. data/spec/models/remove_from_conference_spec.rb +11 -0
  199. data/spec/models/request_type_spec.rb +1 -0
  200. data/spec/models/say_spec.rb +11 -0
  201. data/spec/models/send_digits_spec.rb +11 -0
  202. data/spec/models/set_listen_spec.rb +11 -0
  203. data/spec/models/set_talk_spec.rb +11 -0
  204. data/spec/models/sms_spec.rb +13 -0
  205. data/spec/models/sms_ten_dlc_brand_spec.rb +124 -73
  206. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +10 -0
  207. data/spec/models/sms_ten_dlc_campaign_spec.rb +76 -42
  208. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +10 -0
  209. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +47 -21
  210. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +95 -48
  211. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +10 -0
  212. data/spec/models/start_record_call_spec.rb +1 -0
  213. data/spec/models/terminate_conference_spec.rb +11 -0
  214. data/spec/models/unpark_spec.rb +1 -0
  215. data/spec/models/update_call_request_spec.rb +12 -0
  216. data/spec/models/update_call_request_status_spec.rb +1 -0
  217. data/spec/models/update_conference_participant_request_spec.rb +10 -0
  218. data/spec/models/update_conference_request_spec.rb +12 -0
  219. data/spec/models/update_conference_request_status_spec.rb +1 -0
  220. metadata +79 -79
@@ -202,16 +202,32 @@ module Freeclimb
202
202
  # Check to see if the all the properties in the model are valid
203
203
  # @return true if the model is valid
204
204
  def valid?
205
- return false if !@first_name.nil? && @first_name.to_s.length > 100
206
- return false if !@last_name.nil? && @last_name.to_s.length > 100
207
- return false if !@display_name.nil? && @display_name.to_s.length > 255
208
- return false if !@company_name.nil? && @company_name.to_s.length > 255
209
- return false if @phone.nil?
210
- return false if @phone.to_s.length > 20
211
- return false if @email.nil?
212
- return false if @email.to_s.length > 100
213
- return false if !@website.nil? && @website.to_s.length > 100
214
- true
205
+
206
+ if @account_id.nil?
207
+ false
208
+ elsif @brand_id.nil?
209
+ false
210
+ elsif @first_name.nil?
211
+ false
212
+ elsif @last_name.nil?
213
+ false
214
+ elsif @display_name.nil?
215
+ false
216
+ elsif @company_name.nil?
217
+ false
218
+ elsif @phone.nil?
219
+ false
220
+ elsif @email.nil?
221
+ false
222
+ elsif @website.nil?
223
+ false
224
+ elsif @optional_attributes.nil?
225
+ false
226
+ elsif @evp_vetting_score.nil?
227
+ false
228
+ else
229
+ list_invalid_properties.length() == 0
230
+ end
215
231
  end
216
232
 
217
233
  # Custom attribute writer method with validation
@@ -153,7 +153,12 @@ module Freeclimb
153
153
  # Check to see if the all the properties in the model are valid
154
154
  # @return true if the model is valid
155
155
  def valid?
156
- true
156
+
157
+ if @total.nil?
158
+ false
159
+ else
160
+ list_invalid_properties.length() == 0
161
+ end
157
162
  end
158
163
 
159
164
  # Checks equality by comparing each attribute.
@@ -75,7 +75,12 @@ module Freeclimb
75
75
  # Check to see if the all the properties in the model are valid
76
76
  # @return true if the model is valid
77
77
  def valid?
78
- true
78
+
79
+ if @partner_campaigns.nil?
80
+ false
81
+ else
82
+ list_invalid_properties.length() == 0
83
+ end
79
84
  end
80
85
 
81
86
  # Checks equality by comparing each attribute.
@@ -76,7 +76,7 @@ module Freeclimb
76
76
  # Check to see if the all the properties in the model are valid
77
77
  # @return true if the model is valid
78
78
  def valid?
79
- true && super
79
+
80
80
  end
81
81
 
82
82
  # Checks equality by comparing each attribute.
@@ -90,8 +90,12 @@ module Freeclimb
90
90
  # Check to see if the all the properties in the model are valid
91
91
  # @return true if the model is valid
92
92
  def valid?
93
- return false if @conference_id.nil?
94
- true && super
93
+
94
+ if @conference_id.nil?
95
+ false
96
+ else
97
+ list_invalid_properties.length() == 0
98
+ end
95
99
  end
96
100
 
97
101
  # Checks equality by comparing each attribute.
@@ -77,8 +77,12 @@ module Freeclimb
77
77
  # Check to see if the all the properties in the model are valid
78
78
  # @return true if the model is valid
79
79
  def valid?
80
- return false if @conference_id.nil?
81
- true
80
+
81
+ if @conference_id.nil?
82
+ false
83
+ else
84
+ list_invalid_properties.length() == 0
85
+ end
82
86
  end
83
87
 
84
88
  # Checks equality by comparing each attribute.
@@ -76,7 +76,7 @@ module Freeclimb
76
76
  # Check to see if the all the properties in the model are valid
77
77
  # @return true if the model is valid
78
78
  def valid?
79
- true && super
79
+
80
80
  end
81
81
 
82
82
  # Checks equality by comparing each attribute.
@@ -76,8 +76,12 @@ module Freeclimb
76
76
  # Check to see if the all the properties in the model are valid
77
77
  # @return true if the model is valid
78
78
  def valid?
79
- return false if @status.nil?
80
- true
79
+
80
+ if @status.nil?
81
+ false
82
+ else
83
+ list_invalid_properties.length() == 0
84
+ end
81
85
  end
82
86
 
83
87
  # Checks equality by comparing each attribute.
@@ -82,7 +82,14 @@ module Freeclimb
82
82
  # Check to see if the all the properties in the model are valid
83
83
  # @return true if the model is valid
84
84
  def valid?
85
- true
85
+
86
+ if @talk.nil?
87
+ false
88
+ elsif @listen.nil?
89
+ false
90
+ else
91
+ list_invalid_properties.length() == 0
92
+ end
86
93
  end
87
94
 
88
95
  # Checks equality by comparing each attribute.
@@ -92,7 +92,14 @@ module Freeclimb
92
92
  # Check to see if the all the properties in the model are valid
93
93
  # @return true if the model is valid
94
94
  def valid?
95
- true
95
+
96
+ if @_alias.nil?
97
+ false
98
+ elsif @status.nil?
99
+ false
100
+ else
101
+ list_invalid_properties.length() == 0
102
+ end
96
103
  end
97
104
 
98
105
  # Checks equality by comparing each attribute.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module Freeclimb
14
- VERSION = '4.4.2'
14
+ VERSION = '4.4.4'
15
15
  end
data/openapi.json CHANGED
@@ -537,7 +537,8 @@
537
537
  "x-percl-command": true,
538
538
  "allOf": [
539
539
  {
540
- "$ref": "#/components/schemas/PerclCommand"
540
+ "$ref": "#/components/schemas/PerclCommand",
541
+ "x-is-uri": true
541
542
  },
542
543
  {
543
544
  "type": "object",
@@ -545,7 +546,8 @@
545
546
  "properties": {
546
547
  "actionUrl": {
547
548
  "description": " This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. ",
548
- "type": "string"
549
+ "type": "string",
550
+ "x-is-uri": true
549
551
  },
550
552
  "alias": {
551
553
  "description": "Descriptive name for the Conference. ",
@@ -588,7 +590,8 @@
588
590
  "x-percl-command": true,
589
591
  "allOf": [
590
592
  {
591
- "$ref": "#/components/schemas/PerclCommand"
593
+ "$ref": "#/components/schemas/PerclCommand",
594
+ "x-is-uri": true
592
595
  },
593
596
  {
594
597
  "type": "object",
@@ -596,11 +599,13 @@
596
599
  "properties": {
597
600
  "actionUrl": {
598
601
  "description": "A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up.",
599
- "type": "string"
602
+ "type": "string",
603
+ "x-is-uri": true
600
604
  },
601
605
  "notificationUrl": {
602
606
  "description": "URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored.",
603
- "type": "string"
607
+ "type": "string",
608
+ "x-is-uri": true
604
609
  },
605
610
  "queueId": {
606
611
  "description": "ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters.",
@@ -619,7 +624,8 @@
619
624
  "x-percl-command": true,
620
625
  "allOf": [
621
626
  {
622
- "$ref": "#/components/schemas/PerclCommand"
627
+ "$ref": "#/components/schemas/PerclCommand",
628
+ "x-is-uri": true
623
629
  },
624
630
  {
625
631
  "type": "object",
@@ -627,7 +633,8 @@
627
633
  "properties": {
628
634
  "actionUrl": {
629
635
  "description": "When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL.",
630
- "type": "string"
636
+ "type": "string",
637
+ "x-is-uri": true
631
638
  },
632
639
  "digitTimeoutMs": {
633
640
  "description": " Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered.",
@@ -764,7 +771,8 @@
764
771
  "x-percl-command": true,
765
772
  "allOf": [
766
773
  {
767
- "$ref": "#/components/schemas/PerclCommand"
774
+ "$ref": "#/components/schemas/PerclCommand",
775
+ "x-is-uri": true
768
776
  },
769
777
  {
770
778
  "required": [
@@ -777,11 +785,13 @@
777
785
  "properties": {
778
786
  "actionUrl": {
779
787
  "description": "URL to which FreeClimb sends an HTTP POST request. ",
780
- "type": "string"
788
+ "type": "string",
789
+ "x-is-uri": true
781
790
  },
782
791
  "callConnectUrl": {
783
792
  "description": "URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.",
784
- "type": "string"
793
+ "type": "string",
794
+ "x-is-uri": true
785
795
  },
786
796
  "callingNumber": {
787
797
  "description": "he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.",
@@ -823,7 +833,8 @@
823
833
  "x-percl-command": true,
824
834
  "allOf": [
825
835
  {
826
- "$ref": "#/components/schemas/PerclCommand"
836
+ "$ref": "#/components/schemas/PerclCommand",
837
+ "x-is-uri": true
827
838
  },
828
839
  {
829
840
  "type": "object",
@@ -831,11 +842,13 @@
831
842
  "properties": {
832
843
  "waitUrl": {
833
844
  "description": "Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely.",
834
- "type": "string"
845
+ "type": "string",
846
+ "x-is-uri": true
835
847
  },
836
848
  "actionUrl": {
837
849
  "description": "A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call.",
838
- "type": "string"
850
+ "type": "string",
851
+ "x-is-uri": true
839
852
  },
840
853
  "notificationUrl": {
841
854
  "description": "URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters.",
@@ -919,7 +932,8 @@
919
932
  "x-percl-command": true,
920
933
  "allOf": [
921
934
  {
922
- "$ref": "#/components/schemas/PerclCommand"
935
+ "$ref": "#/components/schemas/PerclCommand",
936
+ "x-is-uri": true
923
937
  },
924
938
  {
925
939
  "required": ["actionUrl"],
@@ -927,7 +941,8 @@
927
941
  "properties": {
928
942
  "actionUrl": {
929
943
  "description": "URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing.",
930
- "type": "string"
944
+ "type": "string",
945
+ "x-is-uri": true
931
946
  },
932
947
  "silenceTimeoutMs": {
933
948
  "description": "Interval of silence that should elapse before ending the recording.",
@@ -962,7 +977,8 @@
962
977
  "x-percl-command": true,
963
978
  "allOf": [
964
979
  {
965
- "$ref": "#/components/schemas/PerclCommand"
980
+ "$ref": "#/components/schemas/PerclCommand",
981
+ "x-is-uri": true
966
982
  },
967
983
  {
968
984
  "required": ["actionUrl"],
@@ -970,7 +986,8 @@
970
986
  "properties": {
971
987
  "actionUrl": {
972
988
  "description": "URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call.",
973
- "type": "string"
989
+ "type": "string",
990
+ "x-is-uri": true
974
991
  }
975
992
  }
976
993
  }
@@ -2103,6 +2120,21 @@
2103
2120
  "type": "string",
2104
2121
  "description": "URL invoked when message sent",
2105
2122
  "nullable": true
2123
+ },
2124
+ "brandId": {
2125
+ "type": "string",
2126
+ "description": "The unique identifier for the brand associated with the message",
2127
+ "nullable": true
2128
+ },
2129
+ "campaignId": {
2130
+ "type": "string",
2131
+ "description": "The unique identifier for the campaign associated with the message",
2132
+ "nullable": true
2133
+ },
2134
+ "segmentCount": {
2135
+ "type": "number",
2136
+ "description": "The number of segments into which the message was split",
2137
+ "nullable": true
2106
2138
  }
2107
2139
  }
2108
2140
  }
@@ -2411,7 +2443,6 @@
2411
2443
  },
2412
2444
  "resellerId": {
2413
2445
  "maxLength": 8,
2414
- "x-max-length-8": true,
2415
2446
  "type": "string",
2416
2447
  "nullable": true,
2417
2448
  "description": "Alphanumeric identifier of the reseller that you want to associate with this campaign."
@@ -2442,7 +2473,6 @@
2442
2473
  },
2443
2474
  "brandId": {
2444
2475
  "maxLength": 8,
2445
- "x-max-length-8": true,
2446
2476
  "type": "string",
2447
2477
  "description": "Alphanumeric identifier of the brand associated with this campaign."
2448
2478
  },
@@ -2649,7 +2679,6 @@
2649
2679
  },
2650
2680
  "brandId": {
2651
2681
  "maxLength": 8,
2652
- "x-max-length-8": true,
2653
2682
  "type": "string",
2654
2683
  "description": "Alphanumeric identifier of the brand associated with this campaign."
2655
2684
  },
@@ -2993,8 +3022,7 @@
2993
3022
  "maxLength": 2,
2994
3023
  "type": "string",
2995
3024
  "description": "ISO2 2 characters country code. Example: US - United States",
2996
- "example": "US",
2997
- "x-max-length-2": true
3025
+ "example": "US"
2998
3026
  },
2999
3027
  "phone": {
3000
3028
  "maxLength": 20,
@@ -3022,14 +3050,12 @@
3022
3050
  },
3023
3051
  "postalCode": {
3024
3052
  "maxLength": 10,
3025
- "x-max-length-10": true,
3026
3053
  "type": "string",
3027
3054
  "description": "Postal codes. Use 5 digit zipcode for United States",
3028
3055
  "example": "10001"
3029
3056
  },
3030
3057
  "country": {
3031
3058
  "maxLength": 2,
3032
- "x-max-length-2": true,
3033
3059
  "type": "string",
3034
3060
  "description": "ISO2 2 characters country code. Example: US - United States",
3035
3061
  "example": "US"
@@ -3041,7 +3067,6 @@
3041
3067
  },
3042
3068
  "stockSymbol": {
3043
3069
  "maxLength": 10,
3044
- "x-max-length-10": true,
3045
3070
  "type": "string",
3046
3071
  "description": "(Required for public company) stock symbol.",
3047
3072
  "example": "ABC"
@@ -5072,6 +5097,33 @@
5072
5097
  "schema": {
5073
5098
  "$ref": "#/components/schemas/MessageDirection"
5074
5099
  }
5100
+ },
5101
+ {
5102
+ "name": "campaignId",
5103
+ "in": "query",
5104
+ "description": "Only show messages associated with this campaign ID.",
5105
+ "required": false,
5106
+ "schema": {
5107
+ "type": "string"
5108
+ }
5109
+ },
5110
+ {
5111
+ "name": "brandId",
5112
+ "in": "query",
5113
+ "description": "Only show messages associated with this brand ID",
5114
+ "required": false,
5115
+ "schema": {
5116
+ "type": "string"
5117
+ }
5118
+ },
5119
+ {
5120
+ "name": "is10DLC",
5121
+ "in": "query",
5122
+ "description": "Only show messages that were sent as part of a 10DLC campaign.",
5123
+ "required": false,
5124
+ "schema": {
5125
+ "type": "boolean"
5126
+ }
5075
5127
  }
5076
5128
  ],
5077
5129
  "responses": {
@@ -25,6 +25,7 @@ describe Freeclimb::AccountRequest do
25
25
  expect(instance).to be_instance_of(Freeclimb::AccountRequest)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "_alias"' do
29
30
  it 'should work' do
30
31
  instance._alias = "TEST_STRING"
@@ -70,6 +71,15 @@ describe Freeclimb::AccountRequest do
70
71
  )
71
72
  expect(instance.valid?).to eq(true)
72
73
  end
74
+ it 'checks if properties are invalid' do
75
+ instance = Freeclimb::AccountRequest.new(
76
+ )
77
+ expect(instance.valid?).to eq(false)
78
+ end
79
+ it 'checks if model is empty' do
80
+ instance = Freeclimb::AccountRequest.new()
81
+ expect(instance.valid?).to eq(false)
82
+ end
73
83
  end
74
84
 
75
85
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::AccountResult do
25
25
  expect(instance).to be_instance_of(Freeclimb::AccountResult)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "uri"' do
29
30
  it 'should work' do
30
31
  instance.uri = "TEST_STRING"
@@ -81,6 +82,7 @@ describe Freeclimb::AccountResult do
81
82
  end
82
83
  end
83
84
 
85
+
84
86
  describe 'test attribute "type"' do
85
87
  it 'assigns value TRIAL' do
86
88
  instance.type = Freeclimb::AccountType::TRIAL
@@ -92,6 +94,7 @@ describe Freeclimb::AccountResult do
92
94
  end
93
95
  end
94
96
 
97
+
95
98
  describe 'test attribute "status"' do
96
99
  it 'assigns value CLOSED' do
97
100
  instance.status = Freeclimb::AccountStatus::CLOSED
@@ -182,6 +185,15 @@ describe Freeclimb::AccountResult do
182
185
  )
183
186
  expect(instance.valid?).to eq(true)
184
187
  end
188
+ it 'checks if properties are invalid' do
189
+ instance = Freeclimb::AccountResult.new(
190
+ )
191
+ expect(instance.valid?).to eq(false)
192
+ end
193
+ it 'checks if model is empty' do
194
+ instance = Freeclimb::AccountResult.new()
195
+ expect(instance.valid?).to eq(false)
196
+ end
185
197
  end
186
198
 
187
199
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::AccountStatus do
25
25
  expect(instance).to be_instance_of(Freeclimb::AccountStatus)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "CLOSED"' do
29
30
  it 'should work' do
30
31
  expect { Freeclimb::AccountStatus::CLOSED = "closed" }.not_to raise_error
@@ -25,6 +25,7 @@ describe Freeclimb::AccountType do
25
25
  expect(instance).to be_instance_of(Freeclimb::AccountType)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "TRIAL"' do
29
30
  it 'should work' do
30
31
  expect { Freeclimb::AccountType::TRIAL = "trial" }.not_to raise_error
@@ -25,6 +25,7 @@ describe Freeclimb::AddToConference do
25
25
  expect(instance).to be_instance_of(Freeclimb::AddToConference)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "allow_call_control"' do
29
30
  it 'should work' do
30
31
  instance.allow_call_control = false
@@ -158,6 +159,16 @@ describe Freeclimb::AddToConference do
158
159
  )
159
160
  expect(instance.valid?).to eq(true)
160
161
  end
162
+ it 'checks if properties are invalid' do
163
+ instance = Freeclimb::AddToConference.new(
164
+ conference_id: nil,
165
+ )
166
+ expect(instance.valid?).to eq(false)
167
+ end
168
+ it 'checks if model is empty' do
169
+ instance = Freeclimb::AddToConference.new()
170
+ expect(instance.valid?).to eq(false)
171
+ end
161
172
  end
162
173
 
163
174
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::AnsweredBy do
25
25
  expect(instance).to be_instance_of(Freeclimb::AnsweredBy)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "HUMAN"' do
29
30
  it 'should work' do
30
31
  expect { Freeclimb::AnsweredBy::HUMAN = "human" }.not_to raise_error
@@ -25,6 +25,7 @@ describe Freeclimb::ApplicationList do
25
25
  expect(instance).to be_instance_of(Freeclimb::ApplicationList)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "total"' do
29
30
  it 'should work' do
30
31
  instance.total = 1
@@ -136,6 +137,15 @@ describe Freeclimb::ApplicationList do
136
137
  )
137
138
  expect(instance.valid?).to eq(true)
138
139
  end
140
+ it 'checks if properties are invalid' do
141
+ instance = Freeclimb::ApplicationList.new(
142
+ )
143
+ expect(instance.valid?).to eq(false)
144
+ end
145
+ it 'checks if model is empty' do
146
+ instance = Freeclimb::ApplicationList.new()
147
+ expect(instance.valid?).to eq(false)
148
+ end
139
149
  end
140
150
 
141
151
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::ApplicationRequest do
25
25
  expect(instance).to be_instance_of(Freeclimb::ApplicationRequest)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "_alias"' do
29
30
  it 'should work' do
30
31
  instance._alias = "TEST_STRING"
@@ -125,6 +126,15 @@ describe Freeclimb::ApplicationRequest do
125
126
  )
126
127
  expect(instance.valid?).to eq(true)
127
128
  end
129
+ it 'checks if properties are invalid' do
130
+ instance = Freeclimb::ApplicationRequest.new(
131
+ )
132
+ expect(instance.valid?).to eq(false)
133
+ end
134
+ it 'checks if model is empty' do
135
+ instance = Freeclimb::ApplicationRequest.new()
136
+ expect(instance.valid?).to eq(false)
137
+ end
128
138
  end
129
139
 
130
140
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::ApplicationResult do
25
25
  expect(instance).to be_instance_of(Freeclimb::ApplicationResult)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "uri"' do
29
30
  it 'should work' do
30
31
  instance.uri = "TEST_STRING"
@@ -191,6 +192,15 @@ describe Freeclimb::ApplicationResult do
191
192
  )
192
193
  expect(instance.valid?).to eq(true)
193
194
  end
195
+ it 'checks if properties are invalid' do
196
+ instance = Freeclimb::ApplicationResult.new(
197
+ )
198
+ expect(instance.valid?).to eq(false)
199
+ end
200
+ it 'checks if model is empty' do
201
+ instance = Freeclimb::ApplicationResult.new()
202
+ expect(instance.valid?).to eq(false)
203
+ end
194
204
  end
195
205
 
196
206
  describe 'test method "eql?"' do
@@ -25,6 +25,7 @@ describe Freeclimb::AvailableNumberList do
25
25
  expect(instance).to be_instance_of(Freeclimb::AvailableNumberList)
26
26
  end
27
27
  end
28
+
28
29
  describe 'test attribute "total"' do
29
30
  it 'should work' do
30
31
  instance.total = 1
@@ -136,6 +137,15 @@ describe Freeclimb::AvailableNumberList do
136
137
  )
137
138
  expect(instance.valid?).to eq(true)
138
139
  end
140
+ it 'checks if properties are invalid' do
141
+ instance = Freeclimb::AvailableNumberList.new(
142
+ )
143
+ expect(instance.valid?).to eq(false)
144
+ end
145
+ it 'checks if model is empty' do
146
+ instance = Freeclimb::AvailableNumberList.new()
147
+ expect(instance.valid?).to eq(false)
148
+ end
139
149
  end
140
150
 
141
151
  describe 'test method "eql?"' do