{"action":"created","comment":{"url":"https://api.github.com/repos/olist/work-at-olist/pulls/comments/175916669","pull_request_review_id":105529308,"id":175916669,"diff_hunk":"@@ -0,0 +1,108 @@\n+### Requisites\n+- Prices are created according to the \"Pricing rules\" at the README.\n+- There is a subscriber created for the phone 48988526423.\n+\n+### Sample Data\n+Ensure we can create and list call bill records correctly by creating start/end call records.\n+\n+\n+#### Case 1\n+It must calculate correctly for 13 mins between price rates, starting at the standard rate and ending at reduced rate.\n+\n+##### Inputs (call records):\n+{\n+    \"type\": \"start\",\n+    \"timestamp\": \"2017-12-12T21:57:13Z\",\n+    \"call_id\": 71,\n+    \"source\": \"48988526423\",\n+    \"destination\": \"4893468278\"\n+}\n+{\n+    \"type\": \"end\",\n+    \"timestamp\": \"2017-12-12T22:10:56Z\",\n+    \"call_id\": 71\n+}\n+\n+##### Output:","path":"sample-data.md","position":26,"original_position":26,"commit_id":"7a5d5d97669ca3a19164e3d955cabff6f2bd410a","original_commit_id":"73b2d9fd4c8baa4946c58cbc81dd1d032b8002a4","user":{"login":"jpbonson","id":5743282,"avatar_url":"https://avatars3.githubusercontent.com/u/5743282?v=4","gravatar_id":"","url":"https://api.github.com/users/jpbonson","html_url":"https://github.com/jpbonson","followers_url":"https://api.github.com/users/jpbonson/followers","following_url":"https://api.github.com/users/jpbonson/following{/other_user}","gists_url":"https://api.github.com/users/jpbonson/gists{/gist_id}","starred_url":"https://api.github.com/users/jpbonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpbonson/subscriptions","organizations_url":"https://api.github.com/users/jpbonson/orgs","repos_url":"https://api.github.com/users/jpbonson/repos","events_url":"https://api.github.com/users/jpbonson/events{/privacy}","received_events_url":"https://api.github.com/users/jpbonson/received_events","type":"User","site_admin":false},"body":"When you guys approve it I will create a wiki page for it instead of merging it, then :+1: \r\nAbout deleting the history, is it enough to just delete the branch/PR?","created_at":"2018-03-20T20:46:36Z","updated_at":"2018-03-20T20:46:37Z","html_url":"https://github.com/olist/work-at-olist/pull/13#discussion_r175916669","pull_request_url":"https://api.github.com/repos/olist/work-at-olist/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/comments/175916669"},"html":{"href":"https://github.com/olist/work-at-olist/pull/13#discussion_r175916669"},"pull_request":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/13"}},"in_reply_to_id":175896452},"pull_request":{"url":"https://api.github.com/repos/olist/work-at-olist/pulls/13","id":176264644,"html_url":"https://github.com/olist/work-at-olist/pull/13","diff_url":"https://github.com/olist/work-at-olist/pull/13.diff","patch_url":"https://github.com/olist/work-at-olist/pull/13.patch","issue_url":"https://api.github.com/repos/olist/work-at-olist/issues/13","number":13,"state":"open","locked":false,"title":"Sample data for work-at-olist manual tests","user":{"login":"jpbonson","id":5743282,"avatar_url":"https://avatars3.githubusercontent.com/u/5743282?v=4","gravatar_id":"","url":"https://api.github.com/users/jpbonson","html_url":"https://github.com/jpbonson","followers_url":"https://api.github.com/users/jpbonson/followers","following_url":"https://api.github.com/users/jpbonson/following{/other_user}","gists_url":"https://api.github.com/users/jpbonson/gists{/gist_id}","starred_url":"https://api.github.com/users/jpbonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpbonson/subscriptions","organizations_url":"https://api.github.com/users/jpbonson/orgs","repos_url":"https://api.github.com/users/jpbonson/repos","events_url":"https://api.github.com/users/jpbonson/events{/privacy}","received_events_url":"https://api.github.com/users/jpbonson/received_events","type":"User","site_admin":false},"body":"Fiz uma primeira versão dos dados para ter um feedback de expectativas antes de continuar. Tentei escolher testes que usassem só o formato de dados de exemplo do README, para não limitar a implementação do candidato.","created_at":"2018-03-20T17:22:27Z","updated_at":"2018-03-20T20:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2395555abece2c1d8843bb58abd6996568574fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":873830453,"url":"https://api.github.com/repos/olist/work-at-olist/labels/wip","name":"wip","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/olist/work-at-olist/pulls/13/commits","review_comments_url":"https://api.github.com/repos/olist/work-at-olist/pulls/13/comments","review_comment_url":"https://api.github.com/repos/olist/work-at-olist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olist/work-at-olist/issues/13/comments","statuses_url":"https://api.github.com/repos/olist/work-at-olist/statuses/7a5d5d97669ca3a19164e3d955cabff6f2bd410a","head":{"label":"olist:lp482-sample-data","ref":"lp482-sample-data","sha":"7a5d5d97669ca3a19164e3d955cabff6f2bd410a","user":{"login":"olist","id":8322478,"avatar_url":"https://avatars0.githubusercontent.com/u/8322478?v=4","gravatar_id":"","url":"https://api.github.com/users/olist","html_url":"https://github.com/olist","followers_url":"https://api.github.com/users/olist/followers","following_url":"https://api.github.com/users/olist/following{/other_user}","gists_url":"https://api.github.com/users/olist/gists{/gist_id}","starred_url":"https://api.github.com/users/olist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olist/subscriptions","organizations_url":"https://api.github.com/users/olist/orgs","repos_url":"https://api.github.com/users/olist/repos","events_url":"https://api.github.com/users/olist/events{/privacy}","received_events_url":"https://api.github.com/users/olist/received_events","type":"Organization","site_admin":false},"repo":{"id":55574889,"name":"work-at-olist","full_name":"olist/work-at-olist","owner":{"login":"olist","id":8322478,"avatar_url":"https://avatars0.githubusercontent.com/u/8322478?v=4","gravatar_id":"","url":"https://api.github.com/users/olist","html_url":"https://github.com/olist","followers_url":"https://api.github.com/users/olist/followers","following_url":"https://api.github.com/users/olist/following{/other_user}","gists_url":"https://api.github.com/users/olist/gists{/gist_id}","starred_url":"https://api.github.com/users/olist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olist/subscriptions","organizations_url":"https://api.github.com/users/olist/orgs","repos_url":"https://api.github.com/users/olist/repos","events_url":"https://api.github.com/users/olist/events{/privacy}","received_events_url":"https://api.github.com/users/olist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/olist/work-at-olist","description":"Apply for a job at Olist's Development Team","fork":false,"url":"https://api.github.com/repos/olist/work-at-olist","forks_url":"https://api.github.com/repos/olist/work-at-olist/forks","keys_url":"https://api.github.com/repos/olist/work-at-olist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olist/work-at-olist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olist/work-at-olist/teams","hooks_url":"https://api.github.com/repos/olist/work-at-olist/hooks","issue_events_url":"https://api.github.com/repos/olist/work-at-olist/issues/events{/number}","events_url":"https://api.github.com/repos/olist/work-at-olist/events","assignees_url":"https://api.github.com/repos/olist/work-at-olist/assignees{/user}","branches_url":"https://api.github.com/repos/olist/work-at-olist/branches{/branch}","tags_url":"https://api.github.com/repos/olist/work-at-olist/tags","blobs_url":"https://api.github.com/repos/olist/work-at-olist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olist/work-at-olist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olist/work-at-olist/git/refs{/sha}","trees_url":"https://api.github.com/repos/olist/work-at-olist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olist/work-at-olist/statuses/{sha}","languages_url":"https://api.github.com/repos/olist/work-at-olist/languages","stargazers_url":"https://api.github.com/repos/olist/work-at-olist/stargazers","contributors_url":"https://api.github.com/repos/olist/work-at-olist/contributors","subscribers_url":"https://api.github.com/repos/olist/work-at-olist/subscribers","subscription_url":"https://api.github.com/repos/olist/work-at-olist/subscription","commits_url":"https://api.github.com/repos/olist/work-at-olist/commits{/sha}","git_commits_url":"https://api.github.com/repos/olist/work-at-olist/git/commits{/sha}","comments_url":"https://api.github.com/repos/olist/work-at-olist/comments{/number}","issue_comment_url":"https://api.github.com/repos/olist/work-at-olist/issues/comments{/number}","contents_url":"https://api.github.com/repos/olist/work-at-olist/contents/{+path}","compare_url":"https://api.github.com/repos/olist/work-at-olist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olist/work-at-olist/merges","archive_url":"https://api.github.com/repos/olist/work-at-olist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olist/work-at-olist/downloads","issues_url":"https://api.github.com/repos/olist/work-at-olist/issues{/number}","pulls_url":"https://api.github.com/repos/olist/work-at-olist/pulls{/number}","milestones_url":"https://api.github.com/repos/olist/work-at-olist/milestones{/number}","notifications_url":"https://api.github.com/repos/olist/work-at-olist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olist/work-at-olist/labels{/name}","releases_url":"https://api.github.com/repos/olist/work-at-olist/releases{/id}","deployments_url":"https://api.github.com/repos/olist/work-at-olist/deployments","created_at":"2016-04-06T04:07:28Z","updated_at":"2018-03-17T15:30:41Z","pushed_at":"2018-03-20T20:44:31Z","git_url":"git://github.com/olist/work-at-olist.git","ssh_url":"git@github.com:olist/work-at-olist.git","clone_url":"https://github.com/olist/work-at-olist.git","svn_url":"https://github.com/olist/work-at-olist","homepage":null,"size":21,"stargazers_count":83,"watchers_count":83,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":166,"open_issues":1,"watchers":83,"default_branch":"master"}},"base":{"label":"olist:master","ref":"master","sha":"c2316263927141d079d0cbc883ef9cf59f81ede4","user":{"login":"olist","id":8322478,"avatar_url":"https://avatars0.githubusercontent.com/u/8322478?v=4","gravatar_id":"","url":"https://api.github.com/users/olist","html_url":"https://github.com/olist","followers_url":"https://api.github.com/users/olist/followers","following_url":"https://api.github.com/users/olist/following{/other_user}","gists_url":"https://api.github.com/users/olist/gists{/gist_id}","starred_url":"https://api.github.com/users/olist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olist/subscriptions","organizations_url":"https://api.github.com/users/olist/orgs","repos_url":"https://api.github.com/users/olist/repos","events_url":"https://api.github.com/users/olist/events{/privacy}","received_events_url":"https://api.github.com/users/olist/received_events","type":"Organization","site_admin":false},"repo":{"id":55574889,"name":"work-at-olist","full_name":"olist/work-at-olist","owner":{"login":"olist","id":8322478,"avatar_url":"https://avatars0.githubusercontent.com/u/8322478?v=4","gravatar_id":"","url":"https://api.github.com/users/olist","html_url":"https://github.com/olist","followers_url":"https://api.github.com/users/olist/followers","following_url":"https://api.github.com/users/olist/following{/other_user}","gists_url":"https://api.github.com/users/olist/gists{/gist_id}","starred_url":"https://api.github.com/users/olist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olist/subscriptions","organizations_url":"https://api.github.com/users/olist/orgs","repos_url":"https://api.github.com/users/olist/repos","events_url":"https://api.github.com/users/olist/events{/privacy}","received_events_url":"https://api.github.com/users/olist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/olist/work-at-olist","description":"Apply for a job at Olist's Development Team","fork":false,"url":"https://api.github.com/repos/olist/work-at-olist","forks_url":"https://api.github.com/repos/olist/work-at-olist/forks","keys_url":"https://api.github.com/repos/olist/work-at-olist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olist/work-at-olist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olist/work-at-olist/teams","hooks_url":"https://api.github.com/repos/olist/work-at-olist/hooks","issue_events_url":"https://api.github.com/repos/olist/work-at-olist/issues/events{/number}","events_url":"https://api.github.com/repos/olist/work-at-olist/events","assignees_url":"https://api.github.com/repos/olist/work-at-olist/assignees{/user}","branches_url":"https://api.github.com/repos/olist/work-at-olist/branches{/branch}","tags_url":"https://api.github.com/repos/olist/work-at-olist/tags","blobs_url":"https://api.github.com/repos/olist/work-at-olist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olist/work-at-olist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olist/work-at-olist/git/refs{/sha}","trees_url":"https://api.github.com/repos/olist/work-at-olist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olist/work-at-olist/statuses/{sha}","languages_url":"https://api.github.com/repos/olist/work-at-olist/languages","stargazers_url":"https://api.github.com/repos/olist/work-at-olist/stargazers","contributors_url":"https://api.github.com/repos/olist/work-at-olist/contributors","subscribers_url":"https://api.github.com/repos/olist/work-at-olist/subscribers","subscription_url":"https://api.github.com/repos/olist/work-at-olist/subscription","commits_url":"https://api.github.com/repos/olist/work-at-olist/commits{/sha}","git_commits_url":"https://api.github.com/repos/olist/work-at-olist/git/commits{/sha}","comments_url":"https://api.github.com/repos/olist/work-at-olist/comments{/number}","issue_comment_url":"https://api.github.com/repos/olist/work-at-olist/issues/comments{/number}","contents_url":"https://api.github.com/repos/olist/work-at-olist/contents/{+path}","compare_url":"https://api.github.com/repos/olist/work-at-olist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olist/work-at-olist/merges","archive_url":"https://api.github.com/repos/olist/work-at-olist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olist/work-at-olist/downloads","issues_url":"https://api.github.com/repos/olist/work-at-olist/issues{/number}","pulls_url":"https://api.github.com/repos/olist/work-at-olist/pulls{/number}","milestones_url":"https://api.github.com/repos/olist/work-at-olist/milestones{/number}","notifications_url":"https://api.github.com/repos/olist/work-at-olist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olist/work-at-olist/labels{/name}","releases_url":"https://api.github.com/repos/olist/work-at-olist/releases{/id}","deployments_url":"https://api.github.com/repos/olist/work-at-olist/deployments","created_at":"2016-04-06T04:07:28Z","updated_at":"2018-03-17T15:30:41Z","pushed_at":"2018-03-20T20:44:31Z","git_url":"git://github.com/olist/work-at-olist.git","ssh_url":"git@github.com:olist/work-at-olist.git","clone_url":"https://github.com/olist/work-at-olist.git","svn_url":"https://github.com/olist/work-at-olist","homepage":null,"size":21,"stargazers_count":83,"watchers_count":83,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":166,"open_issues":1,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/13"},"html":{"href":"https://github.com/olist/work-at-olist/pull/13"},"issue":{"href":"https://api.github.com/repos/olist/work-at-olist/issues/13"},"comments":{"href":"https://api.github.com/repos/olist/work-at-olist/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olist/work-at-olist/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/olist/work-at-olist/statuses/7a5d5d97669ca3a19164e3d955cabff6f2bd410a"}},"author_association":"NONE"}}
{"actor":{"display_login":"jpbonson"}}