station 0.0.0 → 0.0.100

Sign up to get free protection for your applications and to get access to all the features.
Files changed (620) hide show
  1. checksums.yaml +7 -0
  2. data/.buildpacks +1 -0
  3. data/.editorconfig +23 -0
  4. data/.env.example +33 -0
  5. data/.gitignore +37 -22
  6. data/CODE_OF_CONDUCT.md +46 -0
  7. data/CONTRIBUTING.md +46 -0
  8. data/Dockerfile +69 -0
  9. data/Gemfile +2 -0
  10. data/Gemfile.lock +14 -0
  11. data/LICENSE.md +400 -20
  12. data/LICENSE.txt +9 -0
  13. data/Procfile +1 -0
  14. data/README.md +54 -20
  15. data/app.json +24 -0
  16. data/babel.config.js +74 -0
  17. data/bin/nexmo-developer +120 -0
  18. data/docs/Getting-Started.md +39 -0
  19. data/docs/How-To-Use.md +272 -0
  20. data/docs/_config.yml +5 -0
  21. data/docs/index.md +46 -0
  22. data/lib/nexmo_developer/.disallowed_words +2 -0
  23. data/lib/nexmo_developer/.dockerignore +1 -0
  24. data/lib/nexmo_developer/.eslintrc.js +6 -0
  25. data/lib/nexmo_developer/.nvmrc +1 -0
  26. data/lib/nexmo_developer/.postcssrc.yml +4 -0
  27. data/lib/nexmo_developer/.pre-commit-config.yaml +8 -0
  28. data/lib/nexmo_developer/.rspec +3 -0
  29. data/lib/nexmo_developer/.rubocop.yml +276 -0
  30. data/lib/nexmo_developer/.ruby-version +1 -0
  31. data/lib/nexmo_developer/Dockerfile +28 -0
  32. data/lib/nexmo_developer/Gemfile +192 -0
  33. data/lib/nexmo_developer/Gemfile.lock +630 -0
  34. data/lib/nexmo_developer/Guardfile +109 -0
  35. data/lib/nexmo_developer/Procfile +2 -0
  36. data/lib/nexmo_developer/Rakefile +6 -0
  37. data/lib/nexmo_developer/Runbook.md +69 -0
  38. data/lib/nexmo_developer/app/admin/active_admin_feedback_author.rb +23 -0
  39. data/lib/nexmo_developer/app/admin/active_admin_redirect.rb +22 -0
  40. data/lib/nexmo_developer/app/admin/active_admin_session.rb +34 -0
  41. data/lib/nexmo_developer/app/admin/admin_building_block_event.rb +31 -0
  42. data/lib/nexmo_developer/app/admin/admin_event.rb +40 -0
  43. data/lib/nexmo_developer/app/admin/admin_feedback_feedback.rb +54 -0
  44. data/lib/nexmo_developer/app/admin/admin_feedback_resource.rb +42 -0
  45. data/lib/nexmo_developer/app/admin/admin_user.rb +37 -0
  46. data/lib/nexmo_developer/app/assets/config/manifest.js +5 -0
  47. data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff +0 -0
  48. data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff2 +0 -0
  49. data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff +0 -0
  50. data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff2 +0 -0
  51. data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff +0 -0
  52. data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff2 +0 -0
  53. data/lib/nexmo_developer/app/assets/fonts/icomoon.eot +0 -0
  54. data/lib/nexmo_developer/app/assets/fonts/icomoon.json +1257 -0
  55. data/lib/nexmo_developer/app/assets/fonts/icomoon.svg +55 -0
  56. data/lib/nexmo_developer/app/assets/fonts/icomoon.ttf +0 -0
  57. data/lib/nexmo_developer/app/assets/fonts/icomoon.woff +0 -0
  58. data/lib/nexmo_developer/app/assets/fonts/nexmo-developer.json +36483 -0
  59. data/lib/nexmo_developer/app/assets/images/.keep +0 -0
  60. data/lib/nexmo_developer/app/assets/images/logo@3x.png +0 -0
  61. data/lib/nexmo_developer/app/assets/images/logo_vonage.png +0 -0
  62. data/lib/nexmo_developer/app/assets/images/nexmo-developer-logo.svg +25 -0
  63. data/lib/nexmo_developer/app/assets/images/nexmo-logo-collapsed.svg +10 -0
  64. data/lib/nexmo_developer/app/assets/images/nexmo-vonage-white.svg +79 -0
  65. data/lib/nexmo_developer/app/assets/images/posters/chatapp.jpg +0 -0
  66. data/lib/nexmo_developer/app/assets/images/posters/chatapp_small.png +0 -0
  67. data/lib/nexmo_developer/app/assets/images/posters/nexmo.jpg +0 -0
  68. data/lib/nexmo_developer/app/assets/images/posters/numberinsight.jpg +0 -0
  69. data/lib/nexmo_developer/app/assets/images/posters/numberinsight_small.png +0 -0
  70. data/lib/nexmo_developer/app/assets/images/posters/sms.jpg +0 -0
  71. data/lib/nexmo_developer/app/assets/images/posters/sms_small.png +0 -0
  72. data/lib/nexmo_developer/app/assets/images/posters/verify.jpg +0 -0
  73. data/lib/nexmo_developer/app/assets/images/posters/verify_small.png +0 -0
  74. data/lib/nexmo_developer/app/assets/images/posters/voice.jpg +0 -0
  75. data/lib/nexmo_developer/app/assets/images/posters/voice_small.png +0 -0
  76. data/lib/nexmo_developer/app/assets/images/select-dropdown.png +0 -0
  77. data/lib/nexmo_developer/app/assets/images/slack.svg +33 -0
  78. data/lib/nexmo_developer/app/assets/images/themes/ea/topography.png +0 -0
  79. data/lib/nexmo_developer/app/assets/javascripts/active_admin.js.coffee +1 -0
  80. data/lib/nexmo_developer/app/assets/javascripts/application.js +19 -0
  81. data/lib/nexmo_developer/app/assets/javascripts/stats.js +14 -0
  82. data/lib/nexmo_developer/app/assets/regex/matching_chars.rb +1 -0
  83. data/lib/nexmo_developer/app/assets/regex/sequence_diagram_regex.rb +1 -0
  84. data/lib/nexmo_developer/app/assets/regex/stats_regex.rb +1 -0
  85. data/lib/nexmo_developer/app/assets/regex/webfont_regex.rb +1 -0
  86. data/lib/nexmo_developer/app/assets/stylesheets/active_admin.scss +17 -0
  87. data/lib/nexmo_developer/app/assets/stylesheets/application.css +1 -0
  88. data/lib/nexmo_developer/app/channels/application_cable/channel.rb +4 -0
  89. data/lib/nexmo_developer/app/channels/application_cable/connection.rb +4 -0
  90. data/lib/nexmo_developer/app/constraints/documentation_constraint.rb +25 -0
  91. data/lib/nexmo_developer/app/constraints/landing_page_constraint.rb +18 -0
  92. data/lib/nexmo_developer/app/constraints/locale_constraint.rb +17 -0
  93. data/lib/nexmo_developer/app/constraints/open_api_constraint.rb +49 -0
  94. data/lib/nexmo_developer/app/controllers/admin_api/code_snippets_controller.rb +45 -0
  95. data/lib/nexmo_developer/app/controllers/admin_api/feedback_controller.rb +11 -0
  96. data/lib/nexmo_developer/app/controllers/admin_api_controller.rb +17 -0
  97. data/lib/nexmo_developer/app/controllers/api_controller.rb +33 -0
  98. data/lib/nexmo_developer/app/controllers/api_errors_controller.rb +82 -0
  99. data/lib/nexmo_developer/app/controllers/application_controller.rb +93 -0
  100. data/lib/nexmo_developer/app/controllers/careers_controller.rb +9 -0
  101. data/lib/nexmo_developer/app/controllers/concerns/.keep +0 -0
  102. data/lib/nexmo_developer/app/controllers/dashboard_controller.rb +216 -0
  103. data/lib/nexmo_developer/app/controllers/extend_controller.rb +45 -0
  104. data/lib/nexmo_developer/app/controllers/feedback/feedbacks_controller.rb +85 -0
  105. data/lib/nexmo_developer/app/controllers/feeds_controller.rb +20 -0
  106. data/lib/nexmo_developer/app/controllers/jobs_controller.rb +64 -0
  107. data/lib/nexmo_developer/app/controllers/markdown_controller.rb +160 -0
  108. data/lib/nexmo_developer/app/controllers/search_controller.rb +35 -0
  109. data/lib/nexmo_developer/app/controllers/sessions_controller.rb +12 -0
  110. data/lib/nexmo_developer/app/controllers/slack_controller.rb +61 -0
  111. data/lib/nexmo_developer/app/controllers/static_controller.rb +195 -0
  112. data/lib/nexmo_developer/app/controllers/tutorial_controller.rb +113 -0
  113. data/lib/nexmo_developer/app/controllers/usage/ab_result_controller.rb +10 -0
  114. data/lib/nexmo_developer/app/controllers/usage/code_snippet_controller.rb +19 -0
  115. data/lib/nexmo_developer/app/controllers/use_case_controller.rb +65 -0
  116. data/lib/nexmo_developer/app/extensions/nokogiri/html/document.rb +23 -0
  117. data/lib/nexmo_developer/app/helpers/application_helper.rb +66 -0
  118. data/lib/nexmo_developer/app/helpers/date_range_helper.rb +9 -0
  119. data/lib/nexmo_developer/app/helpers/navigation_helper.rb +56 -0
  120. data/lib/nexmo_developer/app/helpers/parameter_values_helper.rb +5 -0
  121. data/lib/nexmo_developer/app/helpers/video_helper.rb +20 -0
  122. data/lib/nexmo_developer/app/jobs/application_job.rb +2 -0
  123. data/lib/nexmo_developer/app/mailers/application_mailer.rb +4 -0
  124. data/lib/nexmo_developer/app/middleware/nexmo_developer/building_block_redirect.rb +18 -0
  125. data/lib/nexmo_developer/app/middleware/nexmo_developer/visitor_id.rb +13 -0
  126. data/lib/nexmo_developer/app/models/api_error.rb +31 -0
  127. data/lib/nexmo_developer/app/models/application_record.rb +3 -0
  128. data/lib/nexmo_developer/app/models/concerns/.keep +0 -0
  129. data/lib/nexmo_developer/app/models/concerns/publishable.rb +13 -0
  130. data/lib/nexmo_developer/app/models/event.rb +38 -0
  131. data/lib/nexmo_developer/app/models/feedback.rb +5 -0
  132. data/lib/nexmo_developer/app/models/feedback/author.rb +5 -0
  133. data/lib/nexmo_developer/app/models/feedback/config.rb +16 -0
  134. data/lib/nexmo_developer/app/models/feedback/feedback.rb +34 -0
  135. data/lib/nexmo_developer/app/models/feedback/resource.rb +45 -0
  136. data/lib/nexmo_developer/app/models/product.rb +22 -0
  137. data/lib/nexmo_developer/app/models/redirect.rb +2 -0
  138. data/lib/nexmo_developer/app/models/session.rb +9 -0
  139. data/lib/nexmo_developer/app/models/tutorial.rb +189 -0
  140. data/lib/nexmo_developer/app/models/tutorial/file_loader.rb +28 -0
  141. data/lib/nexmo_developer/app/models/tutorial/metadata.rb +54 -0
  142. data/lib/nexmo_developer/app/models/tutorial/prerequisite.rb +31 -0
  143. data/lib/nexmo_developer/app/models/tutorial/task.rb +45 -0
  144. data/lib/nexmo_developer/app/models/usage.rb +5 -0
  145. data/lib/nexmo_developer/app/models/usage/code_snippet_event.rb +7 -0
  146. data/lib/nexmo_developer/app/models/user.rb +14 -0
  147. data/lib/nexmo_developer/app/presenters/card.rb +20 -0
  148. data/lib/nexmo_developer/app/presenters/career.rb +40 -0
  149. data/lib/nexmo_developer/app/presenters/feedback_presenter.rb +31 -0
  150. data/lib/nexmo_developer/app/presenters/footer.rb +88 -0
  151. data/lib/nexmo_developer/app/presenters/head.rb +96 -0
  152. data/lib/nexmo_developer/app/presenters/header.rb +56 -0
  153. data/lib/nexmo_developer/app/presenters/improve_page_presenter.rb +19 -0
  154. data/lib/nexmo_developer/app/presenters/languages_dropdown_presenter.rb +19 -0
  155. data/lib/nexmo_developer/app/presenters/locale_switcher_presenter.rb +36 -0
  156. data/lib/nexmo_developer/app/presenters/navigation.rb +44 -0
  157. data/lib/nexmo_developer/app/presenters/page_title.rb +38 -0
  158. data/lib/nexmo_developer/app/presenters/product_dropdown_presenter.rb +39 -0
  159. data/lib/nexmo_developer/app/presenters/sidenav.rb +64 -0
  160. data/lib/nexmo_developer/app/presenters/sidenav_item.rb +58 -0
  161. data/lib/nexmo_developer/app/presenters/sidenav_resolver.rb +136 -0
  162. data/lib/nexmo_developer/app/presenters/sidenav_subitem.rb +71 -0
  163. data/lib/nexmo_developer/app/presenters/title_normalizer.rb +25 -0
  164. data/lib/nexmo_developer/app/presenters/topnav.rb +23 -0
  165. data/lib/nexmo_developer/app/presenters/topnav_item.rb +19 -0
  166. data/lib/nexmo_developer/app/presenters/tutorial_list_item.rb +99 -0
  167. data/lib/nexmo_developer/app/screenshots/webhook-url-for-delivery-receipt.js +44 -0
  168. data/lib/nexmo_developer/app/screenshots/webhook-url-for-inbound-message.js +44 -0
  169. data/lib/nexmo_developer/app/services/diff.rb +146 -0
  170. data/lib/nexmo_developer/app/services/email_validator.rb +6 -0
  171. data/lib/nexmo_developer/app/services/feedback_slack_notifier.rb +141 -0
  172. data/lib/nexmo_developer/app/services/greenhouse.rb +45 -0
  173. data/lib/nexmo_developer/app/services/load_config.rb +14 -0
  174. data/lib/nexmo_developer/app/services/locale_redirector.rb +29 -0
  175. data/lib/nexmo_developer/app/services/not_found_notifier.rb +34 -0
  176. data/lib/nexmo_developer/app/services/open_api_definition_resolver.rb +25 -0
  177. data/lib/nexmo_developer/app/services/redirector.rb +33 -0
  178. data/lib/nexmo_developer/app/services/search/article.rb +39 -0
  179. data/lib/nexmo_developer/app/services/search/document.rb +37 -0
  180. data/lib/nexmo_developer/app/services/search_terms.rb +27 -0
  181. data/lib/nexmo_developer/app/services/smartling_api.rb +72 -0
  182. data/lib/nexmo_developer/app/services/translator/file_translator.rb +61 -0
  183. data/lib/nexmo_developer/app/services/translator/smartling/api/base.rb +54 -0
  184. data/lib/nexmo_developer/app/services/translator/smartling/api/create_batch.rb +48 -0
  185. data/lib/nexmo_developer/app/services/translator/smartling/api/create_job.rb +44 -0
  186. data/lib/nexmo_developer/app/services/translator/smartling/api/download_file.rb +44 -0
  187. data/lib/nexmo_developer/app/services/translator/smartling/api/file_status.rb +43 -0
  188. data/lib/nexmo_developer/app/services/translator/smartling/api/file_uris.rb +46 -0
  189. data/lib/nexmo_developer/app/services/translator/smartling/api/upload_file.rb +67 -0
  190. data/lib/nexmo_developer/app/services/translator/smartling/api_requests_generator.rb +64 -0
  191. data/lib/nexmo_developer/app/services/translator/smartling/token_generator.rb +16 -0
  192. data/lib/nexmo_developer/app/services/translator/smartling_coordinator.rb +56 -0
  193. data/lib/nexmo_developer/app/services/translator/smartling_downloader.rb +57 -0
  194. data/lib/nexmo_developer/app/services/translator/translation_request.rb +11 -0
  195. data/lib/nexmo_developer/app/services/translator/translator_coordinator.rb +33 -0
  196. data/lib/nexmo_developer/app/services/translator/utils.rb +42 -0
  197. data/lib/nexmo_developer/app/services/tutorial_list.rb +39 -0
  198. data/lib/nexmo_developer/app/views/admin/feedbacks/_steps.html.erb +44 -0
  199. data/lib/nexmo_developer/app/views/admin_api/code_snippets/index.json.erb +1 -0
  200. data/lib/nexmo_developer/app/views/admin_api/feedback/index.json.jbuilder +3 -0
  201. data/lib/nexmo_developer/app/views/api/show.html.erb +1 -0
  202. data/lib/nexmo_developer/app/views/api_errors/_error_example.html.erb +9 -0
  203. data/lib/nexmo_developer/app/views/api_errors/_error_table.html.erb +30 -0
  204. data/lib/nexmo_developer/app/views/api_errors/index.html.erb +45 -0
  205. data/lib/nexmo_developer/app/views/api_errors/show.html.erb +27 -0
  206. data/lib/nexmo_developer/app/views/careers/index.html.erb +76 -0
  207. data/lib/nexmo_developer/app/views/code_languages/_icon.html.erb +11 -0
  208. data/lib/nexmo_developer/app/views/contribute/administration/page-links.md +179 -0
  209. data/lib/nexmo_developer/app/views/contribute/code-snippets/how-to-update-code-snippets.md +89 -0
  210. data/lib/nexmo_developer/app/views/contribute/code-snippets/sample-code-snippet.md +42 -0
  211. data/lib/nexmo_developer/app/views/contribute/guides/code-examples.md +190 -0
  212. data/lib/nexmo_developer/app/views/contribute/guides/introduction.md +32 -0
  213. data/lib/nexmo_developer/app/views/contribute/guides/landing-pages.md +556 -0
  214. data/lib/nexmo_developer/app/views/contribute/guides/markdown-guide.md +420 -0
  215. data/lib/nexmo_developer/app/views/contribute/guides/platform.md +220 -0
  216. data/lib/nexmo_developer/app/views/contribute/guides/tutorials-and-use-cases.md +64 -0
  217. data/lib/nexmo_developer/app/views/contribute/guides/writing-style-guide.md +278 -0
  218. data/lib/nexmo_developer/app/views/contribute/overview.md +39 -0
  219. data/lib/nexmo_developer/app/views/contribute/structure/content-types/code-snippets.md +140 -0
  220. data/lib/nexmo_developer/app/views/contribute/structure/content-types/guides.md +14 -0
  221. data/lib/nexmo_developer/app/views/contribute/structure/content-types/overviews.md +34 -0
  222. data/lib/nexmo_developer/app/views/contribute/structure/content-types/tutorials.md +59 -0
  223. data/lib/nexmo_developer/app/views/contribute/structure/content-types/use-cases.md +18 -0
  224. data/lib/nexmo_developer/app/views/contribute/structure/overview.md +55 -0
  225. data/lib/nexmo_developer/app/views/contribute/tutorials-and-use-cases/tutorials.md +197 -0
  226. data/lib/nexmo_developer/app/views/contribute/tutorials-and-use-cases/use-cases.md +22 -0
  227. data/lib/nexmo_developer/app/views/dashboard/_performance_table.html.erb +18 -0
  228. data/lib/nexmo_developer/app/views/dashboard/coverage.html.erb +169 -0
  229. data/lib/nexmo_developer/app/views/dashboard/stats.html.erb +134 -0
  230. data/lib/nexmo_developer/app/views/dashboard/stats_summary.html.erb +62 -0
  231. data/lib/nexmo_developer/app/views/extend/index.html.erb +33 -0
  232. data/lib/nexmo_developer/app/views/extend/show.html.erb +31 -0
  233. data/lib/nexmo_developer/app/views/layouts/api.html.erb +24 -0
  234. data/lib/nexmo_developer/app/views/layouts/application.html.erb +15 -0
  235. data/lib/nexmo_developer/app/views/layouts/documentation-index.html.erb +16 -0
  236. data/lib/nexmo_developer/app/views/layouts/documentation.html.erb +26 -0
  237. data/lib/nexmo_developer/app/views/layouts/landing.html.erb +17 -0
  238. data/lib/nexmo_developer/app/views/layouts/mailer.html.erb +13 -0
  239. data/lib/nexmo_developer/app/views/layouts/mailer.text.erb +1 -0
  240. data/lib/nexmo_developer/app/views/layouts/open-api.html.erb +10 -0
  241. data/lib/nexmo_developer/app/views/layouts/page-full.html.erb +9 -0
  242. data/lib/nexmo_developer/app/views/layouts/page.html.erb +15 -0
  243. data/lib/nexmo_developer/app/views/layouts/partials/_feedback.html.erb +14 -0
  244. data/lib/nexmo_developer/app/views/layouts/partials/_footer.html.erb +50 -0
  245. data/lib/nexmo_developer/app/views/layouts/partials/_head.html.erb +139 -0
  246. data/lib/nexmo_developer/app/views/layouts/partials/_header.html.erb +57 -0
  247. data/lib/nexmo_developer/app/views/layouts/partials/_improve_this_page.html.erb +16 -0
  248. data/lib/nexmo_developer/app/views/layouts/partials/_locale_switcher.html.erb +28 -0
  249. data/lib/nexmo_developer/app/views/layouts/partials/_notices.html.erb +29 -0
  250. data/lib/nexmo_developer/app/views/layouts/partials/_post-body-tags.html.erb +4 -0
  251. data/lib/nexmo_developer/app/views/layouts/partials/_product_dropdown.html.erb +30 -0
  252. data/lib/nexmo_developer/app/views/layouts/partials/_programming_languages_dropdown.html.erb +29 -0
  253. data/lib/nexmo_developer/app/views/layouts/partials/_sidenav.html.erb +3 -0
  254. data/lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb +18 -0
  255. data/lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb +34 -0
  256. data/lib/nexmo_developer/app/views/layouts/partials/api/_voice.html.erb +84 -0
  257. data/lib/nexmo_developer/app/views/layouts/static.html.erb +33 -0
  258. data/lib/nexmo_developer/app/views/markdown/show.html.erb +1 -0
  259. data/lib/nexmo_developer/app/views/markdown/wip.html.erb +5 -0
  260. data/lib/nexmo_developer/app/views/product-lifecycle/beta.md +28 -0
  261. data/lib/nexmo_developer/app/views/product-lifecycle/dev-preview.md +22 -0
  262. data/lib/nexmo_developer/app/views/search/_result.html.erb +31 -0
  263. data/lib/nexmo_developer/app/views/search/results.html.erb +26 -0
  264. data/lib/nexmo_developer/app/views/sessions/set_user_locale.js.erb +1 -0
  265. data/lib/nexmo_developer/app/views/slack/join.html.erb +25 -0
  266. data/lib/nexmo_developer/app/views/static/404.html.erb +26 -0
  267. data/lib/nexmo_developer/app/views/static/_career.html.erb +15 -0
  268. data/lib/nexmo_developer/app/views/static/_community.html.erb +24 -0
  269. data/lib/nexmo_developer/app/views/static/_dotnet.html.erb +26 -0
  270. data/lib/nexmo_developer/app/views/static/_event.html.erb +7 -0
  271. data/lib/nexmo_developer/app/views/static/_products.html.erb +450 -0
  272. data/lib/nexmo_developer/app/views/static/_profile.html.erb +9 -0
  273. data/lib/nexmo_developer/app/views/static/_slack.html.erb +2 -0
  274. data/lib/nexmo_developer/app/views/static/_xwithy.html.erb +33 -0
  275. data/lib/nexmo_developer/app/views/static/default_landing.html.erb +22 -0
  276. data/lib/nexmo_developer/app/views/static/default_landing/partials/_action_button.html.erb +13 -0
  277. data/lib/nexmo_developer/app/views/static/default_landing/partials/_api_list.html.erb +30 -0
  278. data/lib/nexmo_developer/app/views/static/default_landing/partials/_call_to_action.html.erb +35 -0
  279. data/lib/nexmo_developer/app/views/static/default_landing/partials/_career.html.erb +3 -0
  280. data/lib/nexmo_developer/app/views/static/default_landing/partials/_client_sdk_card.html.erb +17 -0
  281. data/lib/nexmo_developer/app/views/static/default_landing/partials/_contact_community.html.erb +15 -0
  282. data/lib/nexmo_developer/app/views/static/default_landing/partials/_contact_support.html.erb +14 -0
  283. data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results.js.erb +2 -0
  284. data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results_content.html.erb +9 -0
  285. data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results_map_content.html.erb +10 -0
  286. data/lib/nexmo_developer/app/views/static/default_landing/partials/_events.html.erb +80 -0
  287. data/lib/nexmo_developer/app/views/static/default_landing/partials/_featured_session.html.erb +18 -0
  288. data/lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb +31 -0
  289. data/lib/nexmo_developer/app/views/static/default_landing/partials/_header.html.erb +24 -0
  290. data/lib/nexmo_developer/app/views/static/default_landing/partials/_headshot.html.erb +43 -0
  291. data/lib/nexmo_developer/app/views/static/default_landing/partials/_html.html.erb +3 -0
  292. data/lib/nexmo_developer/app/views/static/default_landing/partials/_join_slack.html.erb +3 -0
  293. data/lib/nexmo_developer/app/views/static/default_landing/partials/_line_divider.html.erb +5 -0
  294. data/lib/nexmo_developer/app/views/static/default_landing/partials/_linked_image.html.erb +10 -0
  295. data/lib/nexmo_developer/app/views/static/default_landing/partials/_migrate_details.html.erb +57 -0
  296. data/lib/nexmo_developer/app/views/static/default_landing/partials/_products.html.erb +1 -0
  297. data/lib/nexmo_developer/app/views/static/default_landing/partials/_section_header.html.erb +10 -0
  298. data/lib/nexmo_developer/app/views/static/default_landing/partials/_sessions.html.erb +30 -0
  299. data/lib/nexmo_developer/app/views/static/default_landing/partials/_structured_text.html.erb +24 -0
  300. data/lib/nexmo_developer/app/views/static/default_landing/partials/_submit_your_idea_form.html.erb +58 -0
  301. data/lib/nexmo_developer/app/views/static/default_landing/partials/_table.html.erb +25 -0
  302. data/lib/nexmo_developer/app/views/static/default_landing/partials/_team_members.html.erb +5 -0
  303. data/lib/nexmo_developer/app/views/static/default_landing/partials/_text.html.erb +5 -0
  304. data/lib/nexmo_developer/app/views/static/default_landing/partials/_tutorial.html.erb +30 -0
  305. data/lib/nexmo_developer/app/views/static/default_landing/partials/_unordered_list.html.erb +11 -0
  306. data/lib/nexmo_developer/app/views/static/default_landing/partials/_warning_callout.html.erb +8 -0
  307. data/lib/nexmo_developer/app/views/static/default_landing/partials/_write_for_nexmo.html.erb +12 -0
  308. data/lib/nexmo_developer/app/views/static/documentation.html.erb +1 -0
  309. data/lib/nexmo_developer/app/views/static/landing.html.erb +47 -0
  310. data/lib/nexmo_developer/app/views/static/past_events.html.erb +19 -0
  311. data/lib/nexmo_developer/app/views/static/podcast.html.erb +40 -0
  312. data/lib/nexmo_developer/app/views/static/robots.txt.erb +4 -0
  313. data/lib/nexmo_developer/app/views/tools/concatenation.html +1 -0
  314. data/lib/nexmo_developer/app/views/tutorial/_prerequisites.html.erb +23 -0
  315. data/lib/nexmo_developer/app/views/tutorial/index.html.erb +81 -0
  316. data/lib/nexmo_developer/app/views/tutorial/list.html.erb +63 -0
  317. data/lib/nexmo_developer/app/views/tutorial/single.html.erb +1 -0
  318. data/lib/nexmo_developer/app/views/use_case/_index.html.erb +53 -0
  319. data/lib/nexmo_developer/app/views/use_case/index.html.erb +12 -0
  320. data/lib/nexmo_developer/app/views/use_case/list/plain.html.erb +5 -0
  321. data/lib/nexmo_developer/app/views/use_case/show.html.erb +8 -0
  322. data/lib/nexmo_developer/app/webpacker/javascript/api_status/index.js +20 -0
  323. data/lib/nexmo_developer/app/webpacker/javascript/careers/index.js +134 -0
  324. data/lib/nexmo_developer/app/webpacker/javascript/code_snippet_events/index.js +89 -0
  325. data/lib/nexmo_developer/app/webpacker/javascript/components/concatenation/Concatenation.vue +96 -0
  326. data/lib/nexmo_developer/app/webpacker/javascript/components/concatenation/character_counter.js +112 -0
  327. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/Feedback.vue +156 -0
  328. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/FeedbackPath.vue +56 -0
  329. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/eventHub.js +3 -0
  330. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/FieldSet.vue +78 -0
  331. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/Plain.vue +26 -0
  332. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/RadioGroup.vue +65 -0
  333. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/TextArea.vue +86 -0
  334. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/base.vue +53 -0
  335. data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/store.js +50 -0
  336. data/lib/nexmo_developer/app/webpacker/javascript/components/jwt_generator/JwtGenerator.vue +220 -0
  337. data/lib/nexmo_developer/app/webpacker/javascript/components/search/NDPArticle.vue +38 -0
  338. data/lib/nexmo_developer/app/webpacker/javascript/components/search/Search.vue +182 -0
  339. data/lib/nexmo_developer/app/webpacker/javascript/components/search/ZendeskArticle.vue +30 -0
  340. data/lib/nexmo_developer/app/webpacker/javascript/format/index.js +36 -0
  341. data/lib/nexmo_developer/app/webpacker/javascript/github_cards/index.js +16 -0
  342. data/lib/nexmo_developer/app/webpacker/javascript/locale_switcher/index.js +40 -0
  343. data/lib/nexmo_developer/app/webpacker/javascript/notices/index.js +52 -0
  344. data/lib/nexmo_developer/app/webpacker/javascript/scroll/index.js +25 -0
  345. data/lib/nexmo_developer/app/webpacker/javascript/sidenav/index.js +251 -0
  346. data/lib/nexmo_developer/app/webpacker/javascript/spotlight/index.js +12 -0
  347. data/lib/nexmo_developer/app/webpacker/javascript/volta/tooltip.min.js +5 -0
  348. data/lib/nexmo_developer/app/webpacker/javascript/volta/volta.js +2145 -0
  349. data/lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/index.js +106 -0
  350. data/lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/user_preference.js +78 -0
  351. data/lib/nexmo_developer/app/webpacker/packs/application.js +136 -0
  352. data/lib/nexmo_developer/app/webpacker/src/application.css +0 -0
  353. data/lib/nexmo_developer/app/webpacker/stylesheets/application.scss +62 -0
  354. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_core.scss +196 -0
  355. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_mixins.scss +51 -0
  356. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_syntax.scss +63 -0
  357. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_typography.scss +248 -0
  358. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_variables.scss +23 -0
  359. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_api.scss +167 -0
  360. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_careers.scss +29 -0
  361. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_community.scss +70 -0
  362. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_feedback.scss +16 -0
  363. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_footer.scss +113 -0
  364. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_header.scss +207 -0
  365. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_hero.scss +16 -0
  366. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_print.scss +14 -0
  367. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_search.scss +115 -0
  368. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_team.scss +36 -0
  369. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_building-block.scss +32 -0
  370. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_card.scss +150 -0
  371. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_collapsible.scss +18 -0
  372. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_content-block.scss +24 -0
  373. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_extend.scss +49 -0
  374. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_focus.scss +5 -0
  375. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_icons.scss +334 -0
  376. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_js-sequence-diagram.scss +9 -0
  377. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_navigation.scss +113 -0
  378. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_notices.scss +49 -0
  379. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_tabs.scss +35 -0
  380. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_use_cases.scss +29 -0
  381. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_video.scss +14 -0
  382. data/lib/nexmo_developer/app/webpacker/stylesheets/themes/_ea.scss +32 -0
  383. data/lib/nexmo_developer/bin/initiate +23 -0
  384. data/lib/nexmo_developer/bin/rails +4 -0
  385. data/lib/nexmo_developer/bin/setup +36 -0
  386. data/lib/nexmo_developer/bin/update +31 -0
  387. data/lib/nexmo_developer/bin/webpack +19 -0
  388. data/lib/nexmo_developer/bin/webpack-dev-server +19 -0
  389. data/lib/nexmo_developer/bin/yarn +11 -0
  390. data/lib/nexmo_developer/config.ru +5 -0
  391. data/lib/nexmo_developer/config/application.rb +44 -0
  392. data/lib/nexmo_developer/config/boot.rb +4 -0
  393. data/lib/nexmo_developer/config/cable.yml +10 -0
  394. data/lib/nexmo_developer/config/credentials.yml.enc +1 -0
  395. data/lib/nexmo_developer/config/database.yml +91 -0
  396. data/lib/nexmo_developer/config/dynamic_content.yml +1 -0
  397. data/lib/nexmo_developer/config/environment.rb +7 -0
  398. data/lib/nexmo_developer/config/environments/development.rb +63 -0
  399. data/lib/nexmo_developer/config/environments/production.rb +102 -0
  400. data/lib/nexmo_developer/config/environments/staging.rb +86 -0
  401. data/lib/nexmo_developer/config/environments/test.rb +48 -0
  402. data/lib/nexmo_developer/config/feedback.yml +104 -0
  403. data/lib/nexmo_developer/config/initializers/active_admin.rb +295 -0
  404. data/lib/nexmo_developer/config/initializers/algolia.rb +30 -0
  405. data/lib/nexmo_developer/config/initializers/application_controller_renderer.rb +8 -0
  406. data/lib/nexmo_developer/config/initializers/assets.rb +16 -0
  407. data/lib/nexmo_developer/config/initializers/backtrace_silencers.rb +7 -0
  408. data/lib/nexmo_developer/config/initializers/bugsnag.rb +8 -0
  409. data/lib/nexmo_developer/config/initializers/content_security_policy.rb +25 -0
  410. data/lib/nexmo_developer/config/initializers/cookies_serializer.rb +5 -0
  411. data/lib/nexmo_developer/config/initializers/devise.rb +279 -0
  412. data/lib/nexmo_developer/config/initializers/doc_finder.rb +10 -0
  413. data/lib/nexmo_developer/config/initializers/filter_parameter_logging.rb +4 -0
  414. data/lib/nexmo_developer/config/initializers/geocoder.rb +24 -0
  415. data/lib/nexmo_developer/config/initializers/gravatar_image_tag.rb +5 -0
  416. data/lib/nexmo_developer/config/initializers/greenhouse_io.rb +7 -0
  417. data/lib/nexmo_developer/config/initializers/inflections.rb +16 -0
  418. data/lib/nexmo_developer/config/initializers/locale.rb +6 -0
  419. data/lib/nexmo_developer/config/initializers/mime_types.rb +4 -0
  420. data/lib/nexmo_developer/config/initializers/recaptcha.rb +6 -0
  421. data/lib/nexmo_developer/config/initializers/session_store.rb +3 -0
  422. data/lib/nexmo_developer/config/initializers/slack_safety_check.rb +29 -0
  423. data/lib/nexmo_developer/config/initializers/split.rb +5 -0
  424. data/lib/nexmo_developer/config/initializers/wrap_parameters.rb +14 -0
  425. data/lib/nexmo_developer/config/initializers/zeitwerk.rb +7 -0
  426. data/lib/nexmo_developer/config/master.key +1 -0
  427. data/lib/nexmo_developer/config/newrelic.yml +35 -0
  428. data/lib/nexmo_developer/config/puma.rb +41 -0
  429. data/lib/nexmo_developer/config/redirects.yml +280 -0
  430. data/lib/nexmo_developer/config/repos.yml +27 -0
  431. data/lib/nexmo_developer/config/routes.rb +108 -0
  432. data/lib/nexmo_developer/config/secrets.yml +25 -0
  433. data/lib/nexmo_developer/config/spring.rb +6 -0
  434. data/lib/nexmo_developer/config/stitch-redirects.yml +145 -0
  435. data/lib/nexmo_developer/config/storage.yml +34 -0
  436. data/lib/nexmo_developer/config/tutorials/.gitkeep +0 -0
  437. data/lib/nexmo_developer/config/tutorials/en/app-to-app.yml +49 -0
  438. data/lib/nexmo_developer/config/tutorials/en/app-to-phone.yml +43 -0
  439. data/lib/nexmo_developer/config/tutorials/en/create-and-retrieve-a-report.yml +24 -0
  440. data/lib/nexmo_developer/config/tutorials/en/create-report-using-graphical-tools.yml +20 -0
  441. data/lib/nexmo_developer/config/tutorials/en/get-json-records-cli.yml +20 -0
  442. data/lib/nexmo_developer/config/tutorials/en/ifttt-to-sms.yml +10 -0
  443. data/lib/nexmo_developer/config/tutorials/en/in-app-messaging.yml +4 -0
  444. data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/javascript.yml +50 -0
  445. data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/kotlin.yml +52 -0
  446. data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/objective_c.yml +50 -0
  447. data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/swift.yml +50 -0
  448. data/lib/nexmo_developer/config/tutorials/en/number-insight-api-aspnet.yml +11 -0
  449. data/lib/nexmo_developer/config/tutorials/en/phone-to-app.yml +4 -0
  450. data/lib/nexmo_developer/config/tutorials/en/phone-to-app/javascript.yml +38 -0
  451. data/lib/nexmo_developer/config/tutorials/en/receive-sms-dotnet.yml +9 -0
  452. data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-java.yml +9 -0
  453. data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-php.yml +10 -0
  454. data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-ruby.yml +9 -0
  455. data/lib/nexmo_developer/config/tutorials/en/send-facebook-message-with-failover.yml +41 -0
  456. data/lib/nexmo_developer/config/tutorials/en/send-fbm-message.yml +42 -0
  457. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-dotnet.yml +9 -0
  458. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-flask.yml +9 -0
  459. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-java.yml +9 -0
  460. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-messages.yml +38 -0
  461. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-php.yml +9 -0
  462. data/lib/nexmo_developer/config/tutorials/en/send-sms-with-ruby.yml +9 -0
  463. data/lib/nexmo_developer/config/tutorials/en/send-viber-message.yml +40 -0
  464. data/lib/nexmo_developer/config/tutorials/en/send-whatsapp-message.yml +40 -0
  465. data/lib/nexmo_developer/config/tutorials/en/sms-browser-notifications.yml +10 -0
  466. data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-dotnet.yml +9 -0
  467. data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-php.yml +9 -0
  468. data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-ruby.yml +9 -0
  469. data/lib/nexmo_developer/config/tutorials/en/sms-fortune-cookies-with-ibm-cloud.yml +10 -0
  470. data/lib/nexmo_developer/config/tutorials/en/two-factor-authentication-dotnet-verify-api.yml +11 -0
  471. data/lib/nexmo_developer/config/webpack/custom.js +7 -0
  472. data/lib/nexmo_developer/config/webpack/development.js +3 -0
  473. data/lib/nexmo_developer/config/webpack/environment.js +22 -0
  474. data/lib/nexmo_developer/config/webpack/loaders/vue.js +6 -0
  475. data/lib/nexmo_developer/config/webpack/production.js +3 -0
  476. data/lib/nexmo_developer/config/webpack/staging.js +4 -0
  477. data/lib/nexmo_developer/config/webpack/test.js +3 -0
  478. data/lib/nexmo_developer/config/webpacker.yml +82 -0
  479. data/lib/nexmo_developer/db/migrate/20170215101603_create_events.rb +15 -0
  480. data/lib/nexmo_developer/db/migrate/20170413143802_enable_uuid_ossp_extension.rb +6 -0
  481. data/lib/nexmo_developer/db/migrate/20170413154102_change_event_id_to_uuid.rb +7 -0
  482. data/lib/nexmo_developer/db/migrate/20170413154510_create_sessions.rb +13 -0
  483. data/lib/nexmo_developer/db/migrate/20170831144035_create_feedback_feedbacks.rb +18 -0
  484. data/lib/nexmo_developer/db/migrate/20170831150024_create_feedback_resources.rb +10 -0
  485. data/lib/nexmo_developer/db/migrate/20170901093402_sorcery_core.rb +17 -0
  486. data/lib/nexmo_developer/db/migrate/20170907172926_create_feedback_authors.rb +10 -0
  487. data/lib/nexmo_developer/db/migrate/20170908112821_create_active_admin_comments.rb +19 -0
  488. data/lib/nexmo_developer/db/migrate/20170908153555_change_events_start_at_and_end_at_to_date_type.rb +6 -0
  489. data/lib/nexmo_developer/db/migrate/20170914145346_add_code_language_to_feedback.rb +6 -0
  490. data/lib/nexmo_developer/db/migrate/20170915081222_correct_uri_of_resources.rb +31 -0
  491. data/lib/nexmo_developer/db/migrate/20170919151243_add_langugage_set_filters_to_feedbacks.rb +9 -0
  492. data/lib/nexmo_developer/db/migrate/20170920153649_add_resolved_to_feedback_feedbacks.rb +6 -0
  493. data/lib/nexmo_developer/db/migrate/20170921120626_drop_users.rb +5 -0
  494. data/lib/nexmo_developer/db/migrate/20170921121218_devise_create_users.rb +44 -0
  495. data/lib/nexmo_developer/db/migrate/20171030115603_add_api_key_and_api_secret_to_users.rb +6 -0
  496. data/lib/nexmo_developer/db/migrate/20180125163023_add_api_secret_to_users.rb +18 -0
  497. data/lib/nexmo_developer/db/migrate/20180306142355_create_careers.rb +14 -0
  498. data/lib/nexmo_developer/db/migrate/20180306161650_add_summary_and_icon_to_careers.rb +6 -0
  499. data/lib/nexmo_developer/db/migrate/20180306184030_create_friendly_id_slugs.rb +15 -0
  500. data/lib/nexmo_developer/db/migrate/20180306184642_add_slug_to_career.rb +6 -0
  501. data/lib/nexmo_developer/db/migrate/20180306185340_add_description_short_to_careers.rb +5 -0
  502. data/lib/nexmo_developer/db/migrate/20180308101927_add_role_group_to_careers.rb +6 -0
  503. data/lib/nexmo_developer/db/migrate/20180403111850_add_product_to_feedback_resources.rb +41 -0
  504. data/lib/nexmo_developer/db/migrate/20180404124814_add_published_to_sessions.rb +6 -0
  505. data/lib/nexmo_developer/db/migrate/20180827133110_usage_building_block_events.rb +16 -0
  506. data/lib/nexmo_developer/db/migrate/20181006144242_create_redirects.rb +8 -0
  507. data/lib/nexmo_developer/db/migrate/20190220092207_add_city_country_to_events.rb +6 -0
  508. data/lib/nexmo_developer/db/migrate/20190306130440_add_latitude_longitude_to_events.rb +6 -0
  509. data/lib/nexmo_developer/db/migrate/20190415162421_rename_usage_building_block_events.rb +7 -0
  510. data/lib/nexmo_developer/db/migrate/20190711141227_drop_careers_table.rb +21 -0
  511. data/lib/nexmo_developer/db/migrate/20190711143408_drop_friendly_id_slugs_table.rb +16 -0
  512. data/lib/nexmo_developer/db/migrate/20191022100247_add_foreign_key_to_active_storage_for_blob_id.rb +10 -0
  513. data/lib/nexmo_developer/db/migrate/20200402092734_add_remote_to_events.rb +5 -0
  514. data/lib/nexmo_developer/db/migrate/20201016102902_create_feedback_config.rb +10 -0
  515. data/lib/nexmo_developer/db/migrate/20201016110604_add_details_to_feedback_feedback.rb +7 -0
  516. data/lib/nexmo_developer/db/schema.rb +152 -0
  517. data/lib/nexmo_developer/db/seeds.rb +70 -0
  518. data/lib/nexmo_developer/docker-compose.yml +43 -0
  519. data/lib/nexmo_developer/github_deploy_key.enc +0 -0
  520. data/lib/nexmo_developer/lib/common_errors.rb +5 -0
  521. data/lib/nexmo_developer/lib/tasks/.keep +0 -0
  522. data/lib/nexmo_developer/lib/tasks/cache.rake +6 -0
  523. data/lib/nexmo_developer/lib/tasks/careers.rake +8 -0
  524. data/lib/nexmo_developer/lib/tasks/ci.rake +171 -0
  525. data/lib/nexmo_developer/lib/tasks/diff.rake +40 -0
  526. data/lib/nexmo_developer/lib/tasks/documentation.rake +18 -0
  527. data/lib/nexmo_developer/lib/tasks/generate_search_terms.rake +39 -0
  528. data/lib/nexmo_developer/lib/tasks/links.rake +135 -0
  529. data/lib/nexmo_developer/lib/tasks/move.rake +58 -0
  530. data/lib/nexmo_developer/lib/tasks/repos.rake +57 -0
  531. data/lib/nexmo_developer/lib/tasks/screenshots.rake +11 -0
  532. data/lib/nexmo_developer/lib/tasks/section.rake +146 -0
  533. data/lib/nexmo_developer/lib/tasks/smartling.rake +65 -0
  534. data/lib/nexmo_developer/lib/tasks/test.rake +22 -0
  535. data/lib/nexmo_developer/nexmo_developer.rb +1 -0
  536. data/lib/nexmo_developer/public/404.html +67 -0
  537. data/lib/nexmo_developer/public/422.html +67 -0
  538. data/lib/nexmo_developer/public/500.html +66 -0
  539. data/lib/nexmo_developer/public/android-chrome-192x192.png +0 -0
  540. data/lib/nexmo_developer/public/android-chrome-512x512.png +0 -0
  541. data/lib/nexmo_developer/public/apple-touch-icon-precomposed.png +0 -0
  542. data/lib/nexmo_developer/public/apple-touch-icon.png +0 -0
  543. data/lib/nexmo_developer/public/browserconfig.xml +9 -0
  544. data/lib/nexmo_developer/public/favicon-16x16.png +0 -0
  545. data/lib/nexmo_developer/public/favicon-32x32.png +0 -0
  546. data/lib/nexmo_developer/public/favicon.ico +0 -0
  547. data/lib/nexmo_developer/public/fonts/Lato-Heavy.woff +0 -0
  548. data/lib/nexmo_developer/public/fonts/Lato-Heavy.woff2 +0 -0
  549. data/lib/nexmo_developer/public/fonts/Lato-Regular.woff +0 -0
  550. data/lib/nexmo_developer/public/fonts/Lato-Regular.woff2 +0 -0
  551. data/lib/nexmo_developer/public/fonts/Lato-Semibold.woff +0 -0
  552. data/lib/nexmo_developer/public/fonts/Lato-Semibold.woff2 +0 -0
  553. data/lib/nexmo_developer/public/manifest.json +17 -0
  554. data/lib/nexmo_developer/public/mstile-144x144.png +0 -0
  555. data/lib/nexmo_developer/public/mstile-150x150.png +0 -0
  556. data/lib/nexmo_developer/public/nexmo-developer-logo.svg +25 -0
  557. data/lib/nexmo_developer/public/nexmo-vonage-white.svg +79 -0
  558. data/lib/nexmo_developer/public/packs-test/css/application-5047da33.chunk.css +14950 -0
  559. data/lib/nexmo_developer/public/packs-test/css/application-5047da33.chunk.css.map +1 -0
  560. data/lib/nexmo_developer/public/packs-test/css/application-a5fa0fdb.chunk.css +15085 -0
  561. data/lib/nexmo_developer/public/packs-test/css/application-a5fa0fdb.chunk.css.map +1 -0
  562. data/lib/nexmo_developer/public/packs-test/css/application-f92656e6.chunk.css +13 -0
  563. data/lib/nexmo_developer/public/packs-test/css/application-f92656e6.chunk.css.map +1 -0
  564. data/lib/nexmo_developer/public/packs-test/css/application-f9d1bdbc.chunk.css +13 -0
  565. data/lib/nexmo_developer/public/packs-test/css/application-f9d1bdbc.chunk.css.map +1 -0
  566. data/lib/nexmo_developer/public/packs-test/js/0-e58f598fb97314a89835.chunk.js +59763 -0
  567. data/lib/nexmo_developer/public/packs-test/js/0-e58f598fb97314a89835.chunk.js.map +1 -0
  568. data/lib/nexmo_developer/public/packs-test/js/application-21483bf220c794127fa9.chunk.js +6405 -0
  569. data/lib/nexmo_developer/public/packs-test/js/application-21483bf220c794127fa9.chunk.js.map +1 -0
  570. data/lib/nexmo_developer/public/packs-test/js/application-6e53f67bc3230c42f9dd.chunk.js +7839 -0
  571. data/lib/nexmo_developer/public/packs-test/js/application-6e53f67bc3230c42f9dd.chunk.js.map +1 -0
  572. data/lib/nexmo_developer/public/packs-test/js/application-76d5a80c3775a7e2327a.chunk.js +6405 -0
  573. data/lib/nexmo_developer/public/packs-test/js/application-76d5a80c3775a7e2327a.chunk.js.map +1 -0
  574. data/lib/nexmo_developer/public/packs-test/js/application-c6f3e7a9d98562f76890.chunk.js +6619 -0
  575. data/lib/nexmo_developer/public/packs-test/js/application-c6f3e7a9d98562f76890.chunk.js.map +1 -0
  576. data/lib/nexmo_developer/public/packs-test/js/application-d280e78dd4f9d3d9b466.chunk.js +6405 -0
  577. data/lib/nexmo_developer/public/packs-test/js/application-d280e78dd4f9d3d9b466.chunk.js.map +1 -0
  578. data/lib/nexmo_developer/public/packs-test/js/runtime~application-1c11a8c601900ade80b6.js +155 -0
  579. data/lib/nexmo_developer/public/packs-test/js/runtime~application-1c11a8c601900ade80b6.js.map +1 -0
  580. data/lib/nexmo_developer/public/packs-test/js/vendors~application-6518249ed8d7aa985a8b.chunk.js +61849 -0
  581. data/lib/nexmo_developer/public/packs-test/js/vendors~application-6518249ed8d7aa985a8b.chunk.js.map +1 -0
  582. data/lib/nexmo_developer/public/packs-test/js/vendors~application-bc967911d70f3f4a5151.chunk.js +59077 -0
  583. data/lib/nexmo_developer/public/packs-test/js/vendors~application-bc967911d70f3f4a5151.chunk.js.map +1 -0
  584. data/lib/nexmo_developer/public/packs-test/js/vendors~application-d2bde7a8e622fafdeb1d.chunk.js +61843 -0
  585. data/lib/nexmo_developer/public/packs-test/js/vendors~application-d2bde7a8e622fafdeb1d.chunk.js.map +1 -0
  586. data/lib/nexmo_developer/public/packs-test/js/vendors~application-eb13e7814c54bf76b364.chunk.js +62431 -0
  587. data/lib/nexmo_developer/public/packs-test/js/vendors~application-eb13e7814c54bf76b364.chunk.js.map +1 -0
  588. data/lib/nexmo_developer/public/packs-test/manifest.json +85 -0
  589. data/lib/nexmo_developer/public/safari-pinned-tab.svg +1 -0
  590. data/lib/nexmo_developer/public/symbol/volta-brand-icons.svg +1 -0
  591. data/lib/nexmo_developer/public/symbol/volta-icons.svg +1 -0
  592. data/lib/nexmo_developer/vendor/assets/javascripts/.keep +0 -0
  593. data/lib/nexmo_developer/vendor/assets/javascripts/jquery-scrolltofixed.js +567 -0
  594. data/lib/nexmo_developer/vendor/assets/javascripts/mermaid.js +49 -0
  595. data/lib/nexmo_developer/vendor/assets/javascripts/underscore.js +5 -0
  596. data/lib/nexmo_developer/vendor/assets/javascripts/volta/addons/jquery.tablesorter.js +1031 -0
  597. data/lib/nexmo_developer/vendor/assets/javascripts/volta/addons/prism.js +22 -0
  598. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/side-navigation/volta.menu.js +377 -0
  599. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.accordion.js +249 -0
  600. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.dropdown.js +145 -0
  601. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.flash.js +175 -0
  602. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.modal.js +312 -0
  603. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.tab.js +203 -0
  604. data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.tooltip.js +71 -0
  605. data/lib/nexmo_developer/vendor/assets/javascripts/volta/popper.min.js +5 -0
  606. data/lib/nexmo_developer/vendor/assets/javascripts/volta/svgxuse.min.js +12 -0
  607. data/lib/nexmo_developer/vendor/assets/javascripts/volta/tooltip.min.js +5 -0
  608. data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.core.js +238 -0
  609. data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.js +2141 -0
  610. data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.min.js +1 -0
  611. data/lib/nexmo_developer/vendor/assets/stylesheets/.keep +0 -0
  612. data/lib/nexmo_developer/version.rb +3 -0
  613. data/package.json +124 -0
  614. data/station.gemspec +94 -42
  615. data/yarn.lock +13943 -0
  616. metadata +1888 -55
  617. data/.document +0 -5
  618. data/Rakefile +0 -61
  619. data/VERSION +0 -1
  620. data/lib/station.rb +0 -3
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,6 @@
1
+ require 'i18n/backend/fallbacks'
2
+
3
+ I18n.fallbacks.map(cn: :"zh-CN")
4
+ I18n.available_locales = %i[en cn ja]
5
+ I18n.fallbacks[:cn] = [:en]
6
+ I18n.default_locale = :en
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,6 @@
1
+ require 'recaptcha'
2
+
3
+ Recaptcha.configure do |config|
4
+ config.site_key = ENV['RECAPTCHA_V2_SITE_KEY']
5
+ config.secret_key = ENV['RECAPTCHA_V2_SECRET_KEY']
6
+ end
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_nexmo_developer_session'
@@ -0,0 +1,29 @@
1
+ subdomain_key = 'SLACK_SUBDOMAIN'
2
+ token_key = 'SLACK_TOKEN'
3
+
4
+ subdomain = ENV[subdomain_key]
5
+ token = ENV[token_key]
6
+
7
+ # If we're missing both a subdomain and a token, we're probably in development mode and don't need to
8
+ # worry about any of the following
9
+ return unless subdomain || token
10
+
11
+ # Do we have a slack token without a subdomain? If so, fail to boot
12
+ abort("#{token_key} provided, but #{subdomain_key} not found") if token && !subdomain
13
+
14
+ # How about a subdomain without a token? If so, fail to boot
15
+ abort("#{subdomain_key} provided, but #{token_key} not found") if subdomain && !token
16
+
17
+ # If we have both, make sure that the token provided is for that subdomain.
18
+ # If it's not, you know the drill, fail to boot
19
+ response = RestClient.post 'https://slack.com/api/auth.test', {
20
+ token: ENV['SLACK_TOKEN'],
21
+ }
22
+
23
+ response = JSON.parse(response)
24
+
25
+ abort("Unable to validate Slack auth token: #{response['error']}") unless response['ok']
26
+
27
+ # If it's a valid token, make sure it's for the team we want to invite people to
28
+ expected_team_url = "https://#{subdomain}.slack.com/"
29
+ abort("The Slack token provided provides access to #{response['url']}, but we expected it to provide access to #{expected_team_url}") unless response['url'] == expected_team_url
@@ -0,0 +1,5 @@
1
+ require 'split'
2
+
3
+ Split.configure do |config|
4
+ config.enabled = !!ENV['REDIS_URL']
5
+ end
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,7 @@
1
+ Rails.autoloaders.each do |autoloader|
2
+ autoloader.inflector = Zeitwerk::Inflector.new
3
+ autoloader.inflector.inflect(
4
+ 'smartling_api' => 'SmartlingAPI',
5
+ 'api' => 'API'
6
+ )
7
+ end
@@ -0,0 +1 @@
1
+ 4e2ea93f2df8dcc99527b280ac4fc84b
@@ -0,0 +1,35 @@
1
+ common: &default_settings
2
+ # Required license key associated with your New Relic account.
3
+ license_key: <%= ENV["NEWRELIC_APM_LICENSE"] %>
4
+
5
+ # Your application name. Renaming here affects where data displays in New
6
+ # Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
7
+ app_name: Nexmo Developer
8
+
9
+ # To disable the agent regardless of other settings, uncomment the following:
10
+ # agent_enabled: false
11
+
12
+ # Logging level for log/newrelic_agent.log
13
+ log_level: info
14
+
15
+
16
+ # Environment-specific settings are in this section.
17
+ # RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
18
+ # If your application has other named environments, configure them here.
19
+ development:
20
+ <<: *default_settings
21
+ app_name: Nexmo Developer (Development)
22
+ monitor_mode: false
23
+
24
+ test:
25
+ <<: *default_settings
26
+ # It doesn't make sense to report to New Relic from automated test runs.
27
+ monitor_mode: false
28
+
29
+ staging:
30
+ <<: *default_settings
31
+ app_name: Nexmo Developer (Staging)
32
+ monitor_mode: false
33
+
34
+ production:
35
+ <<: *default_settings
@@ -0,0 +1,41 @@
1
+ require 'barnes'
2
+
3
+ # Puma can serve each request in a thread from an internal thread pool.
4
+ # The `threads` method setting takes two numbers: a minimum and maximum.
5
+ # Any libraries that use thread pools should be configured to match
6
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
7
+ # and maximum; this matches the default thread size of Active Record.
8
+ #
9
+ threads_count = ENV.fetch('RAILS_MAX_THREADS', 5)
10
+ threads threads_count, threads_count
11
+
12
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
13
+ #
14
+ port ENV.fetch('PORT', 3000)
15
+
16
+ # Specifies the `environment` that Puma will run in.
17
+ #
18
+ environment ENV.fetch('RAILS_ENV') { 'development' }
19
+
20
+ # Specifies the number of `workers` to boot in clustered mode.
21
+ # Workers are forked webserver processes. If using threads and workers together
22
+ # the concurrency of the application would be max `threads` * `workers`.
23
+ # Workers do not work on JRuby or Windows (both of which do not support
24
+ # processes).
25
+ #
26
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
27
+
28
+ # Use the `preload_app!` method when specifying a `workers` number.
29
+ # This directive tells Puma to first boot the application and load code
30
+ # before forking the application. This takes advantage of Copy On Write
31
+ # process behavior so workers use less memory.
32
+ #
33
+ # preload_app!
34
+
35
+ # Allow puma to be restarted by `rails restart` command.
36
+ plugin :tmp_restart
37
+
38
+ before_fork do
39
+ # worker configuration
40
+ Barnes.start
41
+ end
@@ -0,0 +1,280 @@
1
+ ---
2
+ "/messages/external-accounts/api-reference": "/api/external-accounts"
3
+ "/dispatch/external-accounts/api-reference": "/api/external-accounts"
4
+ "/contribute": "/contribute/overview"
5
+ "/styleguide": "/contribute/guides/markdown-guide"
6
+ "/write-the-docs": "/contribute/guides/writing-style-guide"
7
+ "/contribute/structure/guides": "/contribute/structure/content-types"
8
+ "/account": "/account/overview"
9
+ "/account/code-snippets": "/account/code-snippets/create-a-secret"
10
+ "/account/code-snippets/buy-a-number": "/numbers/code-snippets/buy"
11
+ "/account/guides": "/account/guides/dashboard-management"
12
+ "/account/guides/management": "/account/guides/dashboard-management"
13
+ "/account/guides/numbers": "/numbers/guides/numbers"
14
+ "/account/guides/payments": "/numbers/guides/payments"
15
+ "/account/numbers/overview": "/numbers/overview"
16
+ "/account/numbers/guides": "/numbers/guides"
17
+ "/account/numbers/guides/numbers": "/numbers/guides/numbers"
18
+ "/account/numbers/guides/management": "/numbers/guides/management"
19
+ "/account/numbers/guides/payments": "/numbers/guides/payments"
20
+ "/account/numbers/code-snippets": "/numbers/code-snippets"
21
+ "/account/numbers/code-snippets/buy-a-number": "/numbers/code-snippets/buy"
22
+ "/account/secret-management/api-reference": "/api/account"
23
+ "/account/api-reference": "/api/account"
24
+ "/application/api-reference": "/api/application.v2"
25
+ "/application/code-snippets": "/application/code-snippets/create-application"
26
+ "/voice/voice-api": "/voice/voice-api/overview"
27
+ "/audit/api-reference": "/api/audit"
28
+ "/client-sdk/in-app-voice/contact-center-overview": "/use-cases/contact-center-client-sdk"
29
+ "/concepts": "/concepts/overview"
30
+ "/concepts/guides/applications": "/application/overview"
31
+ "/reports/api-reference": "/api/reports"
32
+ "/contribute/guides/styleguide": "/contribute/guides/markdown-guide"
33
+ "/contribute/guides/write-the-docs": "/contribute/guides/writing-style-guide"
34
+ "/dispatch/api-reference": "/api/dispatch"
35
+ "/dispatch/concepts": "/dispatch/concepts/workflows"
36
+ "/dispatch/code-snippets": "/dispatch/code-snippets/before-you-begin"
37
+ "/events": "/community"
38
+ "/extend/microsft-flow": "/extend/microsoft-flow"
39
+ "/messaging": "/messaging/sms/overview"
40
+ "/messaging/sms": "/messaging/sms/overview"
41
+ "/messaging/us-short-codes": "/messaging/us-short-codes/overview"
42
+ "/messaging/us-short-codes/guides": "/messaging/us-short-codes/guides/campaign-subscription-management"
43
+ "/messaging/conversion-api": "/messaging/conversion-api/overview"
44
+ "/messaging/conversion-api/api-reference": "/api/conversion"
45
+ "/messaging/sms/code-snippets": "/messaging/sms/code-snippets/send-an-sms"
46
+ "/messaging/sms/code-snippets/receive-a-delivery-receipt": "/messaging/sms/guides/delivery-receipts"
47
+ "/messaging/sms/guides": "/messaging/sms/overview#sms-api-features"
48
+ "/messaging/sms/guides/concatenation": "/messaging/sms/guides/concatenation-and-encoding"
49
+ "/messaging/sms/api-reference": "/api/sms"
50
+ "/messaging/tutorials": "/messaging/sms/tutorials"
51
+ "/messaging/sms/guides/global-messaging": "/messaging/sms/guides/country-specific-features"
52
+ "/messaging/sms/guides/delivery-reciepts": "/messaging/sms/guides/delivery-receipts"
53
+ "/messages-and-workflows-apis": "/messages/overview"
54
+ "/messages-and-workflows-apis/messages": "/messages/overview"
55
+ "/messages-and-workflows-apis/workflows": "/dispatch/overview"
56
+ "/messages-and-workflows-apis/messages/overview": "/messages/overview"
57
+ "/messages-and-workflows-apis/workflows/overview": "/dispatch/overview"
58
+ "/messages-and-workflows-apis/messages/api-reference": "/api/messages-olympus"
59
+ "/messages-and-workflows-apis/messages/guides": "/messages/code-snippets/client-library"
60
+ "/messages-and-workflows-apis/messages/code-snippets": "/messages/code-snippets/send-an-sms-with-messages-api"
61
+ "/messages-and-workflows-apis/messages/guides/sms-messages": "/tutorials/sending-sms-messages-with-messages-api"
62
+ "/messages-and-workflows-apis/messages/guides/facebook-messenger": "/tutorials/sending-facebook-messenger-messages-with-messages-api"
63
+ "/messages-and-workflows-apis/messages/guides/viber-service-messages": "/tutorials/sending-viber-service-messages-with-messages-api"
64
+ "/messages-and-workflows-apis/messages/guides/whatsapp": "/tutorials/sending-whatsapp-messages-with-messages-api"
65
+ "/messages-and-workflows-apis/workflows/api-reference": "/api/dispatch"
66
+ "/messages-and-workflows-apis/workflows/guides": "/dispatch/code-snippets/client-library"
67
+ "/messages-and-workflows-apis/workflows/code-snippets": "/dispatch/code-snippets/send-a-message-with-failover"
68
+ "/messages-and-workflows-apis/workflows/code-snippets/send-a-message-with-failover": "/dispatch/code-snippets/send-a-facebook-message-with-failover"
69
+ "/messages-and-workflows-apis/workflows/guides/failover": "/tutorials/sending-facebook-message-with-failover"
70
+ "/messages-and-workflows-apis/messages/code-snippets/send-an-sms-with-messages-api": "/messages/code-snippets/send-an-sms-with-messages-api"
71
+ "/messages-and-workflows-apis/messages/code-snippets/send-a-viber-service-message": "/messages/code-snippets/send-a-viber-service-message"
72
+ "/messages-and-workflows-apis/messages/code-snippets/send-with-facebook-messenger": "/messages/code-snippets/send-with-facebook-messenger"
73
+ "/messages/api-reference": "/api/messages-olympus"
74
+ "/messages/code-snippets": "/messages/code-snippets/before-you-begin"
75
+ "/messages/concepts": "/messages/concepts/facebook"
76
+ "/messages/code-snippets/send-mms-basic-auth": "/messages/code-snippets/send-mms"
77
+ "/messages/code-snippets/send-whatsapp-template": "/messages/code-snippets/whatsapp/send-mtm"
78
+ "/messages/code-snippets/send-a-whatsapp-message": "/messages/code-snippets/whatsapp/send-text"
79
+ "/messages/code-snippets/send-whatsapp-image": "/messages/code-snippets/whatsapp/send-image"
80
+ "/messages/code-snippets/send-whatsapp-audio": "/messages/code-snippets/whatsapp/send-audio"
81
+ "/messages/code-snippets/send-whatsapp-file": "/messages/code-snippets/whatsapp/send-file"
82
+ "/messages/code-snippets/send-with-facebook-messenger": "/messages/code-snippets/messenger/send-text"
83
+ "/messages/code-snippets/send-an-sms-with-messages-api": "/messages/code-snippets/sms/send-sms"
84
+ "/messages/code-snippets/send-mms": "/messages/code-snippets/mms/send-mms"
85
+ "/messages/code-snippets/send-a-viber-service-message": "/messages/code-snippets/viber/send-text"
86
+ "/number-insight": "/number-insight/overview"
87
+ "/number-insight/guides": "/number-insight/guides/cnam"
88
+ "/number-insight/guides/ip-matching": "/number-insight/overview"
89
+ "/number-insight/code-snippets": "/number-insight/code-snippets/number-insight-basic"
90
+ "/number-insight/api-reference": "/api/number-insight"
91
+ "/numbers": "/numbers/overview"
92
+ "/numbers/api-reference": "/api/numbers"
93
+ "/numbers/guides": "/numbers/guides/number-management"
94
+ "/numbers/guides/numbers": "/numbers/guides/number-management"
95
+ "/numbers/guides/management": "/numbers/guides/number-management"
96
+ "/numbers/code-snippets": "/numbers/code-snippets/buy"
97
+ "/redact": "/redact/overview"
98
+ "/redact/api-reference": "/api/redact"
99
+ "/sip": "/voice/sip"
100
+ "/slack": "/community/slack"
101
+ "/sms": "/messaging/sms/overview"
102
+ "/sms/code-snippets": "/messaging/sms/code-snippets/send-an-sms"
103
+ "/sms/guides": "/messaging/sms/guides/us-short-codes/overview"
104
+ "/tools/cli": "/tools"
105
+ "/tutorials/call-whisper-with-on-answer": "/tutorials/add-a-call-whisper-to-an-inbound-call"
106
+ "/tutorials/smart-local-numbers": "/tutorials/local-numbers"
107
+ "/tutorials/sending-facebook-message-with-failover": "/task/sending-facebook-message-with-failover"
108
+ "/verify": "/verify/overview"
109
+ "/verify/api-reference": "/api/verify"
110
+ "/verify/guides": "/verify/guides/workflows-and-events"
111
+ "/verify/guides/verification-events": "/verify/guides/workflows-and-events"
112
+ "/verify/tutorial": "/verify/tutorials/passwordless-authentication"
113
+ "/verify/code-snippets": "/verify/code-snippets/send-verify-request"
114
+ "/verify/guides/verify-a-user": "/verify/code-snippets/send-verify-request"
115
+ "/voice": "/voice/overview"
116
+ "/voice/api-reference": "/voice/voice-api/api-reference"
117
+ "/voice/sip": "/voice/sip/overview"
118
+ "/voice/overview": "/voice/voice-api/overview"
119
+ "/voice/tutorials": "/voice/voice-api/tutorials"
120
+ "/voice/code-snippets": "/voice/voice-api/code-snippets/before-you-begin"
121
+ "/voice/voice-api/code-snippets": "/voice/voice-api/code-snippets/before-you-begin"
122
+ "/voice/code-snippets/connect-a-phone-call": "/voice/voice-api/code-snippets/connect-an-inbound-call"
123
+ "/voice/code-snippets/receive-a-phone-call": "/voice/voice-api/code-snippets/receive-an-inbound-call"
124
+ "/voice/voice-api/code-snippets/connect-a-phone-call": "/voice/voice-api/code-snippets/connect-an-inbound-call"
125
+ "/voice/voice-api/code-snippets/make-a-phone-call": "/voice/voice-api/code-snippets/make-an-outbound-call"
126
+ "/voice/voice-api/code-snippets/receive-a-phone-call": "/voice/voice-api/code-snippets/receive-an-inbound-call"
127
+ "/voice/guides": "/voice/voice-api/guides/call-flow"
128
+ "/voice/guides/sip": "/voice/sip"
129
+ "/voice/guides/voice-app-components": "/voice/voice-api/guides/voice-app-components"
130
+ "/voice/guides/connect-two-users": "/voice/voice-api/guides/connect-two-users"
131
+ "/voice/guides/create-conferences": "/voice/voice-api/guides/create-conferences"
132
+ "/voice/guides/handle-call-status": "/voice/voice-api/guides/handle-call-status"
133
+ "/voice/guides/inbound-calls": "/voice/voice-api/guides/inbound-calls"
134
+ "/voice/guides/interactive-voice-response": "/voice/voice-api/guides/interactive-voice-response"
135
+ "/voice/guides/ncco": "/voice/voice-api/guides/ncco"
136
+ "/voice/guides/outbound-calls": "/voice/voice-api/guides/outbound-calls"
137
+ "/voice/guides/record-calls-and-conversations": "/voice/voice-api/guides/record-calls-and-conversations"
138
+ "/voice/guides/call-a-websocket": "/voice/voice-api/guides/call-a-websocket"
139
+ "/voice/guides/ncco-reference": "/voice/voice-api/ncco-reference"
140
+ "/voice/voice-api/websockets": "/voice/voice-api/guides/websockets"
141
+ "/voice/voice-api/api-reference": "/api/voice"
142
+ "/voice/voice-api/guides/outbound-calls": "/voice/voice-api/code-snippets/make-an-outbound-call"
143
+ "/voice/voice-api/guides/record-calls-and-conversations": "/voice/voice-api/guides/recording"
144
+ "/voice/voice-api/guides/connect-two-users": "/voice/voice-api/code-snippets/connect-an-inbound-call"
145
+ "/voice/voice-api/guides/create-conferences": "/voice/voice-api/code-snippets/connect-callers-into-a-conference"
146
+ "/voice/voice-api/guides/call-a-websocket": "/voice/voice-api/guides/websockets"
147
+ "/voice/voice-api/guides/handle-call-status": "/voice/voice-api/guides/call-flow"
148
+ "/voice/voice-api/guides/interactive-voice-response": "/voice/voice-api/code-snippets/handle-user-input-with-dtmf"
149
+ "/voice/voice-api/guides/inbound-calls": "/voice/voice-api/code-snippets/connect-an-inbound-call"
150
+ "/voice/voice-api/guides/voice-app-components": "/voice/voice-api/guides/legs-conversations"
151
+ "/voice/voice-api/guides/ssml": "/voice/voice-api/guides/customizing-tts"
152
+ "/vonage-business-cloud/vbc-apis/account-api/api-reference": "/api/vonage-business-cloud/account"
153
+ "/vonage-business-cloud/vbc-apis/extension-api/api-reference": "/api/vonage-business-cloud/extension"
154
+ "/vonage-business-cloud/vbc-apis/reports-api/api-reference": "/api/vonage-business-cloud/reports"
155
+ "/vonage-business-cloud/vbc-apis/user-api/api-reference": "/api/vonage-business-cloud/user"
156
+ "/vonage-business-cloud/vbc-apis/call-recording-api/api-reference": "/api/vonage-business-cloud/call-recording"
157
+ "/vonage-business-cloud/integration-suite/api-reference": "/api/vonage-business-cloud/vgis"
158
+ "/vonage-business-cloud/number-programmability/overview": "/vonage-business-cloud/smart-numbers/overview"
159
+ "/vonage-business-cloud/number-programmability/guides/register": "/vonage-business-cloud/smart-numbers/guides/enable-addon"
160
+ "/vonage-business-cloud/number-programmability/guides/billing": "/vonage-business-cloud/smart-numbers/guides/billing"
161
+ "/vonage-business-cloud/number-programmability/guides/provision-nps": "/vonage-business-cloud/smart-numbers/guides/provision-smart-numbers"
162
+ "/vonage-business-cloud/number-programmability/guides/create-voice-application": "/vonage-business-cloud/smart-numbers/guides/create-voice-application"
163
+ "/vonage-business-cloud/number-programmability/guides/vbc-resources": "/vonage-business-cloud/smart-numbers/guides/vbc-resources"
164
+ "/vonage-business-cloud/number-programmability/code-snippets/vbc-receive-inbound-call": "/vonage-business-cloud/smart-numbers/code-snippets/vbc-receive-inbound-call"
165
+ "/vonage-business-cloud/number-programmability/code-snippets/vbc-route-to-extension": "/vonage-business-cloud/smart-numbers/code-snippets/vbc-route-to-extension"
166
+ "/tutorials/client-sdk-ios-make-receive-calls-swift": "https://developer.nexmo.com/client-sdk/in-app-voice/guides/start-and-receive-calls/ios"
167
+ "/tutorials/client-sdk-android-make-receive-calls": "/client-sdk/in-app-voice/guides/start-and-receive-calls/android"
168
+ "/account/subaccounts/api-reference": "/api/subaccounts"
169
+ "/tutorials/add-a-call-whisper-to-an-inbound-call": "/use-cases/add-a-call-whisper-to-an-inbound-call"
170
+ "/tutorials/call-tracking": "/use-cases/call-tracking"
171
+ "/tutorials/client-sdk-generate-test-credentials": "/use-cases/client-sdk-generate-test-credentials"
172
+ "/tutorials/client-sdk-ios-in-app-messaging": "/use-cases/client-sdk-ios-in-app-messaging"
173
+ "/tutorials/dispatch-user-fallback": "/use-cases/dispatch-user-fallback"
174
+ "/tutorials/fbm-product-info": "/use-cases/fbm-product-info"
175
+ "/tutorials/fraud-scoring-and-phone-number-verification": "/use-cases/fraud-scoring-and-phone-number-verification"
176
+ "/tutorials/ifttt-to-sms": "/use-cases/ifttt-to-sms"
177
+ "/tutorials/interactive-voice-response": "/use-cases/interactive-voice-response"
178
+ "/tutorials/local-numbers": "/use-cases/local-numbers"
179
+ "/tutorials/mobile-app-invites": "/use-cases/mobile-app-invites"
180
+ "/tutorials/number-insight-api-aspnet": "/use-cases/number-insight-api-aspnet"
181
+ "/tutorials/number-insight-async-tutorial": "/use-cases/number-insight-async-tutorial"
182
+ "/tutorials/passwordless-authentication": "/use-cases/passwordless-authentication"
183
+ "/tutorials/private-sms-communication": "/use-cases/private-sms-communication"
184
+ "/tutorials/private-voice-communication": "/use-cases/private-voice-communication"
185
+ "/tutorials/real-time-feed": "/use-cases/real-time-feed"
186
+ "/tutorials/receive-sms-dotnet": "/use-cases/receive-sms-dotnet"
187
+ "/tutorials/receive-sms-with-java": "/use-cases/receive-sms-with-java"
188
+ "/tutorials/receive-sms-with-php": "/use-cases/receive-sms-with-php"
189
+ "/tutorials/receive-sms-with-ruby": "/use-cases/receive-sms-with-ruby"
190
+ "/tutorials/receiving-concat-sms": "/use-cases/receiving-concat-sms"
191
+ "/tutorials/retrieve-audit-events": "/use-cases/retrieve-audit-events"
192
+ "/tutorials/retrieve-conversation-details": "/use-cases/retrieve-conversation-details"
193
+ "/tutorials/send-sms-with-dotnet": "/use-cases/send-sms-with-dotnet"
194
+ "/tutorials/send-sms-with-flask": "/use-cases/send-sms-with-flask"
195
+ "/tutorials/send-sms-with-java": "/use-cases/send-sms-with-java"
196
+ "/tutorials/send-sms-with-php": "/use-cases/send-sms-with-php"
197
+ "/tutorials/send-sms-with-ruby": "/use-cases/send-sms-with-ruby"
198
+ "/tutorials/sending-facebook-messenger-messages-with-messages-api": "/use-cases/sending-facebook-messenger-messages-with-messages-api"
199
+ "/tutorials/sending-sms-messages-with-messages-api": "/use-cases/sending-sms-messages-with-messages-api"
200
+ "/tutorials/sending-viber-service-messages-with-messages-api": "/use-cases/sending-viber-service-messages-with-messages-api"
201
+ "/tutorials/sending-whatsapp-messages-with-messages-api": "/use-cases/sending-whatsapp-messages-with-messages-api"
202
+ "/tutorials/sms-browser-notifications": "/use-cases/sms-browser-notifications"
203
+ "/tutorials/sms-customer-support": "/use-cases/sms-customer-support"
204
+ "/tutorials/sms-dlr-with-dotnet": "/use-cases/sms-dlr-with-dotnet"
205
+ "/tutorials/sms-dlr-with-php": "/use-cases/sms-dlr-with-php"
206
+ "/tutorials/sms-dlr-with-ruby": "/use-cases/sms-dlr-with-ruby"
207
+ "/tutorials/sms-fortune-cookies-with-ibm-cloud": "/use-cases/sms-fortune-cookies-with-ibm-cloud"
208
+ "/tutorials/two-factor-authentication-dotnet-verify-api": "/use-cases/two-factor-authentication-dotnet-verify-api"
209
+ "/tutorials/two-factor-authentication": "/use-cases/two-factor-authentication"
210
+ "/tutorials/two-way-sms-for-customer-engagement": "/use-cases/two-way-sms-for-customer-engagement"
211
+ "/tutorials/validate-a-number": "/use-cases/validate-a-number"
212
+ "/tutorials/voice-alerts": "/use-cases/voice-alerts"
213
+ "/tutorials/voice-call-websocket-node": "/use-cases/voice-call-websocket-node"
214
+ "/tutorials/voice-call-websocket-python": "/use-cases/voice-call-websocket-python"
215
+ "/tutorials/phone-number-validation": "/use-cases/validate-a-number"
216
+ "/account/subaccounts/tutorials": "/use-cases/using-subaccounts"
217
+ "/api/voice/ncco": "/voice/voice-api/ncco-reference"
218
+ "/api/account/secret-management": "/api/account#secret-management"
219
+ "/api/developer": "/api/numbers"
220
+ "/api/developer/numbers": "/api/numbers"
221
+ "/api/developer/account": "/api/account"
222
+ "/api/messages": "/api/developer/messages"
223
+ "/api/stitch": "/api/conversation"
224
+ "/account/guides/secret-management": "/account/secret-management"
225
+ "/account/secret-management/overview": "/account/secret-management"
226
+ "/account/secret-management/code-snippets/create-a-secret": "/account/code-snippets/create-a-secret"
227
+ "/account/secret-management/code-snippets/fetch-a-secret": "/account/code-snippets/fetch-a-secret"
228
+ "/account/secret-management/code-snippets/list-all-secrets": "/account/code-snippets/list-all-secrets"
229
+ "/account/secret-management/code-snippets/revoke-a-secret": "/account/code-snippets/revoke-a-secret"
230
+ "/audit/code-snippets": "/audit/code-snippets/get-events"
231
+ "/audit/concepts": "/audit/concepts/audit-events"
232
+ "/messages/code-snippets/mms": "/messages/code-snippets/mms/send-mms"
233
+ "/messages/code-snippets/whatsapp": "/messages/code-snippets/whatsapp/send-mtm"
234
+ "/dispatch/external-accounts": "/messages/concepts/external-accounts"
235
+ "/messages/external-accounts": "/messages/concepts/external-accounts"
236
+ "/number-insight-advanced-async": "/number-insight/code-snippets/number-insight-advanced-async"
237
+ "/account/subaccounts/code-snippets": "/account/subaccounts/code-snippets/create-subaccount"
238
+ "/account/subaccounts": "/account/subaccounts/overview"
239
+ "/concepts/guides/applications/curl#getting-started-with-applications": "/application/code-snippets/create-application"
240
+ "/conversation/concepts/jwt-acl": "/conversation/guides/jwt-acl"
241
+ "/conversation/code-snippets/user": "/conversation/code-snippets/user/list-users"
242
+ "/conversation/guides": "/conversation/guides/application-setup"
243
+ "/redact/guides": "/redact/guides/developer-field-usage-guidance"
244
+ "/voice/sip/configure": "/voice/sip/configure/freeswitch"
245
+ "/voice/sip/concepts": "/voice/sip/concepts/sip-connect"
246
+ "/voice/voice-api/guides": "/voice/voice-api/guides/numbers"
247
+ "/vonage-business-cloud/vbc-apis": "/vonage-business-cloud/vbc-apis/overview"
248
+ "/vonage-business-cloud/vbc-apis/account-api": "/vonage-business-cloud/vbc-apis/account-api/overview"
249
+ "/vonage-business-cloud/vbc-apis/account-api/code-snippets": "/vonage-business-cloud/vbc-apis/account-api/code-snippets/retrieve-account"
250
+ "/vonage-business-cloud/smart-numbers/guides": "/vonage-business-cloud/smart-numbers/guides/enable-addon"
251
+ "/vonage-business-cloud/integration-suite": "/api/vonage-business-cloud/vgis"
252
+ "/vonage-business-cloud/smart-numbers/code-snippets": "/vonage-business-cloud/smart-numbers/code-snippets/vbc-receive-inbound-call"
253
+ "/vonage-business-cloud/vbc-apis/extension-api": "/vonage-business-cloud/vbc-apis/extension-api/overview"
254
+ "/vonage-business-cloud/vbc-apis/user-api/code-snippets": "/vonage-business-cloud/vbc-apis/user-api/code-snippets/retrieve-user"
255
+ "/vonage-business-cloud/vbc-apis/getting-started": "/vonage-business-cloud/vbc-apis/getting-started/create-application"
256
+ "/send-an-sms": "/messaging/sms/code-snippets/send-an-sms"
257
+ "/api/developer/pricing": "/api/pricing"
258
+ "/voice/sip/concepts/sip-connect": "/voice/sip/concepts/programmable-sip"
259
+ "/concepts/guides/webhooks#using-ngrok-for-local-development": "/tools/ngrok"
260
+ "/concepts/guides/testing-with-ngrok": "/tools/ngrok"
261
+ "/messaging/sms/message-search/api-reference": "/api/developer/messages"
262
+ "/messaging/us-short-codes/two-factor-api": "/api/sms/us-short-codes/2fa"
263
+ "/messaging/us-short-codes/alerts-subscribing-api": "/api/sms/us-short-codes/alerts/subscription"
264
+ "/messaging/us-short-codes/alerts-sending-api": "/api/sms/us-short-codes/alerts/sending"
265
+ "/messages/code-snippets/messenger/send-custom": "/messages/code-snippets/messenger/send-template"
266
+ "/contribute/guides/tasks": "/contribute/guides/tutorials"
267
+ "/number-insight/code-snippets/number-insight-advanced": "/number-insight/code-snippets/number-insight-advanced-async"
268
+ "/messages/code-snippets/client-library": "/messages/code-snippets/server-sdk"
269
+ "/dispatch/code-snippets/client-library": "/dispatch/code-snippets/server-sdk"
270
+ "/numbers/code-snippets/buy-a-number": "/numbers/code-snippets/buy"
271
+ "/voice/guides/connecting-voice-calls-to-amazon-lex-bots": "/voice/voice-api/guides/connecting-voice-calls-to-amazon-lex-bots"
272
+ "/voice/voice-api/guides/connecting-voice-calls-to-amazon-lex-bots": "/voice/voice-api/overview"
273
+ "/voice/voice-api/code-snippets/answer-inbound-call-with-asr": "/voice/voice-api/code-snippets/before-you-begin"
274
+ "/use-cases/sending-facebook-messenger-messages-with-messages-api": "/messages/tutorials/send-fbm-message"
275
+ "/use-cases/sending-sms-messages-with-messages-api": "/messages/tutorials/send-sms-with-messages"
276
+ "/use-cases/sending-whatsapp-messages-with-messages-api": "/messages/tutorials/send-whatsapp-message"
277
+ "/use-cases/sending-viber-service-messages-with-messages-api": "/messages/tutorials/send-viber-message"
278
+ "/dispatch/tutorials/sending-facebook-message-with-failover": "/dispatch/tutorials/send-facebook-message-with-failover"
279
+ "/task/sending-facebook-message-with-failover": "/dispatch/tutorials/send-facebook-message-with-failover"
280
+ "/concepts/guides/webhook": "/concepts/guides/webhooks"