freeclimb 4.9.0 → 5.0.0

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 (438) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile.lock +34 -18
  4. data/README.md +43 -51
  5. data/docs/AddToConferenceNotificationWebhook.md +42 -0
  6. data/docs/AddToQueueNotificationWebhook.md +34 -0
  7. data/docs/BargeInReason.md +18 -0
  8. data/docs/CallControlWebhook.md +26 -0
  9. data/docs/CallEndedReason.md +38 -0
  10. data/docs/CallStatusWebhook.md +36 -0
  11. data/docs/CompletionResult.md +1 -1
  12. data/docs/CompletionResultStatus.md +17 -0
  13. data/docs/ConferenceRecordingStatusWebhook.md +42 -0
  14. data/docs/ConferenceResult.md +1 -1
  15. data/docs/ConferenceStatusWebhook.md +42 -0
  16. data/docs/CreateConference.md +1 -1
  17. data/docs/CreateConferenceRequest.md +1 -1
  18. data/docs/CreateConferenceWebhook.md +42 -0
  19. data/docs/DequeueWebhook.md +38 -0
  20. data/docs/GetDigitsReason.md +19 -0
  21. data/docs/GetDigitsWebhook.md +40 -0
  22. data/docs/GetSpeechWebhook.md +50 -0
  23. data/docs/InboundCallWebhook.md +36 -0
  24. data/docs/LeaveConferenceWebhook.md +34 -0
  25. data/docs/MachineDetectedWebhook.md +38 -0
  26. data/docs/MachineType.md +2 -2
  27. data/docs/MessageDeliveryWebhook.md +36 -0
  28. data/docs/MessageStatusWebhook.md +38 -0
  29. data/docs/OutDialApiConnectWebhook.md +36 -0
  30. data/docs/OutDialConnectWebhook.md +36 -0
  31. data/docs/OutDialStartWebhook.md +38 -0
  32. data/docs/QueueWaitWebhook.md +40 -0
  33. data/docs/RecordWebhook.md +50 -0
  34. data/docs/RedirectWebhook.md +36 -0
  35. data/docs/RemoveFromQueueNotificationWebhook.md +38 -0
  36. data/docs/SMSTenDLCBrand.md +6 -6
  37. data/docs/SMSTenDLCBrandAltBusinessIdType.md +19 -0
  38. data/docs/SMSTenDLCBrandEntityType.md +20 -0
  39. data/docs/SMSTenDLCBrandIdentityStatus.md +19 -0
  40. data/docs/SMSTenDLCBrandRelationship.md +20 -0
  41. data/docs/SMSTenDLCBrandStockExchange.md +42 -0
  42. data/docs/SMSTenDLCCampaign.md +1 -1
  43. data/docs/SMSTenDLCCampaignStatus.md +17 -0
  44. data/docs/SMSTenDLCPartnerCampaign.md +1 -1
  45. data/docs/SMSTenDLCPartnerCampaignStatus.md +17 -0
  46. data/docs/SMSTollFreeCampaign.md +1 -1
  47. data/docs/SMSTollFreeCampaignRegistrationStatus.md +20 -0
  48. data/docs/TranscribeReason.md +20 -0
  49. data/docs/TranscribeTermReason.md +17 -0
  50. data/docs/TranscribeUtterance.md +2 -2
  51. data/docs/TranscribeWebhook.md +62 -0
  52. data/docs/UpdateConferenceRequest.md +1 -1
  53. data/docs/Webhook.md +18 -0
  54. data/freeclimb.gemspec +1 -1
  55. data/lib/freeclimb/api/default_api.rb +18 -18
  56. data/lib/freeclimb/api_client.rb +1 -1
  57. data/lib/freeclimb/api_error.rb +1 -1
  58. data/lib/freeclimb/configuration.rb +1 -2
  59. data/lib/freeclimb/models/account_request.rb +1 -3
  60. data/lib/freeclimb/models/account_result.rb +23 -4
  61. data/lib/freeclimb/models/account_status.rb +1 -1
  62. data/lib/freeclimb/models/account_type.rb +1 -1
  63. data/lib/freeclimb/models/add_to_conference.rb +1 -4
  64. data/lib/freeclimb/models/add_to_conference_notification_webhook.rb +384 -0
  65. data/lib/freeclimb/models/{conference_participant_result_all_of.rb → add_to_queue_notification_webhook.rb} +112 -59
  66. data/lib/freeclimb/models/answered_by.rb +1 -1
  67. data/lib/freeclimb/models/application_list.rb +1 -4
  68. data/lib/freeclimb/models/application_request.rb +1 -3
  69. data/lib/freeclimb/models/application_result.rb +1 -4
  70. data/lib/freeclimb/models/available_number.rb +1 -3
  71. data/lib/freeclimb/models/available_number_list.rb +1 -4
  72. data/lib/freeclimb/models/barge_in_reason.rb +38 -0
  73. data/lib/freeclimb/models/buy_incoming_number_request.rb +1 -3
  74. data/lib/freeclimb/models/{recording_result_all_of.rb → call_control_webhook.rb} +57 -45
  75. data/lib/freeclimb/models/call_direction.rb +1 -1
  76. data/lib/freeclimb/models/call_ended_reason.rb +58 -0
  77. data/lib/freeclimb/models/call_list.rb +1 -4
  78. data/lib/freeclimb/models/call_result.rb +23 -4
  79. data/lib/freeclimb/models/call_status.rb +1 -1
  80. data/lib/freeclimb/models/call_status_webhook.rb +354 -0
  81. data/lib/freeclimb/models/capabilities.rb +1 -3
  82. data/lib/freeclimb/models/completion_request.rb +1 -3
  83. data/lib/freeclimb/models/completion_result.rb +2 -15
  84. data/lib/freeclimb/models/completion_result_status.rb +37 -0
  85. data/lib/freeclimb/models/conference_list.rb +1 -4
  86. data/lib/freeclimb/models/conference_participant_list.rb +1 -4
  87. data/lib/freeclimb/models/conference_participant_result.rb +1 -4
  88. data/lib/freeclimb/models/conference_recording_status_webhook.rb +384 -0
  89. data/lib/freeclimb/models/conference_result.rb +23 -6
  90. data/lib/freeclimb/models/conference_status.rb +1 -1
  91. data/lib/freeclimb/models/conference_status_webhook.rb +387 -0
  92. data/lib/freeclimb/models/create_conference.rb +23 -6
  93. data/lib/freeclimb/models/create_conference_request.rb +23 -5
  94. data/lib/freeclimb/models/create_conference_webhook.rb +387 -0
  95. data/lib/freeclimb/models/create_web_rtc_token.rb +1 -3
  96. data/lib/freeclimb/models/dequeue.rb +1 -3
  97. data/lib/freeclimb/models/dequeue_webhook.rb +365 -0
  98. data/lib/freeclimb/models/enqueue.rb +1 -4
  99. data/lib/freeclimb/models/filter_logs_request.rb +1 -3
  100. data/lib/freeclimb/models/get_digits.rb +1 -4
  101. data/lib/freeclimb/models/get_digits_reason.rb +39 -0
  102. data/lib/freeclimb/models/get_digits_webhook.rb +373 -0
  103. data/lib/freeclimb/models/get_speech.rb +23 -4
  104. data/lib/freeclimb/models/get_speech_reason.rb +1 -1
  105. data/lib/freeclimb/models/get_speech_webhook.rb +423 -0
  106. data/lib/freeclimb/models/grammar_file_built_in.rb +1 -1
  107. data/lib/freeclimb/models/grammar_type.rb +1 -1
  108. data/lib/freeclimb/models/hangup.rb +1 -4
  109. data/lib/freeclimb/models/if_machine.rb +1 -1
  110. data/lib/freeclimb/models/inbound_call_webhook.rb +355 -0
  111. data/lib/freeclimb/models/incoming_number_list.rb +1 -4
  112. data/lib/freeclimb/models/incoming_number_request.rb +1 -3
  113. data/lib/freeclimb/models/incoming_number_result.rb +1 -4
  114. data/lib/freeclimb/models/language.rb +1 -1
  115. data/lib/freeclimb/models/{conference_result_all_of.rb → leave_conference_webhook.rb} +110 -89
  116. data/lib/freeclimb/models/log_level.rb +1 -1
  117. data/lib/freeclimb/models/log_list.rb +1 -4
  118. data/lib/freeclimb/models/log_result.rb +23 -3
  119. data/lib/freeclimb/models/{call_result_all_of.rb → machine_detected_webhook.rb} +96 -119
  120. data/lib/freeclimb/models/machine_type.rb +3 -3
  121. data/lib/freeclimb/models/make_call_request.rb +1 -3
  122. data/lib/freeclimb/models/{message_result_all_of.rb → message_delivery_webhook.rb} +71 -87
  123. data/lib/freeclimb/models/message_direction.rb +1 -1
  124. data/lib/freeclimb/models/message_request.rb +1 -4
  125. data/lib/freeclimb/models/message_result.rb +23 -4
  126. data/lib/freeclimb/models/message_status.rb +1 -1
  127. data/lib/freeclimb/models/{incoming_number_result_all_of.rb → message_status_webhook.rb} +117 -107
  128. data/lib/freeclimb/models/messages_list.rb +1 -4
  129. data/lib/freeclimb/models/mutable_resource_model.rb +1 -3
  130. data/lib/freeclimb/models/out_dial.rb +23 -4
  131. data/lib/freeclimb/models/out_dial_api_connect_webhook.rb +355 -0
  132. data/lib/freeclimb/models/out_dial_connect_webhook.rb +355 -0
  133. data/lib/freeclimb/models/out_dial_start_webhook.rb +366 -0
  134. data/lib/freeclimb/models/pagination_model.rb +1 -3
  135. data/lib/freeclimb/models/park.rb +1 -4
  136. data/lib/freeclimb/models/pause.rb +1 -4
  137. data/lib/freeclimb/models/percl_command.rb +3 -5
  138. data/lib/freeclimb/models/percl_script.rb +2 -4
  139. data/lib/freeclimb/models/play.rb +2 -5
  140. data/lib/freeclimb/models/play_beep.rb +1 -1
  141. data/lib/freeclimb/models/play_early_media.rb +2 -5
  142. data/lib/freeclimb/models/queue_list.rb +2 -5
  143. data/lib/freeclimb/models/queue_member.rb +1 -3
  144. data/lib/freeclimb/models/queue_member_list.rb +2 -5
  145. data/lib/freeclimb/models/queue_request.rb +1 -3
  146. data/lib/freeclimb/models/queue_result.rb +2 -5
  147. data/lib/freeclimb/models/queue_result_status.rb +1 -1
  148. data/lib/freeclimb/models/queue_wait_webhook.rb +375 -0
  149. data/lib/freeclimb/models/record_utterance.rb +2 -5
  150. data/lib/freeclimb/models/record_utterance_term_reason.rb +1 -1
  151. data/lib/freeclimb/models/record_webhook.rb +424 -0
  152. data/lib/freeclimb/models/recording_list.rb +2 -5
  153. data/lib/freeclimb/models/recording_result.rb +2 -5
  154. data/lib/freeclimb/models/redirect.rb +2 -5
  155. data/lib/freeclimb/models/redirect_webhook.rb +355 -0
  156. data/lib/freeclimb/models/reject.rb +2 -5
  157. data/lib/freeclimb/models/remove_from_conference.rb +1 -3
  158. data/lib/freeclimb/models/remove_from_queue_notification_webhook.rb +364 -0
  159. data/lib/freeclimb/models/request_type.rb +1 -1
  160. data/lib/freeclimb/models/say.rb +2 -5
  161. data/lib/freeclimb/models/send_digits.rb +2 -5
  162. data/lib/freeclimb/models/set_dtmf_pass_through.rb +2 -5
  163. data/lib/freeclimb/models/set_listen.rb +2 -5
  164. data/lib/freeclimb/models/set_talk.rb +2 -5
  165. data/lib/freeclimb/models/sms.rb +2 -5
  166. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +6 -67
  167. data/lib/freeclimb/models/sms_ten_dlc_brand_alt_business_id_type.rb +39 -0
  168. data/lib/freeclimb/models/sms_ten_dlc_brand_entity_type.rb +40 -0
  169. data/lib/freeclimb/models/sms_ten_dlc_brand_identity_status.rb +39 -0
  170. data/lib/freeclimb/models/sms_ten_dlc_brand_relationship.rb +40 -0
  171. data/lib/freeclimb/models/sms_ten_dlc_brand_stock_exchange.rb +62 -0
  172. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +2 -5
  173. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +2 -15
  174. data/lib/freeclimb/models/sms_ten_dlc_campaign_status.rb +37 -0
  175. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +2 -5
  176. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +2 -15
  177. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +1 -3
  178. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_status.rb +37 -0
  179. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +2 -5
  180. data/lib/freeclimb/models/sms_toll_free_campaign.rb +2 -15
  181. data/lib/freeclimb/models/sms_toll_free_campaign_registration_status.rb +40 -0
  182. data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +2 -5
  183. data/lib/freeclimb/models/start_record_call.rb +1 -3
  184. data/lib/freeclimb/models/terminate_conference.rb +1 -3
  185. data/lib/freeclimb/models/tfn.rb +1 -3
  186. data/lib/freeclimb/models/transcribe_reason.rb +40 -0
  187. data/lib/freeclimb/models/transcribe_term_reason.rb +37 -0
  188. data/lib/freeclimb/models/transcribe_utterance.rb +4 -7
  189. data/lib/freeclimb/models/{transcribe_utterance_all_of_record.rb → transcribe_utterance_record.rb} +8 -10
  190. data/lib/freeclimb/models/transcribe_webhook.rb +481 -0
  191. data/lib/freeclimb/models/unpark.rb +1 -3
  192. data/lib/freeclimb/models/update_call_request.rb +23 -3
  193. data/lib/freeclimb/models/update_call_request_status.rb +1 -1
  194. data/lib/freeclimb/models/update_conference_participant_request.rb +1 -3
  195. data/lib/freeclimb/models/update_conference_request.rb +23 -5
  196. data/lib/freeclimb/models/update_conference_request_status.rb +1 -1
  197. data/lib/freeclimb/models/{call_list_all_of.rb → webhook.rb} +18 -17
  198. data/lib/freeclimb/utils/request_verifier.rb +51 -51
  199. data/lib/freeclimb/utils/signature_information.rb +34 -34
  200. data/lib/freeclimb/version.rb +2 -2
  201. data/lib/freeclimb.rb +41 -49
  202. data/openapi.json +1734 -681
  203. data/package.json +3 -1
  204. data/spec/api/default_api_spec.rb +61 -35
  205. data/spec/factories.rb +78 -78
  206. data/spec/models/account_request_spec.rb +55 -17
  207. data/spec/models/account_result_spec.rb +304 -80
  208. data/spec/models/account_status_spec.rb +1 -1
  209. data/spec/models/account_type_spec.rb +1 -1
  210. data/spec/models/add_to_conference_notification_webhook_spec.rb +866 -0
  211. data/spec/models/add_to_conference_spec.rb +251 -38
  212. data/spec/models/add_to_queue_notification_webhook_spec.rb +643 -0
  213. data/spec/models/answered_by_spec.rb +1 -1
  214. data/spec/models/application_list_spec.rb +181 -39
  215. data/spec/models/application_request_spec.rb +160 -32
  216. data/spec/models/application_result_spec.rb +286 -50
  217. data/spec/models/available_number_list_spec.rb +181 -39
  218. data/spec/models/available_number_spec.rb +160 -32
  219. data/spec/models/barge_in_reason_spec.rb +77 -0
  220. data/spec/models/buy_incoming_number_request_spec.rb +76 -20
  221. data/spec/models/call_control_webhook_spec.rb +385 -0
  222. data/spec/models/call_direction_spec.rb +1 -1
  223. data/spec/models/call_ended_reason_spec.rb +397 -0
  224. data/spec/models/call_list_spec.rb +181 -39
  225. data/spec/models/call_result_spec.rb +551 -122
  226. data/spec/models/call_status_spec.rb +1 -1
  227. data/spec/models/call_status_webhook_spec.rb +793 -0
  228. data/spec/models/capabilities_spec.rb +118 -26
  229. data/spec/models/completion_request_spec.rb +35 -15
  230. data/spec/models/completion_result_spec.rb +91 -45
  231. data/spec/models/completion_result_status_spec.rb +61 -0
  232. data/spec/models/conference_list_spec.rb +181 -39
  233. data/spec/models/conference_participant_list_spec.rb +181 -39
  234. data/spec/models/conference_participant_result_spec.rb +272 -41
  235. data/spec/models/conference_recording_status_webhook_spec.rb +866 -0
  236. data/spec/models/conference_result_spec.rb +367 -89
  237. data/spec/models/conference_status_spec.rb +1 -1
  238. data/spec/models/conference_status_webhook_spec.rb +866 -0
  239. data/spec/models/create_conference_request_spec.rb +148 -44
  240. data/spec/models/create_conference_spec.rb +169 -47
  241. data/spec/models/create_conference_webhook_spec.rb +866 -0
  242. data/spec/models/create_web_rtc_token_spec.rb +76 -20
  243. data/spec/models/dequeue_spec.rb +1 -1
  244. data/spec/models/dequeue_webhook_spec.rb +743 -0
  245. data/spec/models/enqueue_spec.rb +97 -23
  246. data/spec/models/filter_logs_request_spec.rb +34 -14
  247. data/spec/models/get_digits_reason_spec.rb +93 -0
  248. data/spec/models/get_digits_spec.rb +202 -42
  249. data/spec/models/get_digits_webhook_spec.rb +815 -0
  250. data/spec/models/get_speech_reason_spec.rb +1 -1
  251. data/spec/models/get_speech_spec.rb +308 -66
  252. data/spec/models/get_speech_webhook_spec.rb +1072 -0
  253. data/spec/models/grammar_file_built_in_spec.rb +1 -1
  254. data/spec/models/grammar_type_spec.rb +1 -1
  255. data/spec/models/hangup_spec.rb +34 -14
  256. data/spec/models/if_machine_spec.rb +1 -1
  257. data/spec/models/inbound_call_webhook_spec.rb +692 -0
  258. data/spec/models/incoming_number_list_spec.rb +181 -39
  259. data/spec/models/incoming_number_request_spec.rb +76 -20
  260. data/spec/models/incoming_number_result_spec.rb +370 -62
  261. data/spec/models/language_spec.rb +1 -1
  262. data/spec/models/leave_conference_webhook_spec.rb +643 -0
  263. data/spec/models/log_level_spec.rb +1 -1
  264. data/spec/models/log_list_spec.rb +181 -39
  265. data/spec/models/log_result_spec.rb +190 -50
  266. data/spec/models/machine_detected_webhook_spec.rb +758 -0
  267. data/spec/models/machine_type_spec.rb +10 -10
  268. data/spec/models/make_call_request_spec.rb +223 -41
  269. data/spec/models/message_delivery_webhook_spec.rb +630 -0
  270. data/spec/models/message_direction_spec.rb +1 -1
  271. data/spec/models/message_request_spec.rb +202 -38
  272. data/spec/models/message_result_spec.rb +375 -74
  273. data/spec/models/message_status_spec.rb +1 -1
  274. data/spec/models/message_status_webhook_spec.rb +732 -0
  275. data/spec/models/messages_list_spec.rb +181 -39
  276. data/spec/models/mutable_resource_model_spec.rb +97 -23
  277. data/spec/models/out_dial_api_connect_webhook_spec.rb +692 -0
  278. data/spec/models/out_dial_connect_webhook_spec.rb +692 -0
  279. data/spec/models/out_dial_spec.rb +253 -59
  280. data/spec/models/out_dial_start_webhook_spec.rb +741 -0
  281. data/spec/models/pagination_model_spec.rb +160 -32
  282. data/spec/models/park_spec.rb +76 -20
  283. data/spec/models/pause_spec.rb +34 -14
  284. data/spec/models/percl_command_spec.rb +34 -14
  285. data/spec/models/percl_script_spec.rb +34 -18
  286. data/spec/models/play_beep_spec.rb +1 -1
  287. data/spec/models/play_early_media_spec.rb +34 -14
  288. data/spec/models/play_spec.rb +76 -20
  289. data/spec/models/queue_list_spec.rb +181 -39
  290. data/spec/models/queue_member_list_spec.rb +181 -39
  291. data/spec/models/queue_member_spec.rb +118 -26
  292. data/spec/models/queue_request_spec.rb +55 -17
  293. data/spec/models/queue_result_spec.rb +244 -44
  294. data/spec/models/queue_result_status_spec.rb +1 -1
  295. data/spec/models/queue_wait_webhook_spec.rb +794 -0
  296. data/spec/models/record_utterance_spec.rb +160 -32
  297. data/spec/models/record_utterance_term_reason_spec.rb +1 -1
  298. data/spec/models/record_webhook_spec.rb +1062 -0
  299. data/spec/models/recording_list_spec.rb +181 -39
  300. data/spec/models/recording_result_spec.rb +202 -38
  301. data/spec/models/redirect_spec.rb +34 -14
  302. data/spec/models/redirect_webhook_spec.rb +692 -0
  303. data/spec/models/reject_spec.rb +34 -14
  304. data/spec/models/remove_from_conference_spec.rb +1 -1
  305. data/spec/models/remove_from_queue_notification_webhook_spec.rb +768 -0
  306. data/spec/models/request_type_spec.rb +1 -1
  307. data/spec/models/say_spec.rb +97 -23
  308. data/spec/models/send_digits_spec.rb +76 -20
  309. data/spec/models/set_dtmf_pass_through_spec.rb +34 -14
  310. data/spec/models/set_listen_spec.rb +34 -14
  311. data/spec/models/set_talk_spec.rb +34 -14
  312. data/spec/models/sms_spec.rb +97 -23
  313. data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +93 -0
  314. data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +109 -0
  315. data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +93 -0
  316. data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +109 -0
  317. data/spec/models/sms_ten_dlc_brand_spec.rb +933 -378
  318. data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +461 -0
  319. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +181 -39
  320. data/spec/models/sms_ten_dlc_campaign_spec.rb +820 -164
  321. data/spec/models/sms_ten_dlc_campaign_status_spec.rb +61 -0
  322. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +181 -39
  323. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +251 -51
  324. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +713 -183
  325. data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +61 -0
  326. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +181 -39
  327. data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +109 -0
  328. data/spec/models/sms_toll_free_campaign_spec.rb +200 -69
  329. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +181 -39
  330. data/spec/models/start_record_call_spec.rb +1 -1
  331. data/spec/models/terminate_conference_spec.rb +1 -1
  332. data/spec/models/tfn_spec.rb +34 -14
  333. data/spec/models/transcribe_reason_spec.rb +109 -0
  334. data/spec/models/transcribe_term_reason_spec.rb +61 -0
  335. data/spec/models/{transcribe_utterance_all_of_record_spec.rb → transcribe_utterance_record_spec.rb} +99 -43
  336. data/spec/models/transcribe_utterance_spec.rb +155 -45
  337. data/spec/models/transcribe_webhook_spec.rb +1373 -0
  338. data/spec/models/unpark_spec.rb +1 -1
  339. data/spec/models/update_call_request_spec.rb +64 -32
  340. data/spec/models/update_call_request_status_spec.rb +1 -1
  341. data/spec/models/update_conference_participant_request_spec.rb +104 -17
  342. data/spec/models/update_conference_request_spec.rb +136 -56
  343. data/spec/models/update_conference_request_status_spec.rb +1 -1
  344. data/spec/models/webhook_spec.rb +176 -0
  345. data/spec/quickstart_spec.rb +7 -7
  346. data/spec/spec_helper.rb +1 -1
  347. data/spec/utils/request_verifier_spec.rb +123 -123
  348. data/spec/utils/signature_information_spec.rb +36 -36
  349. data/yarn.lock +91 -91
  350. metadata +157 -100
  351. data/docs/AccountResultAllOf.md +0 -30
  352. data/docs/AddToConferenceAllOf.md +0 -36
  353. data/docs/ApplicationListAllOf.md +0 -18
  354. data/docs/ApplicationResultAllOf.md +0 -34
  355. data/docs/AvailableNumberListAllOf.md +0 -18
  356. data/docs/CallListAllOf.md +0 -18
  357. data/docs/CallResultAllOf.md +0 -48
  358. data/docs/ConferenceListAllOf.md +0 -18
  359. data/docs/ConferenceParticipantListAllOf.md +0 -18
  360. data/docs/ConferenceParticipantResultAllOf.md +0 -30
  361. data/docs/ConferenceResultAllOf.md +0 -36
  362. data/docs/CreateConferenceAllOf.md +0 -28
  363. data/docs/EnqueueAllOf.md +0 -24
  364. data/docs/GetDigitsAllOf.md +0 -34
  365. data/docs/GetSpeechAllOf.md +0 -42
  366. data/docs/HangupAllOf.md +0 -18
  367. data/docs/IncomingNumberListAllOf.md +0 -18
  368. data/docs/IncomingNumberResultAllOf.md +0 -42
  369. data/docs/LogListAllOf.md +0 -18
  370. data/docs/MessageRequestAllOf.md +0 -26
  371. data/docs/MessageResultAllOf.md +0 -40
  372. data/docs/MessagesListAllOf.md +0 -18
  373. data/docs/OutDialAllOf.md +0 -36
  374. data/docs/ParkAllOf.md +0 -22
  375. data/docs/PauseAllOf.md +0 -18
  376. data/docs/PlayAllOf.md +0 -22
  377. data/docs/PlayEarlyMediaAllOf.md +0 -18
  378. data/docs/QueueListAllOf.md +0 -18
  379. data/docs/QueueMemberListAllOf.md +0 -18
  380. data/docs/QueueResultAllOf.md +0 -30
  381. data/docs/RecordUtteranceAllOf.md +0 -30
  382. data/docs/RecordingListAllOf.md +0 -18
  383. data/docs/RecordingResultAllOf.md +0 -26
  384. data/docs/RedirectAllOf.md +0 -18
  385. data/docs/RejectAllOf.md +0 -18
  386. data/docs/RemoveFromConferenceAllOf.md +0 -18
  387. data/docs/SMSTenDLCBrandsListResultAllOf.md +0 -18
  388. data/docs/SMSTenDLCCampaignsListResultAllOf.md +0 -18
  389. data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +0 -18
  390. data/docs/SMSTollFreeCampaignsListResultAllOf.md +0 -18
  391. data/docs/SayAllOf.md +0 -24
  392. data/docs/SendDigitsAllOf.md +0 -22
  393. data/docs/SetDTMFPassThroughAllOf.md +0 -18
  394. data/docs/SetListenAllOf.md +0 -18
  395. data/docs/SetTalkAllOf.md +0 -18
  396. data/docs/SmsAllOf.md +0 -24
  397. data/docs/TerminateConferenceAllOf.md +0 -18
  398. data/docs/TranscribeUtteranceAllOf.md +0 -28
  399. data/docs/TranscribeUtteranceAllOfRecord.md +0 -22
  400. data/lib/freeclimb/models/account_result_all_of.rb +0 -289
  401. data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -318
  402. data/lib/freeclimb/models/application_list_all_of.rb +0 -226
  403. data/lib/freeclimb/models/application_result_all_of.rb +0 -313
  404. data/lib/freeclimb/models/available_number_list_all_of.rb +0 -226
  405. data/lib/freeclimb/models/conference_list_all_of.rb +0 -226
  406. data/lib/freeclimb/models/conference_participant_list_all_of.rb +0 -226
  407. data/lib/freeclimb/models/create_conference_all_of.rb +0 -280
  408. data/lib/freeclimb/models/enqueue_all_of.rb +0 -266
  409. data/lib/freeclimb/models/get_digits_all_of.rb +0 -310
  410. data/lib/freeclimb/models/get_speech_all_of.rb +0 -354
  411. data/lib/freeclimb/models/hangup_all_of.rb +0 -224
  412. data/lib/freeclimb/models/incoming_number_list_all_of.rb +0 -226
  413. data/lib/freeclimb/models/log_list_all_of.rb +0 -226
  414. data/lib/freeclimb/models/message_request_all_of.rb +0 -279
  415. data/lib/freeclimb/models/messages_list_all_of.rb +0 -227
  416. data/lib/freeclimb/models/out_dial_all_of.rb +0 -329
  417. data/lib/freeclimb/models/park_all_of.rb +0 -252
  418. data/lib/freeclimb/models/pause_all_of.rb +0 -228
  419. data/lib/freeclimb/models/play_all_of.rb +0 -248
  420. data/lib/freeclimb/models/play_early_media_all_of.rb +0 -228
  421. data/lib/freeclimb/models/queue_list_all_of.rb +0 -226
  422. data/lib/freeclimb/models/queue_member_list_all_of.rb +0 -226
  423. data/lib/freeclimb/models/queue_result_all_of.rb +0 -291
  424. data/lib/freeclimb/models/record_utterance_all_of.rb +0 -288
  425. data/lib/freeclimb/models/recording_list_all_of.rb +0 -226
  426. data/lib/freeclimb/models/redirect_all_of.rb +0 -228
  427. data/lib/freeclimb/models/reject_all_of.rb +0 -224
  428. data/lib/freeclimb/models/say_all_of.rb +0 -260
  429. data/lib/freeclimb/models/send_digits_all_of.rb +0 -248
  430. data/lib/freeclimb/models/set_dtmf_pass_through_all_of.rb +0 -224
  431. data/lib/freeclimb/models/set_listen_all_of.rb +0 -224
  432. data/lib/freeclimb/models/set_talk_all_of.rb +0 -224
  433. data/lib/freeclimb/models/sms_all_of.rb +0 -266
  434. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +0 -226
  435. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +0 -226
  436. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +0 -226
  437. data/lib/freeclimb/models/sms_toll_free_campaigns_list_result_all_of.rb +0 -226
  438. data/lib/freeclimb/models/transcribe_utterance_all_of.rb +0 -281
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: support@freeclimb.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.9.0
10
10
 
11
11
  =end
12
12
 
@@ -36,38 +36,27 @@ describe Freeclimb::SMSTenDLCBrand do
36
36
 
37
37
 
38
38
  describe 'test attribute "entity_type"' do
39
-
40
39
  it 'assigns value PRIVATE_PROFIT' do
41
- instance.entity_type = "PRIVATE_PROFIT"
42
- expect(instance.entity_type).to eq("PRIVATE_PROFIT")
40
+ instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT
41
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT)
43
42
  end
44
-
45
43
  it 'assigns value PUBLIC_PROFIT' do
46
- instance.entity_type = "PUBLIC_PROFIT"
47
- expect(instance.entity_type).to eq("PUBLIC_PROFIT")
44
+ instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::PUBLIC_PROFIT
45
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PUBLIC_PROFIT)
48
46
  end
49
-
50
47
  it 'assigns value NON_PROFIT' do
51
- instance.entity_type = "NON_PROFIT"
52
- expect(instance.entity_type).to eq("NON_PROFIT")
48
+ instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::NON_PROFIT
49
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::NON_PROFIT)
53
50
  end
54
-
55
51
  it 'assigns value GOVERNMENT' do
56
- instance.entity_type = "GOVERNMENT"
57
- expect(instance.entity_type).to eq("GOVERNMENT")
52
+ instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::GOVERNMENT
53
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::GOVERNMENT)
58
54
  end
59
-
60
55
  it 'assigns value SOLE_PROPRIETOR' do
61
- instance.entity_type = "SOLE_PROPRIETOR"
62
- expect(instance.entity_type).to eq("SOLE_PROPRIETOR")
63
- end
64
-
65
- it 'throws error on invalid enum' do
66
- instance = Freeclimb::SMSTenDLCBrand.new
67
- expect{instance.entity_type = "INVALID_ENUM"}.to raise_error(ArgumentError)
56
+ instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::SOLE_PROPRIETOR
57
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::SOLE_PROPRIETOR)
68
58
  end
69
59
  end
70
-
71
60
  describe 'test attribute "csp_id"' do
72
61
  it 'should work' do
73
62
  instance.csp_id = "TEST_STRING"
@@ -90,7 +79,7 @@ describe Freeclimb::SMSTenDLCBrand do
90
79
  expect(instance.first_name).to eq("T" * 100)
91
80
  end
92
81
  it 'should not assign a value over maxLength' do
93
- expect{instance.first_name = "T" * (100 + 1)}.to raise_error(ArgumentError)
82
+ expect { instance.first_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
94
83
  end
95
84
  end
96
85
 
@@ -100,7 +89,7 @@ describe Freeclimb::SMSTenDLCBrand do
100
89
  expect(instance.last_name).to eq("T" * 100)
101
90
  end
102
91
  it 'should not assign a value over maxLength' do
103
- expect{instance.last_name = "T" * (100 + 1)}.to raise_error(ArgumentError)
92
+ expect { instance.last_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
104
93
  end
105
94
  end
106
95
 
@@ -110,7 +99,7 @@ describe Freeclimb::SMSTenDLCBrand do
110
99
  expect(instance.display_name).to eq("T" * 255)
111
100
  end
112
101
  it 'should not assign a value over maxLength' do
113
- expect{instance.display_name = "T" * (255 + 1)}.to raise_error(ArgumentError)
102
+ expect { instance.display_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
114
103
  end
115
104
  end
116
105
 
@@ -120,7 +109,7 @@ describe Freeclimb::SMSTenDLCBrand do
120
109
  expect(instance.company_name).to eq("T" * 255)
121
110
  end
122
111
  it 'should not assign a value over maxLength' do
123
- expect{instance.company_name = "T" * (255 + 1)}.to raise_error(ArgumentError)
112
+ expect { instance.company_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
124
113
  end
125
114
  end
126
115
 
@@ -130,7 +119,7 @@ describe Freeclimb::SMSTenDLCBrand do
130
119
  expect(instance.ein).to eq("T" * 21)
131
120
  end
132
121
  it 'should not assign a value over maxLength' do
133
- expect{instance.ein = "T" * (21 + 1)}.to raise_error(ArgumentError)
122
+ expect { instance.ein = "T" * (21 + 1) }.to raise_error(ArgumentError)
134
123
  end
135
124
  end
136
125
 
@@ -140,7 +129,7 @@ describe Freeclimb::SMSTenDLCBrand do
140
129
  expect(instance.ein_issuing_country).to eq("T" * 2)
141
130
  end
142
131
  it 'should not assign a value over maxLength' do
143
- expect{instance.ein_issuing_country = "T" * (2 + 1)}.to raise_error(ArgumentError)
132
+ expect { instance.ein_issuing_country = "T" * (2 + 1) }.to raise_error(ArgumentError)
144
133
  end
145
134
  end
146
135
 
@@ -150,7 +139,7 @@ describe Freeclimb::SMSTenDLCBrand do
150
139
  expect(instance.phone).to eq("T" * 20)
151
140
  end
152
141
  it 'should not assign a value over maxLength' do
153
- expect{instance.phone = "T" * (20 + 1)}.to raise_error(ArgumentError)
142
+ expect { instance.phone = "T" * (20 + 1) }.to raise_error(ArgumentError)
154
143
  end
155
144
  end
156
145
 
@@ -160,7 +149,7 @@ describe Freeclimb::SMSTenDLCBrand do
160
149
  expect(instance.street).to eq("T" * 100)
161
150
  end
162
151
  it 'should not assign a value over maxLength' do
163
- expect{instance.street = "T" * (100 + 1)}.to raise_error(ArgumentError)
152
+ expect { instance.street = "T" * (100 + 1) }.to raise_error(ArgumentError)
164
153
  end
165
154
  end
166
155
 
@@ -170,7 +159,7 @@ describe Freeclimb::SMSTenDLCBrand do
170
159
  expect(instance.city).to eq("T" * 100)
171
160
  end
172
161
  it 'should not assign a value over maxLength' do
173
- expect{instance.city = "T" * (100 + 1)}.to raise_error(ArgumentError)
162
+ expect { instance.city = "T" * (100 + 1) }.to raise_error(ArgumentError)
174
163
  end
175
164
  end
176
165
 
@@ -180,7 +169,7 @@ describe Freeclimb::SMSTenDLCBrand do
180
169
  expect(instance.state).to eq("T" * 20)
181
170
  end
182
171
  it 'should not assign a value over maxLength' do
183
- expect{instance.state = "T" * (20 + 1)}.to raise_error(ArgumentError)
172
+ expect { instance.state = "T" * (20 + 1) }.to raise_error(ArgumentError)
184
173
  end
185
174
  end
186
175
 
@@ -190,7 +179,7 @@ describe Freeclimb::SMSTenDLCBrand do
190
179
  expect(instance.postal_code).to eq("T" * 10)
191
180
  end
192
181
  it 'should not assign a value over maxLength' do
193
- expect{instance.postal_code = "T" * (10 + 1)}.to raise_error(ArgumentError)
182
+ expect { instance.postal_code = "T" * (10 + 1) }.to raise_error(ArgumentError)
194
183
  end
195
184
  end
196
185
 
@@ -200,7 +189,7 @@ describe Freeclimb::SMSTenDLCBrand do
200
189
  expect(instance.country).to eq("T" * 2)
201
190
  end
202
191
  it 'should not assign a value over maxLength' do
203
- expect{instance.country = "T" * (2 + 1)}.to raise_error(ArgumentError)
192
+ expect { instance.country = "T" * (2 + 1) }.to raise_error(ArgumentError)
204
193
  end
205
194
  end
206
195
 
@@ -210,7 +199,7 @@ describe Freeclimb::SMSTenDLCBrand do
210
199
  expect(instance.email).to eq("T" * 100)
211
200
  end
212
201
  it 'should not assign a value over maxLength' do
213
- expect{instance.email = "T" * (100 + 1)}.to raise_error(ArgumentError)
202
+ expect { instance.email = "T" * (100 + 1) }.to raise_error(ArgumentError)
214
203
  end
215
204
  end
216
205
 
@@ -220,161 +209,128 @@ describe Freeclimb::SMSTenDLCBrand do
220
209
  expect(instance.stock_symbol).to eq("T" * 10)
221
210
  end
222
211
  it 'should not assign a value over maxLength' do
223
- expect{instance.stock_symbol = "T" * (10 + 1)}.to raise_error(ArgumentError)
212
+ expect { instance.stock_symbol = "T" * (10 + 1) }.to raise_error(ArgumentError)
224
213
  end
225
214
  end
226
215
 
227
216
 
228
217
  describe 'test attribute "stock_exchange"' do
229
-
230
218
  it 'assigns value NONE' do
231
- instance.stock_exchange = "NONE"
232
- expect(instance.stock_exchange).to eq("NONE")
219
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NONE
220
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NONE)
233
221
  end
234
-
235
222
  it 'assigns value NASDAQ' do
236
- instance.stock_exchange = "NASDAQ"
237
- expect(instance.stock_exchange).to eq("NASDAQ")
223
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NASDAQ
224
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NASDAQ)
238
225
  end
239
-
240
226
  it 'assigns value NYSE' do
241
- instance.stock_exchange = "NYSE"
242
- expect(instance.stock_exchange).to eq("NYSE")
227
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NYSE
228
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NYSE)
243
229
  end
244
-
245
230
  it 'assigns value AMEX' do
246
- instance.stock_exchange = "AMEX"
247
- expect(instance.stock_exchange).to eq("AMEX")
231
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::AMEX
232
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMEX)
248
233
  end
249
-
250
234
  it 'assigns value AMX' do
251
- instance.stock_exchange = "AMX"
252
- expect(instance.stock_exchange).to eq("AMX")
235
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::AMX
236
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMX)
253
237
  end
254
-
255
238
  it 'assigns value ASX' do
256
- instance.stock_exchange = "ASX"
257
- expect(instance.stock_exchange).to eq("ASX")
239
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::ASX
240
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ASX)
258
241
  end
259
-
260
242
  it 'assigns value B3' do
261
- instance.stock_exchange = "B3"
262
- expect(instance.stock_exchange).to eq("B3")
243
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::B3
244
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::B3)
263
245
  end
264
-
265
246
  it 'assigns value BME' do
266
- instance.stock_exchange = "BME"
267
- expect(instance.stock_exchange).to eq("BME")
247
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::BME
248
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BME)
268
249
  end
269
-
270
250
  it 'assigns value BSE' do
271
- instance.stock_exchange = "BSE"
272
- expect(instance.stock_exchange).to eq("BSE")
251
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::BSE
252
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BSE)
273
253
  end
274
-
275
254
  it 'assigns value FRA' do
276
- instance.stock_exchange = "FRA"
277
- expect(instance.stock_exchange).to eq("FRA")
255
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::FRA
256
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::FRA)
278
257
  end
279
-
280
258
  it 'assigns value ICEX' do
281
- instance.stock_exchange = "ICEX"
282
- expect(instance.stock_exchange).to eq("ICEX")
259
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::ICEX
260
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ICEX)
283
261
  end
284
-
285
262
  it 'assigns value JPX' do
286
- instance.stock_exchange = "JPX"
287
- expect(instance.stock_exchange).to eq("JPX")
263
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::JPX
264
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JPX)
288
265
  end
289
-
290
266
  it 'assigns value JSE' do
291
- instance.stock_exchange = "JSE"
292
- expect(instance.stock_exchange).to eq("JSE")
267
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::JSE
268
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JSE)
293
269
  end
294
-
295
270
  it 'assigns value KRX' do
296
- instance.stock_exchange = "KRX"
297
- expect(instance.stock_exchange).to eq("KRX")
271
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::KRX
272
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::KRX)
298
273
  end
299
-
300
274
  it 'assigns value LON' do
301
- instance.stock_exchange = "LON"
302
- expect(instance.stock_exchange).to eq("LON")
275
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::LON
276
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::LON)
303
277
  end
304
-
305
278
  it 'assigns value NSE' do
306
- instance.stock_exchange = "NSE"
307
- expect(instance.stock_exchange).to eq("NSE")
279
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NSE
280
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NSE)
308
281
  end
309
-
310
282
  it 'assigns value OMX' do
311
- instance.stock_exchange = "OMX"
312
- expect(instance.stock_exchange).to eq("OMX")
283
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::OMX
284
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OMX)
313
285
  end
314
-
315
286
  it 'assigns value SEHK' do
316
- instance.stock_exchange = "SEHK"
317
- expect(instance.stock_exchange).to eq("SEHK")
287
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SEHK
288
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SEHK)
318
289
  end
319
-
320
290
  it 'assigns value SGX' do
321
- instance.stock_exchange = "SGX"
322
- expect(instance.stock_exchange).to eq("SGX")
291
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SGX
292
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SGX)
323
293
  end
324
-
325
294
  it 'assigns value SSE' do
326
- instance.stock_exchange = "SSE"
327
- expect(instance.stock_exchange).to eq("SSE")
295
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SSE
296
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SSE)
328
297
  end
329
-
330
298
  it 'assigns value STO' do
331
- instance.stock_exchange = "STO"
332
- expect(instance.stock_exchange).to eq("STO")
299
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::STO
300
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::STO)
333
301
  end
334
-
335
302
  it 'assigns value SWX' do
336
- instance.stock_exchange = "SWX"
337
- expect(instance.stock_exchange).to eq("SWX")
303
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SWX
304
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SWX)
338
305
  end
339
-
340
306
  it 'assigns value SZSE' do
341
- instance.stock_exchange = "SZSE"
342
- expect(instance.stock_exchange).to eq("SZSE")
307
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SZSE
308
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SZSE)
343
309
  end
344
-
345
310
  it 'assigns value TSX' do
346
- instance.stock_exchange = "TSX"
347
- expect(instance.stock_exchange).to eq("TSX")
311
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::TSX
312
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TSX)
348
313
  end
349
-
350
314
  it 'assigns value TWSE' do
351
- instance.stock_exchange = "TWSE"
352
- expect(instance.stock_exchange).to eq("TWSE")
315
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::TWSE
316
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TWSE)
353
317
  end
354
-
355
318
  it 'assigns value VSE' do
356
- instance.stock_exchange = "VSE"
357
- expect(instance.stock_exchange).to eq("VSE")
319
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::VSE
320
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::VSE)
358
321
  end
359
-
360
322
  it 'assigns value OTHER' do
361
- instance.stock_exchange = "OTHER"
362
- expect(instance.stock_exchange).to eq("OTHER")
363
- end
364
-
365
- it 'throws error on invalid enum' do
366
- instance = Freeclimb::SMSTenDLCBrand.new
367
- expect{instance.stock_exchange = "INVALID_ENUM"}.to raise_error(ArgumentError)
323
+ instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::OTHER
324
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OTHER)
368
325
  end
369
326
  end
370
-
371
327
  describe 'test attribute "ip_address"' do
372
328
  it 'should assign a value of maxLength' do
373
329
  instance.ip_address = "T" * 50
374
330
  expect(instance.ip_address).to eq("T" * 50)
375
331
  end
376
332
  it 'should not assign a value over maxLength' do
377
- expect{instance.ip_address = "T" * (50 + 1)}.to raise_error(ArgumentError)
333
+ expect { instance.ip_address = "T" * (50 + 1) }.to raise_error(ArgumentError)
378
334
  end
379
335
  end
380
336
 
@@ -384,51 +340,40 @@ describe Freeclimb::SMSTenDLCBrand do
384
340
  expect(instance.website).to eq("T" * 100)
385
341
  end
386
342
  it 'should not assign a value over maxLength' do
387
- expect{instance.website = "T" * (100 + 1)}.to raise_error(ArgumentError)
343
+ expect { instance.website = "T" * (100 + 1) }.to raise_error(ArgumentError)
388
344
  end
389
345
  end
390
346
 
391
347
 
392
348
  describe 'test attribute "brand_relationship"' do
393
-
394
349
  it 'assigns value BASIC_ACCOUNT' do
395
- instance.brand_relationship = "BASIC_ACCOUNT"
396
- expect(instance.brand_relationship).to eq("BASIC_ACCOUNT")
350
+ instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT
351
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT)
397
352
  end
398
-
399
353
  it 'assigns value SMALL_ACCOUNT' do
400
- instance.brand_relationship = "SMALL_ACCOUNT"
401
- expect(instance.brand_relationship).to eq("SMALL_ACCOUNT")
354
+ instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::SMALL_ACCOUNT
355
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::SMALL_ACCOUNT)
402
356
  end
403
-
404
357
  it 'assigns value MEDIUM_ACCOUNT' do
405
- instance.brand_relationship = "MEDIUM_ACCOUNT"
406
- expect(instance.brand_relationship).to eq("MEDIUM_ACCOUNT")
358
+ instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::MEDIUM_ACCOUNT
359
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::MEDIUM_ACCOUNT)
407
360
  end
408
-
409
361
  it 'assigns value LARGE_ACCOUNT' do
410
- instance.brand_relationship = "LARGE_ACCOUNT"
411
- expect(instance.brand_relationship).to eq("LARGE_ACCOUNT")
362
+ instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::LARGE_ACCOUNT
363
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::LARGE_ACCOUNT)
412
364
  end
413
-
414
365
  it 'assigns value KEY_ACCOUNT' do
415
- instance.brand_relationship = "KEY_ACCOUNT"
416
- expect(instance.brand_relationship).to eq("KEY_ACCOUNT")
417
- end
418
-
419
- it 'throws error on invalid enum' do
420
- instance = Freeclimb::SMSTenDLCBrand.new
421
- expect{instance.brand_relationship = "INVALID_ENUM"}.to raise_error(ArgumentError)
366
+ instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::KEY_ACCOUNT
367
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::KEY_ACCOUNT)
422
368
  end
423
369
  end
424
-
425
370
  describe 'test attribute "vertical"' do
426
371
  it 'should assign a value of maxLength' do
427
372
  instance.vertical = "T" * 50
428
373
  expect(instance.vertical).to eq("T" * 50)
429
374
  end
430
375
  it 'should not assign a value over maxLength' do
431
- expect{instance.vertical = "T" * (50 + 1)}.to raise_error(ArgumentError)
376
+ expect { instance.vertical = "T" * (50 + 1) }.to raise_error(ArgumentError)
432
377
  end
433
378
  end
434
379
 
@@ -438,39 +383,29 @@ describe Freeclimb::SMSTenDLCBrand do
438
383
  expect(instance.alt_business_id).to eq("T" * 50)
439
384
  end
440
385
  it 'should not assign a value over maxLength' do
441
- expect{instance.alt_business_id = "T" * (50 + 1)}.to raise_error(ArgumentError)
386
+ expect { instance.alt_business_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
442
387
  end
443
388
  end
444
389
 
445
390
 
446
391
  describe 'test attribute "alt_business_id_type"' do
447
-
448
392
  it 'assigns value NONE' do
449
- instance.alt_business_id_type = "NONE"
450
- expect(instance.alt_business_id_type).to eq("NONE")
393
+ instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE
394
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE)
451
395
  end
452
-
453
396
  it 'assigns value DUNS' do
454
- instance.alt_business_id_type = "DUNS"
455
- expect(instance.alt_business_id_type).to eq("DUNS")
397
+ instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::DUNS
398
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::DUNS)
456
399
  end
457
-
458
400
  it 'assigns value GIIN' do
459
- instance.alt_business_id_type = "GIIN"
460
- expect(instance.alt_business_id_type).to eq("GIIN")
401
+ instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::GIIN
402
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::GIIN)
461
403
  end
462
-
463
404
  it 'assigns value LEI' do
464
- instance.alt_business_id_type = "LEI"
465
- expect(instance.alt_business_id_type).to eq("LEI")
466
- end
467
-
468
- it 'throws error on invalid enum' do
469
- instance = Freeclimb::SMSTenDLCBrand.new
470
- expect{instance.alt_business_id_type = "INVALID_ENUM"}.to raise_error(ArgumentError)
405
+ instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::LEI
406
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::LEI)
471
407
  end
472
408
  end
473
-
474
409
  describe 'test attribute "universal_ein"' do
475
410
  it 'should work' do
476
411
  instance.universal_ein = "TEST_STRING"
@@ -485,7 +420,7 @@ describe Freeclimb::SMSTenDLCBrand do
485
420
  expect(instance.reference_id).to eq("T" * 50)
486
421
  end
487
422
  it 'should not assign a value over maxLength' do
488
- expect{instance.reference_id = "T" * (50 + 1)}.to raise_error(ArgumentError)
423
+ expect { instance.reference_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
489
424
  end
490
425
  end
491
426
 
@@ -508,33 +443,23 @@ describe Freeclimb::SMSTenDLCBrand do
508
443
 
509
444
 
510
445
  describe 'test attribute "identity_status"' do
511
-
512
446
  it 'assigns value SELF_DECLARED' do
513
- instance.identity_status = "SELF_DECLARED"
514
- expect(instance.identity_status).to eq("SELF_DECLARED")
447
+ instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED
448
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED)
515
449
  end
516
-
517
450
  it 'assigns value UNVERIFIED' do
518
- instance.identity_status = "UNVERIFIED"
519
- expect(instance.identity_status).to eq("UNVERIFIED")
451
+ instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::UNVERIFIED
452
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::UNVERIFIED)
520
453
  end
521
-
522
454
  it 'assigns value VERIFIED' do
523
- instance.identity_status = "VERIFIED"
524
- expect(instance.identity_status).to eq("VERIFIED")
455
+ instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::VERIFIED
456
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VERIFIED)
525
457
  end
526
-
527
458
  it 'assigns value VETTED_VERIFIED' do
528
- instance.identity_status = "VETTED_VERIFIED"
529
- expect(instance.identity_status).to eq("VETTED_VERIFIED")
530
- end
531
-
532
- it 'throws error on invalid enum' do
533
- instance = Freeclimb::SMSTenDLCBrand.new
534
- expect{instance.identity_status = "INVALID_ENUM"}.to raise_error(ArgumentError)
459
+ instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED
460
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED)
535
461
  end
536
462
  end
537
-
538
463
  describe 'test attribute "create_date"' do
539
464
  it 'should work' do
540
465
  instance.create_date = "2022-07-05T15:17:05Z"
@@ -545,147 +470,291 @@ describe Freeclimb::SMSTenDLCBrand do
545
470
 
546
471
  describe 'test method "initialize"' do
547
472
  it 'properly initializes with values' do
548
- expect{instance = Freeclimb::SMSTenDLCBrand.new(
473
+ expect { instance = Freeclimb::SMSTenDLCBrand.new(
474
+ account_id: "TS",
475
+
476
+
477
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
478
+
479
+ csp_id: "TS",
480
+
481
+ brand_id: "TS",
482
+
483
+ first_name: "TS",
484
+
485
+ last_name: "TS",
486
+
487
+ display_name: "TS",
488
+
489
+ company_name: "TS",
490
+
491
+ ein: "TS",
492
+
493
+ ein_issuing_country: "TS",
494
+
495
+ phone: "TS",
496
+
497
+ street: "TS",
498
+
499
+ city: "TS",
500
+
501
+ state: "TS",
502
+
503
+ postal_code: "TS",
504
+
505
+ country: "TS",
506
+
507
+ email: "TS",
508
+
509
+ stock_symbol: "TS",
510
+
511
+
512
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
513
+
514
+ ip_address: "TS",
515
+
516
+ website: "TS",
517
+
518
+
519
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
520
+
521
+ vertical: "TS",
522
+
523
+ alt_business_id: "TS",
524
+
525
+
526
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
527
+
528
+ universal_ein: "TS",
529
+
530
+ reference_id: "TS",
531
+
532
+ optional_attributes: Hash.new(),
533
+
534
+ mock: true,
535
+
536
+
537
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
538
+
539
+
540
+ create_date: "2022-07-05T15:17:05Z",
541
+ )}.not_to raise_error()
542
+ end
543
+ it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand' do
544
+ expect { instance = Freeclimb::SMSTenDLCBrand.new(
545
+ account_id: "TS",
546
+
547
+
548
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
549
+
550
+ csp_id: "TS",
551
+
552
+ brand_id: "TS",
553
+
554
+ first_name: "TS",
555
+
556
+ last_name: "TS",
557
+
558
+ display_name: "TS",
559
+
560
+ company_name: "TS",
561
+
562
+ ein: "TS",
563
+
564
+ ein_issuing_country: "TS",
565
+
566
+ phone: "TS",
567
+
568
+ street: "TS",
569
+
570
+ city: "TS",
571
+
572
+ state: "TS",
573
+
574
+ postal_code: "TS",
575
+
576
+ country: "TS",
577
+
578
+ email: "TS",
579
+
580
+ stock_symbol: "TS",
581
+
582
+
583
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
584
+
585
+ ip_address: "TS",
586
+
587
+ website: "TS",
588
+
589
+
590
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
591
+
592
+ vertical: "TS",
593
+
594
+ alt_business_id: "TS",
595
+
596
+
597
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
598
+
599
+ universal_ein: "TS",
600
+
601
+ reference_id: "TS",
602
+
603
+ optional_attributes: Hash.new(),
604
+
605
+ mock: true,
606
+
607
+
608
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
609
+
610
+
611
+ create_date: "2022-07-05T15:17:05Z",
612
+ invalid_attribute: true
613
+ )}.to raise_error(ArgumentError)
614
+ end
615
+ it 'fails to initialize with invalid attribute' do
616
+ expect { instance = Freeclimb::SMSTenDLCBrand.new(
617
+ account_id: "TS",
618
+
619
+
620
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
621
+
622
+ csp_id: "TS",
623
+
624
+ brand_id: "TS",
625
+
626
+ first_name: "TS",
627
+
628
+ last_name: "TS",
629
+
630
+ display_name: "TS",
631
+
632
+ company_name: "TS",
633
+
634
+ ein: "TS",
635
+
636
+ ein_issuing_country: "TS",
637
+
638
+ phone: "TS",
639
+
640
+ street: "TS",
641
+
642
+ city: "TS",
643
+
644
+ state: "TS",
645
+
646
+ postal_code: "TS",
647
+
648
+ country: "TS",
649
+
650
+ email: "TS",
651
+
652
+ stock_symbol: "TS",
653
+
654
+
655
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
656
+
657
+ ip_address: "TS",
658
+
659
+ website: "TS",
660
+
661
+
662
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
663
+
664
+ vertical: "TS",
665
+
666
+ alt_business_id: "TS",
667
+
668
+
669
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
670
+
671
+ universal_ein: "TS",
672
+
673
+ reference_id: "TS",
674
+
675
+ optional_attributes: Hash.new(),
676
+
677
+ mock: true,
678
+
679
+
680
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
681
+
682
+
683
+ create_date: "2022-07-05T15:17:05Z",
684
+ invalid_attribute: true
685
+ )}.to raise_error(ArgumentError)
686
+ end
687
+ end
688
+
689
+ describe 'test method "valid"' do
690
+ it 'checks if properties are valid' do
691
+ instance = Freeclimb::SMSTenDLCBrand.new(
549
692
  account_id: "TS",
550
- entity_type:"PRIVATE_PROFIT",
693
+
694
+
695
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
696
+
551
697
  csp_id: "TS",
698
+
552
699
  brand_id: "TS",
700
+
553
701
  first_name: "TS",
702
+
554
703
  last_name: "TS",
704
+
555
705
  display_name: "TS",
706
+
556
707
  company_name: "TS",
708
+
557
709
  ein: "TS",
710
+
558
711
  ein_issuing_country: "TS",
712
+
559
713
  phone: "TS",
714
+
560
715
  street: "TS",
716
+
561
717
  city: "TS",
718
+
562
719
  state: "TS",
720
+
563
721
  postal_code: "TS",
722
+
564
723
  country: "TS",
724
+
565
725
  email: "TS",
726
+
566
727
  stock_symbol: "TS",
567
- stock_exchange:"NONE",
728
+
729
+
730
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
731
+
568
732
  ip_address: "TS",
733
+
569
734
  website: "TS",
570
- brand_relationship:"BASIC_ACCOUNT",
735
+
736
+
737
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
738
+
571
739
  vertical: "TS",
740
+
572
741
  alt_business_id: "TS",
573
- alt_business_id_type:"NONE",
742
+
743
+
744
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
745
+
574
746
  universal_ein: "TS",
747
+
575
748
  reference_id: "TS",
749
+
576
750
  optional_attributes: Hash.new(),
751
+
577
752
  mock: true,
578
- identity_status:"SELF_DECLARED",
579
- create_date: "2022-07-05T15:17:05Z",
580
- )}.not_to raise_error()
581
- end
582
- it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand' do
583
- expect{instance = Freeclimb::SMSTenDLCBrand.new(
584
- account_id: "TS",
585
- entity_type:"PRIVATE_PROFIT",
586
- csp_id: "TS",
587
- brand_id: "TS",
588
- first_name: "TS",
589
- last_name: "TS",
590
- display_name: "TS",
591
- company_name: "TS",
592
- ein: "TS",
593
- ein_issuing_country: "TS",
594
- phone: "TS",
595
- street: "TS",
596
- city: "TS",
597
- state: "TS",
598
- postal_code: "TS",
599
- country: "TS",
600
- email: "TS",
601
- stock_symbol: "TS",
602
- stock_exchange:"NONE",
603
- ip_address: "TS",
604
- website: "TS",
605
- brand_relationship:"BASIC_ACCOUNT",
606
- vertical: "TS",
607
- alt_business_id: "TS",
608
- alt_business_id_type:"NONE",
609
- universal_ein: "TS",
610
- reference_id: "TS",
611
- optional_attributes: Hash.new(),
612
- mock: true,
613
- identity_status:"SELF_DECLARED",
614
- create_date: "2022-07-05T15:17:05Z",
615
- invalid_attribute: true
616
- )}.to raise_error(ArgumentError)
617
- end
618
- it 'fails to initialize with invalid attribute' do
619
- expect{instance = Freeclimb::SMSTenDLCBrand.new(
620
- account_id: "TS",
621
- entity_type:"PRIVATE_PROFIT",
622
- csp_id: "TS",
623
- brand_id: "TS",
624
- first_name: "TS",
625
- last_name: "TS",
626
- display_name: "TS",
627
- company_name: "TS",
628
- ein: "TS",
629
- ein_issuing_country: "TS",
630
- phone: "TS",
631
- street: "TS",
632
- city: "TS",
633
- state: "TS",
634
- postal_code: "TS",
635
- country: "TS",
636
- email: "TS",
637
- stock_symbol: "TS",
638
- stock_exchange:"NONE",
639
- ip_address: "TS",
640
- website: "TS",
641
- brand_relationship:"BASIC_ACCOUNT",
642
- vertical: "TS",
643
- alt_business_id: "TS",
644
- alt_business_id_type:"NONE",
645
- universal_ein: "TS",
646
- reference_id: "TS",
647
- optional_attributes: Hash.new(),
648
- mock: true,
649
- identity_status:"SELF_DECLARED",
650
- create_date: "2022-07-05T15:17:05Z",
651
- invalid_attribute: true
652
- )}.to raise_error(ArgumentError)
653
- end
654
- end
655
-
656
- describe 'test method "valid"' do
657
- it 'checks if properties are valid' do
658
- instance = Freeclimb::SMSTenDLCBrand.new(
659
- account_id: "TS",
660
- entity_type:"PRIVATE_PROFIT",
661
- csp_id: "TS",
662
- brand_id: "TS",
663
- first_name: "TS",
664
- last_name: "TS",
665
- display_name: "TS",
666
- company_name: "TS",
667
- ein: "TS",
668
- ein_issuing_country: "TS",
669
- phone: "TS",
670
- street: "TS",
671
- city: "TS",
672
- state: "TS",
673
- postal_code: "TS",
674
- country: "TS",
675
- email: "TS",
676
- stock_symbol: "TS",
677
- stock_exchange:"NONE",
678
- ip_address: "TS",
679
- website: "TS",
680
- brand_relationship:"BASIC_ACCOUNT",
681
- vertical: "TS",
682
- alt_business_id: "TS",
683
- alt_business_id_type:"NONE",
684
- universal_ein: "TS",
685
- reference_id: "TS",
686
- optional_attributes: Hash.new(),
687
- mock: true,
688
- identity_status:"SELF_DECLARED",
753
+
754
+
755
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
756
+
757
+
689
758
  create_date: "2022-07-05T15:17:05Z",
690
759
  )
691
760
  expect(instance.valid?).to eq(true)
@@ -706,65 +775,137 @@ describe Freeclimb::SMSTenDLCBrand do
706
775
  obj = Object.new()
707
776
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
708
777
  account_id: "TS",
709
- entity_type:"PRIVATE_PROFIT",
778
+
779
+
780
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
781
+
710
782
  csp_id: "TS",
783
+
711
784
  brand_id: "TS",
785
+
712
786
  first_name: "TS",
787
+
713
788
  last_name: "TS",
789
+
714
790
  display_name: "TS",
791
+
715
792
  company_name: "TS",
793
+
716
794
  ein: "TS",
795
+
717
796
  ein_issuing_country: "TS",
797
+
718
798
  phone: "TS",
799
+
719
800
  street: "TS",
801
+
720
802
  city: "TS",
803
+
721
804
  state: "TS",
805
+
722
806
  postal_code: "TS",
807
+
723
808
  country: "TS",
809
+
724
810
  email: "TS",
811
+
725
812
  stock_symbol: "TS",
726
- stock_exchange:"NONE",
813
+
814
+
815
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
816
+
727
817
  ip_address: "TS",
818
+
728
819
  website: "TS",
729
- brand_relationship:"BASIC_ACCOUNT",
820
+
821
+
822
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
823
+
730
824
  vertical: "TS",
825
+
731
826
  alt_business_id: "TS",
732
- alt_business_id_type:"NONE",
827
+
828
+
829
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
830
+
733
831
  universal_ein: "TS",
832
+
734
833
  reference_id: "TS",
834
+
835
+
735
836
  mock: true,
736
- identity_status:"SELF_DECLARED",
837
+
838
+
839
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
840
+
841
+
737
842
  )
738
843
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
739
844
  account_id: "TS",
740
- entity_type:"PRIVATE_PROFIT",
845
+
846
+
847
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
848
+
741
849
  csp_id: "TS",
850
+
742
851
  brand_id: "TS",
852
+
743
853
  first_name: "TS",
854
+
744
855
  last_name: "TS",
856
+
745
857
  display_name: "TS",
858
+
746
859
  company_name: "TS",
860
+
747
861
  ein: "TS",
862
+
748
863
  ein_issuing_country: "TS",
864
+
749
865
  phone: "TS",
866
+
750
867
  street: "TS",
868
+
751
869
  city: "TS",
870
+
752
871
  state: "TS",
872
+
753
873
  postal_code: "TS",
874
+
754
875
  country: "TS",
876
+
755
877
  email: "TS",
878
+
756
879
  stock_symbol: "TS",
757
- stock_exchange:"NONE",
880
+
881
+
882
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
883
+
758
884
  ip_address: "TS",
885
+
759
886
  website: "TS",
760
- brand_relationship:"BASIC_ACCOUNT",
887
+
888
+
889
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
890
+
761
891
  vertical: "TS",
892
+
762
893
  alt_business_id: "TS",
763
- alt_business_id_type:"NONE",
894
+
895
+
896
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
897
+
764
898
  universal_ein: "TS",
899
+
765
900
  reference_id: "TS",
901
+
902
+
766
903
  mock: true,
767
- identity_status:"SELF_DECLARED",
904
+
905
+
906
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
907
+
908
+
768
909
  )
769
910
  expect(instance_1.eql?(instance_2)).to eq(true)
770
911
  end
@@ -772,65 +913,137 @@ describe Freeclimb::SMSTenDLCBrand do
772
913
  it 'checks if objects are not equal' do
773
914
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
774
915
  account_id: "TS",
775
- entity_type:"PRIVATE_PROFIT",
916
+
917
+
918
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
919
+
776
920
  csp_id: "TS",
921
+
777
922
  brand_id: "TS",
923
+
778
924
  first_name: "TS",
925
+
779
926
  last_name: "TS",
927
+
780
928
  display_name: "TS",
929
+
781
930
  company_name: "TS",
931
+
782
932
  ein: "TS",
933
+
783
934
  ein_issuing_country: "TS",
935
+
784
936
  phone: "TS",
937
+
785
938
  street: "TS",
939
+
786
940
  city: "TS",
941
+
787
942
  state: "TS",
943
+
788
944
  postal_code: "TS",
945
+
789
946
  country: "TS",
947
+
790
948
  email: "TS",
949
+
791
950
  stock_symbol: "TS",
792
- stock_exchange:"NONE",
951
+
952
+
953
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
954
+
793
955
  ip_address: "TS",
956
+
794
957
  website: "TS",
795
- brand_relationship:"BASIC_ACCOUNT",
958
+
959
+
960
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
961
+
796
962
  vertical: "TS",
963
+
797
964
  alt_business_id: "TS",
798
- alt_business_id_type:"NONE",
965
+
966
+
967
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
968
+
799
969
  universal_ein: "TS",
970
+
800
971
  reference_id: "TS",
972
+
973
+
801
974
  mock: true,
802
- identity_status:"SELF_DECLARED",
975
+
976
+
977
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
978
+
979
+
803
980
  )
804
981
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
805
982
  account_id: "ST",
806
- entity_type:"PRIVATE_PROFIT",
983
+
984
+
985
+ entity_type: nil,
986
+
807
987
  csp_id: "ST",
988
+
808
989
  brand_id: "ST",
990
+
809
991
  first_name: "ST",
992
+
810
993
  last_name: "ST",
994
+
811
995
  display_name: "ST",
996
+
812
997
  company_name: "ST",
998
+
813
999
  ein: "ST",
1000
+
814
1001
  ein_issuing_country: "ST",
1002
+
815
1003
  phone: "ST",
1004
+
816
1005
  street: "ST",
1006
+
817
1007
  city: "ST",
1008
+
818
1009
  state: "ST",
1010
+
819
1011
  postal_code: "ST",
1012
+
820
1013
  country: "ST",
1014
+
821
1015
  email: "ST",
1016
+
822
1017
  stock_symbol: "ST",
823
- stock_exchange:"NONE",
1018
+
1019
+
1020
+ stock_exchange: nil,
1021
+
824
1022
  ip_address: "ST",
1023
+
825
1024
  website: "ST",
826
- brand_relationship:"BASIC_ACCOUNT",
1025
+
1026
+
1027
+ brand_relationship: nil,
1028
+
827
1029
  vertical: "ST",
1030
+
828
1031
  alt_business_id: "ST",
829
- alt_business_id_type:"NONE",
1032
+
1033
+
1034
+ alt_business_id_type: nil,
1035
+
830
1036
  universal_ein: "ST",
1037
+
831
1038
  reference_id: "ST",
1039
+
1040
+
832
1041
  mock: false,
833
- identity_status:"SELF_DECLARED",
1042
+
1043
+
1044
+ identity_status: nil,
1045
+
1046
+
834
1047
  )
835
1048
  expect(instance_1.eql?(instance_2)).to eq(false)
836
1049
  end
@@ -840,38 +1053,74 @@ describe Freeclimb::SMSTenDLCBrand do
840
1053
  it 'calculates hash code' do
841
1054
  instance = Freeclimb::SMSTenDLCBrand.new(
842
1055
  account_id: "TS",
843
- entity_type:"PRIVATE_PROFIT",
1056
+
1057
+
1058
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1059
+
844
1060
  csp_id: "TS",
1061
+
845
1062
  brand_id: "TS",
1063
+
846
1064
  first_name: "TS",
1065
+
847
1066
  last_name: "TS",
1067
+
848
1068
  display_name: "TS",
1069
+
849
1070
  company_name: "TS",
1071
+
850
1072
  ein: "TS",
1073
+
851
1074
  ein_issuing_country: "TS",
1075
+
852
1076
  phone: "TS",
1077
+
853
1078
  street: "TS",
1079
+
854
1080
  city: "TS",
1081
+
855
1082
  state: "TS",
1083
+
856
1084
  postal_code: "TS",
1085
+
857
1086
  country: "TS",
1087
+
858
1088
  email: "TS",
1089
+
859
1090
  stock_symbol: "TS",
860
- stock_exchange:"NONE",
1091
+
1092
+
1093
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1094
+
861
1095
  ip_address: "TS",
1096
+
862
1097
  website: "TS",
863
- brand_relationship:"BASIC_ACCOUNT",
1098
+
1099
+
1100
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1101
+
864
1102
  vertical: "TS",
1103
+
865
1104
  alt_business_id: "TS",
866
- alt_business_id_type:"NONE",
1105
+
1106
+
1107
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1108
+
867
1109
  universal_ein: "TS",
1110
+
868
1111
  reference_id: "TS",
1112
+
869
1113
  optional_attributes: Hash.new(),
1114
+
870
1115
  mock: true,
871
- identity_status:"SELF_DECLARED",
1116
+
1117
+
1118
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1119
+
1120
+
872
1121
  create_date: "2022-07-05T15:17:05Z",
873
1122
  )
874
- expect(instance.hash).to be_a_kind_of(Integer)
1123
+ expect(instance.hash).to be_a_kind_of(Integer)
875
1124
  end
876
1125
  end
877
1126
 
@@ -879,38 +1128,143 @@ describe Freeclimb::SMSTenDLCBrand do
879
1128
  it 'builds equivalent model from hash code' do
880
1129
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
881
1130
  account_id: "TS",
882
- entity_type:"PRIVATE_PROFIT",
1131
+
1132
+
1133
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1134
+
883
1135
  csp_id: "TS",
1136
+
884
1137
  brand_id: "TS",
1138
+
885
1139
  first_name: "TS",
1140
+
886
1141
  last_name: "TS",
1142
+
887
1143
  display_name: "TS",
1144
+
888
1145
  company_name: "TS",
1146
+
889
1147
  ein: "TS",
1148
+
890
1149
  ein_issuing_country: "TS",
1150
+
891
1151
  phone: "TS",
1152
+
892
1153
  street: "TS",
1154
+
893
1155
  city: "TS",
1156
+
894
1157
  state: "TS",
1158
+
895
1159
  postal_code: "TS",
1160
+
896
1161
  country: "TS",
1162
+
897
1163
  email: "TS",
1164
+
898
1165
  stock_symbol: "TS",
899
- stock_exchange:"NONE",
1166
+
1167
+
1168
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1169
+
900
1170
  ip_address: "TS",
1171
+
901
1172
  website: "TS",
902
- brand_relationship:"BASIC_ACCOUNT",
1173
+
1174
+
1175
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1176
+
903
1177
  vertical: "TS",
1178
+
904
1179
  alt_business_id: "TS",
905
- alt_business_id_type:"NONE",
1180
+
1181
+
1182
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1183
+
906
1184
  universal_ein: "TS",
1185
+
907
1186
  reference_id: "TS",
1187
+
908
1188
  optional_attributes: Hash.new(),
1189
+
909
1190
  mock: true,
910
- identity_status:"SELF_DECLARED",
1191
+
1192
+
1193
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1194
+
1195
+
1196
+ create_date: "2022-07-05T15:17:05Z",
1197
+ )
1198
+ instance_2 = Freeclimb::SMSTenDLCBrand.new(
1199
+ account_id: "TS",
1200
+
1201
+
1202
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1203
+
1204
+ csp_id: "TS",
1205
+
1206
+ brand_id: "TS",
1207
+
1208
+ first_name: "TS",
1209
+
1210
+ last_name: "TS",
1211
+
1212
+ display_name: "TS",
1213
+
1214
+ company_name: "TS",
1215
+
1216
+ ein: "TS",
1217
+
1218
+ ein_issuing_country: "TS",
1219
+
1220
+ phone: "TS",
1221
+
1222
+ street: "TS",
1223
+
1224
+ city: "TS",
1225
+
1226
+ state: "TS",
1227
+
1228
+ postal_code: "TS",
1229
+
1230
+ country: "TS",
1231
+
1232
+ email: "TS",
1233
+
1234
+ stock_symbol: "TS",
1235
+
1236
+
1237
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1238
+
1239
+ ip_address: "TS",
1240
+
1241
+ website: "TS",
1242
+
1243
+
1244
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1245
+
1246
+ vertical: "TS",
1247
+
1248
+ alt_business_id: "TS",
1249
+
1250
+
1251
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1252
+
1253
+ universal_ein: "TS",
1254
+
1255
+ reference_id: "TS",
1256
+
1257
+ optional_attributes: Hash.new(),
1258
+
1259
+ mock: true,
1260
+
1261
+
1262
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1263
+
1264
+
911
1265
  create_date: "2022-07-05T15:17:05Z",
912
1266
  )
913
- instance_2 = Freeclimb::SMSTenDLCBrand.new
1267
+
914
1268
  expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
915
1269
  end
916
1270
  end
@@ -918,43 +1272,76 @@ describe Freeclimb::SMSTenDLCBrand do
918
1272
  describe 'test method "_deserialize"' do
919
1273
  instance = Freeclimb::SMSTenDLCBrand.new(
920
1274
  account_id: "TS",
921
- entity_type:"PRIVATE_PROFIT",
1275
+
1276
+
1277
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1278
+
922
1279
  csp_id: "TS",
1280
+
923
1281
  brand_id: "TS",
1282
+
924
1283
  first_name: "TS",
1284
+
925
1285
  last_name: "TS",
1286
+
926
1287
  display_name: "TS",
1288
+
927
1289
  company_name: "TS",
1290
+
928
1291
  ein: "TS",
1292
+
929
1293
  ein_issuing_country: "TS",
1294
+
930
1295
  phone: "TS",
1296
+
931
1297
  street: "TS",
1298
+
932
1299
  city: "TS",
1300
+
933
1301
  state: "TS",
1302
+
934
1303
  postal_code: "TS",
1304
+
935
1305
  country: "TS",
1306
+
936
1307
  email: "TS",
1308
+
937
1309
  stock_symbol: "TS",
938
- stock_exchange:"NONE",
1310
+
1311
+
1312
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1313
+
939
1314
  ip_address: "TS",
1315
+
940
1316
  website: "TS",
941
- brand_relationship:"BASIC_ACCOUNT",
1317
+
1318
+
1319
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1320
+
942
1321
  vertical: "TS",
1322
+
943
1323
  alt_business_id: "TS",
944
- alt_business_id_type:"NONE",
1324
+
1325
+
1326
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1327
+
945
1328
  universal_ein: "TS",
1329
+
946
1330
  reference_id: "TS",
1331
+
947
1332
  optional_attributes: Hash.new(),
1333
+
948
1334
  mock: true,
949
- identity_status:"SELF_DECLARED",
1335
+
1336
+
1337
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1338
+
1339
+
950
1340
  create_date: "2022-07-05T15:17:05Z",
951
1341
  )
952
1342
  it 'deserializes the data of account_id' do
953
1343
  expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
954
1344
  end
955
- it 'deserializes the data of entity_type' do
956
- expect(instance._deserialize("String", instance.entity_type)).to be_a_kind_of(String)
957
- end
958
1345
  it 'deserializes the data of csp_id' do
959
1346
  expect(instance._deserialize("String", instance.csp_id)).to be_a_kind_of(String)
960
1347
  end
@@ -1003,27 +1390,18 @@ describe Freeclimb::SMSTenDLCBrand do
1003
1390
  it 'deserializes the data of stock_symbol' do
1004
1391
  expect(instance._deserialize("String", instance.stock_symbol)).to be_a_kind_of(String)
1005
1392
  end
1006
- it 'deserializes the data of stock_exchange' do
1007
- expect(instance._deserialize("String", instance.stock_exchange)).to be_a_kind_of(String)
1008
- end
1009
1393
  it 'deserializes the data of ip_address' do
1010
1394
  expect(instance._deserialize("String", instance.ip_address)).to be_a_kind_of(String)
1011
1395
  end
1012
1396
  it 'deserializes the data of website' do
1013
1397
  expect(instance._deserialize("String", instance.website)).to be_a_kind_of(String)
1014
1398
  end
1015
- it 'deserializes the data of brand_relationship' do
1016
- expect(instance._deserialize("String", instance.brand_relationship)).to be_a_kind_of(String)
1017
- end
1018
1399
  it 'deserializes the data of vertical' do
1019
1400
  expect(instance._deserialize("String", instance.vertical)).to be_a_kind_of(String)
1020
1401
  end
1021
1402
  it 'deserializes the data of alt_business_id' do
1022
1403
  expect(instance._deserialize("String", instance.alt_business_id)).to be_a_kind_of(String)
1023
1404
  end
1024
- it 'deserializes the data of alt_business_id_type' do
1025
- expect(instance._deserialize("String", instance.alt_business_id_type)).to be_a_kind_of(String)
1026
- end
1027
1405
  it 'deserializes the data of universal_ein' do
1028
1406
  expect(instance._deserialize("String", instance.universal_ein)).to be_a_kind_of(String)
1029
1407
  end
@@ -1036,9 +1414,6 @@ describe Freeclimb::SMSTenDLCBrand do
1036
1414
  it 'deserializes the data of mock' do
1037
1415
  expect(instance._deserialize("Boolean", instance.mock)).to be_a_kind_of(TrueClass)
1038
1416
  end
1039
- it 'deserializes the data of identity_status' do
1040
- expect(instance._deserialize("String", instance.identity_status)).to be_a_kind_of(String)
1041
- end
1042
1417
  it 'deserializes the data of create_date' do
1043
1418
  expect(instance._deserialize("Time", instance.create_date)).to be_a_kind_of(Time)
1044
1419
  end
@@ -1048,35 +1423,71 @@ describe Freeclimb::SMSTenDLCBrand do
1048
1423
  it 'returns the string representation of the object' do
1049
1424
  instance = Freeclimb::SMSTenDLCBrand.new(
1050
1425
  account_id: "TS",
1051
- entity_type:"PRIVATE_PROFIT",
1426
+
1427
+
1428
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1429
+
1052
1430
  csp_id: "TS",
1431
+
1053
1432
  brand_id: "TS",
1433
+
1054
1434
  first_name: "TS",
1435
+
1055
1436
  last_name: "TS",
1437
+
1056
1438
  display_name: "TS",
1439
+
1057
1440
  company_name: "TS",
1441
+
1058
1442
  ein: "TS",
1443
+
1059
1444
  ein_issuing_country: "TS",
1445
+
1060
1446
  phone: "TS",
1447
+
1061
1448
  street: "TS",
1449
+
1062
1450
  city: "TS",
1451
+
1063
1452
  state: "TS",
1453
+
1064
1454
  postal_code: "TS",
1455
+
1065
1456
  country: "TS",
1457
+
1066
1458
  email: "TS",
1459
+
1067
1460
  stock_symbol: "TS",
1068
- stock_exchange:"NONE",
1461
+
1462
+
1463
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1464
+
1069
1465
  ip_address: "TS",
1466
+
1070
1467
  website: "TS",
1071
- brand_relationship:"BASIC_ACCOUNT",
1468
+
1469
+
1470
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1471
+
1072
1472
  vertical: "TS",
1473
+
1073
1474
  alt_business_id: "TS",
1074
- alt_business_id_type:"NONE",
1475
+
1476
+
1477
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1478
+
1075
1479
  universal_ein: "TS",
1480
+
1076
1481
  reference_id: "TS",
1482
+
1077
1483
  optional_attributes: Hash.new(),
1484
+
1078
1485
  mock: true,
1079
- identity_status:"SELF_DECLARED",
1486
+
1487
+
1488
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1489
+
1490
+
1080
1491
  create_date: "2022-07-05T15:17:05Z",
1081
1492
  )
1082
1493
  expect(instance.to_s).to eq(instance.to_hash.to_s)
@@ -1087,35 +1498,71 @@ describe Freeclimb::SMSTenDLCBrand do
1087
1498
  it 'returns the object in the form of hash' do
1088
1499
  instance = Freeclimb::SMSTenDLCBrand.new(
1089
1500
  account_id: "TS",
1090
- entity_type:"PRIVATE_PROFIT",
1501
+
1502
+
1503
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1504
+
1091
1505
  csp_id: "TS",
1506
+
1092
1507
  brand_id: "TS",
1508
+
1093
1509
  first_name: "TS",
1510
+
1094
1511
  last_name: "TS",
1512
+
1095
1513
  display_name: "TS",
1514
+
1096
1515
  company_name: "TS",
1516
+
1097
1517
  ein: "TS",
1518
+
1098
1519
  ein_issuing_country: "TS",
1520
+
1099
1521
  phone: "TS",
1522
+
1100
1523
  street: "TS",
1524
+
1101
1525
  city: "TS",
1526
+
1102
1527
  state: "TS",
1528
+
1103
1529
  postal_code: "TS",
1530
+
1104
1531
  country: "TS",
1532
+
1105
1533
  email: "TS",
1534
+
1106
1535
  stock_symbol: "TS",
1107
- stock_exchange:"NONE",
1536
+
1537
+
1538
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1539
+
1108
1540
  ip_address: "TS",
1541
+
1109
1542
  website: "TS",
1110
- brand_relationship:"BASIC_ACCOUNT",
1543
+
1544
+
1545
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1546
+
1111
1547
  vertical: "TS",
1548
+
1112
1549
  alt_business_id: "TS",
1113
- alt_business_id_type:"NONE",
1550
+
1551
+
1552
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1553
+
1114
1554
  universal_ein: "TS",
1555
+
1115
1556
  reference_id: "TS",
1557
+
1116
1558
  optional_attributes: Hash.new(),
1559
+
1117
1560
  mock: true,
1118
- identity_status:"SELF_DECLARED",
1561
+
1562
+
1563
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1564
+
1565
+
1119
1566
  create_date: "2022-07-05T15:17:05Z",
1120
1567
  )
1121
1568
  expect(instance.to_hash).to be_a_kind_of(Hash)
@@ -1124,68 +1571,140 @@ describe Freeclimb::SMSTenDLCBrand do
1124
1571
  obj = Object.new()
1125
1572
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
1126
1573
  account_id: "TS",
1127
- entity_type:"PRIVATE_PROFIT",
1574
+
1575
+
1576
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1577
+
1128
1578
  csp_id: "TS",
1579
+
1129
1580
  brand_id: "TS",
1581
+
1130
1582
  first_name: "TS",
1583
+
1131
1584
  last_name: "TS",
1585
+
1132
1586
  display_name: "TS",
1587
+
1133
1588
  company_name: "TS",
1589
+
1134
1590
  ein: "TS",
1591
+
1135
1592
  ein_issuing_country: "TS",
1593
+
1136
1594
  phone: "TS",
1595
+
1137
1596
  street: "TS",
1597
+
1138
1598
  city: "TS",
1599
+
1139
1600
  state: "TS",
1601
+
1140
1602
  postal_code: "TS",
1603
+
1141
1604
  country: "TS",
1605
+
1142
1606
  email: "TS",
1607
+
1143
1608
  stock_symbol: "TS",
1144
- stock_exchange:"NONE",
1609
+
1610
+
1611
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1612
+
1145
1613
  ip_address: "TS",
1614
+
1146
1615
  website: "TS",
1147
- brand_relationship:"BASIC_ACCOUNT",
1616
+
1617
+
1618
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1619
+
1148
1620
  vertical: "TS",
1621
+
1149
1622
  alt_business_id: "TS",
1150
- alt_business_id_type:"NONE",
1623
+
1624
+
1625
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1626
+
1151
1627
  universal_ein: "TS",
1628
+
1152
1629
  reference_id: "TS",
1630
+
1153
1631
  optional_attributes: Hash.new(),
1632
+
1154
1633
  mock: true,
1155
- identity_status:"SELF_DECLARED",
1634
+
1635
+
1636
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1637
+
1638
+
1156
1639
  create_date: "2022-07-05T15:17:05Z",
1157
1640
  )
1158
1641
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
1159
1642
  account_id: "TS",
1160
- entity_type:"PRIVATE_PROFIT",
1643
+
1644
+
1645
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1646
+
1161
1647
  csp_id: "TS",
1648
+
1162
1649
  brand_id: "TS",
1650
+
1163
1651
  first_name: "TS",
1652
+
1164
1653
  last_name: "TS",
1654
+
1165
1655
  display_name: "TS",
1656
+
1166
1657
  company_name: "TS",
1658
+
1167
1659
  ein: "TS",
1660
+
1168
1661
  ein_issuing_country: "TS",
1662
+
1169
1663
  phone: "TS",
1664
+
1170
1665
  street: "TS",
1666
+
1171
1667
  city: "TS",
1668
+
1172
1669
  state: "TS",
1670
+
1173
1671
  postal_code: "TS",
1672
+
1174
1673
  country: "TS",
1674
+
1175
1675
  email: "TS",
1676
+
1176
1677
  stock_symbol: "TS",
1177
- stock_exchange:"NONE",
1678
+
1679
+
1680
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1681
+
1178
1682
  ip_address: "TS",
1683
+
1179
1684
  website: "TS",
1180
- brand_relationship:"BASIC_ACCOUNT",
1685
+
1686
+
1687
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1688
+
1181
1689
  vertical: "TS",
1690
+
1182
1691
  alt_business_id: "TS",
1183
- alt_business_id_type:"NONE",
1692
+
1693
+
1694
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1695
+
1184
1696
  universal_ein: "TS",
1697
+
1185
1698
  reference_id: "TS",
1699
+
1186
1700
  optional_attributes: Hash.new(),
1701
+
1187
1702
  mock: true,
1188
- identity_status:"SELF_DECLARED",
1703
+
1704
+
1705
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1706
+
1707
+
1189
1708
  create_date: "2022-07-05T15:17:05Z",
1190
1709
  )
1191
1710
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
@@ -1195,65 +1714,101 @@ describe Freeclimb::SMSTenDLCBrand do
1195
1714
  describe 'test method "_to_hash"' do
1196
1715
  instance = Freeclimb::SMSTenDLCBrand.new(
1197
1716
  account_id: "TS",
1717
+
1198
1718
 
1199
- entity_type:"PRIVATE_PROFIT",
1719
+
1720
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1721
+
1200
1722
 
1201
1723
  csp_id: "TS",
1724
+
1202
1725
 
1203
1726
  brand_id: "TS",
1727
+
1204
1728
 
1205
1729
  first_name: "TS",
1730
+
1206
1731
 
1207
1732
  last_name: "TS",
1733
+
1208
1734
 
1209
1735
  display_name: "TS",
1736
+
1210
1737
 
1211
1738
  company_name: "TS",
1739
+
1212
1740
 
1213
1741
  ein: "TS",
1742
+
1214
1743
 
1215
1744
  ein_issuing_country: "TS",
1745
+
1216
1746
 
1217
1747
  phone: "TS",
1748
+
1218
1749
 
1219
1750
  street: "TS",
1751
+
1220
1752
 
1221
1753
  city: "TS",
1754
+
1222
1755
 
1223
1756
  state: "TS",
1757
+
1224
1758
 
1225
1759
  postal_code: "TS",
1760
+
1226
1761
 
1227
1762
  country: "TS",
1763
+
1228
1764
 
1229
1765
  email: "TS",
1766
+
1230
1767
 
1231
1768
  stock_symbol: "TS",
1769
+
1232
1770
 
1233
- stock_exchange:"NONE",
1771
+
1772
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1773
+
1234
1774
 
1235
1775
  ip_address: "TS",
1776
+
1236
1777
 
1237
1778
  website: "TS",
1779
+
1238
1780
 
1239
- brand_relationship:"BASIC_ACCOUNT",
1781
+
1782
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1783
+
1240
1784
 
1241
1785
  vertical: "TS",
1786
+
1242
1787
 
1243
1788
  alt_business_id: "TS",
1789
+
1244
1790
 
1245
- alt_business_id_type:"NONE",
1791
+
1792
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1793
+
1246
1794
 
1247
1795
  universal_ein: "TS",
1796
+
1248
1797
 
1249
1798
  reference_id: "TS",
1799
+
1250
1800
 
1251
1801
  optional_attributes: Hash.new(),
1802
+
1252
1803
 
1253
1804
  mock: true,
1805
+
1254
1806
 
1255
- identity_status:"SELF_DECLARED",
1807
+
1808
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1809
+
1256
1810
 
1811
+
1257
1812
  create_date: "2022-07-05T15:17:05Z",
1258
1813
  )
1259
1814
  it 'returns account_id in the form of hash' do