freeclimb 4.4.1 → 4.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +4 -4
  5. data/docs/AddToConference.md +1 -1
  6. data/docs/AddToConferenceAllOf.md +1 -1
  7. data/docs/DefaultApi.md +10 -1
  8. data/docs/MessageResult.md +7 -1
  9. data/docs/MessageResultAllOf.md +7 -1
  10. data/lib/freeclimb/api/default_api.rb +9 -0
  11. data/lib/freeclimb/models/account_request.rb +8 -1
  12. data/lib/freeclimb/models/account_result.rb +12 -1
  13. data/lib/freeclimb/models/account_result_all_of.rb +6 -1
  14. data/lib/freeclimb/models/add_to_conference.rb +25 -3
  15. data/lib/freeclimb/models/add_to_conference_all_of.rb +25 -3
  16. data/lib/freeclimb/models/application_list.rb +6 -1
  17. data/lib/freeclimb/models/application_list_all_of.rb +6 -1
  18. data/lib/freeclimb/models/application_request.rb +6 -1
  19. data/lib/freeclimb/models/application_result.rb +12 -1
  20. data/lib/freeclimb/models/application_result_all_of.rb +6 -1
  21. data/lib/freeclimb/models/available_number.rb +6 -1
  22. data/lib/freeclimb/models/available_number_list.rb +6 -1
  23. data/lib/freeclimb/models/available_number_list_all_of.rb +6 -1
  24. data/lib/freeclimb/models/buy_incoming_number_request.rb +10 -2
  25. data/lib/freeclimb/models/call_list.rb +6 -1
  26. data/lib/freeclimb/models/call_list_all_of.rb +6 -1
  27. data/lib/freeclimb/models/call_result.rb +12 -1
  28. data/lib/freeclimb/models/call_result_all_of.rb +6 -1
  29. data/lib/freeclimb/models/capabilities.rb +6 -1
  30. data/lib/freeclimb/models/conference_list.rb +6 -1
  31. data/lib/freeclimb/models/conference_list_all_of.rb +6 -1
  32. data/lib/freeclimb/models/conference_participant_list.rb +6 -1
  33. data/lib/freeclimb/models/conference_participant_list_all_of.rb +6 -1
  34. data/lib/freeclimb/models/conference_participant_result.rb +12 -1
  35. data/lib/freeclimb/models/conference_participant_result_all_of.rb +6 -1
  36. data/lib/freeclimb/models/conference_result.rb +12 -1
  37. data/lib/freeclimb/models/conference_result_all_of.rb +6 -1
  38. data/lib/freeclimb/models/create_conference.rb +14 -2
  39. data/lib/freeclimb/models/create_conference_all_of.rb +14 -2
  40. data/lib/freeclimb/models/create_conference_request.rb +12 -1
  41. data/lib/freeclimb/models/dequeue.rb +1 -1
  42. data/lib/freeclimb/models/enqueue.rb +12 -4
  43. data/lib/freeclimb/models/enqueue_all_of.rb +12 -4
  44. data/lib/freeclimb/models/filter_logs_request.rb +6 -2
  45. data/lib/freeclimb/models/get_digits.rb +22 -2
  46. data/lib/freeclimb/models/get_digits_all_of.rb +22 -2
  47. data/lib/freeclimb/models/get_speech.rb +28 -3
  48. data/lib/freeclimb/models/get_speech_all_of.rb +28 -3
  49. data/lib/freeclimb/models/hangup.rb +6 -1
  50. data/lib/freeclimb/models/hangup_all_of.rb +6 -1
  51. data/lib/freeclimb/models/incoming_number_list.rb +6 -1
  52. data/lib/freeclimb/models/incoming_number_list_all_of.rb +6 -1
  53. data/lib/freeclimb/models/incoming_number_request.rb +8 -1
  54. data/lib/freeclimb/models/incoming_number_result.rb +14 -1
  55. data/lib/freeclimb/models/incoming_number_result_all_of.rb +6 -1
  56. data/lib/freeclimb/models/log_list.rb +6 -1
  57. data/lib/freeclimb/models/log_list_all_of.rb +6 -1
  58. data/lib/freeclimb/models/log_result.rb +6 -1
  59. data/lib/freeclimb/models/make_call_request.rb +24 -3
  60. data/lib/freeclimb/models/message_request.rb +22 -4
  61. data/lib/freeclimb/models/message_request_all_of.rb +14 -4
  62. data/lib/freeclimb/models/message_result.rb +50 -6
  63. data/lib/freeclimb/models/message_result_all_of.rb +44 -6
  64. data/lib/freeclimb/models/messages_list.rb +6 -1
  65. data/lib/freeclimb/models/messages_list_all_of.rb +6 -1
  66. data/lib/freeclimb/models/mutable_resource_model.rb +12 -1
  67. data/lib/freeclimb/models/out_dial.rb +24 -5
  68. data/lib/freeclimb/models/out_dial_all_of.rb +24 -5
  69. data/lib/freeclimb/models/pagination_model.rb +6 -1
  70. data/lib/freeclimb/models/park.rb +10 -3
  71. data/lib/freeclimb/models/park_all_of.rb +10 -3
  72. data/lib/freeclimb/models/pause.rb +6 -2
  73. data/lib/freeclimb/models/pause_all_of.rb +6 -2
  74. data/lib/freeclimb/models/percl_command.rb +6 -1
  75. data/lib/freeclimb/models/percl_script.rb +6 -1
  76. data/lib/freeclimb/models/play.rb +12 -2
  77. data/lib/freeclimb/models/play_all_of.rb +12 -2
  78. data/lib/freeclimb/models/play_early_media.rb +6 -2
  79. data/lib/freeclimb/models/play_early_media_all_of.rb +6 -2
  80. data/lib/freeclimb/models/queue_list.rb +6 -1
  81. data/lib/freeclimb/models/queue_list_all_of.rb +6 -1
  82. data/lib/freeclimb/models/queue_member.rb +6 -1
  83. data/lib/freeclimb/models/queue_member_list.rb +6 -1
  84. data/lib/freeclimb/models/queue_member_list_all_of.rb +6 -1
  85. data/lib/freeclimb/models/queue_request.rb +8 -1
  86. data/lib/freeclimb/models/queue_result.rb +12 -1
  87. data/lib/freeclimb/models/queue_result_all_of.rb +6 -1
  88. data/lib/freeclimb/models/record_utterance.rb +18 -2
  89. data/lib/freeclimb/models/record_utterance_all_of.rb +18 -2
  90. data/lib/freeclimb/models/recording_list.rb +6 -1
  91. data/lib/freeclimb/models/recording_list_all_of.rb +6 -1
  92. data/lib/freeclimb/models/recording_result.rb +12 -1
  93. data/lib/freeclimb/models/recording_result_all_of.rb +6 -1
  94. data/lib/freeclimb/models/redirect.rb +6 -2
  95. data/lib/freeclimb/models/redirect_all_of.rb +6 -2
  96. data/lib/freeclimb/models/reject.rb +6 -1
  97. data/lib/freeclimb/models/reject_all_of.rb +6 -1
  98. data/lib/freeclimb/models/remove_from_conference.rb +6 -2
  99. data/lib/freeclimb/models/remove_from_conference_all_of.rb +6 -2
  100. data/lib/freeclimb/models/say.rb +14 -2
  101. data/lib/freeclimb/models/say_all_of.rb +14 -2
  102. data/lib/freeclimb/models/send_digits.rb +10 -2
  103. data/lib/freeclimb/models/send_digits_all_of.rb +10 -2
  104. data/lib/freeclimb/models/set_listen.rb +8 -2
  105. data/lib/freeclimb/models/set_listen_all_of.rb +8 -2
  106. data/lib/freeclimb/models/set_talk.rb +8 -2
  107. data/lib/freeclimb/models/set_talk_all_of.rb +8 -2
  108. data/lib/freeclimb/models/sms.rb +12 -4
  109. data/lib/freeclimb/models/sms_all_of.rb +12 -4
  110. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +66 -40
  111. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +6 -1
  112. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +6 -1
  113. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +46 -22
  114. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +6 -1
  115. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +6 -1
  116. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +50 -22
  117. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +26 -10
  118. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +6 -1
  119. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +6 -1
  120. data/lib/freeclimb/models/start_record_call.rb +1 -1
  121. data/lib/freeclimb/models/terminate_conference.rb +6 -2
  122. data/lib/freeclimb/models/terminate_conference_all_of.rb +6 -2
  123. data/lib/freeclimb/models/unpark.rb +1 -1
  124. data/lib/freeclimb/models/update_call_request.rb +6 -2
  125. data/lib/freeclimb/models/update_conference_participant_request.rb +8 -1
  126. data/lib/freeclimb/models/update_conference_request.rb +8 -1
  127. data/lib/freeclimb/version.rb +1 -1
  128. data/openapi.json +128 -73
  129. data/spec/models/account_request_spec.rb +9 -0
  130. data/spec/models/account_result_spec.rb +9 -0
  131. data/spec/models/add_to_conference_spec.rb +29 -19
  132. data/spec/models/application_list_spec.rb +9 -0
  133. data/spec/models/application_request_spec.rb +9 -0
  134. data/spec/models/application_result_spec.rb +9 -0
  135. data/spec/models/available_number_list_spec.rb +9 -0
  136. data/spec/models/available_number_spec.rb +9 -0
  137. data/spec/models/buy_incoming_number_request_spec.rb +10 -0
  138. data/spec/models/call_list_spec.rb +9 -0
  139. data/spec/models/call_result_spec.rb +9 -0
  140. data/spec/models/capabilities_spec.rb +14 -0
  141. data/spec/models/conference_list_spec.rb +9 -0
  142. data/spec/models/conference_participant_list_spec.rb +9 -0
  143. data/spec/models/conference_participant_result_spec.rb +9 -0
  144. data/spec/models/conference_result_spec.rb +9 -0
  145. data/spec/models/create_conference_request_spec.rb +9 -0
  146. data/spec/models/create_conference_spec.rb +10 -0
  147. data/spec/models/enqueue_spec.rb +12 -0
  148. data/spec/models/filter_logs_request_spec.rb +10 -0
  149. data/spec/models/get_digits_spec.rb +10 -0
  150. data/spec/models/get_speech_spec.rb +13 -0
  151. data/spec/models/hangup_spec.rb +9 -0
  152. data/spec/models/incoming_number_list_spec.rb +9 -0
  153. data/spec/models/incoming_number_request_spec.rb +9 -0
  154. data/spec/models/incoming_number_result_spec.rb +9 -0
  155. data/spec/models/log_list_spec.rb +9 -0
  156. data/spec/models/log_result_spec.rb +9 -0
  157. data/spec/models/make_call_request_spec.rb +11 -0
  158. data/spec/models/message_request_spec.rb +12 -0
  159. data/spec/models/message_result_spec.rb +84 -0
  160. data/spec/models/messages_list_spec.rb +9 -0
  161. data/spec/models/mutable_resource_model_spec.rb +9 -0
  162. data/spec/models/out_dial_spec.rb +13 -0
  163. data/spec/models/pagination_model_spec.rb +9 -0
  164. data/spec/models/park_spec.rb +11 -0
  165. data/spec/models/pause_spec.rb +10 -0
  166. data/spec/models/percl_command_spec.rb +9 -0
  167. data/spec/models/percl_script_spec.rb +9 -0
  168. data/spec/models/play_early_media_spec.rb +10 -0
  169. data/spec/models/play_spec.rb +10 -0
  170. data/spec/models/queue_list_spec.rb +9 -0
  171. data/spec/models/queue_member_list_spec.rb +9 -0
  172. data/spec/models/queue_member_spec.rb +9 -0
  173. data/spec/models/queue_request_spec.rb +9 -0
  174. data/spec/models/queue_result_spec.rb +9 -0
  175. data/spec/models/record_utterance_spec.rb +10 -0
  176. data/spec/models/recording_list_spec.rb +9 -0
  177. data/spec/models/recording_result_spec.rb +9 -0
  178. data/spec/models/redirect_spec.rb +10 -0
  179. data/spec/models/reject_spec.rb +9 -0
  180. data/spec/models/remove_from_conference_spec.rb +10 -0
  181. data/spec/models/say_spec.rb +10 -0
  182. data/spec/models/send_digits_spec.rb +10 -0
  183. data/spec/models/set_listen_spec.rb +10 -0
  184. data/spec/models/set_talk_spec.rb +10 -0
  185. data/spec/models/sms_spec.rb +12 -0
  186. data/spec/models/sms_ten_dlc_brand_spec.rb +4 -0
  187. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +9 -0
  188. data/spec/models/sms_ten_dlc_campaign_spec.rb +4 -0
  189. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +9 -0
  190. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +4 -0
  191. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +4 -0
  192. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +9 -0
  193. data/spec/models/terminate_conference_spec.rb +10 -0
  194. data/spec/models/update_call_request_spec.rb +10 -0
  195. data/spec/models/update_conference_participant_request_spec.rb +9 -0
  196. data/spec/models/update_conference_request_spec.rb +9 -0
  197. metadata +79 -79
data/openapi.json CHANGED
@@ -166,7 +166,6 @@
166
166
  "RECOGNITION"
167
167
  ],
168
168
  "x-enum": true
169
-
170
169
  },
171
170
  "GrammarFileBuiltIn": {
172
171
  "type": "string",
@@ -431,6 +430,7 @@
431
430
  "commands": {
432
431
  "type": "array",
433
432
  "description": "A JSON array of PerCL commands",
433
+ "x-is-list": true,
434
434
  "items": {
435
435
  "$ref": "#/components/schemas/PerclCommand"
436
436
  }
@@ -506,7 +506,7 @@
506
506
  },
507
507
  "callId": {
508
508
  "description": "ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one.",
509
- "type": "boolean"
509
+ "type": "string"
510
510
  },
511
511
  "leaveConferenceUrl": {
512
512
  "description": "URL to be invoked when the Participant leaves the Conference. ",
@@ -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.",
@@ -656,6 +663,7 @@
656
663
  "prompts": {
657
664
  "description": "JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller.",
658
665
  "type": "array",
666
+ "x-is-list": true,
659
667
  "items": {
660
668
  "$ref": "#/components/schemas/PerclCommand"
661
669
  }
@@ -682,7 +690,8 @@
682
690
  "actionUrl": {
683
691
  "description": "When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call.",
684
692
  "type": "string",
685
- "format": "uri"
693
+ "format": "uri",
694
+ "x-is-uri": true
686
695
  },
687
696
  "grammarType": {
688
697
  "$ref": "#/components/schemas/GrammarType"
@@ -704,7 +713,8 @@
704
713
  "type": "array",
705
714
  "items": {
706
715
  "$ref": "#/components/schemas/PerclCommand"
707
- }
716
+ },
717
+ "x-is-list": true
708
718
  },
709
719
  "noInputTimeoutMs": {
710
720
  "description": "When recognition is started and there is no speech detected for `noInputTimeoutMs` milliseconds, the recognizer will terminate the recognition operation.",
@@ -761,7 +771,8 @@
761
771
  "x-percl-command": true,
762
772
  "allOf": [
763
773
  {
764
- "$ref": "#/components/schemas/PerclCommand"
774
+ "$ref": "#/components/schemas/PerclCommand",
775
+ "x-is-uri": true
765
776
  },
766
777
  {
767
778
  "required": [
@@ -774,11 +785,13 @@
774
785
  "properties": {
775
786
  "actionUrl": {
776
787
  "description": "URL to which FreeClimb sends an HTTP POST request. ",
777
- "type": "string"
788
+ "type": "string",
789
+ "x-is-uri": true
778
790
  },
779
791
  "callConnectUrl": {
780
792
  "description": "URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.",
781
- "type": "string"
793
+ "type": "string",
794
+ "x-is-uri": true
782
795
  },
783
796
  "callingNumber": {
784
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.",
@@ -820,7 +833,8 @@
820
833
  "x-percl-command": true,
821
834
  "allOf": [
822
835
  {
823
- "$ref": "#/components/schemas/PerclCommand"
836
+ "$ref": "#/components/schemas/PerclCommand",
837
+ "x-is-uri": true
824
838
  },
825
839
  {
826
840
  "type": "object",
@@ -828,11 +842,13 @@
828
842
  "properties": {
829
843
  "waitUrl": {
830
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.",
831
- "type": "string"
845
+ "type": "string",
846
+ "x-is-uri": true
832
847
  },
833
848
  "actionUrl": {
834
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.",
835
- "type": "string"
850
+ "type": "string",
851
+ "x-is-uri": true
836
852
  },
837
853
  "notificationUrl": {
838
854
  "description": "URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters.",
@@ -916,7 +932,8 @@
916
932
  "x-percl-command": true,
917
933
  "allOf": [
918
934
  {
919
- "$ref": "#/components/schemas/PerclCommand"
935
+ "$ref": "#/components/schemas/PerclCommand",
936
+ "x-is-uri": true
920
937
  },
921
938
  {
922
939
  "required": ["actionUrl"],
@@ -924,7 +941,8 @@
924
941
  "properties": {
925
942
  "actionUrl": {
926
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.",
927
- "type": "string"
944
+ "type": "string",
945
+ "x-is-uri": true
928
946
  },
929
947
  "silenceTimeoutMs": {
930
948
  "description": "Interval of silence that should elapse before ending the recording.",
@@ -959,7 +977,8 @@
959
977
  "x-percl-command": true,
960
978
  "allOf": [
961
979
  {
962
- "$ref": "#/components/schemas/PerclCommand"
980
+ "$ref": "#/components/schemas/PerclCommand",
981
+ "x-is-uri": true
963
982
  },
964
983
  {
965
984
  "required": ["actionUrl"],
@@ -967,7 +986,8 @@
967
986
  "properties": {
968
987
  "actionUrl": {
969
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.",
970
- "type": "string"
989
+ "type": "string",
990
+ "x-is-uri": true
971
991
  }
972
992
  }
973
993
  }
@@ -1454,7 +1474,8 @@
1454
1474
  "items": {
1455
1475
  "$ref": "#/components/schemas/ApplicationResult"
1456
1476
  },
1457
- "nullable": true
1477
+ "nullable": true,
1478
+ "x-is-list": true
1458
1479
  }
1459
1480
  }
1460
1481
  }
@@ -1513,7 +1534,8 @@
1513
1534
  "items": {
1514
1535
  "$ref": "#/components/schemas/AvailableNumber"
1515
1536
  },
1516
- "nullable": true
1537
+ "nullable": true,
1538
+ "x-is-list": true
1517
1539
  }
1518
1540
  }
1519
1541
  }
@@ -1528,7 +1550,7 @@
1528
1550
  "type": "object",
1529
1551
  "properties": {
1530
1552
  "capabilities": {
1531
- "$ref": "#/components/schemas/Capabilities"
1553
+ "$ref": "#/components/schemas/Capabilities"
1532
1554
  },
1533
1555
  "campaignId": {
1534
1556
  "type": "string",
@@ -1622,7 +1644,8 @@
1622
1644
  "items": {
1623
1645
  "$ref": "#/components/schemas/IncomingNumberResult"
1624
1646
  },
1625
- "nullable": true
1647
+ "nullable": true,
1648
+ "x-is-list": true
1626
1649
  }
1627
1650
  }
1628
1651
  }
@@ -1797,7 +1820,8 @@
1797
1820
  "items": {
1798
1821
  "$ref": "#/components/schemas/CallResult"
1799
1822
  },
1800
- "nullable": true
1823
+ "nullable": true,
1824
+ "x-is-list": true
1801
1825
  }
1802
1826
  }
1803
1827
  }
@@ -1853,7 +1877,8 @@
1853
1877
  "items": {
1854
1878
  "$ref": "#/components/schemas/RecordingResult"
1855
1879
  },
1856
- "nullable": true
1880
+ "nullable": true,
1881
+ "x-is-list": true
1857
1882
  }
1858
1883
  }
1859
1884
  }
@@ -1910,7 +1935,8 @@
1910
1935
  "items": {
1911
1936
  "$ref": "#/components/schemas/LogResult"
1912
1937
  },
1913
- "nullable": true
1938
+ "nullable": true,
1939
+ "x-is-list": true
1914
1940
  }
1915
1941
  }
1916
1942
  }
@@ -1989,7 +2015,8 @@
1989
2015
  "items": {
1990
2016
  "$ref": "#/components/schemas/MessageResult"
1991
2017
  },
1992
- "nullable": true
2018
+ "nullable": true,
2019
+ "x-is-list": true
1993
2020
  }
1994
2021
  }
1995
2022
  }
@@ -2041,7 +2068,8 @@
2041
2068
  "items": {
2042
2069
  "$ref": "#/components/schemas/ConferenceResult"
2043
2070
  },
2044
- "nullable": true
2071
+ "nullable": true,
2072
+ "x-is-list": true
2045
2073
  }
2046
2074
  }
2047
2075
  }
@@ -2092,6 +2120,21 @@
2092
2120
  "type": "string",
2093
2121
  "description": "URL invoked when message sent",
2094
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
2095
2138
  }
2096
2139
  }
2097
2140
  }
@@ -2204,7 +2247,8 @@
2204
2247
  "items": {
2205
2248
  "$ref": "#/components/schemas/ConferenceParticipantResult"
2206
2249
  },
2207
- "nullable": true
2250
+ "nullable": true,
2251
+ "x-is-list": true
2208
2252
  }
2209
2253
  }
2210
2254
  }
@@ -2285,7 +2329,8 @@
2285
2329
  "items": {
2286
2330
  "$ref": "#/components/schemas/QueueResult"
2287
2331
  },
2288
- "nullable": true
2332
+ "nullable": true,
2333
+ "x-is-list": true
2289
2334
  }
2290
2335
  }
2291
2336
  }
@@ -2334,7 +2379,8 @@
2334
2379
  "items": {
2335
2380
  "$ref": "#/components/schemas/QueueMember"
2336
2381
  },
2337
- "nullable": true
2382
+ "nullable": true,
2383
+ "x-is-list": true
2338
2384
  }
2339
2385
  }
2340
2386
  }
@@ -2363,7 +2409,8 @@
2363
2409
  "items": {
2364
2410
  "$ref": "#/components/schemas/SMSTenDLCCampaign"
2365
2411
  },
2366
- "nullable": true
2412
+ "nullable": true,
2413
+ "x-is-list": true
2367
2414
  }
2368
2415
  }
2369
2416
  }
@@ -2405,10 +2452,7 @@
2405
2452
  "type": "string",
2406
2453
  "x-has-writer": true,
2407
2454
  "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2408
- "enum": [
2409
- "ACTIVE",
2410
- "EXPIRED"
2411
- ],
2455
+ "enum": ["ACTIVE", "EXPIRED"],
2412
2456
  "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2413
2457
  },
2414
2458
  "createDate": {
@@ -2441,6 +2485,7 @@
2441
2485
  },
2442
2486
  "subUsecases": {
2443
2487
  "uniqueItems": true,
2488
+ "x-is-set": true,
2444
2489
  "type": "array",
2445
2490
  "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases",
2446
2491
  "items": {
@@ -2448,7 +2493,7 @@
2448
2493
  "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases"
2449
2494
  }
2450
2495
  },
2451
- "description": {
2496
+ "description": {
2452
2497
  "maxLength": 4096,
2453
2498
  "type": "string",
2454
2499
  "description": "Summary description of this campaign."
@@ -2553,8 +2598,7 @@
2553
2598
  "x-is-date": true,
2554
2599
  "example": "2000-01-01"
2555
2600
  }
2556
- }
2557
- ,
2601
+ },
2558
2602
  "example": {
2559
2603
  "campaignId": "CX56XX4",
2560
2604
  "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
@@ -2602,19 +2646,15 @@
2602
2646
  "items": {
2603
2647
  "$ref": "#/components/schemas/SMSTenDLCPartnerCampaign"
2604
2648
  },
2605
- "nullable": true
2649
+ "nullable": true,
2650
+ "x-is-list": true
2606
2651
  }
2607
2652
  }
2608
2653
  }
2609
2654
  ]
2610
2655
  },
2611
2656
  "SMSTenDLCPartnerCampaign": {
2612
- "required": [
2613
- "brandId",
2614
- "campaignId",
2615
- "description",
2616
- "usecase"
2617
- ],
2657
+ "required": ["brandId", "campaignId", "description", "usecase"],
2618
2658
  "type": "object",
2619
2659
  "properties": {
2620
2660
  "accountId": {
@@ -2630,10 +2670,7 @@
2630
2670
  "type": "string",
2631
2671
  "x-has-writer": true,
2632
2672
  "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2633
- "enum": [
2634
- "ACTIVE",
2635
- "EXPIRED"
2636
- ],
2673
+ "enum": ["ACTIVE", "EXPIRED"],
2637
2674
  "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2638
2675
  },
2639
2676
  "createDate": {
@@ -2813,11 +2850,8 @@
2813
2850
  }
2814
2851
  }
2815
2852
  },
2816
- "SMSTenDLCPartnerCampaignBrand":{
2817
- "required": [
2818
- "email",
2819
- "phone"
2820
- ],
2853
+ "SMSTenDLCPartnerCampaignBrand": {
2854
+ "required": ["email", "phone"],
2821
2855
  "type": "object",
2822
2856
  "x-is-object": true,
2823
2857
  "properties": {
@@ -2873,6 +2907,7 @@
2873
2907
  "example": "http://www.abcmobile.com"
2874
2908
  },
2875
2909
  "optionalAttributes": {
2910
+ "x-is-map": true,
2876
2911
  "type": "object",
2877
2912
  "x-is-hash": true,
2878
2913
  "additionalProperties": {
@@ -2900,13 +2935,14 @@
2900
2935
  "items": {
2901
2936
  "$ref": "#/components/schemas/SMSTenDLCBrand"
2902
2937
  },
2903
- "nullable": true
2938
+ "nullable": true,
2939
+ "x-is-list": true
2904
2940
  }
2905
2941
  }
2906
2942
  }
2907
2943
  ]
2908
2944
  },
2909
- "SMSTenDLCBrand":{
2945
+ "SMSTenDLCBrand": {
2910
2946
  "required": [
2911
2947
  "brandRelationship",
2912
2948
  "country",
@@ -2937,12 +2973,13 @@
2937
2973
  "GOVERNMENT",
2938
2974
  "SOLE_PROPRIETOR"
2939
2975
  ],
2940
- "x-enum-varnames": ["PRIVATE_PROFIT",
2976
+ "x-enum-varnames": [
2977
+ "PRIVATE_PROFIT",
2941
2978
  "PUBLIC_PROFIT",
2942
2979
  "NON_PROFIT",
2943
2980
  "GOVERNMENT",
2944
2981
  "SOLE_PROPRIETOR"
2945
- ]
2982
+ ]
2946
2983
  },
2947
2984
  "cspId": {
2948
2985
  "type": "string",
@@ -3148,18 +3185,8 @@
3148
3185
  "altBusinessIdType": {
3149
3186
  "type": "string",
3150
3187
  "x-has-writer": true,
3151
- "enum": [
3152
- "NONE",
3153
- "DUNS",
3154
- "GIIN",
3155
- "LEI"
3156
- ],
3157
- "x-enum-varnames": [
3158
- "NONE",
3159
- "DUNS",
3160
- "GIIN",
3161
- "LEI"
3162
- ],
3188
+ "enum": ["NONE", "DUNS", "GIIN", "LEI"],
3189
+ "x-enum-varnames": ["NONE", "DUNS", "GIIN", "LEI"],
3163
3190
  "description": "The type of the Alternative business identifier"
3164
3191
  },
3165
3192
  "universalEin": {
@@ -3173,6 +3200,7 @@
3173
3200
  "description": "Caller supplied brand reference ID. If supplied, the value must be unique across all submitted brands. Can be used to prevent duplicate brand registrations."
3174
3201
  },
3175
3202
  "optionalAttributes": {
3203
+ "x-is-map": true,
3176
3204
  "type": "object",
3177
3205
  "x-is-hash": true,
3178
3206
  "additionalProperties": {
@@ -5076,6 +5104,33 @@
5076
5104
  "schema": {
5077
5105
  "$ref": "#/components/schemas/MessageDirection"
5078
5106
  }
5107
+ },
5108
+ {
5109
+ "name": "campaignId",
5110
+ "in": "query",
5111
+ "description": "Only show messages associated with this campaign ID.",
5112
+ "required": false,
5113
+ "schema": {
5114
+ "type": "string"
5115
+ }
5116
+ },
5117
+ {
5118
+ "name": "brandId",
5119
+ "in": "query",
5120
+ "description": "Only show messages associated with this brand ID",
5121
+ "required": false,
5122
+ "schema": {
5123
+ "type": "string"
5124
+ }
5125
+ },
5126
+ {
5127
+ "name": "is10DLC",
5128
+ "in": "query",
5129
+ "description": "Only show messages that were sent as part of a 10DLC campaign.",
5130
+ "required": false,
5131
+ "schema": {
5132
+ "type": "boolean"
5133
+ }
5079
5134
  }
5080
5135
  ],
5081
5136
  "responses": {
@@ -70,6 +70,15 @@ describe Freeclimb::AccountRequest do
70
70
  )
71
71
  expect(instance.valid?).to eq(true)
72
72
  end
73
+ it 'checks if properties are invalid' do
74
+ instance = Freeclimb::AccountRequest.new(
75
+ )
76
+ expect(instance.valid?).to eq(false)
77
+ end
78
+ it 'checks if model is empty' do
79
+ instance = Freeclimb::AccountRequest.new()
80
+ expect(instance.valid?).to eq(false)
81
+ end
73
82
  end
74
83
 
75
84
  describe 'test method "eql?"' do
@@ -182,6 +182,15 @@ describe Freeclimb::AccountResult do
182
182
  )
183
183
  expect(instance.valid?).to eq(true)
184
184
  end
185
+ it 'checks if properties are invalid' do
186
+ instance = Freeclimb::AccountResult.new(
187
+ )
188
+ expect(instance.valid?).to eq(false)
189
+ end
190
+ it 'checks if model is empty' do
191
+ instance = Freeclimb::AccountResult.new()
192
+ expect(instance.valid?).to eq(false)
193
+ end
185
194
  end
186
195
 
187
196
  describe 'test method "eql?"' do