{"action":"created","comment":{"url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/comments/50723241","id":50723241,"diff_hunk":"@@ -121,3 +121,12 @@ exports.getEventSort = ->\n     if valueA > valueB then 1\n     else if valueA < valueB then -1\n     else 0\n+\n+exports.bulkCreateEvents = (events, teamId, sendingMemberId, notifyTeam) ->\n+  options =","path":"src/collections/events.coffee","position":6,"original_position":6,"commit_id":"e7e68fc84571a8aeeb17d9a2dac59b1d3d8feeb2","original_commit_id":"e7e68fc84571a8aeeb17d9a2dac59b1d3d8feeb2","user":{"login":"matthopson","id":1891789,"avatar_url":"https://avatars.githubusercontent.com/u/1891789?v=3","gravatar_id":"","url":"https://api.github.com/users/matthopson","html_url":"https://github.com/matthopson","followers_url":"https://api.github.com/users/matthopson/followers","following_url":"https://api.github.com/users/matthopson/following{/other_user}","gists_url":"https://api.github.com/users/matthopson/gists{/gist_id}","starred_url":"https://api.github.com/users/matthopson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthopson/subscriptions","organizations_url":"https://api.github.com/users/matthopson/orgs","repos_url":"https://api.github.com/users/matthopson/repos","events_url":"https://api.github.com/users/matthopson/events{/privacy}","received_events_url":"https://api.github.com/users/matthopson/received_events","type":"User","site_admin":false},"body":"We should include validation / appropriate error messages here.","created_at":"2016-01-25T17:09:20Z","updated_at":"2016-01-25T17:09:20Z","html_url":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109#discussion_r50723241","pull_request_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/comments/50723241"},"html":{"href":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109#discussion_r50723241"},"pull_request":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109","id":57098203,"html_url":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109","diff_url":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109.diff","patch_url":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109.patch","issue_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/109","number":109,"state":"open","locked":false,"title":"Notify team of events import","user":{"login":"randy-girard","id":91918,"avatar_url":"https://avatars.githubusercontent.com/u/91918?v=3","gravatar_id":"","url":"https://api.github.com/users/randy-girard","html_url":"https://github.com/randy-girard","followers_url":"https://api.github.com/users/randy-girard/followers","following_url":"https://api.github.com/users/randy-girard/following{/other_user}","gists_url":"https://api.github.com/users/randy-girard/gists{/gist_id}","starred_url":"https://api.github.com/users/randy-girard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randy-girard/subscriptions","organizations_url":"https://api.github.com/users/randy-girard/orgs","repos_url":"https://api.github.com/users/randy-girard/repos","events_url":"https://api.github.com/users/randy-girard/events{/privacy}","received_events_url":"https://api.github.com/users/randy-girard/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-25T16:55:25Z","updated_at":"2016-01-25T17:09:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba56aba42d6d433a506ffab683bf9891d4ea68d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109/commits","review_comments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109/comments","review_comment_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/109/comments","statuses_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/statuses/e7e68fc84571a8aeeb17d9a2dac59b1d3d8feeb2","head":{"label":"teamsnap:notify-team-of-events-import","ref":"notify-team-of-events-import","sha":"e7e68fc84571a8aeeb17d9a2dac59b1d3d8feeb2","user":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"repo":{"id":20901458,"name":"teamsnap-javascript-sdk","full_name":"teamsnap/teamsnap-javascript-sdk","owner":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamsnap/teamsnap-javascript-sdk","description":"Javascript SDK for TeamSnap's APIv3","fork":false,"url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk","forks_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/forks","keys_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/teams","hooks_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/events","assignees_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/tags","blobs_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/subscription","commits_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/merges","archive_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/downloads","issues_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/deployments","created_at":"2014-06-16T21:28:29Z","updated_at":"2016-01-13T21:41:58Z","pushed_at":"2016-01-25T16:55:26Z","git_url":"git://github.com/teamsnap/teamsnap-javascript-sdk.git","ssh_url":"git@github.com:teamsnap/teamsnap-javascript-sdk.git","clone_url":"https://github.com/teamsnap/teamsnap-javascript-sdk.git","svn_url":"https://github.com/teamsnap/teamsnap-javascript-sdk","homepage":null,"size":1312,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"teamsnap:master","ref":"master","sha":"34e0d88a108037f4f8b80c20bd24e9312258f347","user":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"repo":{"id":20901458,"name":"teamsnap-javascript-sdk","full_name":"teamsnap/teamsnap-javascript-sdk","owner":{"login":"teamsnap","id":69031,"avatar_url":"https://avatars.githubusercontent.com/u/69031?v=3","gravatar_id":"","url":"https://api.github.com/users/teamsnap","html_url":"https://github.com/teamsnap","followers_url":"https://api.github.com/users/teamsnap/followers","following_url":"https://api.github.com/users/teamsnap/following{/other_user}","gists_url":"https://api.github.com/users/teamsnap/gists{/gist_id}","starred_url":"https://api.github.com/users/teamsnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamsnap/subscriptions","organizations_url":"https://api.github.com/users/teamsnap/orgs","repos_url":"https://api.github.com/users/teamsnap/repos","events_url":"https://api.github.com/users/teamsnap/events{/privacy}","received_events_url":"https://api.github.com/users/teamsnap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamsnap/teamsnap-javascript-sdk","description":"Javascript SDK for TeamSnap's APIv3","fork":false,"url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk","forks_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/forks","keys_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/teams","hooks_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/events","assignees_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/tags","blobs_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/subscription","commits_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/merges","archive_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/downloads","issues_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/deployments","created_at":"2014-06-16T21:28:29Z","updated_at":"2016-01-13T21:41:58Z","pushed_at":"2016-01-25T16:55:26Z","git_url":"git://github.com/teamsnap/teamsnap-javascript-sdk.git","ssh_url":"git@github.com:teamsnap/teamsnap-javascript-sdk.git","clone_url":"https://github.com/teamsnap/teamsnap-javascript-sdk.git","svn_url":"https://github.com/teamsnap/teamsnap-javascript-sdk","homepage":null,"size":1312,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109"},"html":{"href":"https://github.com/teamsnap/teamsnap-javascript-sdk/pull/109"},"issue":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/109"},"comments":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/teamsnap/teamsnap-javascript-sdk/statuses/e7e68fc84571a8aeeb17d9a2dac59b1d3d8feeb2"}}}}