{"action":"created","comment":{"url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/comments/221984234","pull_request_review_id":160761556,"id":221984234,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTk4NDIzNA==","diff_hunk":"@@ -0,0 +1,184 @@\n+/*!\n+ * Copyright (c) 2015-2018 Cisco Systems, Inc. See LICENSE file.\n+ */\n+\n+/**\n+  *\n+  * Events to emit\n+  * ==============\n+  * - leave\n+  * - join\n+  * - end\n+  * - meeting.metrics {\n+  *   - media\n+  *   - MQE\n+  *   - callAnalyzer\n+  *   - meetingEndMetrics?\n+  * }\n+  * - statusChange {\n+  *   - status, e.g., leaving, left, reason\n+  * }\n+  * - typeChange {\n+  *   - type\n+      - reason\n+  * }\n+  *\n+  * @class\n+  */\n+export default class Meeting {\n+  /**\n+   * Creates an instance of Meeting\n+   *\n+   * @param {*} {\n+   *     id, spaceID, peerConnections, participants, health, type, direction, pairedDevice, startTime, endTime\n+   *   }\n+   * @memberof Meeting\n+   */\n+  constructor({\n+    id, spaceID, peerConnections, participants, health, type, direction, pairedDevice, startTime, endTime\n+  }) {\n+    this.id = id;\n+    this.spaceID = spaceID;\n+    this.peerConnections = peerConnections;\n+    this.participants = participants;\n+    this.health = health;\n+    this.type = type;\n+    this.direction = direction;\n+    this.pairedDevice = pairedDevice;\n+    this.startTime = startTime || new Date().toISOString();\n+    this.endTime = endTime || new Date().toISOString();\n+  }\n+\n+  /**\n+   *\n+   * Specify joining via audio (option: pstn), video, screenshare\n+   *\n+   * @exports\n+   * @param {*} [options={ Paird Device, Password }]\n+   * @returns {Promise}\n+   * @memberof Meeting\n+   */\n+  join(options = {}) {\n+    return new Promise((resolve, reject) => {\n+      resolve();\n+    });\n+  }\n+\n+  /**\n+   *\n+   * move this meeting to given device\n+   * only possible if you are paired with the given device\n+   *\n+   * @param {*} deviceID\n+   * @returns {Promise}\n+   * @memberof Meeting\n+   */\n+  moveToDevice(deviceID) {\n+    return new Promise((resolve, reject) => {\n+\n+    });\n+  }\n+\n+  /**\n+   *\n+   * Move this meeting back to \"my laptop\"","path":"packages/node_modules/@webex/plugin-meetings/src/meeting/index.js","position":84,"original_position":84,"commit_id":"0d4b420f717bcac22b5099aac4c69865c5467733","original_commit_id":"0d4b420f717bcac22b5099aac4c69865c5467733","user":{"login":"mattnorris","id":2898571,"node_id":"MDQ6VXNlcjI4OTg1NzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2898571?v=4","gravatar_id":"","url":"https://api.github.com/users/mattnorris","html_url":"https://github.com/mattnorris","followers_url":"https://api.github.com/users/mattnorris/followers","following_url":"https://api.github.com/users/mattnorris/following{/other_user}","gists_url":"https://api.github.com/users/mattnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/mattnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattnorris/subscriptions","organizations_url":"https://api.github.com/users/mattnorris/orgs","repos_url":"https://api.github.com/users/mattnorris/repos","events_url":"https://api.github.com/users/mattnorris/events{/privacy}","received_events_url":"https://api.github.com/users/mattnorris/received_events","type":"User","site_admin":false},"body":"Move this meeting back to the current client device, e.g., personal laptop. ","created_at":"2018-10-02T14:52:52Z","updated_at":"2018-10-02T14:54:36Z","html_url":"https://github.com/webex/spark-js-sdk/pull/980#discussion_r221984234","pull_request_url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/comments/221984234"},"html":{"href":"https://github.com/webex/spark-js-sdk/pull/980#discussion_r221984234"},"pull_request":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980"}}},"pull_request":{"url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980","id":219519163,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NTE5MTYz","html_url":"https://github.com/webex/spark-js-sdk/pull/980","diff_url":"https://github.com/webex/spark-js-sdk/pull/980.diff","patch_url":"https://github.com/webex/spark-js-sdk/pull/980.patch","issue_url":"https://api.github.com/repos/webex/spark-js-sdk/issues/980","number":980,"state":"open","locked":false,"title":"WIP - Create initial meeting module","user":{"login":"taymoork2","id":3140325,"node_id":"MDQ6VXNlcjMxNDAzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/3140325?v=4","gravatar_id":"","url":"https://api.github.com/users/taymoork2","html_url":"https://github.com/taymoork2","followers_url":"https://api.github.com/users/taymoork2/followers","following_url":"https://api.github.com/users/taymoork2/following{/other_user}","gists_url":"https://api.github.com/users/taymoork2/gists{/gist_id}","starred_url":"https://api.github.com/users/taymoork2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taymoork2/subscriptions","organizations_url":"https://api.github.com/users/taymoork2/orgs","repos_url":"https://api.github.com/users/taymoork2/repos","events_url":"https://api.github.com/users/taymoork2/events{/privacy}","received_events_url":"https://api.github.com/users/taymoork2/received_events","type":"User","site_admin":false},"body":"# Pull Request Template\r\n\r\n## Description\r\n\r\n\r\nCreate initial meeting module\r\n\r\nFixes [#3428](https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-34284)\r\n\r\n## Type of Change\r\n\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n\r\n## Checklist:\r\n\r\n- [ ] My code follows the style guidelines of this project\r\n- [ ] I have performed a self-review of my own code\r\n- [ ] I have commented my code, particularly in hard-to-understand areas\r\n- [ ] I have made corresponding changes to the documentation\r\n- [ ] My changes generate no new warnings\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] New and existing unit tests pass locally with my changes\r\n- [ ] Any dependent changes have been merged and published in downstream modules\r\n","created_at":"2018-10-01T21:17:57Z","updated_at":"2018-10-02T14:54:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a314eeb2e5b2b4c7bbd60d53753446e2c83a5906","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980/commits","review_comments_url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980/comments","review_comment_url":"https://api.github.com/repos/webex/spark-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webex/spark-js-sdk/issues/980/comments","statuses_url":"https://api.github.com/repos/webex/spark-js-sdk/statuses/0d4b420f717bcac22b5099aac4c69865c5467733","head":{"label":"taymoork2:meetings-skeleton","ref":"meetings-skeleton","sha":"0d4b420f717bcac22b5099aac4c69865c5467733","user":{"login":"taymoork2","id":3140325,"node_id":"MDQ6VXNlcjMxNDAzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/3140325?v=4","gravatar_id":"","url":"https://api.github.com/users/taymoork2","html_url":"https://github.com/taymoork2","followers_url":"https://api.github.com/users/taymoork2/followers","following_url":"https://api.github.com/users/taymoork2/following{/other_user}","gists_url":"https://api.github.com/users/taymoork2/gists{/gist_id}","starred_url":"https://api.github.com/users/taymoork2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taymoork2/subscriptions","organizations_url":"https://api.github.com/users/taymoork2/orgs","repos_url":"https://api.github.com/users/taymoork2/repos","events_url":"https://api.github.com/users/taymoork2/events{/privacy}","received_events_url":"https://api.github.com/users/taymoork2/received_events","type":"User","site_admin":false},"repo":{"id":124127335,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQxMjczMzU=","name":"spark-js-sdk","full_name":"taymoork2/spark-js-sdk","private":false,"owner":{"login":"taymoork2","id":3140325,"node_id":"MDQ6VXNlcjMxNDAzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/3140325?v=4","gravatar_id":"","url":"https://api.github.com/users/taymoork2","html_url":"https://github.com/taymoork2","followers_url":"https://api.github.com/users/taymoork2/followers","following_url":"https://api.github.com/users/taymoork2/following{/other_user}","gists_url":"https://api.github.com/users/taymoork2/gists{/gist_id}","starred_url":"https://api.github.com/users/taymoork2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taymoork2/subscriptions","organizations_url":"https://api.github.com/users/taymoork2/orgs","repos_url":"https://api.github.com/users/taymoork2/repos","events_url":"https://api.github.com/users/taymoork2/events{/privacy}","received_events_url":"https://api.github.com/users/taymoork2/received_events","type":"User","site_admin":false},"html_url":"https://github.com/taymoork2/spark-js-sdk","description":"JavaScript SDK for CiscoSpark","fork":true,"url":"https://api.github.com/repos/taymoork2/spark-js-sdk","forks_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/forks","keys_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/teams","hooks_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/events","assignees_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/tags","blobs_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/languages","stargazers_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/subscription","commits_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/merges","archive_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/downloads","issues_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/taymoork2/spark-js-sdk/deployments","created_at":"2018-03-06T19:22:53Z","updated_at":"2018-09-20T17:14:10Z","pushed_at":"2018-10-01T21:55:27Z","git_url":"git://github.com/taymoork2/spark-js-sdk.git","ssh_url":"git@github.com:taymoork2/spark-js-sdk.git","clone_url":"https://github.com/taymoork2/spark-js-sdk.git","svn_url":"https://github.com/taymoork2/spark-js-sdk","homepage":"https://ciscospark.github.io/spark-js-sdk/","size":43481,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"webex:master","ref":"master","sha":"36f12edb905b97976a27f6dbdec41c2e4159e81e","user":{"login":"webex","id":15900782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTAwNzgy","avatar_url":"https://avatars0.githubusercontent.com/u/15900782?v=4","gravatar_id":"","url":"https://api.github.com/users/webex","html_url":"https://github.com/webex","followers_url":"https://api.github.com/users/webex/followers","following_url":"https://api.github.com/users/webex/following{/other_user}","gists_url":"https://api.github.com/users/webex/gists{/gist_id}","starred_url":"https://api.github.com/users/webex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webex/subscriptions","organizations_url":"https://api.github.com/users/webex/orgs","repos_url":"https://api.github.com/users/webex/repos","events_url":"https://api.github.com/users/webex/events{/privacy}","received_events_url":"https://api.github.com/users/webex/received_events","type":"Organization","site_admin":false},"repo":{"id":62836827,"node_id":"MDEwOlJlcG9zaXRvcnk2MjgzNjgyNw==","name":"spark-js-sdk","full_name":"webex/spark-js-sdk","private":false,"owner":{"login":"webex","id":15900782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTAwNzgy","avatar_url":"https://avatars0.githubusercontent.com/u/15900782?v=4","gravatar_id":"","url":"https://api.github.com/users/webex","html_url":"https://github.com/webex","followers_url":"https://api.github.com/users/webex/followers","following_url":"https://api.github.com/users/webex/following{/other_user}","gists_url":"https://api.github.com/users/webex/gists{/gist_id}","starred_url":"https://api.github.com/users/webex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webex/subscriptions","organizations_url":"https://api.github.com/users/webex/orgs","repos_url":"https://api.github.com/users/webex/repos","events_url":"https://api.github.com/users/webex/events{/privacy}","received_events_url":"https://api.github.com/users/webex/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/webex/spark-js-sdk","description":"JavaScript SDK for Webex Teams","fork":false,"url":"https://api.github.com/repos/webex/spark-js-sdk","forks_url":"https://api.github.com/repos/webex/spark-js-sdk/forks","keys_url":"https://api.github.com/repos/webex/spark-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webex/spark-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webex/spark-js-sdk/teams","hooks_url":"https://api.github.com/repos/webex/spark-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/webex/spark-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/webex/spark-js-sdk/events","assignees_url":"https://api.github.com/repos/webex/spark-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/webex/spark-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/webex/spark-js-sdk/tags","blobs_url":"https://api.github.com/repos/webex/spark-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webex/spark-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webex/spark-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/webex/spark-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webex/spark-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/webex/spark-js-sdk/languages","stargazers_url":"https://api.github.com/repos/webex/spark-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/webex/spark-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/webex/spark-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/webex/spark-js-sdk/subscription","commits_url":"https://api.github.com/repos/webex/spark-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/webex/spark-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/webex/spark-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/webex/spark-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/webex/spark-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/webex/spark-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webex/spark-js-sdk/merges","archive_url":"https://api.github.com/repos/webex/spark-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webex/spark-js-sdk/downloads","issues_url":"https://api.github.com/repos/webex/spark-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/webex/spark-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/webex/spark-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/webex/spark-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webex/spark-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/webex/spark-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/webex/spark-js-sdk/deployments","created_at":"2016-07-07T20:41:12Z","updated_at":"2018-09-25T02:33:31Z","pushed_at":"2018-10-02T10:34:49Z","git_url":"git://github.com/webex/spark-js-sdk.git","ssh_url":"git@github.com:webex/spark-js-sdk.git","clone_url":"https://github.com/webex/spark-js-sdk.git","svn_url":"https://github.com/webex/spark-js-sdk","homepage":"https://webex.github.io/spark-js-sdk/","size":44843,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":86,"mirror_url":null,"archived":false,"open_issues_count":136,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":86,"open_issues":136,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980"},"html":{"href":"https://github.com/webex/spark-js-sdk/pull/980"},"issue":{"href":"https://api.github.com/repos/webex/spark-js-sdk/issues/980"},"comments":{"href":"https://api.github.com/repos/webex/spark-js-sdk/issues/980/comments"},"review_comments":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980/comments"},"review_comment":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webex/spark-js-sdk/pulls/980/commits"},"statuses":{"href":"https://api.github.com/repos/webex/spark-js-sdk/statuses/0d4b420f717bcac22b5099aac4c69865c5467733"}},"author_association":"NONE"}}
{"actor":{"display_login":"mattnorris"}}