{"action":"created","comment":{"url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/comments/187049982","pull_request_review_id":118750380,"id":187049982,"diff_hunk":"@@ -0,0 +1,58 @@\n+const createBaseRequest = require('./create-base-request.js');\n+const sendRequest = require('./send-request.js');\n+\n+/**\n+ * Query previously sent invoices with invoice number or query params.\n+ * @async\n+ * @param {Object} params Function params.\n+ * @param {Object} params.invoiceQuery Query single invoice with invoice number.\n+ * @param {Object} params.queryParams Query multiple invoices with params.\n+ * @param {Object} params.technicalUser Technical user’s data.\n+ * @param {Object} params.softwareData Invoice software data.\n+ * @param {Object} params.axios Axios instance.\n+ * @returns {Promise<Array>} queryResults\n+ */\n+module.exports = async function queryInvoiceData({","path":"src/query-invoice-data.js","position":15,"original_position":15,"commit_id":"a8544952e5fcc5a15d422bb6587fab07e30fe929","original_commit_id":"a8544952e5fcc5a15d422bb6587fab07e30fe929","user":{"login":"kailniris","id":19587188,"avatar_url":"https://avatars3.githubusercontent.com/u/19587188?v=4","gravatar_id":"","url":"https://api.github.com/users/kailniris","html_url":"https://github.com/kailniris","followers_url":"https://api.github.com/users/kailniris/followers","following_url":"https://api.github.com/users/kailniris/following{/other_user}","gists_url":"https://api.github.com/users/kailniris/gists{/gist_id}","starred_url":"https://api.github.com/users/kailniris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailniris/subscriptions","organizations_url":"https://api.github.com/users/kailniris/orgs","repos_url":"https://api.github.com/users/kailniris/repos","events_url":"https://api.github.com/users/kailniris/events{/privacy}","received_events_url":"https://api.github.com/users/kailniris/received_events","type":"User","site_admin":false},"body":"Both invoiceQuery and queryParams object key order must be normalized before xml conversion.","created_at":"2018-05-09T14:01:51Z","updated_at":"2018-05-09T14:11:26Z","html_url":"https://github.com/angro-kft/nav-connector/pull/25#discussion_r187049982","pull_request_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/comments/187049982"},"html":{"href":"https://github.com/angro-kft/nav-connector/pull/25#discussion_r187049982"},"pull_request":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25","id":179750267,"html_url":"https://github.com/angro-kft/nav-connector/pull/25","diff_url":"https://github.com/angro-kft/nav-connector/pull/25.diff","patch_url":"https://github.com/angro-kft/nav-connector/pull/25.patch","issue_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/25","number":25,"state":"open","locked":false,"title":"#22 add queryInvoiceData operation","user":{"login":"kailniris","id":19587188,"avatar_url":"https://avatars3.githubusercontent.com/u/19587188?v=4","gravatar_id":"","url":"https://api.github.com/users/kailniris","html_url":"https://github.com/kailniris","followers_url":"https://api.github.com/users/kailniris/followers","following_url":"https://api.github.com/users/kailniris/following{/other_user}","gists_url":"https://api.github.com/users/kailniris/gists{/gist_id}","starred_url":"https://api.github.com/users/kailniris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailniris/subscriptions","organizations_url":"https://api.github.com/users/kailniris/orgs","repos_url":"https://api.github.com/users/kailniris/repos","events_url":"https://api.github.com/users/kailniris/events{/privacy}","received_events_url":"https://api.github.com/users/kailniris/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-05T17:51:32Z","updated_at":"2018-05-09T14:11:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fdedb95589258d992a14573144472a7e7865d78","assignee":{"login":"kailniris","id":19587188,"avatar_url":"https://avatars3.githubusercontent.com/u/19587188?v=4","gravatar_id":"","url":"https://api.github.com/users/kailniris","html_url":"https://github.com/kailniris","followers_url":"https://api.github.com/users/kailniris/followers","following_url":"https://api.github.com/users/kailniris/following{/other_user}","gists_url":"https://api.github.com/users/kailniris/gists{/gist_id}","starred_url":"https://api.github.com/users/kailniris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailniris/subscriptions","organizations_url":"https://api.github.com/users/kailniris/orgs","repos_url":"https://api.github.com/users/kailniris/repos","events_url":"https://api.github.com/users/kailniris/events{/privacy}","received_events_url":"https://api.github.com/users/kailniris/received_events","type":"User","site_admin":false},"assignees":[{"login":"kailniris","id":19587188,"avatar_url":"https://avatars3.githubusercontent.com/u/19587188?v=4","gravatar_id":"","url":"https://api.github.com/users/kailniris","html_url":"https://github.com/kailniris","followers_url":"https://api.github.com/users/kailniris/followers","following_url":"https://api.github.com/users/kailniris/following{/other_user}","gists_url":"https://api.github.com/users/kailniris/gists{/gist_id}","starred_url":"https://api.github.com/users/kailniris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailniris/subscriptions","organizations_url":"https://api.github.com/users/kailniris/orgs","repos_url":"https://api.github.com/users/kailniris/repos","events_url":"https://api.github.com/users/kailniris/events{/privacy}","received_events_url":"https://api.github.com/users/kailniris/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":856423520,"url":"https://api.github.com/repos/angro-kft/nav-connector/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25/commits","review_comments_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25/comments","review_comment_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/25/comments","statuses_url":"https://api.github.com/repos/angro-kft/nav-connector/statuses/a8544952e5fcc5a15d422bb6587fab07e30fe929","head":{"label":"angro-kft:#22_add-query-invoice-data-operation","ref":"#22_add-query-invoice-data-operation","sha":"a8544952e5fcc5a15d422bb6587fab07e30fe929","user":{"login":"angro-kft","id":37067540,"avatar_url":"https://avatars1.githubusercontent.com/u/37067540?v=4","gravatar_id":"","url":"https://api.github.com/users/angro-kft","html_url":"https://github.com/angro-kft","followers_url":"https://api.github.com/users/angro-kft/followers","following_url":"https://api.github.com/users/angro-kft/following{/other_user}","gists_url":"https://api.github.com/users/angro-kft/gists{/gist_id}","starred_url":"https://api.github.com/users/angro-kft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angro-kft/subscriptions","organizations_url":"https://api.github.com/users/angro-kft/orgs","repos_url":"https://api.github.com/users/angro-kft/repos","events_url":"https://api.github.com/users/angro-kft/events{/privacy}","received_events_url":"https://api.github.com/users/angro-kft/received_events","type":"Organization","site_admin":false},"repo":{"id":123899011,"name":"nav-connector","full_name":"angro-kft/nav-connector","owner":{"login":"angro-kft","id":37067540,"avatar_url":"https://avatars1.githubusercontent.com/u/37067540?v=4","gravatar_id":"","url":"https://api.github.com/users/angro-kft","html_url":"https://github.com/angro-kft","followers_url":"https://api.github.com/users/angro-kft/followers","following_url":"https://api.github.com/users/angro-kft/following{/other_user}","gists_url":"https://api.github.com/users/angro-kft/gists{/gist_id}","starred_url":"https://api.github.com/users/angro-kft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angro-kft/subscriptions","organizations_url":"https://api.github.com/users/angro-kft/orgs","repos_url":"https://api.github.com/users/angro-kft/repos","events_url":"https://api.github.com/users/angro-kft/events{/privacy}","received_events_url":"https://api.github.com/users/angro-kft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angro-kft/nav-connector","description":"Node.js module which provides an interface for communicating with NAV online invoice service.","fork":false,"url":"https://api.github.com/repos/angro-kft/nav-connector","forks_url":"https://api.github.com/repos/angro-kft/nav-connector/forks","keys_url":"https://api.github.com/repos/angro-kft/nav-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angro-kft/nav-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angro-kft/nav-connector/teams","hooks_url":"https://api.github.com/repos/angro-kft/nav-connector/hooks","issue_events_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/events{/number}","events_url":"https://api.github.com/repos/angro-kft/nav-connector/events","assignees_url":"https://api.github.com/repos/angro-kft/nav-connector/assignees{/user}","branches_url":"https://api.github.com/repos/angro-kft/nav-connector/branches{/branch}","tags_url":"https://api.github.com/repos/angro-kft/nav-connector/tags","blobs_url":"https://api.github.com/repos/angro-kft/nav-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angro-kft/nav-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angro-kft/nav-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/angro-kft/nav-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angro-kft/nav-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/angro-kft/nav-connector/languages","stargazers_url":"https://api.github.com/repos/angro-kft/nav-connector/stargazers","contributors_url":"https://api.github.com/repos/angro-kft/nav-connector/contributors","subscribers_url":"https://api.github.com/repos/angro-kft/nav-connector/subscribers","subscription_url":"https://api.github.com/repos/angro-kft/nav-connector/subscription","commits_url":"https://api.github.com/repos/angro-kft/nav-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/angro-kft/nav-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/angro-kft/nav-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/angro-kft/nav-connector/contents/{+path}","compare_url":"https://api.github.com/repos/angro-kft/nav-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angro-kft/nav-connector/merges","archive_url":"https://api.github.com/repos/angro-kft/nav-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angro-kft/nav-connector/downloads","issues_url":"https://api.github.com/repos/angro-kft/nav-connector/issues{/number}","pulls_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/angro-kft/nav-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/angro-kft/nav-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angro-kft/nav-connector/labels{/name}","releases_url":"https://api.github.com/repos/angro-kft/nav-connector/releases{/id}","deployments_url":"https://api.github.com/repos/angro-kft/nav-connector/deployments","created_at":"2018-03-05T09:51:58Z","updated_at":"2018-05-09T07:12:29Z","pushed_at":"2018-05-09T07:29:00Z","git_url":"git://github.com/angro-kft/nav-connector.git","ssh_url":"git@github.com:angro-kft/nav-connector.git","clone_url":"https://github.com/angro-kft/nav-connector.git","svn_url":"https://github.com/angro-kft/nav-connector","homepage":null,"size":149,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1,"open_issues":4,"watchers":7,"default_branch":"master"}},"base":{"label":"angro-kft:dev","ref":"dev","sha":"4077b19c85e254b7e2f63d1574d9fae68da23ed9","user":{"login":"angro-kft","id":37067540,"avatar_url":"https://avatars1.githubusercontent.com/u/37067540?v=4","gravatar_id":"","url":"https://api.github.com/users/angro-kft","html_url":"https://github.com/angro-kft","followers_url":"https://api.github.com/users/angro-kft/followers","following_url":"https://api.github.com/users/angro-kft/following{/other_user}","gists_url":"https://api.github.com/users/angro-kft/gists{/gist_id}","starred_url":"https://api.github.com/users/angro-kft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angro-kft/subscriptions","organizations_url":"https://api.github.com/users/angro-kft/orgs","repos_url":"https://api.github.com/users/angro-kft/repos","events_url":"https://api.github.com/users/angro-kft/events{/privacy}","received_events_url":"https://api.github.com/users/angro-kft/received_events","type":"Organization","site_admin":false},"repo":{"id":123899011,"name":"nav-connector","full_name":"angro-kft/nav-connector","owner":{"login":"angro-kft","id":37067540,"avatar_url":"https://avatars1.githubusercontent.com/u/37067540?v=4","gravatar_id":"","url":"https://api.github.com/users/angro-kft","html_url":"https://github.com/angro-kft","followers_url":"https://api.github.com/users/angro-kft/followers","following_url":"https://api.github.com/users/angro-kft/following{/other_user}","gists_url":"https://api.github.com/users/angro-kft/gists{/gist_id}","starred_url":"https://api.github.com/users/angro-kft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angro-kft/subscriptions","organizations_url":"https://api.github.com/users/angro-kft/orgs","repos_url":"https://api.github.com/users/angro-kft/repos","events_url":"https://api.github.com/users/angro-kft/events{/privacy}","received_events_url":"https://api.github.com/users/angro-kft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angro-kft/nav-connector","description":"Node.js module which provides an interface for communicating with NAV online invoice service.","fork":false,"url":"https://api.github.com/repos/angro-kft/nav-connector","forks_url":"https://api.github.com/repos/angro-kft/nav-connector/forks","keys_url":"https://api.github.com/repos/angro-kft/nav-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angro-kft/nav-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angro-kft/nav-connector/teams","hooks_url":"https://api.github.com/repos/angro-kft/nav-connector/hooks","issue_events_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/events{/number}","events_url":"https://api.github.com/repos/angro-kft/nav-connector/events","assignees_url":"https://api.github.com/repos/angro-kft/nav-connector/assignees{/user}","branches_url":"https://api.github.com/repos/angro-kft/nav-connector/branches{/branch}","tags_url":"https://api.github.com/repos/angro-kft/nav-connector/tags","blobs_url":"https://api.github.com/repos/angro-kft/nav-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angro-kft/nav-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angro-kft/nav-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/angro-kft/nav-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angro-kft/nav-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/angro-kft/nav-connector/languages","stargazers_url":"https://api.github.com/repos/angro-kft/nav-connector/stargazers","contributors_url":"https://api.github.com/repos/angro-kft/nav-connector/contributors","subscribers_url":"https://api.github.com/repos/angro-kft/nav-connector/subscribers","subscription_url":"https://api.github.com/repos/angro-kft/nav-connector/subscription","commits_url":"https://api.github.com/repos/angro-kft/nav-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/angro-kft/nav-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/angro-kft/nav-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/angro-kft/nav-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/angro-kft/nav-connector/contents/{+path}","compare_url":"https://api.github.com/repos/angro-kft/nav-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angro-kft/nav-connector/merges","archive_url":"https://api.github.com/repos/angro-kft/nav-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angro-kft/nav-connector/downloads","issues_url":"https://api.github.com/repos/angro-kft/nav-connector/issues{/number}","pulls_url":"https://api.github.com/repos/angro-kft/nav-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/angro-kft/nav-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/angro-kft/nav-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angro-kft/nav-connector/labels{/name}","releases_url":"https://api.github.com/repos/angro-kft/nav-connector/releases{/id}","deployments_url":"https://api.github.com/repos/angro-kft/nav-connector/deployments","created_at":"2018-03-05T09:51:58Z","updated_at":"2018-05-09T07:12:29Z","pushed_at":"2018-05-09T07:29:00Z","git_url":"git://github.com/angro-kft/nav-connector.git","ssh_url":"git@github.com:angro-kft/nav-connector.git","clone_url":"https://github.com/angro-kft/nav-connector.git","svn_url":"https://github.com/angro-kft/nav-connector","homepage":null,"size":149,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25"},"html":{"href":"https://github.com/angro-kft/nav-connector/pull/25"},"issue":{"href":"https://api.github.com/repos/angro-kft/nav-connector/issues/25"},"comments":{"href":"https://api.github.com/repos/angro-kft/nav-connector/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angro-kft/nav-connector/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/angro-kft/nav-connector/statuses/a8544952e5fcc5a15d422bb6587fab07e30fe929"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kailniris"}}